summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorIsmael Luceno2021-06-21 20:16:51 +0200
committerIsmael Luceno2021-06-21 20:17:43 +0200
commit742ada5e87144a45d8b4cf6ce21aa4d09b46868b (patch)
tree56d01d85e729c7764c9d818250cdaf1c5d9b305e /crypto
parent22433f7eb773c067508b3b085b13f1e4c5a27dfe (diff)
libressl: patch 3.3 too with pre-RFC-5280 compatibility patch
Diffstat (limited to 'crypto')
-rwxr-xr-xcrypto/libressl/DETAILS1
-rw-r--r--crypto/libressl/HISTORY5
-rwxr-xr-xcrypto/libressl/PRE_BUILD7
l---------crypto/libressl/patches-3.3/fix-compatibility-with-pre-rfc-5280-certificates.patch1
4 files changed, 12 insertions, 2 deletions
diff --git a/crypto/libressl/DETAILS b/crypto/libressl/DETAILS
index 22c7cf9aa8..bba802744a 100755
--- a/crypto/libressl/DETAILS
+++ b/crypto/libressl/DETAILS
@@ -2,6 +2,7 @@
case "$LIBRESSL_BRANCH"
in devel|stable|3.3)
VERSION=3.3.3
+ PATCHLEVEL=1
SECURITY_PATCH=10
;; 3.2)
VERSION=3.2.5
diff --git a/crypto/libressl/HISTORY b/crypto/libressl/HISTORY
index 01be1ddd69..88b3828817 100644
--- a/crypto/libressl/HISTORY
+++ b/crypto/libressl/HISTORY
@@ -1,3 +1,8 @@
+2021-06-21 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: PATCHLEVEL++
+ * patches-3.3/fix-compatibility-with-pre-rfc-5280-certificates.patch:
+ add pre-RFC-5280 compatibility patch for 3.3
+
2021-05-10 Vlad Glagolev <stealth@sourcemage.org>
* DETAILS: 3.3.3 is the first stable 3.3 release
* PRE_BUILD: dropped stable|devel override
diff --git a/crypto/libressl/PRE_BUILD b/crypto/libressl/PRE_BUILD
index 2d6e6a7704..2e74305330 100755
--- a/crypto/libressl/PRE_BUILD
+++ b/crypto/libressl/PRE_BUILD
@@ -1,4 +1,7 @@
default_pre_build &&
-cd "${SOURCE_DIRECTORY}" &&
-ver="$LIBRESSL_BRANCH" &&
+cd "$SOURCE_DIRECTORY" &&
+ver="$VERSION" &&
+case "$ver" in
+ (*.*.*) ver="${ver%.*}" ;;
+esac &&
apply_patch_dir "patches-$ver"
diff --git a/crypto/libressl/patches-3.3/fix-compatibility-with-pre-rfc-5280-certificates.patch b/crypto/libressl/patches-3.3/fix-compatibility-with-pre-rfc-5280-certificates.patch
new file mode 120000
index 0000000000..890bdd2daa
--- /dev/null
+++ b/crypto/libressl/patches-3.3/fix-compatibility-with-pre-rfc-5280-certificates.patch
@@ -0,0 +1 @@
+../patches-3.2/fix-compatibility-with-pre-rfc-5280-certificates.patch \ No newline at end of file