summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-07 04:53:10 +0100
committerSam James <sam@gentoo.org>2022-04-07 04:57:27 +0100
commit7ccde8c7f7393974463ab7f82e956920d6f57d68 (patch)
tree41cdb2337b0ff947f5052e850c7dab3b1b8e771d /sys-devel/patch
parentsec-keys/openpgp-keys-patch: new package, add 20220407 (diff)
downloadgentoo-7ccde8c7f7393974463ab7f82e956920d6f57d68.tar.gz
gentoo-7ccde8c7f7393974463ab7f82e956920d6f57d68.tar.bz2
gentoo-7ccde8c7f7393974463ab7f82e956920d6f57d68.zip
sys-devel/patch: add verify-sig
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel/patch')
-rw-r--r--sys-devel/patch/Manifest1
-rw-r--r--sys-devel/patch/patch-2.7.6-r4.ebuild9
2 files changed, 7 insertions, 3 deletions
diff --git a/sys-devel/patch/Manifest b/sys-devel/patch/Manifest
index 15f0b1675c72..612a9aae3b54 100644
--- a/sys-devel/patch/Manifest
+++ b/sys-devel/patch/Manifest
@@ -1 +1,2 @@
DIST patch-2.7.6.tar.xz 783756 BLAKE2B e3dd2d155a94c39cb60eafc26677e84de14c3a6d5814dff69de091ded52f21862490970254297795f2c42a0c3203f7e88a8f65bb66968f8dfd6e066bf53f2dfb SHA512 fcca87bdb67a88685a8a25597f9e015f5e60197b9a269fa350ae35a7991ed8da553939b4bbc7f7d3cfd863c67142af403b04165633acbce4339056a905e87fbd
+DIST patch-2.7.6.tar.xz.sig 801 BLAKE2B 8f2decb10402ecf0208d05ea7cce3bae565d31ee2bb2a118367c117d25b158d8bd525cae654ec0c0e2c036cc8f47a331edc1bb10b100683ade64dfa3b651988b SHA512 1302a1110dcda4f3d83b5263415d72be55c46dae0efb1c123e9c346154e09def5657004bbe7249e2d014555349410e7a5217140dd8852331235f75bcc757351b
diff --git a/sys-devel/patch/patch-2.7.6-r4.ebuild b/sys-devel/patch/patch-2.7.6-r4.ebuild
index 30d831025c06..c753368a27ea 100644
--- a/sys-devel/patch/patch-2.7.6-r4.ebuild
+++ b/sys-devel/patch/patch-2.7.6-r4.ebuild
@@ -3,11 +3,13 @@
EAPI="7"
-inherit flag-o-matic
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/patch.asc
+inherit flag-o-matic verify-sig
DESCRIPTION="Utility to apply diffs to files"
HOMEPAGE="https://www.gnu.org/software/patch/patch.html"
SRC_URI="mirror://gnu/patch/${P}.tar.xz"
+SRC_URI+=" verify-sig? ( mirror://gnu/patch/${P}.tar.xz.sig )"
LICENSE="GPL-3+"
SLOT="0"
@@ -16,8 +18,9 @@ IUSE="static test xattr"
RESTRICT="!test? ( test )"
RDEPEND="xattr? ( sys-apps/attr )"
-DEPEND="${RDEPEND}
- test? ( sys-apps/ed )"
+DEPEND="${RDEPEND}"
+BDEPEND="test? ( sys-apps/ed )
+ verify-sig? ( sec-keys/openpgp-keys-patch )"
PATCHES=(
"${FILESDIR}"/${P}-fix-test-suite.patch