diff options
Diffstat (limited to 'net-libs/libnftnl/libnftnl-1.2.1.ebuild')
-rw-r--r-- | net-libs/libnftnl/libnftnl-1.2.1.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/net-libs/libnftnl/libnftnl-1.2.1.ebuild b/net-libs/libnftnl/libnftnl-1.2.1.ebuild index 52d2fc394ed4..215d4c569086 100644 --- a/net-libs/libnftnl/libnftnl-1.2.1.ebuild +++ b/net-libs/libnftnl/libnftnl-1.2.1.ebuild @@ -3,7 +3,7 @@ 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" + 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() { |