pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/avenger Deal with stricter constness of OpenSSL 1.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e2893280d3a3
branches:  trunk
changeset: 345801:e2893280d3a3
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Dec 18 12:39:09 2019 +0000

description:
Deal with stricter constness of OpenSSL 1.1.

diffstat:

 mail/avenger/distinfo                        |   3 ++-
 mail/avenger/patches/patch-asmtpd_starttls.C |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (42 lines):

diff -r 8dfaf5fc12be -r e2893280d3a3 mail/avenger/distinfo
--- a/mail/avenger/distinfo     Wed Dec 18 12:38:48 2019 +0000
+++ b/mail/avenger/distinfo     Wed Dec 18 12:39:09 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2015/11/03 23:27:01 agc Exp $
+$NetBSD: distinfo,v 1.9 2019/12/18 12:39:09 joerg Exp $
 
 SHA1 (avenger-0.8.4.tar.gz) = 109d17e2be2fa5f93e4302fefe5b1847458d33bb
 RMD160 (avenger-0.8.4.tar.gz) = 762f3f260d2be8466109d24d59b196b14adc04d4
@@ -7,5 +7,6 @@
 SHA1 (patch-aa) = c7ae855eab4995164de44c861480f263adbb4bc9
 SHA1 (patch-ab) = 831944e8447433b2697db2b3a58650aab19f4a19
 SHA1 (patch-ac) = 9b3625a090e0f9091468b86a99d0bea6535ac371
+SHA1 (patch-asmtpd_starttls.C) = 64bcc7313d5b76b9d0aca6ec0c9a220e75cfd146
 SHA1 (patch-libasync_ihash.h) = 45cfb9081f3a4176e32668dd80bd09fb4ba97e27
 SHA1 (patch-util_avutil.h) = 66d99fcb4bae3e2477089222cdc8dea6fa030d42
diff -r 8dfaf5fc12be -r e2893280d3a3 mail/avenger/patches/patch-asmtpd_starttls.C
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/avenger/patches/patch-asmtpd_starttls.C      Wed Dec 18 12:39:09 2019 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-asmtpd_starttls.C,v 1.1 2019/12/18 12:39:09 joerg Exp $
+
+--- asmtpd/starttls.C.orig     2019-12-13 12:08:22.007397245 +0000
++++ asmtpd/starttls.C
+@@ -264,7 +264,7 @@ smtpd::received_starttls (strbuf r) cons
+     return;
+ 
+   r << "    (";
+-  if (char *vers = SSL_get_cipher_version (ssl->get_ssl ()))
++  if (const char *vers = SSL_get_cipher_version (ssl->get_ssl ()))
+     r << vers;
+   else
+     r << "SSL";
+@@ -299,7 +299,7 @@ smtpd::env_starttls (vec<str> *envp) con
+   envp->push_back (strbuf ("SSL_CIPHER_BITS=%d", cipher_bits));
+   envp->push_back (strbuf ("SSL_ALG_BITS=%d", alg_bits));
+ 
+-  if (char *vers = SSL_get_cipher_version (ssl->get_ssl ()))
++  if (const char *vers = SSL_get_cipher_version (ssl->get_ssl ()))
+       envp->push_back (strbuf () << "SSL_VERSION=" << vers);
+ 
+   if (ssl->issuer)



Home | Main Index | Thread Index | Old Index