1 |
commit: 7ccde8c7f7393974463ab7f82e956920d6f57d68 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 7 03:53:10 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 7 03:57:27 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ccde8c7 |
7 |
|
8 |
sys-devel/patch: add verify-sig |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-devel/patch/Manifest | 1 + |
13 |
sys-devel/patch/patch-2.7.6-r4.ebuild | 9 ++++++--- |
14 |
2 files changed, 7 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/sys-devel/patch/Manifest b/sys-devel/patch/Manifest |
17 |
index 15f0b1675c72..612a9aae3b54 100644 |
18 |
--- a/sys-devel/patch/Manifest |
19 |
+++ b/sys-devel/patch/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST patch-2.7.6.tar.xz 783756 BLAKE2B e3dd2d155a94c39cb60eafc26677e84de14c3a6d5814dff69de091ded52f21862490970254297795f2c42a0c3203f7e88a8f65bb66968f8dfd6e066bf53f2dfb SHA512 fcca87bdb67a88685a8a25597f9e015f5e60197b9a269fa350ae35a7991ed8da553939b4bbc7f7d3cfd863c67142af403b04165633acbce4339056a905e87fbd |
22 |
+DIST patch-2.7.6.tar.xz.sig 801 BLAKE2B 8f2decb10402ecf0208d05ea7cce3bae565d31ee2bb2a118367c117d25b158d8bd525cae654ec0c0e2c036cc8f47a331edc1bb10b100683ade64dfa3b651988b SHA512 1302a1110dcda4f3d83b5263415d72be55c46dae0efb1c123e9c346154e09def5657004bbe7249e2d014555349410e7a5217140dd8852331235f75bcc757351b |
23 |
|
24 |
diff --git a/sys-devel/patch/patch-2.7.6-r4.ebuild b/sys-devel/patch/patch-2.7.6-r4.ebuild |
25 |
index 30d831025c06..c753368a27ea 100644 |
26 |
--- a/sys-devel/patch/patch-2.7.6-r4.ebuild |
27 |
+++ b/sys-devel/patch/patch-2.7.6-r4.ebuild |
28 |
@@ -3,11 +3,13 @@ |
29 |
|
30 |
EAPI="7" |
31 |
|
32 |
-inherit flag-o-matic |
33 |
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/patch.asc |
34 |
+inherit flag-o-matic verify-sig |
35 |
|
36 |
DESCRIPTION="Utility to apply diffs to files" |
37 |
HOMEPAGE="https://www.gnu.org/software/patch/patch.html" |
38 |
SRC_URI="mirror://gnu/patch/${P}.tar.xz" |
39 |
+SRC_URI+=" verify-sig? ( mirror://gnu/patch/${P}.tar.xz.sig )" |
40 |
|
41 |
LICENSE="GPL-3+" |
42 |
SLOT="0" |
43 |
@@ -16,8 +18,9 @@ IUSE="static test xattr" |
44 |
RESTRICT="!test? ( test )" |
45 |
|
46 |
RDEPEND="xattr? ( sys-apps/attr )" |
47 |
-DEPEND="${RDEPEND} |
48 |
- test? ( sys-apps/ed )" |
49 |
+DEPEND="${RDEPEND}" |
50 |
+BDEPEND="test? ( sys-apps/ed ) |
51 |
+ verify-sig? ( sec-keys/openpgp-keys-patch )" |
52 |
|
53 |
PATCHES=( |
54 |
"${FILESDIR}"/${P}-fix-test-suite.patch |