aboutsummaryrefslogtreecommitdiff
path: root/mail/libesmtp
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-07-07 11:47:18 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-07-07 11:47:18 +0000
commit993d0139414c3a312069891d24fb388197944782 (patch)
tree7e26ca028334b3871b31c2e954d0dc9ead8c80f2 /mail/libesmtp
parent81523e61b0911cd622906725c9d6ed569e2bbc68 (diff)
downloadports-993d0139414c3a312069891d24fb388197944782.tar.gz
ports-993d0139414c3a312069891d24fb388197944782.zip
Pull the patch from Gentoo Linux to unbreak the build against contemporary
versions of OpenSSL. PR: 238133
Notes
Notes: svn path=/head/; revision=541412
Diffstat (limited to 'mail/libesmtp')
-rw-r--r--mail/libesmtp/Makefile15
-rw-r--r--mail/libesmtp/distinfo3
2 files changed, 9 insertions, 9 deletions
diff --git a/mail/libesmtp/Makefile b/mail/libesmtp/Makefile
index 304089c92dcb..b1e921dd41f4 100644
--- a/mail/libesmtp/Makefile
+++ b/mail/libesmtp/Makefile
@@ -10,6 +10,10 @@ MASTER_SITES= http://www.stafford.uklinux.net/libesmtp/ \
http://ftp.osuosl.org/pub/blfs/svn/l/ \
GENTOO
+PATCH_SITES= https://gitweb.gentoo.org/repo/gentoo.git/plain/net-libs/libesmtp/files/ \
+ https://raw.githubusercontent.com/gentoo/gentoo/master/net-libs/libesmtp/files/
+PATCHFILES= libesmtp-1.0.6-openssl-1.1-api-compatibility.patch:-p1
+
MAINTAINER= ports@FreeBSD.org
COMMENT= Library for posting electronic mail
@@ -18,7 +22,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING.LIB
BROKEN_SSL= openssl
-USES= gmake libtool tar:bzip2
+USES= autoreconf gmake libtool tar:bzip2
GNU_CONFIGURE= yes
# require-all-recipients (implied by enable-all) is required for Balsa
CONFIGURE_ARGS= --enable-all --disable-isoc
@@ -33,13 +37,6 @@ DEBUG_CONFIGURE_ENABLE= debug
OPENSSL_CONFIGURE_WITH= openssl=${OPENSSLBASE}
OPENSSL_USES= ssl
-.include <bsd.port.pre.mk>
-
-.if ${SSL_DEFAULT} == base
-BROKEN_FreeBSD_12= error: cannot find the ssl library
-BROKEN_FreeBSD_13= error: cannot find the ssl library
-.endif
-
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in AUTHORS ChangeLog NEWS Notes README TODO
@@ -50,4 +47,4 @@ post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/mail/libesmtp/distinfo b/mail/libesmtp/distinfo
index 819bf2bcafc2..84b139364e8e 100644
--- a/mail/libesmtp/distinfo
+++ b/mail/libesmtp/distinfo
@@ -1,2 +1,5 @@
+TIMESTAMP = 1281387021
SHA256 (libesmtp-1.0.6.tar.bz2) = d0a61a5c52d99fa7ce7d00ed0a07e341dbda67101dbed1ab0cdae3f37db4eb0b
SIZE (libesmtp-1.0.6.tar.bz2) = 365506
+SHA256 (libesmtp-1.0.6-openssl-1.1-api-compatibility.patch) = d10161f8b01c7865dcb948f8e65e61b8596752856953a605632d2c09dd41494c
+SIZE (libesmtp-1.0.6-openssl-1.1-api-compatibility.patch) = 2243