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 D1EEE1581C1 for ; Thu, 4 Jul 2024 00:49:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D89F32BC016; Thu, 4 Jul 2024 00:49:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 743932BC015 for ; Thu, 4 Jul 2024 00:49:09 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4AA4E34300C for ; Thu, 4 Jul 2024 00:49:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A53D83BD for ; Thu, 4 Jul 2024 00:49:06 +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: <1720053199.d884527daf5bebf99c6603c351dc8081b7c2063e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/squid/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-proxy/squid/squid-6.9.ebuild X-VCS-Directories: net-proxy/squid/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d884527daf5bebf99c6603c351dc8081b7c2063e X-VCS-Branch: master Date: Thu, 4 Jul 2024 00:49:06 +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: a154a3e3-35d0-4518-b1e3-3c3c68de1214 X-Archives-Hash: b13827c49b015728b55450ca6a8f5bb5 commit: d884527daf5bebf99c6603c351dc8081b7c2063e Author: Sam James gentoo org> AuthorDate: Thu Jul 4 00:33:19 2024 +0000 Commit: Sam James gentoo org> CommitDate: Thu Jul 4 00:33:19 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d884527d net-proxy/squid: fix src_unpack w/ USE=verify-sig The downloaded patch can't be verified as it's just an inlined (.. outlined?) patch from files/. Fixes: d0523baf97702d3ce078f0cd6831ca0d8f8cb9cf Closes: https://bugs.gentoo.org/935407 Signed-off-by: Sam James gentoo.org> net-proxy/squid/squid-6.9.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/net-proxy/squid/squid-6.9.ebuild b/net-proxy/squid/squid-6.9.ebuild index 4025b8126e25..266c40c8dce1 100644 --- a/net-proxy/squid/squid-6.9.ebuild +++ b/net-proxy/squid/squid-6.9.ebuild @@ -94,6 +94,15 @@ pkg_pretend() { fi } +src_unpack() { + if use verify-sig ; then + # Needed for downloaded patch (which is unsigned, which is fine) + verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc} + fi + + default +} + src_prepare() { default