From f8f62d49e32ad4163a4af551dca978afc24dd743 Mon Sep 17 00:00:00 2001 From: orbea Date: Wed, 20 Dec 2023 06:42:56 -0800 Subject: [PATCH] mail-mta/postfix: add 3.5.22, drop 3.5.19 Bug: https://github.com/gentoo/libressl/issues/536 Signed-off-by: orbea --- mail-mta/postfix/Manifest | 2 +- .../files/postfix-3.5.8-libressl.patch | 28 +++++++++++++++++++ ...ix-3.5.19.ebuild => postfix-3.5.22.ebuild} | 0 3 files changed, 29 insertions(+), 1 deletion(-) rename mail-mta/postfix/{postfix-3.5.19.ebuild => postfix-3.5.22.ebuild} (100%) diff --git a/mail-mta/postfix/Manifest b/mail-mta/postfix/Manifest index 3922a75d..d72f7ae7 100644 --- a/mail-mta/postfix/Manifest +++ b/mail-mta/postfix/Manifest @@ -1 +1 @@ -DIST postfix-3.5.19.tar.gz 4628308 BLAKE2B f194e42041429766fbf46f0b034269793451df1dd19be1b31a65f9615a581e461a89f7d4f862fb0d23bfdff0c7d64423003c3b017ffde1fa26ab2ac61c74d2c1 SHA512 93abf97c2d9d7d72b18f837e14f9041839abc596e6cfba6aaca360efc3fb04e5fdfc33f4cd9bc48576df9cbbec320c1921fec298eb350e7e0f3464ca3063e7d4 +DIST postfix-3.5.22.tar.gz 4634825 BLAKE2B af8c0d1ef546ef2d69987501aab1aa2371cc60cadb6748ceab752fe635d7dbecc3b678d4acae8e014d12a514283a6923c39c5770c4bddda5e141461ce9073e6f SHA512 ed14c8fb565c8dc05049e169a253260739fa1866c00aa25de90444ffca885dc515ff6b262b608cf28031a0b17a16a4d691d0273dcbd4a21ad7f21db4d19b6d38 diff --git a/mail-mta/postfix/files/postfix-3.5.8-libressl.patch b/mail-mta/postfix/files/postfix-3.5.8-libressl.patch index 10cbf995..757101e7 100644 --- a/mail-mta/postfix/files/postfix-3.5.8-libressl.patch +++ b/mail-mta/postfix/files/postfix-3.5.8-libressl.patch @@ -25,3 +25,31 @@ see https://bugs.gentoo.org/678874 } #endif if (!ticketable) +--- a/src/tls/tls_misc.c.orig ++++ b/src/tls/tls_misc.c +@@ -657,7 +657,7 @@ void tls_param_init(void) + + int tls_library_init(void) + { +- OPENSSL_INIT_SETTINGS *init_settings; ++ // OPENSSL_INIT_SETTINGS *init_settings; + char *conf_name = *var_tls_cnf_name ? var_tls_cnf_name : 0; + char *conf_file = 0; + unsigned long init_opts = 0; +@@ -681,6 +681,7 @@ int tls_library_init(void) + msg_info("tls_library_init: using backwards-compatible defaults"); + return (init_res = TLS_LIB_INIT_OK); + } ++#if 0 + if ((init_settings = OPENSSL_INIT_new()) == 0) { + msg_warn("error allocating OpenSSL init settings, " + "disabling TLS support"); +@@ -763,6 +764,8 @@ int tls_library_init(void) + TLS_LIB_INIT_RETURN(TLS_LIB_INIT_ERR); + } + TLS_LIB_INIT_RETURN(TLS_LIB_INIT_OK); ++#endif ++ return init_res = TLS_LIB_INIT_OK; + } + + /* tls_pre_jail_init - Load TLS related pre-jail tables */ diff --git a/mail-mta/postfix/postfix-3.5.19.ebuild b/mail-mta/postfix/postfix-3.5.22.ebuild similarity index 100% rename from mail-mta/postfix/postfix-3.5.19.ebuild rename to mail-mta/postfix/postfix-3.5.22.ebuild