diff options
Diffstat (limited to 'net-firewall/firehol')
-rw-r--r-- | net-firewall/firehol/Manifest | 2 | ||||
-rw-r--r-- | net-firewall/firehol/firehol-3.1.7.ebuild | 67 |
2 files changed, 69 insertions, 0 deletions
diff --git a/net-firewall/firehol/Manifest b/net-firewall/firehol/Manifest index 7a602d0b8654..3eccc6bdd3fa 100644 --- a/net-firewall/firehol/Manifest +++ b/net-firewall/firehol/Manifest @@ -3,5 +3,7 @@ AUX firehol.initd 1141 BLAKE2B 4bdeb545542780b4544c07ad675a2ab63c80177126841eaea AUX fireqos.confd 65 BLAKE2B 121c8df85e9c110e45633c84f3fd4ba9e006bb70dffbdee1507f92d763c13ae9ce370a5807753d31b0033e23d39004ea147d9fb75bf4f2fbadc6baf070ccaca3 SHA512 4dd394f3d896d8bf782cf1157f5bf420ca0e9b2c6238986f3fb17630ec0e12bfcad4ffc6fe2258a7d257e157fed11e01aef26965f3d97c78643c6467639a822c AUX fireqos.initd 829 BLAKE2B f09905f02189f155455886dd1896a183f2f529d0737939a7065bb52b57870f22805e3e6c029510cc5b57b36e596eb829bcc7651c6a80657ff4e399acc542fa90 SHA512 8364537d3e10c68d309fc40f4b2f88a2a593c38fd6f134b1c09cf937be00f7d96eeba05c83824c9460367bf892a8f79547321784c8f8a4708f856df9a88693f4 DIST firehol-3.1.6.tar.xz 1484424 BLAKE2B aea45aa424b7b43ed0576916f52a785601a21489263c1b5c6abbf3b2b97db80bf2a2420ae8176cd55e335ab93c18a8209a47f467dba80a63cf2c319b3e3e27d8 SHA512 5ffa7e59d3f10a6c7d3f5b5ef9d93f1b2138063374a10cb0c1ac4e75578d6cf7755e154b51febf546563ba003f100af13f89bca3843b66a8d22b8fc2da3fadfe +DIST firehol-3.1.7.tar.xz 1457932 BLAKE2B 9a861f2e9c900bce45d0dbd12f4546bc14eb4d74aea27a8d4cb0e5bfe8bea92d9bff3ccf008d46bd64212d689123273c99d0b0faaaadd34f0e1d85e22ee757c9 SHA512 b05cec806c2c8fc410bf9c7a30e3ad1d9f1c06fd2d501a7e5434010f6bb38722aac5b64de9b4285d2c71cacbf6b2f3c758685da5a70c05621df52879eb5148c2 EBUILD firehol-3.1.6-r2.ebuild 1442 BLAKE2B c07be7c78a6c8d66f91a4c867d1358ae63d2c0444e19767d4e13256b82ab012e7f7b8be0c9c8457620520e107480bd8b130510642d388a609b520eddd4a3d78e SHA512 a2ff2a744fc8daa500c7c3cb45a4b92de946d905e58d7553d53b8237963959061d8aa03b18dd2624b59b48aa859eb491624ef9310b44ddd1c1fd2524896ca410 +EBUILD firehol-3.1.7.ebuild 1444 BLAKE2B 890830d467353129d7dc7e957972cdf8256e8b490ce0b8674513dc1ec57e20147ccf0d413e75973981d195b03cb616b8880f1a397da525352aa72c2466068cb1 SHA512 2ea459492ab538d88eab636678ed35d161d255f9fe78b9c2a18d1c365bf48bd0a3ea2c1d0344b71df286e74ea8affe54759d6350b49e49c645e5ded8afd37417 MISC metadata.xml 464 BLAKE2B 67d0dfdaf7651eef96dcc00f6a89faf40593e79fa0885a85f27e3aefbfb4949648c0be652eaab8f1b38b4100e41a037c018677f81d3040dad0909c453fd49052 SHA512 5def437c908d4d5c76729fc8f50bd9a145a0c79d7154535ac9c39df585da4bf175b1b465690dbf05fb5536df97a9cbb2abaa0384fb45ebac5f53482d26a76607 diff --git a/net-firewall/firehol/firehol-3.1.7.ebuild b/net-firewall/firehol/firehol-3.1.7.ebuild new file mode 100644 index 000000000000..3d7828d589f3 --- /dev/null +++ b/net-firewall/firehol/firehol-3.1.7.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info + +DESCRIPTION="iptables firewall generator" +HOMEPAGE="https://firehol.org/ https://github.com/firehol/firehol" +SRC_URI="https://github.com/firehol/firehol/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="doc ipv6 ipset" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" + +RDEPEND="net-firewall/iptables + sys-apps/iproute2[-minimal,ipv6?] + sys-apps/kmod[tools] + net-misc/iputils[ipv6?] + net-misc/iprange + net-analyzer/traceroute + app-arch/gzip + ipset? ( + net-firewall/ipset + )" +DEPEND="${RDEPEND}" + +pkg_setup() { + local CONFIG_CHECK=" \ + ~IP_NF_FILTER \ + ~IP_NF_IPTABLES \ + ~IP_NF_MANGLE \ + ~IP_NF_TARGET_MASQUERADE + ~IP_NF_TARGET_REDIRECT \ + ~IP_NF_TARGET_REJECT \ + ~NETFILTER_XT_CONNMARK \ + ~NETFILTER_XT_MATCH_HELPER \ + ~NETFILTER_XT_MATCH_LIMIT \ + ~NETFILTER_XT_MATCH_OWNER \ + ~NETFILTER_XT_MATCH_STATE \ + ~NF_CONNTRACK \ + ~NF_CONNTRACK_IPV4 \ + ~NF_CONNTRACK_MARK \ + ~NF_NAT \ + ~NF_NAT_FTP \ + ~NF_NAT_IRC \ + " + linux-info_pkg_setup +} + +src_configure() { + econf \ + --disable-vnetbuild \ + $(use_enable ipset update-ipsets) \ + $(use_enable doc) \ + $(use_enable ipv6) +} + +src_install() { + default + + newconfd "${FILESDIR}"/firehol.confd firehol + newinitd "${FILESDIR}"/firehol.initd firehol + newconfd "${FILESDIR}"/fireqos.confd fireqos + newinitd "${FILESDIR}"/fireqos.initd fireqos +} |