diff options
author | joerg <joerg@pkgsrc.org> | 2020-01-10 21:15:21 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2020-01-10 21:15:21 +0000 |
commit | 1bf896c386fef2000df021ae5ffc673b16d6f6dd (patch) | |
tree | ee970924fb7040166e98872eb05a551940d01235 /mail | |
parent | a51dc968fc13c1cbe442f7a54ad519b59d550172 (diff) | |
download | pkgsrc-1bf896c386fef2000df021ae5ffc673b16d6f6dd.tar.gz |
Use generic SSL version method instead of ancient SSLv3-only. Adjust
PLIST to match reality. Bump revision.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/deforaos-mailer/Makefile | 4 | ||||
-rw-r--r-- | mail/deforaos-mailer/PLIST | 3 | ||||
-rw-r--r-- | mail/deforaos-mailer/distinfo | 3 | ||||
-rw-r--r-- | mail/deforaos-mailer/patches/patch-src_mailer.c | 16 |
4 files changed, 21 insertions, 5 deletions
diff --git a/mail/deforaos-mailer/Makefile b/mail/deforaos-mailer/Makefile index 8b8d3824020..821de864f14 100644 --- a/mail/deforaos-mailer/Makefile +++ b/mail/deforaos-mailer/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.33 2019/07/21 22:24:07 wiz Exp $ +# $NetBSD: Makefile,v 1.34 2020/01/10 21:15:21 joerg Exp $ DISTNAME= Mailer-0.1.8 PKGNAME= deforaos-mailer-0.1.8 -PKGREVISION= 8 +PKGREVISION= 9 CATEGORIES= mail MASTER_SITES= https://www.defora.org/os/download/download/4439/ diff --git a/mail/deforaos-mailer/PLIST b/mail/deforaos-mailer/PLIST index ca7f3774c72..205f87959c3 100644 --- a/mail/deforaos-mailer/PLIST +++ b/mail/deforaos-mailer/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.6 2018/01/01 22:29:40 rillig Exp $ +@comment $NetBSD: PLIST,v 1.7 2020/01/10 21:15:21 joerg Exp $ bin/compose bin/mailer include/Desktop/Mailer.h @@ -36,7 +36,6 @@ share/gtk-doc/html/Mailer/ch01.html share/gtk-doc/html/Mailer/deprecated-api-index.html share/gtk-doc/html/Mailer/home.png share/gtk-doc/html/Mailer/index.html -share/gtk-doc/html/Mailer/index.sgml share/gtk-doc/html/Mailer/left-insensitive.png share/gtk-doc/html/Mailer/left.png share/gtk-doc/html/Mailer/right-insensitive.png diff --git a/mail/deforaos-mailer/distinfo b/mail/deforaos-mailer/distinfo index 26a29779256..9c9f3d6e519 100644 --- a/mail/deforaos-mailer/distinfo +++ b/mail/deforaos-mailer/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.7 2016/04/05 20:52:34 khorben Exp $ +$NetBSD: distinfo,v 1.8 2020/01/10 21:15:21 joerg Exp $ SHA1 (Mailer-0.1.8.tar.gz) = a31bbeb22f11f692e937b6450a3c913424a80b0d RMD160 (Mailer-0.1.8.tar.gz) = 5bc95b752896c8b9fc6019d13767b6663672d019 SHA512 (Mailer-0.1.8.tar.gz) = fff0b8e6a7796bfb10d76dcfc36297a44b377e14bc0de2c8c939880e5fd956dd0b837f8c7788a3adc295aad18ab6f98001ff1cea03076bffed291f35d77bdd33 Size (Mailer-0.1.8.tar.gz) = 108980 bytes +SHA1 (patch-src_mailer.c) = 5e3975a0672ab0882a8712e5c21233104d0747d8 diff --git a/mail/deforaos-mailer/patches/patch-src_mailer.c b/mail/deforaos-mailer/patches/patch-src_mailer.c new file mode 100644 index 00000000000..1cdfa1b5230 --- /dev/null +++ b/mail/deforaos-mailer/patches/patch-src_mailer.c @@ -0,0 +1,16 @@ +$NetBSD: patch-src_mailer.c,v 1.1 2020/01/10 21:15:21 joerg Exp $ + +SSLv23 is considered the generic request and mapped to TLS with newer +OpenSSL. + +--- src/mailer.c.orig 2020-01-08 23:37:23.358580636 +0000 ++++ src/mailer.c +@@ -391,7 +391,7 @@ Mailer * mailer_new(void) + /* ssl */ + SSL_load_error_strings(); + SSL_library_init(); +- if((mailer->ssl_ctx = SSL_CTX_new(SSLv3_client_method())) == NULL ++ if((mailer->ssl_ctx = SSL_CTX_new(SSLv23_client_method())) == NULL + || SSL_CTX_set_cipher_list(mailer->ssl_ctx, + SSL_DEFAULT_CIPHER_LIST) != 1 + || SSL_CTX_load_verify_locations(mailer->ssl_ctx, NULL, |