commit:     1fd23296fdc1e8c3185b123f39985479998f9991
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Fri May  2 20:19:34 2025 +0000
Commit:     Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
CommitDate: Fri May  2 21:28:43 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fd23296

app-crypt/dehydrated: remove unused patch

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Part-of: https://github.com/gentoo/gentoo/pull/41907
Closes: https://github.com/gentoo/gentoo/pull/41907
Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org>

 ...-CN-extraction-for-older-openssl-versions.patch | 30 ----------------------
 1 file changed, 30 deletions(-)

diff --git 
a/app-crypt/dehydrated/files/dehydrated-0.7.0-fix-CN-extraction-for-older-openssl-versions.patch
 
b/app-crypt/dehydrated/files/dehydrated-0.7.0-fix-CN-extraction-for-older-openssl-versions.patch
deleted file mode 100644
index 91188fbe3587..000000000000
--- 
a/app-crypt/dehydrated/files/dehydrated-0.7.0-fix-CN-extraction-for-older-openssl-versions.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 29b67962ac07d5d2b24f69c863a9ef31e8ac53ee Mon Sep 17 00:00:00 2001
-From: Lukas Schauer <[email protected]>
-Date: Fri, 11 Dec 2020 18:02:51 +0100
-Subject: [PATCH] fix CN extraction for older openssl versions
-
----
- dehydrated | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/dehydrated b/dehydrated
-index 622165e..37e0ab6 100755
---- a/dehydrated
-+++ b/dehydrated
-@@ -926,14 +926,14 @@ extract_altnames() {
-     printf "%s" "${altnames}" | tr '\n' ' '
-   else
-     # No SANs, extract CN
--    altnames="$( <<<"${reqtext}" grep '^[[:space:]]*Subject:' | _sed -e 's/.* 
CN ?= ?([^ /,]*).*/\1/' )"
-+    altnames="$( <<<"${reqtext}" grep '^[[:space:]]*Subject:' | _sed -e 
's/.*[ /]CN ?= ?([^ /,]*).*/\1/' )"
-     printf "%s" "${altnames}"
-   fi
- }
- 
- # Get last issuer CN in certificate chain
- get_last_cn() {
--  <<<"${1}" _sed 'H;/-----BEGIN CERTIFICATE-----/h;$!d;x' | "${OPENSSL}" x509 
-noout -issuer | head -n1 | _sed -e 's/.* CN ?= ?([^/,]*).*/\1/'
-+  <<<"${1}" _sed 'H;/-----BEGIN CERTIFICATE-----/h;$!d;x' | "${OPENSSL}" x509 
-noout -issuer | head -n1 | _sed -e 's/.*[ /]CN ?= ?([^/,]*).*/\1/'
- }
- 
- # Create certificate for domain(s) and outputs it FD 3

Reply via email to