1 |
commit: 667a1bfc583e75efefdbc007b69bd10d3989dc3f |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 2 21:00:28 2021 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 2 21:00:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=667a1bfc |
7 |
|
8 |
net-firewall/firehol: Version bump to 3.1.7 |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.1 |
11 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
12 |
|
13 |
net-firewall/firehol/Manifest | 1 + |
14 |
net-firewall/firehol/firehol-3.1.7.ebuild | 67 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 68 insertions(+) |
16 |
|
17 |
diff --git a/net-firewall/firehol/Manifest b/net-firewall/firehol/Manifest |
18 |
index 7547639c83b..e7ed5e2a55f 100644 |
19 |
--- a/net-firewall/firehol/Manifest |
20 |
+++ b/net-firewall/firehol/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST firehol-3.1.6.tar.xz 1484424 BLAKE2B aea45aa424b7b43ed0576916f52a785601a21489263c1b5c6abbf3b2b97db80bf2a2420ae8176cd55e335ab93c18a8209a47f467dba80a63cf2c319b3e3e27d8 SHA512 5ffa7e59d3f10a6c7d3f5b5ef9d93f1b2138063374a10cb0c1ac4e75578d6cf7755e154b51febf546563ba003f100af13f89bca3843b66a8d22b8fc2da3fadfe |
23 |
+DIST firehol-3.1.7.tar.xz 1457932 BLAKE2B 9a861f2e9c900bce45d0dbd12f4546bc14eb4d74aea27a8d4cb0e5bfe8bea92d9bff3ccf008d46bd64212d689123273c99d0b0faaaadd34f0e1d85e22ee757c9 SHA512 b05cec806c2c8fc410bf9c7a30e3ad1d9f1c06fd2d501a7e5434010f6bb38722aac5b64de9b4285d2c71cacbf6b2f3c758685da5a70c05621df52879eb5148c2 |
24 |
|
25 |
diff --git a/net-firewall/firehol/firehol-3.1.7.ebuild b/net-firewall/firehol/firehol-3.1.7.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..3d7828d589f |
28 |
--- /dev/null |
29 |
+++ b/net-firewall/firehol/firehol-3.1.7.ebuild |
30 |
@@ -0,0 +1,67 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit linux-info |
37 |
+ |
38 |
+DESCRIPTION="iptables firewall generator" |
39 |
+HOMEPAGE="https://firehol.org/ https://github.com/firehol/firehol" |
40 |
+SRC_URI="https://github.com/firehol/firehol/releases/download/v${PV}/${P}.tar.xz" |
41 |
+ |
42 |
+LICENSE="GPL-2" |
43 |
+SLOT="0" |
44 |
+IUSE="doc ipv6 ipset" |
45 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" |
46 |
+ |
47 |
+RDEPEND="net-firewall/iptables |
48 |
+ sys-apps/iproute2[-minimal,ipv6?] |
49 |
+ sys-apps/kmod[tools] |
50 |
+ net-misc/iputils[ipv6?] |
51 |
+ net-misc/iprange |
52 |
+ net-analyzer/traceroute |
53 |
+ app-arch/gzip |
54 |
+ ipset? ( |
55 |
+ net-firewall/ipset |
56 |
+ )" |
57 |
+DEPEND="${RDEPEND}" |
58 |
+ |
59 |
+pkg_setup() { |
60 |
+ local CONFIG_CHECK=" \ |
61 |
+ ~IP_NF_FILTER \ |
62 |
+ ~IP_NF_IPTABLES \ |
63 |
+ ~IP_NF_MANGLE \ |
64 |
+ ~IP_NF_TARGET_MASQUERADE |
65 |
+ ~IP_NF_TARGET_REDIRECT \ |
66 |
+ ~IP_NF_TARGET_REJECT \ |
67 |
+ ~NETFILTER_XT_CONNMARK \ |
68 |
+ ~NETFILTER_XT_MATCH_HELPER \ |
69 |
+ ~NETFILTER_XT_MATCH_LIMIT \ |
70 |
+ ~NETFILTER_XT_MATCH_OWNER \ |
71 |
+ ~NETFILTER_XT_MATCH_STATE \ |
72 |
+ ~NF_CONNTRACK \ |
73 |
+ ~NF_CONNTRACK_IPV4 \ |
74 |
+ ~NF_CONNTRACK_MARK \ |
75 |
+ ~NF_NAT \ |
76 |
+ ~NF_NAT_FTP \ |
77 |
+ ~NF_NAT_IRC \ |
78 |
+ " |
79 |
+ linux-info_pkg_setup |
80 |
+} |
81 |
+ |
82 |
+src_configure() { |
83 |
+ econf \ |
84 |
+ --disable-vnetbuild \ |
85 |
+ $(use_enable ipset update-ipsets) \ |
86 |
+ $(use_enable doc) \ |
87 |
+ $(use_enable ipv6) |
88 |
+} |
89 |
+ |
90 |
+src_install() { |
91 |
+ default |
92 |
+ |
93 |
+ newconfd "${FILESDIR}"/firehol.confd firehol |
94 |
+ newinitd "${FILESDIR}"/firehol.initd firehol |
95 |
+ newconfd "${FILESDIR}"/fireqos.confd fireqos |
96 |
+ newinitd "${FILESDIR}"/fireqos.initd fireqos |
97 |
+} |