summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-07 01:40:57 +0100
committerSam James <sam@gentoo.org>2022-04-07 01:40:57 +0100
commit3b53ec016515a59d183e1e521d3ac99c2c42f035 (patch)
tree253468d0fe268dfaff8daf361ba7afb73d3ab2d0 /dev-libs
parentsys-devel/gettext: add verify-sig (diff)
downloadgentoo-3b53ec016515a59d183e1e521d3ac99c2c42f035.tar.gz
gentoo-3b53ec016515a59d183e1e521d3ac99c2c42f035.tar.bz2
gentoo-3b53ec016515a59d183e1e521d3ac99c2c42f035.zip
dev-libs/libintl: add verify-sig
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libintl/Manifest1
-rw-r--r--dev-libs/libintl/libintl-0.21.ebuild11
2 files changed, 7 insertions, 5 deletions
diff --git a/dev-libs/libintl/Manifest b/dev-libs/libintl/Manifest
index 61bb66f324f9..695aa9c5e138 100644
--- a/dev-libs/libintl/Manifest
+++ b/dev-libs/libintl/Manifest
@@ -1 +1,2 @@
DIST gettext-0.21.tar.gz 24181849 BLAKE2B 2eae99d0916b00b2af6fbc6bf7e309076519a10fea16cd49e7aa29fe8aec1ee7c784c6277281b764dc4abacf400cd3fe461129586303c8cd337db15c76cb4b87 SHA512 bbe590c5dd3580c75bf30ff768da99a88eb8d466ec1ac9eea20be4cab4357ecf72448e6b81b47425e39d50fa6320ba426632914d7898dfebb4f159abc39c31d1
+DIST gettext-0.21.tar.gz.sig 819 BLAKE2B ea3123a08751ff0e452d419b22b8ed00d28b98f0df0c5bd392a000e4e56c7a540ec49157e6dfc59cde54fca0f95543b30334237f854efe82718a4be092796cb9 SHA512 f43159bd4569a92f35aab64bf6475be17d47ccc8aa2005be7b110c94b93133044becfb58befeadbc1951244129abb4984de814e66a692e6173013ff363f9a6fc
diff --git a/dev-libs/libintl/libintl-0.21.ebuild b/dev-libs/libintl/libintl-0.21.ebuild
index bc6709653098..90c364e7b1d3 100644
--- a/dev-libs/libintl/libintl-0.21.ebuild
+++ b/dev-libs/libintl/libintl-0.21.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Note: Keep version bumps in sync with sys-devel/gettext.
@@ -6,12 +6,14 @@
EAPI=7
MY_P="gettext-${PV}"
-
-inherit multilib-minimal libtool usr-ldscript
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gettext.asc
+inherit multilib-minimal libtool usr-ldscript verify-sig
DESCRIPTION="the GNU international library (split out of gettext)"
HOMEPAGE="https://www.gnu.org/software/gettext/"
SRC_URI="mirror://gnu/gettext/${MY_P}.tar.gz"
+SRC_URI+=" verify-sig? ( mirror://gnu/gettext/${MY_P}.tar.gz.sig )"
+S="${WORKDIR}/${MY_P}/gettext-runtime"
LICENSE="LGPL-2.1+"
SLOT="0"
@@ -24,8 +26,7 @@ RDEPEND="${DEPEND}
!sys-libs/glibc
!sys-libs/musl
!<sys-devel/gettext-0.19.6-r1"
-
-S="${WORKDIR}/${MY_P}/gettext-runtime"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-gettext )"
src_prepare() {
default