diff options
author | orbea <orbea@riseup.net> | 2023-09-17 09:49:48 -0700 |
---|---|---|
committer | orbea <orbea@riseup.net> | 2023-09-17 09:57:32 -0700 |
commit | dd32f02ba91cd38b70dafb93aef8ccfa3b73a94b (patch) | |
tree | b1908478a036d019768e9213a47a13ffeb015996 /mail-mta/postfix/files | |
parent | dev-qt/qtbase: add 6.5.2-r2, drop 6.5.2-r1 (diff) | |
download | libressl-dd32f02ba91cd38b70dafb93aef8ccfa3b73a94b.tar.gz libressl-dd32f02ba91cd38b70dafb93aef8ccfa3b73a94b.tar.bz2 libressl-dd32f02ba91cd38b70dafb93aef8ccfa3b73a94b.zip |
mail-mta/postfix: add 3.5.19, drop 3.5.8
Build fails starting with >= postfix-3.5.20.
Bug: https://github.com/gentoo/libressl/issues/536
Signed-off-by: orbea <orbea@riseup.net>
Diffstat (limited to 'mail-mta/postfix/files')
-rw-r--r-- | mail-mta/postfix/files/postfix-3.5.8-libressl.patch (renamed from mail-mta/postfix/files/postfix-libressl-server.patch) | 13 | ||||
-rw-r--r-- | mail-mta/postfix/files/postfix-libressl-certkey.patch | 13 | ||||
-rw-r--r-- | mail-mta/postfix/files/postfix.rc6.2.7 | 2 | ||||
-rw-r--r-- | mail-mta/postfix/files/postfix.service | 2 |
4 files changed, 15 insertions, 15 deletions
diff --git a/mail-mta/postfix/files/postfix-libressl-server.patch b/mail-mta/postfix/files/postfix-3.5.8-libressl.patch index 8573bb8..10cbf99 100644 --- a/mail-mta/postfix/files/postfix-libressl-server.patch +++ b/mail-mta/postfix/files/postfix-3.5.8-libressl.patch @@ -1,5 +1,18 @@ see https://bugs.gentoo.org/678874 +--- a/src/tls/tls_certkey.c.orig 2019-03-07 23:57:10 UTC ++++ b/src/tls/tls_certkey.c +@@ -144,7 +144,7 @@ static void init_pem_load_state(pem_load + + /* use_chain - load cert, key and chain into ctx or ssl */ + +-#if OPENSSL_VERSION_NUMBER >= 0x1010100fUL ++#if OPENSSL_VERSION_NUMBER >= 0x1010100fUL && !defined(LIBRESSL_VERSION_NUMBER) + static int use_chain(pem_load_state_t *st) + { + int ret; +see https://bugs.gentoo.org/678874 + --- a/src/tls/tls_server.c.orig 2018-12-26 19:21:49 UTC +++ b/src/tls/tls_server.c @@ -518,7 +518,9 @@ TLS_APPL_STATE *tls_server_init(const TL diff --git a/mail-mta/postfix/files/postfix-libressl-certkey.patch b/mail-mta/postfix/files/postfix-libressl-certkey.patch deleted file mode 100644 index b6ab8ae..0000000 --- a/mail-mta/postfix/files/postfix-libressl-certkey.patch +++ /dev/null @@ -1,13 +0,0 @@ -see https://bugs.gentoo.org/678874 - ---- a/src/tls/tls_certkey.c.orig 2019-03-07 23:57:10 UTC -+++ b/src/tls/tls_certkey.c -@@ -144,7 +144,7 @@ static void init_pem_load_state(pem_load - - /* use_chain - load cert, key and chain into ctx or ssl */ - --#if OPENSSL_VERSION_NUMBER >= 0x1010100fUL -+#if OPENSSL_VERSION_NUMBER >= 0x1010100fUL && !defined(LIBRESSL_VERSION_NUMBER) - static int use_chain(pem_load_state_t *st) - { - int ret; diff --git a/mail-mta/postfix/files/postfix.rc6.2.7 b/mail-mta/postfix/files/postfix.rc6.2.7 index 5d429a5..62f6dda 100644 --- a/mail-mta/postfix/files/postfix.rc6.2.7 +++ b/mail-mta/postfix/files/postfix.rc6.2.7 @@ -45,7 +45,7 @@ start() { stop() { ebegin "Stopping postfix ${CONF_MESSAGE}" /usr/sbin/postfix ${CONF_PARAM} stop >/dev/null 2>&1 - eend + eend $? } status() { diff --git a/mail-mta/postfix/files/postfix.service b/mail-mta/postfix/files/postfix.service index db585b3..7a72aaa 100644 --- a/mail-mta/postfix/files/postfix.service +++ b/mail-mta/postfix/files/postfix.service @@ -12,7 +12,7 @@ ExecReload=/usr/sbin/postfix reload PrivateTmp=yes PrivateDevices=yes ProtectSystem=full -ReadWritePaths=-/etc/mail/aliases.db +ReadWritePaths=-/etc/mail/aliases.db -/etc/mail/aliases.cdb -/etc/mail/aliases.lmdb CapabilityBoundingSet=~ CAP_NET_ADMIN CAP_SYS_ADMIN CAP_SYS_BOOT CAP_SYS_MODULE MemoryDenyWriteExecute=true ProtectKernelModules=true |