Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/trousers/files/
Date: Mon, 03 May 2021 18:46:39
Message-Id: 1620067543.6548bacdf7c793fe63ea668afde331f1f50faa1b.sam@gentoo
1 commit: 6548bacdf7c793fe63ea668afde331f1f50faa1b
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 3 18:36:52 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon May 3 18:45:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6548bacd
7
8 app-crypt/trousers: 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 .../trousers/files/trousers-0.3.14-libressl.patch | 28 -------------------
14 .../trousers/files/trousers-0.3.15-libressl.patch | 31 ----------------------
15 2 files changed, 59 deletions(-)
16
17 diff --git a/app-crypt/trousers/files/trousers-0.3.14-libressl.patch b/app-crypt/trousers/files/trousers-0.3.14-libressl.patch
18 deleted file mode 100644
19 index 9ee7c167e21..00000000000
20 --- a/app-crypt/trousers/files/trousers-0.3.14-libressl.patch
21 +++ /dev/null
22 @@ -1,28 +0,0 @@
23 -From b8b1cda430270f03dc556cf9cf7d2fd478101525 Mon Sep 17 00:00:00 2001
24 -From: Alon Bar-Lev <alon.barlev@×××××.com>
25 -Date: Wed, 7 Dec 2016 09:36:34 +0200
26 -Subject: [PATCH] tspi: support libressl
27 -
28 -Bug: https://sourceforge.net/p/trousers/bugs/222/
29 -
30 -Signed-off-by: Alon Bar-Lev <alon.barlev@×××××.com>
31 ----
32 - src/trspi/crypto/openssl/rsa.c | 2 +-
33 - 1 file changed, 1 insertion(+), 1 deletion(-)
34 -
35 -diff --git a/src/trspi/crypto/openssl/rsa.c b/src/trspi/crypto/openssl/rsa.c
36 -index 2b1205f..3e56015 100644
37 ---- a/src/trspi/crypto/openssl/rsa.c
38 -+++ b/src/trspi/crypto/openssl/rsa.c
39 -@@ -38,7 +38,7 @@
40 - #define DEBUG_print_openssl_errors()
41 - #endif
42 -
43 --#if OPENSSL_VERSION_NUMBER < 0x10100001L
44 -+#if OPENSSL_VERSION_NUMBER < 0x10100001L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
45 - static int
46 - RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
47 - {
48 ---
49 -2.7.3
50 -
51
52 diff --git a/app-crypt/trousers/files/trousers-0.3.15-libressl.patch b/app-crypt/trousers/files/trousers-0.3.15-libressl.patch
53 deleted file mode 100644
54 index e4aee00d8d9..00000000000
55 --- a/app-crypt/trousers/files/trousers-0.3.15-libressl.patch
56 +++ /dev/null
57 @@ -1,31 +0,0 @@
58 -From 88e90ee4c36f0decdf7c15e271bccb8b0809a21a Mon Sep 17 00:00:00 2001
59 -From: Stefan Strogin <stefan@××××××.org>
60 -Date: Tue, 24 Nov 2020 11:08:13 +0200
61 -Subject: [PATCH] trousers: do not re-declare RSA_set0_key with LibreSSL
62 -
63 -The method RSA_set0_key is provided by LibreSSL since 2.7.0, that means
64 -in all currently supported versions.
65 -
66 -Upstream-Status: Submitted
67 -[https://sourceforge.net/p/trousers/trousers/merge-requests/2/]
68 -Signed-off-by: Stefan Strogin <stefan@××××××.org>
69 ----
70 - src/trspi/crypto/openssl/rsa.c | 2 +-
71 - 1 file changed, 1 insertion(+), 1 deletion(-)
72 -
73 -diff --git a/src/trspi/crypto/openssl/rsa.c b/src/trspi/crypto/openssl/rsa.c
74 -index 24f13e7..cf46c08 100644
75 ---- a/src/trspi/crypto/openssl/rsa.c
76 -+++ b/src/trspi/crypto/openssl/rsa.c
77 -@@ -38,7 +38,7 @@
78 - #define DEBUG_print_openssl_errors()
79 - #endif
80 -
81 --#if (OPENSSL_VERSION_NUMBER < 0x10100001L) || defined(LIBRESSL_VERSION_NUMBER)
82 -+#if (OPENSSL_VERSION_NUMBER < 0x10100001L)
83 - static int
84 - RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
85 - {
86 ---
87 -2.29.2
88 -