diff options
Diffstat (limited to 'mail/fetchmail')
-rw-r--r-- | mail/fetchmail/Makefile | 4 | ||||
-rw-r--r-- | mail/fetchmail/distinfo | 3 | ||||
-rw-r--r-- | mail/fetchmail/patches/patch-socket.c | 17 |
3 files changed, 21 insertions, 3 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile index 87c1c95361f..4f1957253bb 100644 --- a/mail/fetchmail/Makefile +++ b/mail/fetchmail/Makefile @@ -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 --git a/mail/fetchmail/distinfo b/mail/fetchmail/distinfo index cd3064839ae..d6a55037db5 100644 --- a/mail/fetchmail/distinfo +++ b/mail/fetchmail/distinfo @@ -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 --git a/mail/fetchmail/patches/patch-socket.c b/mail/fetchmail/patches/patch-socket.c new file mode 100644 index 00000000000..348babf6bd7 --- /dev/null +++ b/mail/fetchmail/patches/patch-socket.c @@ -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)) { |