commit:     f8f62d49e32ad4163a4af551dca978afc24dd743
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Wed Dec 20 14:42:56 2023 +0000
Commit:     orbea <orbea <AT> riseup <DOT> net>
CommitDate: Wed Dec 20 14:44:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=f8f62d49

mail-mta/postfix: add 3.5.22, drop 3.5.19

Bug: https://github.com/gentoo/libressl/issues/536
Signed-off-by: orbea <orbea <AT> riseup.net>

 mail-mta/postfix/Manifest                          |  2 +-
 .../postfix/files/postfix-3.5.8-libressl.patch     | 28 ++++++++++++++++++++++
 ...postfix-3.5.19.ebuild => postfix-3.5.22.ebuild} |  0
 3 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/mail-mta/postfix/Manifest b/mail-mta/postfix/Manifest
index 3922a75..d72f7ae 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 10cbf99..757101e 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

Reply via email to