aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorfluffy <fluffy@FreeBSD.org>2018-11-06 07:28:55 +0800
committerfluffy <fluffy@FreeBSD.org>2018-11-06 07:28:55 +0800
commitefebb873b5fe93f154ba07c707adf56af71a3f99 (patch)
tree7a288ab57f3ebad486af5a2122f73b2a4f47d4e8 /mail
parent7e63daaec4a73a2fe52afcc70d9d301ed76bc16f (diff)
downloadfreebsd-ports-gnome-efebb873b5fe93f154ba07c707adf56af71a3f99.tar.gz
freebsd-ports-gnome-efebb873b5fe93f154ba07c707adf56af71a3f99.tar.zst
freebsd-ports-gnome-efebb873b5fe93f154ba07c707adf56af71a3f99.zip
- While major 6.4 update still cooking (authors dropped openssl support at all
in favor of libressl), mark OpenSMTPd as BROKEN with openssl 1.1.x api - Use https in pkg-descr url MFH: 2018Q4
Diffstat (limited to 'mail')
-rw-r--r--mail/opensmtpd-devel/Makefile11
-rw-r--r--mail/opensmtpd-devel/pkg-descr2
-rw-r--r--mail/opensmtpd/Makefile11
3 files changed, 21 insertions, 3 deletions
diff --git a/mail/opensmtpd-devel/Makefile b/mail/opensmtpd-devel/Makefile
index 4b0464d09dce..66a21341bd69 100644
--- a/mail/opensmtpd-devel/Makefile
+++ b/mail/opensmtpd-devel/Makefile
@@ -17,6 +17,9 @@ COMMENT= Security- and simplicity-focused SMTP server from OpenBSD
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
+BROKEN_SSL= openssl111
+BROKEN_SSL_REASON_openssl111= Incompatible with Openssl 1.1.x yet
+
LIB_DEPENDS= libevent.so:devel/libevent
OPTIONS_DEFINE= CA_BUNDLE LIBASR MAILERCONF PAM TABLE_DB
@@ -57,6 +60,12 @@ CONFIGURE_ARGS+= --with-libasr=${LOCALBASE} \
--with-libssl=${OPENSSLBASE} \
--sysconfdir=${PREFIX}/etc/mail/
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1200084
+BROKEN= Incompatible with Openssl 1.1.x yet
+.endif
+
post-patch:
${REINPLACE_CMD} -e '/chmod 2555/d' ${WRKSRC}/mk/smtpctl/Makefile.in
# https://github.com/OpenSMTPD/OpenSMTPD/issues/700
@@ -67,4 +76,4 @@ post-patch:
post-install-TABLE_DB-on:
@${LN} -sf ${PREFIX}/sbin/smtpctl ${STAGEDIR}${PREFIX}/libexec/opensmtpd/makemap
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/mail/opensmtpd-devel/pkg-descr b/mail/opensmtpd-devel/pkg-descr
index cd06b8200d1d..e5239905a243 100644
--- a/mail/opensmtpd-devel/pkg-descr
+++ b/mail/opensmtpd-devel/pkg-descr
@@ -5,4 +5,4 @@ speaking the SMTP protocol.
This port packages the development snapshots released by OpenSMTPD team.
-WWW: http://www.OpenSMTPD.org/
+WWW: https://www.OpenSMTPD.org/
diff --git a/mail/opensmtpd/Makefile b/mail/opensmtpd/Makefile
index 3e813dae527d..dcdc3c793379 100644
--- a/mail/opensmtpd/Makefile
+++ b/mail/opensmtpd/Makefile
@@ -15,6 +15,9 @@ COMMENT= Security- and simplicity-focused SMTP server from OpenBSD
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
+BROKEN_SSL= openssl111
+BROKEN_SSL_REASON_openssl111= Incompatible with Openssl 1.1.x yet
+
LIB_DEPENDS= libevent.so:devel/libevent
OPTIONS_DEFINE= CA_BUNDLE LIBASRDEVEL MAILERCONF PAM TABLE_DB
@@ -55,10 +58,16 @@ CONFIGURE_ARGS+= --with-libasr=${LOCALBASE} \
--with-libssl=${OPENSSLBASE} \
--sysconfdir=${PREFIX}/etc/mail/
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1200084
+BROKEN= Incompatible with Openssl 1.1.x yet
+.endif
+
post-patch:
${REINPLACE_CMD} -e '/chmod 2555/d' ${WRKSRC}/mk/smtpctl/Makefile.in
post-install-TABLE_DB-on:
@${LN} -sf ${PREFIX}/sbin/smtpctl ${STAGEDIR}${PREFIX}/libexec/opensmtpd/makemap
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>