diff options
Diffstat (limited to 'dev-perl/Crypt-RSA')
-rw-r--r-- | dev-perl/Crypt-RSA/Crypt-RSA-1.990.0-r2.ebuild | 35 | ||||
-rw-r--r-- | dev-perl/Crypt-RSA/Manifest | 3 | ||||
-rw-r--r-- | dev-perl/Crypt-RSA/files/Crypt-RSA-1.99-no-dot-inc.patch | 24 | ||||
-rw-r--r-- | dev-perl/Crypt-RSA/files/Crypt-RSA-1.99-test-segv.patch | 31 |
4 files changed, 93 insertions, 0 deletions
diff --git a/dev-perl/Crypt-RSA/Crypt-RSA-1.990.0-r2.ebuild b/dev-perl/Crypt-RSA/Crypt-RSA-1.990.0-r2.ebuild new file mode 100644 index 000000000000..22791806cbe1 --- /dev/null +++ b/dev-perl/Crypt-RSA/Crypt-RSA-1.990.0-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=VIPUL +DIST_VERSION=1.99 +inherit perl-module + +DESCRIPTION="RSA public-key cryptosystem" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~x86 ~x86-solaris" + +RDEPEND=" + >=dev-perl/Class-Loader-2.0.0 + dev-perl/Convert-ASCII-Armour + dev-perl/Crypt-Blowfish + dev-perl/Crypt-CBC + >=dev-perl/Crypt-Primes-0.380.0 + >=dev-perl/Crypt-Random-0.340.0 + dev-perl/Data-Buffer + virtual/perl-Data-Dumper + dev-perl/Digest-MD2 + virtual/perl-Digest-MD5 + dev-perl/Digest-SHA1 + >=dev-perl/Math-Pari-2.10.603 + dev-perl/Sort-Versions + dev-perl/Tie-EncryptedHash" +BDEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-1.99-no-dot-inc.patch" + "${FILESDIR}/${PN}-1.99-test-segv.patch" +) diff --git a/dev-perl/Crypt-RSA/Manifest b/dev-perl/Crypt-RSA/Manifest index 460cdb09c5b7..59983b999221 100644 --- a/dev-perl/Crypt-RSA/Manifest +++ b/dev-perl/Crypt-RSA/Manifest @@ -1,3 +1,6 @@ +AUX Crypt-RSA-1.99-no-dot-inc.patch 519 BLAKE2B c0543ff5b5fb83fcba08b68bf9d8b281fe3a25f54b9ec655d7edbc92cf1f874eee500de4628fde9e4924bcd546c450f3cadb56bac43f658198423be9d204b550 SHA512 53cec9a1674eb504169be77cceec7e848e74c77ee99d70e02052f45dfdc3d7ef30705d3233a4c4ff7ca3c540c6db7512f48de0dd7527a3c36acbab31e16562f2 +AUX Crypt-RSA-1.99-test-segv.patch 889 BLAKE2B 994b35e5bdfaa4825fcd2aa145622b3d32f7ecff730fdbf3d0fac140b53335de80f453116578b7886b8da54f6e342afd8440f545ef206be13331c52d9d72cf4e SHA512 fbca977897359ac23106aae8abbdbe7d44ad90be773de92f352d098ec6e87a570bb68e7729a5179fe2d27fc8f207ab52ceae7b91f40d4a3b88d2049129828ff6 DIST Crypt-RSA-1.99.tar.gz 52393 BLAKE2B 7231f78611cb57c90e815042bc257ea3be0a319a1d5a711965cf1de0cbba5cf690a7b47a682f8c4d1fd7e7c316a7e0f641683f83eea723b25828d7392b2fa260 SHA512 69426a3bd8b0d803926ac71b78952a4240831ab6202eae1d9cf1ce6f7c921e74442604f397a65f74d567629d3b2d56587aa8ca62700a458174640b02a05cff6b EBUILD Crypt-RSA-1.990.0-r1.ebuild 835 BLAKE2B cdcaba876fc7eaac80ddabdd25a11a73f2daaa172607717c491a0813d0fb184ad61d661e82bbd614886dc5d5bbbdb2a5e7772dcdcc56f8b8ee5db8b6871a6e69 SHA512 d6795e50bf69132084bf76852baff19f46d192ddcc4146af7ed374b33fb8eb7ff5fb421160670f88b4abfa1df986b78cbd70749f80e28f6365bc0e64c7bbc292 +EBUILD Crypt-RSA-1.990.0-r2.ebuild 774 BLAKE2B 4247d3fd9321eaf5b008b73f930d127929ce8582948b72b9903b3ea0548da82f7c14b7f6e41d002e7379487143c7abe22727254ca29e940aa0eae945f3d7d1a4 SHA512 037c33fe59e836e0d81858bebafe32d69846e9ce4ae704f71b129b8d746c777161d66a386a154a2907463829427e3b587462b79a91defbedbac8cf38f5e8811f MISC metadata.xml 1376 BLAKE2B 092c32cee41165986522558a9a6f19db835a92fbfb6fa8a74d462b490c9ae29acaa60a83cd8b821d9fdea5803549b5a8cffd5bd7c1b8ead72bb02f2ddaadede9 SHA512 d6a7336d8e01ee6cee51c39107489d0bd93732c0a962b0f26778974be96752b9e3950d243550c189f0ec4e5495d6c0220c01b6e49705fe48b1adc493f10a6764 diff --git a/dev-perl/Crypt-RSA/files/Crypt-RSA-1.99-no-dot-inc.patch b/dev-perl/Crypt-RSA/files/Crypt-RSA-1.99-no-dot-inc.patch new file mode 100644 index 000000000000..f84cac6fbf19 --- /dev/null +++ b/dev-perl/Crypt-RSA/files/Crypt-RSA-1.99-no-dot-inc.patch @@ -0,0 +1,24 @@ +From 76ef0a65ae8b93da138c179e7e0c2995113825d9 Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Thu, 2 Jul 2020 20:11:50 +1200 +Subject: Include '.' in @INC on perl 5.26+ + +--- + Makefile.PL | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Makefile.PL b/Makefile.PL +index 95eb265..90f6da8 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -8,6 +8,7 @@ + ## + ## $Id: Makefile.PL,v 1.12 2001/05/30 13:10:32 vipul Exp $ + ++use lib '.'; + use inc::Module::Install; + + name 'Crypt-RSA'; +-- +2.27.0 + diff --git a/dev-perl/Crypt-RSA/files/Crypt-RSA-1.99-test-segv.patch b/dev-perl/Crypt-RSA/files/Crypt-RSA-1.99-test-segv.patch new file mode 100644 index 000000000000..559e36830179 --- /dev/null +++ b/dev-perl/Crypt-RSA/files/Crypt-RSA-1.99-test-segv.patch @@ -0,0 +1,31 @@ +From 877c93686ad36d5dcc4a42b8bff5f3c5383e6514 Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Thu, 2 Jul 2020 20:16:20 +1200 +Subject: Change load order of Convert::ASCII::Armour + +Which is reported to somehow fix segv's in t/11-wrapper.t + +Bug: https://rt.cpan.org/Ticket/Display.html?id=4877 +Bug: https://bugs.gentoo.org/627058 +--- + lib/Crypt/RSA.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/Crypt/RSA.pm b/lib/Crypt/RSA.pm +index 5a3d3bc..072f0b4 100644 +--- a/lib/Crypt/RSA.pm ++++ b/lib/Crypt/RSA.pm +@@ -15,9 +15,9 @@ use lib "$Bin/../../lib"; + use strict; + use base 'Class::Loader'; + use base 'Crypt::RSA::Errorhandler'; ++use Convert::ASCII::Armour; + use Crypt::RSA::Key; + use Crypt::RSA::DataFormat qw(steak octet_len); +-use Convert::ASCII::Armour; + use Carp; + + $Crypt::RSA::VERSION = '1.99'; # change this elsewhere too! +-- +2.27.0 + |