1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

mail/courier-imap: Handle no SSLv3 method (fixes build with LibreSSL)

Approved by:	SSL blanket
This commit is contained in:
John Marino 2016-09-11 22:39:11 +00:00
parent 0257a492bb
commit 64c5fcbc83
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421881
2 changed files with 13 additions and 2 deletions

View File

@ -16,7 +16,7 @@ RUN_DEPENDS= courierauthconfig:security/courier-authlib-base \
${LOCALBASE}/share/sysconftool/sysconftool:devel/sysconftool
LIB_DEPENDS= libcourier-unicode.so:devel/courier-unicode
USES= gmake perl5 tar:bzip2
USES= gmake perl5 ssl tar:bzip2
GNU_CONFIGURE= yes
USE_RC_SUBR= courier-imap-imapd courier-imap-imapd-ssl \
courier-imap-pop3d courier-imap-pop3d-ssl
@ -47,7 +47,6 @@ FAM_USES= fam
CONFDIR?= ${PREFIX}/etc/${PORTNAME}
USERDB?= ${PREFIX}/etc/userdb
LIBEXECDIR?= ${PREFIX}/libexec/${PORTNAME}
USE_OPENSSL= yes
PLIST_SUB= CONFDIR=${CONFDIR:S,^${PREFIX}/,,} \
LIBEXECDIR=${LIBEXECDIR:S,^${PREFIX}/,,}

View File

@ -0,0 +1,12 @@
--- libs/tcpd/libcouriertls.c.orig 2015-06-10 00:08:23 UTC
+++ libs/tcpd/libcouriertls.c
@@ -74,7 +74,9 @@ struct proto_ops op_list[] =
{ "TLSv1", &TLSv1_method, SSL_OP_ALL },
{ "TLS1", &TLSv1_method, SSL_OP_ALL },
{ "SSL3+", &SSLv23_method, SSL_OP_ALL|SSL_OP_NO_SSLv2 },
+#ifdef HAVE_SSLV3_METHOD
{ "SSL3", &SSLv3_method, SSL_OP_ALL },
+#endif
{ "SSL23", &SSLv23_method, SSL_OP_ALL },
{ "", &SSLv23_method, SSL_OP_ALL|SSL_OP_NO_SSLv2|SSL_OP_NO_SSLv3 },
{ NULL, &SSLv23_method, SSL_OP_ALL|SSL_OP_NO_SSLv2|SSL_OP_NO_SSLv3 },