summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Davies <jpds@protonmail.com>2022-03-26 21:41:51 +0000
committerSam James <sam@gentoo.org>2022-03-27 03:56:32 +0100
commit51d4756be2bff37d4a4a6daff353689971521f1e (patch)
treebc44075fceb47ef8b226e86678694ee80d165947 /net-libs
parentnet-libs/libnftnl: Added verify-sig integration. (diff)
downloadgentoo-51d4756be2bff37d4a4a6daff353689971521f1e.tar.gz
gentoo-51d4756be2bff37d4a4a6daff353689971521f1e.tar.bz2
gentoo-51d4756be2bff37d4a4a6daff353689971521f1e.zip
net-libs/libnftnl: Sync live ebuild.
Signed-off-by: Jonathan Davies <jpds@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libnftnl/libnftnl-9999.ebuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/net-libs/libnftnl/libnftnl-9999.ebuild b/net-libs/libnftnl/libnftnl-9999.ebuild
index 75e1ab39a6c8..215d4c569086 100644
--- a/net-libs/libnftnl/libnftnl-9999.ebuild
+++ b/net-libs/libnftnl/libnftnl-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit autotools linux-info usr-ldscript
+inherit autotools linux-info usr-ldscript verify-sig
DESCRIPTION="Netlink API to the in-kernel nf_tables subsystem"
HOMEPAGE="https://netfilter.org/projects/nftables/"
@@ -12,8 +12,11 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.netfilter.org/${PN}"
else
- SRC_URI="https://netfilter.org/projects/${PN}/files/${P}.tar.bz2"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ SRC_URI="https://netfilter.org/projects/${PN}/files/${P}.tar.bz2
+ verify-sig? ( https://netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )"
+ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
+ VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
+ BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
LICENSE="GPL-2"
@@ -23,7 +26,8 @@ IUSE="examples static-libs test"
RESTRICT="!test? ( test )"
RDEPEND=">=net-libs/libmnl-1.0.4:="
-BDEPEND="virtual/pkgconfig"
+BDEPEND+="
+ virtual/pkgconfig"
DEPEND="${RDEPEND}"
pkg_setup() {