pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/sendmail sendmail: fix build with openssl3
details: https://anonhg.NetBSD.org/pkgsrc/rev/303b67e05f1a
branches: trunk
changeset: 391689:303b67e05f1a
user: markd <markd%pkgsrc.org@localhost>
date: Thu Jan 12 11:09:34 2023 +0000
description:
sendmail: fix build with openssl3
diffstat:
mail/sendmail/distinfo | 3 ++-
mail/sendmail/patches/patch-sendmail_tls.c | 21 +++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletions(-)
diffs (39 lines):
diff -r d7a658126fa4 -r 303b67e05f1a mail/sendmail/distinfo
--- a/mail/sendmail/distinfo Thu Jan 12 11:01:41 2023 +0000
+++ b/mail/sendmail/distinfo Thu Jan 12 11:09:34 2023 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.68 2022/05/10 13:46:49 sborrill Exp $
+$NetBSD: distinfo,v 1.69 2023/01/12 11:09:34 markd Exp $
BLAKE2s (sendmail.8.16.1.tar.gz) = 6f92d35a8dfe1ba071da197ae53559a1d67290f7042e5650ebbdac3d3045fe2f
SHA512 (sendmail.8.16.1.tar.gz) = d7d4aac3c6d7505782abdb166204901b8b51cac000d610dfe40eda9eef7441a073af9e8e0b14c8719b07b445f55a1e2c28ac63d663d0daa7f1eafc5a101788b2
@@ -36,3 +36,4 @@
SHA1 (patch-bq) = 548bf6d373cb49958437548a65803b6f3c6b35d2
SHA1 (patch-br) = 1f0b9716906b91ce2b867bf65e5c06ad16749e36
SHA1 (patch-bs) = f73a66b3f747480505b26876430135364e9aa99e
+SHA1 (patch-sendmail_tls.c) = 42b4af86be50f3b0c79fb3a2699b0c683ab34844
diff -r d7a658126fa4 -r 303b67e05f1a mail/sendmail/patches/patch-sendmail_tls.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sendmail/patches/patch-sendmail_tls.c Thu Jan 12 11:09:34 2023 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-sendmail_tls.c,v 1.1 2023/01/12 11:09:34 markd Exp $
+
+Support openssl3
+
+--- sendmail/tls.c.orig 2020-06-02 09:41:43.000000000 +0000
++++ sendmail/tls.c
+@@ -29,7 +29,13 @@ SM_RCSID("@(#)$Id: tls.c,v 8.127 2013-11
+ # ERROR: OpenSSL version OPENSSL_VERSION_NUMBER is unsupported.
+ # endif
+
+-# if OPENSSL_VERSION_NUMBER >= 0x10100000L && OPENSSL_VERSION_NUMBER < 0x20000000L
++/*
++ ** *SSL version numbers:
++ ** OpenSSL 0.9 - 1.1 (so far), 3.0 (in alpha)
++ ** LibreSSL 2.0 (0x20000000L - part of "These will never change")
++ */
++
++# if (OPENSSL_VERSION_NUMBER >= 0x10100000L && OPENSSL_VERSION_NUMBER < 0x20000000L) || OPENSSL_VERSION_NUMBER >= 0x30000000L
+ # define MTA_HAVE_DH_set0_pqg 1
+ # define MTA_HAVE_DSA_GENERATE_EX 1
+
Home |
Main Index |
Thread Index |
Old Index