From: "orbea" <orbea@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/libressl:master commit in: dev-perl/Net-SSLeay/files/, dev-perl/Net-SSLeay/
Date: Mon, 29 May 2023 19:49:09 +0000 (UTC) [thread overview]
Message-ID: <1685389405.0c6641cc3ba9fb12a8867f7d87336996238dad10.orbea@gentoo> (raw)
commit: 0c6641cc3ba9fb12a8867f7d87336996238dad10
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Mon May 29 19:37:08 2023 +0000
Commit: orbea <orbea <AT> riseup <DOT> net>
CommitDate: Mon May 29 19:43:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=0c6641cc
dev-perl/Net-SSLeay: Fix build with LibreSSL-3.8.0
Upstream-PR: https://github.com/radiator-software/p5-net-ssleay/pull/434
Signed-off-by: orbea <orbea <AT> riseup.net>
dev-perl/Net-SSLeay/Net-SSLeay-1.900.0.ebuild | 1 +
...1.920.0.ebuild => Net-SSLeay-1.920.0-r1.ebuild} | 7 +++--
dev-perl/Net-SSLeay/Net-SSLeay-1.920.0.ebuild | 3 +-
.../files/Net-SSLeay-1.92-libressl-3.8.0.patch | 34 ++++++++++++++++++++++
4 files changed, 41 insertions(+), 4 deletions(-)
diff --git a/dev-perl/Net-SSLeay/Net-SSLeay-1.900.0.ebuild b/dev-perl/Net-SSLeay/Net-SSLeay-1.900.0.ebuild
index 630cdf6..0f0f2f8 100644
--- a/dev-perl/Net-SSLeay/Net-SSLeay-1.900.0.ebuild
+++ b/dev-perl/Net-SSLeay/Net-SSLeay-1.900.0.ebuild
@@ -35,6 +35,7 @@ PATCHES=(
"${FILESDIR}/${PN}-1.88-fix-network-tests.patch"
"${FILESDIR}/${PN}-1.88-fix-libdir.patch"
"${FILESDIR}/${PN}-1.90-libressl.patch"
+ "${FILESDIR}/${PN}-1.92-libressl-3.8.0.patch"
)
PERL_RM_FILES=(
diff --git a/dev-perl/Net-SSLeay/Net-SSLeay-1.920.0.ebuild b/dev-perl/Net-SSLeay/Net-SSLeay-1.920.0-r1.ebuild
similarity index 80%
copy from dev-perl/Net-SSLeay/Net-SSLeay-1.920.0.ebuild
copy to dev-perl/Net-SSLeay/Net-SSLeay-1.920.0-r1.ebuild
index da87024..dfe368a 100644
--- a/dev-perl/Net-SSLeay/Net-SSLeay-1.920.0.ebuild
+++ b/dev-perl/Net-SSLeay/Net-SSLeay-1.920.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -12,7 +12,7 @@ DESCRIPTION="Perl extension for using OpenSSL"
LICENSE="Artistic-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="minimal examples"
RDEPEND="
@@ -35,7 +35,8 @@ BDEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}/${PN}-1.88-fix-network-tests.patch"
- "${FILESDIR}/${PN}-1.92-libressl.patch"
+ "${FILESDIR}/${PN}-1.92-libressl.patch" #903001
+ "${FILESDIR}/${PN}-1.92-libressl-3.8.0.patch"
)
PERL_RM_FILES=(
diff --git a/dev-perl/Net-SSLeay/Net-SSLeay-1.920.0.ebuild b/dev-perl/Net-SSLeay/Net-SSLeay-1.920.0.ebuild
index da87024..9ee02cd 100644
--- a/dev-perl/Net-SSLeay/Net-SSLeay-1.920.0.ebuild
+++ b/dev-perl/Net-SSLeay/Net-SSLeay-1.920.0.ebuild
@@ -35,7 +35,8 @@ BDEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}/${PN}-1.88-fix-network-tests.patch"
- "${FILESDIR}/${PN}-1.92-libressl.patch"
+ "${FILESDIR}/${PN}-1.92-libressl.patch" #903001
+ "${FILESDIR}/${PN}-1.92-libressl-3.8.0.patch"
)
PERL_RM_FILES=(
diff --git a/dev-perl/Net-SSLeay/files/Net-SSLeay-1.92-libressl-3.8.0.patch b/dev-perl/Net-SSLeay/files/Net-SSLeay-1.92-libressl-3.8.0.patch
new file mode 100644
index 0000000..d02333e
--- /dev/null
+++ b/dev-perl/Net-SSLeay/files/Net-SSLeay-1.92-libressl-3.8.0.patch
@@ -0,0 +1,34 @@
+https://github.com/radiator-software/p5-net-ssleay/pull/434
+
+From 79a06ce5f9a77d8c65d51035f8edb6043864f342 Mon Sep 17 00:00:00 2001
+From: orbea <orbea@riseup.net>
+Date: Mon, 29 May 2023 10:16:33 -0700
+Subject: [PATCH] SSLeay.xs: Disable Policy Tree API for LibreSSL 3.8 and later
+
+This is taken from the OpenBSD ports tree.
+
+https://github.com/openbsd/ports/commit/f6567f938c9bd51bfd99f8426eba6a1590cc6384
+---
+ SSLeay.xs | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/SSLeay.xs b/SSLeay.xs
+index 102e89f..ae870c0 100644
+--- a/SSLeay.xs
++++ b/SSLeay.xs
+@@ -7157,6 +7157,7 @@ X509_VERIFY_PARAM_get0_peername(param)
+
+ #endif /* OpenSSL 1.0.2-beta2, LibreSSL 2.7.0 */
+
++#if !defined(LIBRESSL_VERSION_NUMBER) || (LIBRESSL_VERSION_NUMBER < 0x3080000fL) /* LibreSSL < 3.8.0 */
+ void
+ X509_policy_tree_free(tree)
+ X509_POLICY_TREE *tree
+@@ -7199,6 +7200,7 @@ const X509_POLICY_NODE *
+ X509_policy_node_get0_parent(node)
+ const X509_POLICY_NODE *node
+
++#endif /* !(LibreSSL >= 3.7.0) */
+ #endif
+
+ ASN1_OBJECT *
next reply other threads:[~2023-05-29 19:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-29 19:49 orbea [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-02 15:37 [gentoo-commits] repo/proj/libressl:master commit in: dev-perl/Net-SSLeay/files/, dev-perl/Net-SSLeay/ orbea
2025-01-04 19:07 orbea
2024-04-05 17:24 orbea
2024-03-11 0:42 orbea
2022-11-15 21:18 Quentin Retornaz
2021-10-02 22:15 Quentin Retornaz
2019-08-17 2:29 Stefan Strogin
2019-03-25 5:50 Stefan Strogin
2019-02-21 1:30 Aaron Bauman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1685389405.0c6641cc3ba9fb12a8867f7d87336996238dad10.orbea@gentoo \
--to=orbea@riseup.net \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox