summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2022-07-26 18:26:33 +0300
committerAndrew Savchenko <bircoph@gentoo.org>2022-07-26 18:32:09 +0300
commit4fd6556ce28bba04aafb277a2023677541ba2a10 (patch)
tree99c00860621b9bcc7fce55bf7c0a6045353d1b85 /app-text/xpdf
parentmedia-sound/mixxx: x86 stable wrt bug #861101 (diff)
downloadgentoo-4fd6556ce28bba04aafb277a2023677541ba2a10.tar.gz
gentoo-4fd6556ce28bba04aafb277a2023677541ba2a10.tar.bz2
gentoo-4fd6556ce28bba04aafb277a2023677541ba2a10.zip
app-text/xpdf: check singnature only for the source tarball
Upstream provides GPG signature for the source tarball, but not for i18n charset tarballs. So manual verification of the source tarball is required instead of default verify-all action. Closes: https://bugs.gentoo.org/857258 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Diffstat (limited to 'app-text/xpdf')
-rw-r--r--app-text/xpdf/xpdf-4.04.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/app-text/xpdf/xpdf-4.04.ebuild b/app-text/xpdf/xpdf-4.04.ebuild
index f5fa12f939ab..682bfe8d9f78 100644
--- a/app-text/xpdf/xpdf-4.04.ebuild
+++ b/app-text/xpdf/xpdf-4.04.ebuild
@@ -59,6 +59,13 @@ PATCHES=(
DOCS=( ANNOUNCE CHANGES README )
+src_unpack() {
+ if use verify-sig; then
+ verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.sig}
+ fi
+ default
+}
+
src_prepare() {
sed -i \
"s|/usr/local/etc|${EPREFIX}/etc|;