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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DEACB1581D3 for ; Sat, 25 May 2024 06:22:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2CEE1E2A37; Sat, 25 May 2024 06:22:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1471CE2A37 for ; Sat, 25 May 2024 06:22:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5957534068A for ; Sat, 25 May 2024 06:22:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E6535ED0 for ; Sat, 25 May 2024 06:22:27 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1716618108.3842db814612481f5efb1320c1aab404fae09a40.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/GnuPG-Interface/files/, dev-perl/GnuPG-Interface/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/GnuPG-Interface/GnuPG-Interface-1.30.0.ebuild dev-perl/GnuPG-Interface/files/GnuPG-Interface-1.30.0-which-hunt.patch X-VCS-Directories: dev-perl/GnuPG-Interface/files/ dev-perl/GnuPG-Interface/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3842db814612481f5efb1320c1aab404fae09a40 X-VCS-Branch: master Date: Sat, 25 May 2024 06:22:27 +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: b44bf9e7-ec17-4650-a20b-62620d22ef53 X-Archives-Hash: f7532540c24a66c1d467b10b704a928e commit: 3842db814612481f5efb1320c1aab404fae09a40 Author: Sam James gentoo org> AuthorDate: Sat May 25 06:18:04 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sat May 25 06:21:48 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3842db81 dev-perl/GnuPG-Interface: don't call which We don't want to rely on sys-apps/which and it doesn't serve much purpose to do this check at all. We already die if we can't find the gpg version on the next line anyway. Signed-off-by: Sam James gentoo.org> dev-perl/GnuPG-Interface/GnuPG-Interface-1.30.0.ebuild | 6 +++++- .../files/GnuPG-Interface-1.30.0-which-hunt.patch | 16 ++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/dev-perl/GnuPG-Interface/GnuPG-Interface-1.30.0.ebuild b/dev-perl/GnuPG-Interface/GnuPG-Interface-1.30.0.ebuild index 44bf41c3feeb..e071f56eb781 100644 --- a/dev-perl/GnuPG-Interface/GnuPG-Interface-1.30.0.ebuild +++ b/dev-perl/GnuPG-Interface/GnuPG-Interface-1.30.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,6 +25,10 @@ BDEPEND=" >=virtual/perl-ExtUtils-MakeMaker-6.360.0 " +PATCHES=( + "${FILESDIR}"/GnuPG-Interface-1.30.0-which-hunt.patch +) + src_test() { # Nearly all tests succeed with this patchset and GnuPG 2.1 when running outside the # emerge sandbox. However, the agent architecture is not really sandbox-friendly, so... diff --git a/dev-perl/GnuPG-Interface/files/GnuPG-Interface-1.30.0-which-hunt.patch b/dev-perl/GnuPG-Interface/files/GnuPG-Interface-1.30.0-which-hunt.patch new file mode 100644 index 000000000000..5e7f8b6a3efe --- /dev/null +++ b/dev-perl/GnuPG-Interface/files/GnuPG-Interface-1.30.0-which-hunt.patch @@ -0,0 +1,16 @@ +We don't want to rely on sys-apps/which and it doesn't serve much purpose +to do this check at all. We already die if we can't find the gpg version +on the next line anyway. +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -3,10 +3,6 @@ use strict; + use warnings; + use inc::Module::Install; + +-print "which gpg ... "; +-system("which", "gpg"); +-die "gpg (GnuPG) not found" if ( $? != 0 ); +- + my $output = `gpg --version`; + die "Can't determine gpg version" + unless $output =~ /^gpg \(GnuPG.*?\) (\d+\.\d+)/;