summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Davies <jpds@protonmail.com>2022-03-26 22:06:53 +0000
committerSam James <sam@gentoo.org>2022-03-27 03:56:34 +0100
commita990483e4de05c38cd4a1be3ba82e0085a9a97f8 (patch)
tree8dd4d99376baa4e2958ea6cb2f7fa263eb8d8aa5 /net-libs/libmnl
parentnet-libs/libnftnl: Sync live ebuild. (diff)
downloadgentoo-a990483e4de05c38cd4a1be3ba82e0085a9a97f8.tar.gz
gentoo-a990483e4de05c38cd4a1be3ba82e0085a9a97f8.tar.bz2
gentoo-a990483e4de05c38cd4a1be3ba82e0085a9a97f8.zip
net-libs/libmnl: Added verify-sig integration.
Signed-off-by: Jonathan Davies <jpds@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/24767 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs/libmnl')
-rw-r--r--net-libs/libmnl/Manifest1
-rw-r--r--net-libs/libmnl/libmnl-1.0.4.ebuild10
2 files changed, 8 insertions, 3 deletions
diff --git a/net-libs/libmnl/Manifest b/net-libs/libmnl/Manifest
index 683230c1cd31..edd0678bb480 100644
--- a/net-libs/libmnl/Manifest
+++ b/net-libs/libmnl/Manifest
@@ -1 +1,2 @@
DIST libmnl-1.0.4.tar.bz2 301270 BLAKE2B e24ae3e7a8bcfe35a04256c495bb3e9a5ec41b6bea9b7ffa0a8ebc82ce847921d4a44e5be3558239fee5008c10541a9ac3614d1a6b80d280b632a76da16be5e8 SHA512 e2bbfb688fe41913d53c74ba7ec95b4e88ee2c52b556b8608185f2fcbd629665423a3b37f877f84426ba257cf6040fa701539d67166b00b8e3e2dfde6831a2f9
+DIST libmnl-1.0.4.tar.bz2.sig 543 BLAKE2B f69e72a1fef9688bae27ca9934e835cc42bb725d930cd2c4c46672328ed0d797a3fa95e1e9adf2adf4f1725f30ed55047e61d7848a9eae0974f0b0e661dc35bf SHA512 0cdce209d63d318cc1e842d84d48776c4c23eb297ba8415030a3b086550f13778e2c80197b2e7170414619595002d403fddc08ff13327c0ac732ff2d5080c19c
diff --git a/net-libs/libmnl/libmnl-1.0.4.ebuild b/net-libs/libmnl/libmnl-1.0.4.ebuild
index 0e9c2adbd8c3..c77ab06f8218 100644
--- a/net-libs/libmnl/libmnl-1.0.4.ebuild
+++ b/net-libs/libmnl/libmnl-1.0.4.ebuild
@@ -1,18 +1,22 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit usr-ldscript
+inherit usr-ldscript verify-sig
DESCRIPTION="Minimalistic netlink library"
HOMEPAGE="https://netfilter.org/projects/libmnl/"
-SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
+SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2
+ verify-sig? ( https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )"
LICENSE="LGPL-2.1"
SLOT="0/0.2.0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux"
IUSE="examples static-libs"
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
+
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
src_configure() {
econf $(use_enable static-libs static)