[packages/exim] Build fixes for openssl 3.

arekm arekm at pld-linux.org
Wed Oct 6 08:21:20 CEST 2021


commit fa4f08281f24e186716c66afcc2772c381d413e0
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Oct 6 06:20:26 2021 +0000

    Build fixes for openssl 3.

 exim.spec |  2 ++
 ssl.patch | 11 +++++++++++
 2 files changed, 13 insertions(+)
---
diff --git a/exim.spec b/exim.spec
index 3265c5b..744737c 100644
--- a/exim.spec
+++ b/exim.spec
@@ -58,6 +58,7 @@ Patch3:		exim-defs.patch
 Patch4:		%{name}4-Makefile-Default.patch
 # http://marc.merlins.org/linux/exim/files/sa-exim-cvs/localscan_dlopen_exim_4.20_or_better.patch
 Patch5:		localscan_dlopen_%{name}_4.20_or_better.patch
+Patch6:		ssl.patch
 
 Patch8:		%{name}-spam-timeout.patch
 
@@ -182,6 +183,7 @@ Pliki nagłówkowe dla Exima.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %patch8 -p1
 
diff --git a/ssl.patch b/ssl.patch
new file mode 100644
index 0000000..784e148
--- /dev/null
+++ b/ssl.patch
@@ -0,0 +1,11 @@
+--- exim-4.95/src/tls-openssl.c~	2021-09-28 08:24:46.000000000 +0000
++++ exim-4.95/src/tls-openssl.c	2021-10-06 06:17:24.439990018 +0000
+@@ -232,7 +232,7 @@
+   { US"no_tlsv1", SSL_OP_NO_TLSv1 },
+ #endif
+ #ifdef SSL_OP_NO_TLSv1_1
+-# if SSL_OP_NO_TLSv1_1 == 0x00000400L
++# if (OPENSSL_VERSION_NUMBER < 0x30000000fL) && (SSL_OP_NO_TLSv1_1 == 0x00000400L)
+   /* Error in chosen value in 1.0.1a; see first item in CHANGES for 1.0.1b */
+ #  warning OpenSSL 1.0.1a uses a bad value for SSL_OP_NO_TLSv1_1, ignoring
+ # else
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/exim.git/commitdiff/fa4f08281f24e186716c66afcc2772c381d413e0



More information about the pld-cvs-commit mailing list