1 |
commit: a990483e4de05c38cd4a1be3ba82e0085a9a97f8 |
2 |
Author: Jonathan Davies <jpds <AT> protonmail <DOT> com> |
3 |
AuthorDate: Sat Mar 26 22:06:53 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 27 02:56:34 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a990483e |
7 |
|
8 |
net-libs/libmnl: Added verify-sig integration. |
9 |
|
10 |
Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/24767 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
net-libs/libmnl/Manifest | 1 + |
15 |
net-libs/libmnl/libmnl-1.0.4.ebuild | 10 +++++++--- |
16 |
2 files changed, 8 insertions(+), 3 deletions(-) |
17 |
|
18 |
diff --git a/net-libs/libmnl/Manifest b/net-libs/libmnl/Manifest |
19 |
index 683230c1cd31..edd0678bb480 100644 |
20 |
--- a/net-libs/libmnl/Manifest |
21 |
+++ b/net-libs/libmnl/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST libmnl-1.0.4.tar.bz2 301270 BLAKE2B e24ae3e7a8bcfe35a04256c495bb3e9a5ec41b6bea9b7ffa0a8ebc82ce847921d4a44e5be3558239fee5008c10541a9ac3614d1a6b80d280b632a76da16be5e8 SHA512 e2bbfb688fe41913d53c74ba7ec95b4e88ee2c52b556b8608185f2fcbd629665423a3b37f877f84426ba257cf6040fa701539d67166b00b8e3e2dfde6831a2f9 |
24 |
+DIST libmnl-1.0.4.tar.bz2.sig 543 BLAKE2B f69e72a1fef9688bae27ca9934e835cc42bb725d930cd2c4c46672328ed0d797a3fa95e1e9adf2adf4f1725f30ed55047e61d7848a9eae0974f0b0e661dc35bf SHA512 0cdce209d63d318cc1e842d84d48776c4c23eb297ba8415030a3b086550f13778e2c80197b2e7170414619595002d403fddc08ff13327c0ac732ff2d5080c19c |
25 |
|
26 |
diff --git a/net-libs/libmnl/libmnl-1.0.4.ebuild b/net-libs/libmnl/libmnl-1.0.4.ebuild |
27 |
index 0e9c2adbd8c3..c77ab06f8218 100644 |
28 |
--- a/net-libs/libmnl/libmnl-1.0.4.ebuild |
29 |
+++ b/net-libs/libmnl/libmnl-1.0.4.ebuild |
30 |
@@ -1,18 +1,22 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
# Distributed under the terms of the GNU General Public License v2 |
34 |
|
35 |
EAPI=7 |
36 |
|
37 |
-inherit usr-ldscript |
38 |
+inherit usr-ldscript verify-sig |
39 |
|
40 |
DESCRIPTION="Minimalistic netlink library" |
41 |
HOMEPAGE="https://netfilter.org/projects/libmnl/" |
42 |
-SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2" |
43 |
+SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2 |
44 |
+ verify-sig? ( https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )" |
45 |
|
46 |
LICENSE="LGPL-2.1" |
47 |
SLOT="0/0.2.0" |
48 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux" |
49 |
IUSE="examples static-libs" |
50 |
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc |
51 |
+ |
52 |
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )" |
53 |
|
54 |
src_configure() { |
55 |
econf $(use_enable static-libs static) |