dev-perl/IO-Socket-SSL: Drop old versions

Signed-off-by: Matt Turner <mattst88@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Matt Turner
2024-12-21 08:32:33 -05:00
committed by Sam James
parent b2b74c44b0
commit 74ae66becb
7 changed files with 0 additions and 231 deletions

View File

@@ -1,37 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR=SULLR
DIST_VERSION=2.083
DIST_EXAMPLES=("example/*")
inherit perl-module
DESCRIPTION="Nearly transparent SSL encapsulation for IO::Socket::INET"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="idn"
RDEPEND="
dev-perl/Mozilla-CA
>=dev-perl/Net-SSLeay-1.460.0
virtual/perl-Scalar-List-Utils
idn? (
|| (
>=dev-perl/URI-1.50
dev-perl/Net-LibIDN
dev-perl/Net-IDN-Encode
)
)"
BDEPEND="
${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
"
PATCHES=(
"${FILESDIR}/${PV}-openssl-compat.patch"
)
mydoc=("docs/debugging.txt")

View File

@@ -1,33 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR=SULLR
DIST_VERSION=2.085
DIST_EXAMPLES=("example/*")
inherit perl-module
DESCRIPTION="Nearly transparent SSL encapsulation for IO::Socket::INET"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="idn"
RDEPEND="
dev-perl/Mozilla-CA
>=dev-perl/Net-SSLeay-1.460.0
virtual/perl-Scalar-List-Utils
idn? (
|| (
>=dev-perl/URI-1.50
dev-perl/Net-LibIDN
dev-perl/Net-IDN-Encode
)
)"
BDEPEND="
${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
"
mydoc=("docs/debugging.txt")

View File

@@ -1,33 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR=SULLR
DIST_VERSION=2.086
DIST_EXAMPLES=("example/*")
inherit perl-module
DESCRIPTION="Nearly transparent SSL encapsulation for IO::Socket::INET"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="idn"
RDEPEND="
dev-perl/Mozilla-CA
>=dev-perl/Net-SSLeay-1.460.0
virtual/perl-Scalar-List-Utils
idn? (
|| (
>=dev-perl/URI-1.50
dev-perl/Net-LibIDN
dev-perl/Net-IDN-Encode
)
)"
BDEPEND="
${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
"
mydoc=("docs/debugging.txt")

View File

@@ -1,34 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR=SULLR
DIST_VERSION=2.087
DIST_EXAMPLES=("example/*")
inherit perl-module
DESCRIPTION="Nearly transparent SSL encapsulation for IO::Socket::INET"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="idn"
RDEPEND="
dev-perl/Mozilla-CA
>=dev-perl/Net-SSLeay-1.460.0
virtual/perl-Scalar-List-Utils
idn? (
|| (
>=dev-perl/URI-1.50
dev-perl/Net-LibIDN
dev-perl/Net-IDN-Encode
)
)
"
BDEPEND="
${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
"
mydoc=("docs/debugging.txt")

View File

@@ -1,33 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR=SULLR
DIST_VERSION=2.088
DIST_EXAMPLES=("example/*")
inherit perl-module
DESCRIPTION="Nearly transparent SSL encapsulation for IO::Socket::INET"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="idn"
RDEPEND="
>=dev-perl/Net-SSLeay-1.460.0
virtual/perl-Scalar-List-Utils
idn? (
|| (
>=dev-perl/URI-1.50
dev-perl/Net-LibIDN
dev-perl/Net-IDN-Encode
)
)
"
BDEPEND="
${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
"
mydoc=("docs/debugging.txt")

View File

@@ -1,6 +1 @@
DIST IO-Socket-SSL-2.083.tar.gz 259940 BLAKE2B be1b435b44d3209da1e3c02530556c9923e92a80cb7ef14b27550362f7cbc4bada2b5facf3177f26856dd458d894805ee84d06ffa50749b0bfa6e07818963f7b SHA512 a3fb70148eabc7b972c9b7a132b2a3f3ef23877606670c19ebffe40c82fc462431337ab498bca98b823b89ade8e2288d37fdb677ae154461de8f9f24e7568e4a
DIST IO-Socket-SSL-2.085.tar.gz 265644 BLAKE2B e8bad1a67239a2d24c28bc28e440d4c3c4e09ae5287d5eb283005ea2a295f6019d623bad94220478f430cc5fb10c53e5493789e244c4325d12f04248bc5be34d SHA512 c4e045e88f69579d53a3663ed8f74d342fe3529e24e06d9e7d299debafdb840839c6f5bccb579b4d03f7501615439dba4661ac006312f379a2598a3030634cfd
DIST IO-Socket-SSL-2.086.tar.gz 266036 BLAKE2B 3c9b5ea26fa70ae2e672f6ed57a739fdcca9e3da08d7ccc51608d25c62ae37fc1e8103dec798c635933a52930404c2cfb160effc64f8a199435d0ac8588046d3 SHA512 5f4957602bf68402838429b1929d2b937b0f24daa60a20a61477a9f89d054a4afdb588bc2241552dde31129caecfce59809d9a50b6ea7d6f9b6a08681dce927e
DIST IO-Socket-SSL-2.087.tar.gz 270113 BLAKE2B 9d880c99cf8ed329727b3b1a92b9227e6f80ab85e64c4c0de591a2071a18df8aa31b7aaed28d1c580c62b90268c136d90946af1c0b433fd67cc94c09efef2535 SHA512 5e2fe19fd50c2c5377d9939dfbc28f61eb6aace9643a7bcfdddbd878f45c062d0dd58e1637fbe98b5288f689daacee2f3a6b9089c06ffa5706426868faaf5b47
DIST IO-Socket-SSL-2.088.tar.gz 270154 BLAKE2B 6103fb98f2ad3d3638b28e03eb7ad4f390fb77a4dbc2956bd8a8e25280bbf64194713fbcd01e9d22e12d9566b4d8e83db9779dd09a9d261a23755c7d2f488b5b SHA512 940cda4a51b3ae7d58fda8d995c3fe35962d7efe32618c846040f0efbc5157cc0056f609b77019647a5d757795894fe453d3c2b4dc1473e131d8db3cba929383
DIST IO-Socket-SSL-2.089.tar.gz 271442 BLAKE2B 38c228f09886ec8844dd526eddd865ec5582667ef2621e57270cc911f2d00f08135ace3224dfdf4570ac78515367cfc2c142ec7b46b4146f88535bc50c138405 SHA512 77cd4a7da3c34a741d8dbc52d5fe2efffee574c3f3078f24ceb2531a53133dc532109ade30700214ba6df26a0577a9f3ae76133fd8dc145be1fba58fc0b0f69c

View File

@@ -1,56 +0,0 @@
From a1ff93e99d504eb11cec1739ca57057731e3c2cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= <dilfridge@gentoo.org>
Date: Thu, 28 Sep 2023 22:20:59 +0200
Subject: [PATCH] Adapt to new OpenSSL version / ABI compatibility scheme
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
https://www.openssl.org/policies/releasestrat.html
In short, as of 3.0.0, when the version is MAJOR.MINOR.PATCH,
only changes in MAJOR indicate API/ABI incompatible changes.
Fixes: https://github.com/noxxi/p5-io-socket-ssl/issues/137
Bug: https://bugs.gentoo.org/show_bug.cgi?id=909545
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
---
Makefile.PL | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/Makefile.PL b/Makefile.PL
index 8a35591..f6b3195 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -64,16 +64,27 @@ if (my $compiled = eval {
$compiled) if $compiled < 0x00908000;
my $linked = Net::SSLeay::SSLeay();
- if (($compiled ^ $linked) >= 0x00001000) {
- die sprintf("API-different OpenSSL versions compiled in (0x%08x) vs linked (0x%08x)",
- $compiled,$linked);
- }
# OpenSSL 1.1.1e introduced behavior changes breaking various code
# will likely be reverted in 1.1.1f - enforce to not use this version
if ($linked == 0x1010105f) {
die "detected OpenSSL 1.1.1e - please use a different version\n";
}
+
+ # For old versions we need to be rather strict, however OpenSSL explicitly
+ # declares that from 3.0 on x.y versions are for all y ABI-compatible.
+ # https://www.openssl.org/policies/releasestrat.html
+ if ($linked < 0x30000000) {
+ if (($compiled ^ $linked) >= 0x00001000) {
+ die sprintf("API-different OpenSSL versions compiled in (0x%08x) vs linked (0x%08x)",
+ $compiled,$linked);
+ }
+ } else {
+ if (($compiled ^ $linked) >= 0x10000000) {
+ die sprintf("API-different OpenSSL versions compiled in (0x%08x) vs linked (0x%08x)",
+ $compiled,$linked);
+ }
+ }
}
# make sure that we have dualvar from the XS Version of Scalar::Util