1 |
commit: 0e8c96332ffea0e15f4749e7574ecf70199a0e5b |
2 |
Author: Jonathan Davies <jpds <AT> protonmail <DOT> com> |
3 |
AuthorDate: Sat Mar 26 23:56:13 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 27 02:56:16 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e8c9633 |
7 |
|
8 |
net-firewall/nftables: Sync live ebuild. |
9 |
|
10 |
Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com> |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
net-firewall/nftables/nftables-9999.ebuild | 16 +++++++++++----- |
14 |
1 file changed, 11 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild |
17 |
index d6697d8a7eef..4e105370dd23 100644 |
18 |
--- a/net-firewall/nftables/nftables-9999.ebuild |
19 |
+++ b/net-firewall/nftables/nftables-9999.ebuild |
20 |
@@ -3,9 +3,9 @@ |
21 |
|
22 |
EAPI=7 |
23 |
|
24 |
-PYTHON_COMPAT=( python3_{7..10} ) |
25 |
+PYTHON_COMPAT=( python3_{8..10} ) |
26 |
DISTUTILS_OPTIONAL=1 |
27 |
-inherit autotools linux-info distutils-r1 systemd |
28 |
+inherit autotools linux-info distutils-r1 systemd verify-sig |
29 |
|
30 |
DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools" |
31 |
HOMEPAGE="https://netfilter.org/projects/nftables/" |
32 |
@@ -19,8 +19,11 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then |
33 |
sys-devel/flex |
34 |
" |
35 |
else |
36 |
- SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2" |
37 |
- KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" |
38 |
+ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2 |
39 |
+ verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )" |
40 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" |
41 |
+ VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc |
42 |
+ BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )" |
43 |
fi |
44 |
|
45 |
LICENSE="GPL-2" |
46 |
@@ -53,7 +56,9 @@ REQUIRED_USE=" |
47 |
" |
48 |
|
49 |
PATCHES=( |
50 |
- "${FILESDIR}/${PN}-0.9.8-slibtool.patch" |
51 |
+ "${FILESDIR}/nftables-1.0.2-compilation.patch" |
52 |
+ "${FILESDIR}/nftables-1.0.2-build-explicitly-pass-version-script-to-linker.patch" |
53 |
+ "${FILESDIR}/nftables-1.0.2-libnftables.map-export-new-nft_ctx_-get-set-_optimiz.patch" |
54 |
) |
55 |
|
56 |
pkg_setup() { |
57 |
@@ -90,6 +95,7 @@ src_configure() { |
58 |
local myeconfargs=( |
59 |
# We handle python separately |
60 |
--disable-python |
61 |
+ --disable-static |
62 |
--sbindir="${EPREFIX}"/sbin |
63 |
$(use_enable debug) |
64 |
$(use_enable doc man-doc) |