Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/postfix/files/
Date: Mon, 03 May 2021 18:46:40
Message-Id: 1620067546.08bb1ba337ef41cf1261b832acb9be4cca6af5ad.sam@gentoo
1 commit: 08bb1ba337ef41cf1261b832acb9be4cca6af5ad
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 3 18:37:27 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon May 3 18:45:46 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08bb1ba3
7
8 mail-mta/postfix: drop obsolete LibreSSL patch(es)
9
10 Package-Manager: Portage-3.0.18-prefix, Repoman-3.0.3
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 mail-mta/postfix/files/postfix-libressl-certkey.patch | 13 -------------
14 mail-mta/postfix/files/postfix-libressl-server.patch | 14 --------------
15 2 files changed, 27 deletions(-)
16
17 diff --git a/mail-mta/postfix/files/postfix-libressl-certkey.patch b/mail-mta/postfix/files/postfix-libressl-certkey.patch
18 deleted file mode 100644
19 index b6ab8aeb790..00000000000
20 --- a/mail-mta/postfix/files/postfix-libressl-certkey.patch
21 +++ /dev/null
22 @@ -1,13 +0,0 @@
23 -see https://bugs.gentoo.org/678874
24 -
25 ---- a/src/tls/tls_certkey.c.orig 2019-03-07 23:57:10 UTC
26 -+++ b/src/tls/tls_certkey.c
27 -@@ -144,7 +144,7 @@ static void init_pem_load_state(pem_load
28 -
29 - /* use_chain - load cert, key and chain into ctx or ssl */
30 -
31 --#if OPENSSL_VERSION_NUMBER >= 0x1010100fUL
32 -+#if OPENSSL_VERSION_NUMBER >= 0x1010100fUL && !defined(LIBRESSL_VERSION_NUMBER)
33 - static int use_chain(pem_load_state_t *st)
34 - {
35 - int ret;
36
37 diff --git a/mail-mta/postfix/files/postfix-libressl-server.patch b/mail-mta/postfix/files/postfix-libressl-server.patch
38 deleted file mode 100644
39 index 8573bb80bb5..00000000000
40 --- a/mail-mta/postfix/files/postfix-libressl-server.patch
41 +++ /dev/null
42 @@ -1,14 +0,0 @@
43 -see https://bugs.gentoo.org/678874
44 -
45 ---- a/src/tls/tls_server.c.orig 2018-12-26 19:21:49 UTC
46 -+++ b/src/tls/tls_server.c
47 -@@ -518,7 +518,9 @@ TLS_APPL_STATE *tls_server_init(const TL
48 - * ticket decryption callback already (since 2.11) asks OpenSSL to
49 - * avoid issuing new tickets when the presented ticket is re-usable.
50 - */
51 -+#ifndef LIBRESSL_VERSION_NUMBER
52 - SSL_CTX_set_num_tickets(server_ctx, 1);
53 -+#endif
54 - }
55 - #endif
56 - if (!ticketable)