pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/deforaos-mailer Use generic SSL version method in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/267d469b4286
branches:  trunk
changeset: 421010:267d469b4286
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Jan 10 21:15:21 2020 +0000

description:
Use generic SSL version method instead of ancient SSLv3-only. Adjust
PLIST to match reality. Bump revision.

diffstat:

 mail/deforaos-mailer/Makefile                   |   4 ++--
 mail/deforaos-mailer/PLIST                      |   3 +--
 mail/deforaos-mailer/distinfo                   |   3 ++-
 mail/deforaos-mailer/patches/patch-src_mailer.c |  16 ++++++++++++++++
 4 files changed, 21 insertions(+), 5 deletions(-)

diffs (63 lines):

diff -r 70bebf49f3c6 -r 267d469b4286 mail/deforaos-mailer/Makefile
--- a/mail/deforaos-mailer/Makefile     Fri Jan 10 21:14:11 2020 +0000
+++ b/mail/deforaos-mailer/Makefile     Fri Jan 10 21:15:21 2020 +0000
@@ -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 -r 70bebf49f3c6 -r 267d469b4286 mail/deforaos-mailer/PLIST
--- a/mail/deforaos-mailer/PLIST        Fri Jan 10 21:14:11 2020 +0000
+++ b/mail/deforaos-mailer/PLIST        Fri Jan 10 21:15:21 2020 +0000
@@ -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/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 -r 70bebf49f3c6 -r 267d469b4286 mail/deforaos-mailer/distinfo
--- a/mail/deforaos-mailer/distinfo     Fri Jan 10 21:14:11 2020 +0000
+++ b/mail/deforaos-mailer/distinfo     Fri Jan 10 21:15:21 2020 +0000
@@ -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 -r 70bebf49f3c6 -r 267d469b4286 mail/deforaos-mailer/patches/patch-src_mailer.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/deforaos-mailer/patches/patch-src_mailer.c   Fri Jan 10 21:15:21 2020 +0000
@@ -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,



Home | Main Index | Thread Index | Old Index