From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7E1CC138359 for ; Thu, 2 Jul 2020 08:29:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7751E086F; Thu, 2 Jul 2020 08:29:10 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8FB51E086F for ; Thu, 2 Jul 2020 08:29:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7377134EF80 for ; Thu, 2 Jul 2020 08:29:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 228EC9C for ; Thu, 2 Jul 2020 08:29:08 +0000 (UTC) From: "Kent Fredric" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kent Fredric" Message-ID: <1593678504.d18e90bc6d14e3c68343471df7b90e28c4884b1a.kentnl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Crypt-RSA/files/, dev-perl/Crypt-RSA/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/Crypt-RSA/Crypt-RSA-1.990.0-r2.ebuild dev-perl/Crypt-RSA/files/Crypt-RSA-1.99-no-dot-inc.patch dev-perl/Crypt-RSA/files/Crypt-RSA-1.99-test-segv.patch X-VCS-Directories: dev-perl/Crypt-RSA/ dev-perl/Crypt-RSA/files/ X-VCS-Committer: kentnl X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: d18e90bc6d14e3c68343471df7b90e28c4884b1a X-VCS-Branch: master Date: Thu, 2 Jul 2020 08:29:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 72f34193-c77f-43ff-a754-f8d7cafa73a5 X-Archives-Hash: 41097c026bcbdbd95645cec11ce4eb77 commit: d18e90bc6d14e3c68343471df7b90e28c4884b1a Author: Kent Fredric gentoo org> AuthorDate: Thu Jul 2 08:24:39 2020 +0000 Commit: Kent Fredric gentoo org> CommitDate: Thu Jul 2 08:28:24 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d18e90bc dev-perl/Crypt-RSA: -r bump for EAPI7 + fixes - EAPI7 - Fix DEPEND/BDEPEND/etc - Remove empty/unused variable assignments - Parallel tests - Migrate .-in-inc "sed" to a "patch" - Add possible fix patch for bug #627058 Bug: https://bugs.gentoo.org/627058 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Kent Fredric gentoo.org> dev-perl/Crypt-RSA/Crypt-RSA-1.990.0-r2.ebuild | 35 ++++++++++++++++++++++ .../files/Crypt-RSA-1.99-no-dot-inc.patch | 24 +++++++++++++++ .../Crypt-RSA/files/Crypt-RSA-1.99-test-segv.patch | 31 +++++++++++++++++++ 3 files changed, 90 insertions(+) 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 00000000000..22791806cbe --- /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/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 00000000000..f84cac6fbf1 --- /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 +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 00000000000..559e3683017 --- /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 +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 +