diff options
author | Sam James <sam@gentoo.org> | 2024-07-04 01:33:19 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-07-04 01:33:19 +0100 |
commit | d884527daf5bebf99c6603c351dc8081b7c2063e (patch) | |
tree | b66a40645f980d66439faabc357b3b0cfd2a9f91 /net-proxy | |
parent | dev-libs/libxslt: add 1.1.41 (diff) | |
download | gentoo-d884527daf5bebf99c6603c351dc8081b7c2063e.tar.gz gentoo-d884527daf5bebf99c6603c351dc8081b7c2063e.tar.bz2 gentoo-d884527daf5bebf99c6603c351dc8081b7c2063e.zip |
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 <sam@gentoo.org>
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/squid/squid-6.9.ebuild | 9 |
1 files changed, 9 insertions, 0 deletions
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 |