aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormandree <mandree@FreeBSD.org>2016-05-25 04:32:55 +0800
committermandree <mandree@FreeBSD.org>2016-05-25 04:32:55 +0800
commitbf0412d55c37b60de53bc94febe98c05132af747 (patch)
tree989d3bc68c9884e80fa69dcf9e21014dc6ed448d
parent538d6846bb8856a814ad3d3eb52d155ced33f164 (diff)
downloadfreebsd-ports-gnome-bf0412d55c37b60de53bc94febe98c05132af747.tar.gz
freebsd-ports-gnome-bf0412d55c37b60de53bc94febe98c05132af747.tar.zst
freebsd-ports-gnome-bf0412d55c37b60de53bc94febe98c05132af747.zip
Disable SSLv2, to fix new/from-ports OpenSSL builds.
Newer and ports-based builds define the SSLv2_client_method() in the headers unless OPENSSL_NO_SSL2, or, depending on version, OPENSSL_NO_SSL2_METHOD is defined, however newer OpenSSL versions in FreeBSD no longer provide the implementation in the library. Preload the autoconf (configure) cache to pretend SSLv2_client_method() were universally _un_available, effectively disabling SSLv2 altogether. PR: 209596 Submitted by: peter@ [first proposal], mandree@ [committed proposal] Reported by: peter@ Approved by: chalpin@cs.wisc.edu (maintainer)
-rw-r--r--mail/fetchmail/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index cdeee23f1303..372104fdf925 100644
--- a/mail/fetchmail/Makefile
+++ b/mail/fetchmail/Makefile
@@ -3,7 +3,7 @@
PORTNAME= fetchmail
PORTVERSION= 6.3.26
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail ipv6
MASTER_SITES= SF/${PORTNAME}/branch_6.3/ \
http://mandree.home.pages.de/${PORTNAME}/
@@ -32,6 +32,7 @@ USE_OPENSSL= yes
CONFIGURE_ARGS= --enable-opie --enable-RPA --enable-SDPS \
--without-hesiod --enable-fallback=no \
--with-ssl=${OPENSSLBASE}
+CONFIGURE_ENV= ac_cv_have_decl_SSLv2_client_method=no
LDFLAGS+= -L${LOCALBASE}/lib