pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/fetchmail fetchmail: fix build with openssl-1.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/86f05c2dc869
branches:  trunk
changeset: 375763:86f05c2dc869
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Feb 20 13:19:39 2018 +0000

description:
fetchmail: fix build with openssl-1.1.

Bump PKGREVISION.

diffstat:

 mail/fetchmail/Makefile               |   4 ++--
 mail/fetchmail/distinfo               |   3 ++-
 mail/fetchmail/patches/patch-socket.c |  17 +++++++++++++++++
 3 files changed, 21 insertions(+), 3 deletions(-)

diffs (48 lines):

diff -r 42b4b67ad325 -r 86f05c2dc869 mail/fetchmail/Makefile
--- a/mail/fetchmail/Makefile   Tue Feb 20 13:01:30 2018 +0000
+++ b/mail/fetchmail/Makefile   Tue Feb 20 13:19:39 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.186 2016/03/05 11:28:48 jperkin Exp $
+# $NetBSD: Makefile,v 1.187 2018/02/20 13:19:39 wiz Exp $
 
 # Note to updaters: mail/fetchmailconf reaches over here, make sure it builds.
 DISTNAME=      fetchmail-6.3.22
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    mail
 MASTER_SITES=  http://download.berlios.de/fetchmail/
 EXTRACT_SUFX=  .tar.bz2
diff -r 42b4b67ad325 -r 86f05c2dc869 mail/fetchmail/distinfo
--- a/mail/fetchmail/distinfo   Tue Feb 20 13:01:30 2018 +0000
+++ b/mail/fetchmail/distinfo   Tue Feb 20 13:19:39 2018 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.49 2015/11/03 23:27:05 agc Exp $
+$NetBSD: distinfo,v 1.50 2018/02/20 13:19:39 wiz Exp $
 
 SHA1 (fetchmail-6.3.22.tar.bz2) = f9411a16d4055669e5cfd89bf38acba6a5cce041
 RMD160 (fetchmail-6.3.22.tar.bz2) = b1b4ae20e7fc6d307cf97c697d5e27daddc6bc72
 SHA512 (fetchmail-6.3.22.tar.bz2) = 965761c873ea5c2d80ecabf40f0a161148f2cded5cb0ef0d71a44798ba7da1b80022a4dcea4060dddb0c87764d905b5a6f5076eb925732eee4ba4e6884330b06
 Size (fetchmail-6.3.22.tar.bz2) = 1724108 bytes
 SHA1 (patch-Makefile.in) = c08ef115550f004496481e610140d7d2391016b2
+SHA1 (patch-socket.c) = 3d51ef4ffa6d721889d08ee04fc78b1b77715989
diff -r 42b4b67ad325 -r 86f05c2dc869 mail/fetchmail/patches/patch-socket.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/fetchmail/patches/patch-socket.c     Tue Feb 20 13:19:39 2018 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-socket.c,v 1.1 2018/02/20 13:19:39 wiz Exp $
+
+Fix build with openssl-1.1.
+
+--- socket.c.orig      2012-08-13 20:02:41.000000000 +0000
++++ socket.c
+@@ -880,8 +880,10 @@ int SSLOpen(int sock, char *mycert, char
+                       report(stderr, GT_("Your operating system does not support SSLv2.\n"));
+                       return -1;
+ #endif
++#if defined(SSLv3_client_method)
+               } else if(!strcasecmp("ssl3",myproto)) {
+                       _ctx[sock] = SSL_CTX_new(SSLv3_client_method());
++#endif
+               } else if(!strcasecmp("tls1",myproto)) {
+                       _ctx[sock] = SSL_CTX_new(TLSv1_client_method());
+               } else if (!strcasecmp("ssl23",myproto)) {



Home | Main Index | Thread Index | Old Index