summaryrefslogtreecommitdiff
path: root/net/couriertcpd
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-09-17 15:28:03 +0000
committerjlam <jlam@pkgsrc.org>2007-09-17 15:28:03 +0000
commit2f710b31e751ed6e608dba60d53060dad99d8579 (patch)
tree6d5673b8a66bd39b99a142dc0dced239fe01d61d /net/couriertcpd
parent3e50b17466d788c032c911b798c994047864de02 (diff)
downloadpkgsrc-2f710b31e751ed6e608dba60d53060dad99d8579.tar.gz
Include a patch taken from the main Courier CVS repository that adds
a new TLS_PROTOCOL selection "SSL23" that allows for trying to negotiate initially with SSLv3 but falling back to SSLv2: courier/tcpd/libcouriertls.c:1.21 This allows Courier to interoperate with older mail servers and clients that are still using SSLv2 when advertising or attempting to use advertised STARTTLS capabilities. This change modifies the following packages and bumps their PKGREVISIONs: mail/courier-imap to 1. mail/courier-mta to 6. meta-pkgs/courier to 2. net/couriertcpd to 1.
Diffstat (limited to 'net/couriertcpd')
-rw-r--r--net/couriertcpd/Makefile3
-rw-r--r--net/couriertcpd/distinfo3
-rw-r--r--net/couriertcpd/patches/patch-aa12
3 files changed, 16 insertions, 2 deletions
diff --git a/net/couriertcpd/Makefile b/net/couriertcpd/Makefile
index 3f8976b6210..e1747b1be15 100644
--- a/net/couriertcpd/Makefile
+++ b/net/couriertcpd/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2007/08/10 17:57:17 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2007/09/17 15:28:03 jlam Exp $
DISTNAME= courier-${COURIER_VERSION}
PKGNAME= ${DISTNAME:S/-/tcpd-/}
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=courier/}
EXTRACT_SUFX= .tar.bz2
diff --git a/net/couriertcpd/distinfo b/net/couriertcpd/distinfo
index fb2f8d24728..48143720f5d 100644
--- a/net/couriertcpd/distinfo
+++ b/net/couriertcpd/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2007/08/10 17:57:17 jlam Exp $
+$NetBSD: distinfo,v 1.5 2007/09/17 15:28:03 jlam Exp $
SHA1 (courier-0.56.0.tar.bz2) = 536f24db9f33f8d93445c03dd4edb50c7ec2f6b2
RMD160 (courier-0.56.0.tar.bz2) = ce8e2d99f5b7baf500d748c18fbd126df8331398
Size (courier-0.56.0.tar.bz2) = 7022057 bytes
+SHA1 (patch-aa) = df4847bcf1127766f35cfecd65a293fa2bf7d6c9
diff --git a/net/couriertcpd/patches/patch-aa b/net/couriertcpd/patches/patch-aa
new file mode 100644
index 00000000000..0da8e025c7e
--- /dev/null
+++ b/net/couriertcpd/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.3 2007/09/17 15:28:03 jlam Exp $
+
+--- tcpd/libcouriertls.c.orig Tue May 22 10:59:26 2007
++++ tcpd/libcouriertls.c
+@@ -419,6 +419,7 @@ SSL_CTX *tls_create(int isserver, const
+ ctx=SSL_CTX_new(protocol && strcmp(protocol, "SSL2") == 0
+ ? SSLv2_method():
+ protocol && strcmp(protocol, "SSL3") == 0 ? SSLv3_method():
++ protocol && strcmp(protocol, "SSL23") == 0 ? SSLv23_method():
+ TLSv1_method());
+
+ if (!ctx)