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-filter/imapfilter/files/
Date: Mon, 03 May 2021 18:46:36
Message-Id: 1620067251.27e6dccfcf3033f350e83a66ff7e81e859d4b7f2.sam@gentoo
1 commit: 27e6dccfcf3033f350e83a66ff7e81e859d4b7f2
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 3 18:26:17 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon May 3 18:40:51 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27e6dccf
7
8 mail-filter/imapfilter: drop obsolete LibreSSL patch
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 .../files/imapfilter-2.7.5-libressl.patch | 26 ----------------------
13 1 file changed, 26 deletions(-)
14
15 diff --git a/mail-filter/imapfilter/files/imapfilter-2.7.5-libressl.patch b/mail-filter/imapfilter/files/imapfilter-2.7.5-libressl.patch
16 deleted file mode 100644
17 index fb665f85271..00000000000
18 --- a/mail-filter/imapfilter/files/imapfilter-2.7.5-libressl.patch
19 +++ /dev/null
20 @@ -1,26 +0,0 @@
21 -From 9a1132d8c8616b67156d49bea89d567ed31d42d6 Mon Sep 17 00:00:00 2001
22 -From: Stefan Strogin <steils@g.o>
23 -Date: Wed, 30 Dec 2020 06:48:40 +0300
24 -Subject: [PATCH] Fix build with LibreSSL
25 -
26 -Signed-off-by: Stefan Strogin <steils@g.o>
27 ----
28 - src/socket.c | 2 +-
29 - 1 file changed, 1 insertion(+), 1 deletion(-)
30 -
31 -diff --git a/src/socket.c b/src/socket.c
32 -index aa2ef4f..fa75de4 100644
33 ---- a/src/socket.c
34 -+++ b/src/socket.c
35 -@@ -143,7 +143,7 @@ open_secure_connection(session *ssn)
36 - goto fail;
37 -
38 - if (get_option_boolean("hostnames")) {
39 --#if OPENSSL_VERSION_NUMBER >= 0x10100000L
40 -+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
41 - SSL_set_hostflags(ssn->sslconn,
42 - X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS);
43 - if (!SSL_set1_host(ssn->sslconn, ssn->server)) {
44 ---
45 -2.30.0
46 -