summaryrefslogtreecommitdiff
path: root/net-firewall
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-03-23 00:31:41 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-03-23 00:31:41 +0000
commitadd1c3acddd7a3f49fdb230135725463d2662921 (patch)
tree9cbe35db675b23a6afadbe3a78f9944ea8990f18 /net-firewall
parent6fe1dafaa446d9bc41dea28a43551fffa73f6b87 (diff)
gentoo auto-resync : 23:03:2025 - 00:31:41
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/Manifest.gzbin4233 -> 4235 bytes
-rw-r--r--net-firewall/firehol/Manifest2
-rw-r--r--net-firewall/firehol/firehol-3.1.8.ebuild82
3 files changed, 84 insertions, 0 deletions
diff --git a/net-firewall/Manifest.gz b/net-firewall/Manifest.gz
index 5e442a790130..429d64900c1b 100644
--- a/net-firewall/Manifest.gz
+++ b/net-firewall/Manifest.gz
Binary files differ
diff --git a/net-firewall/firehol/Manifest b/net-firewall/firehol/Manifest
index f92de7b0f0bf..ab9332e41d0c 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.7.tar.xz 1457932 BLAKE2B 9a861f2e9c900bce45d0dbd12f4546bc14eb4d74aea27a8d4cb0e5bfe8bea92d9bff3ccf008d46bd64212d689123273c99d0b0faaaadd34f0e1d85e22ee757c9 SHA512 b05cec806c2c8fc410bf9c7a30e3ad1d9f1c06fd2d501a7e5434010f6bb38722aac5b64de9b4285d2c71cacbf6b2f3c758685da5a70c05621df52879eb5148c2
+DIST firehol-3.1.8.tar.xz 1419992 BLAKE2B 47846b0f574df64759f1467304f6e420f04b6caa80ce26e85ba628a38e57d3ae53572a85f65acf71f5ad2f075bda4f0f45069d24a33355b95d2ee3a8a001faa6 SHA512 391190fc17e6339566c4fea9bbd1fe6acd237b10debf4ad4f19a6e6b7fd314a11c6825c85b95498a2d7951e2ec971c05a4c8632846f621ac70e3030a59cd0f72
EBUILD firehol-3.1.7-r2.ebuild 1972 BLAKE2B af30c71e5cd66ce7146356896bfdc68d12688fdd36452db591412d64a40a129a16a0a967d1c3ce34805c60f7aba53587527d53af0b6699ea5ec5f323e69a938b SHA512 1dc28b99c7078b2448ad14e4a1db17c5ef6cd9b9e86ffed52fb7e63d79c95e65c3f9aad001d63339fa32c3473c6a9d4be8cfbf600e94def6759da51f8b7b941c
+EBUILD firehol-3.1.8.ebuild 1974 BLAKE2B b40feaa0a754d751524d918b21b68d0f7349379deb092f1ddf672a7f5c3613345eb7d80d006fcd8566d029a35fb33a62f2faf6d68015af09b8e13ae2d4147189 SHA512 c0c4816ded1948535c71342209a8ceff84f4ecb08511db2def7cd792731ebb676b3ef2a939502966e8236755062e3b2a35b93dce77c6562bcf34e7defe60ec1e
MISC metadata.xml 465 BLAKE2B bfefafde956a4355f827c12438dc41f337e3199f6da88bba92d67d811a6f1d2d086e688c2aa262c40c86535671c0db3a32d424d96a2c7c9525f107711beb9c7f SHA512 36174445bf13870981133d45de5d807cec2178612256a6a51dfe2f4b69ee5fd9f245b6fad52a2a194745bb6d4e83115889ce3f18cfbb69b78ec925408fd3bd16
diff --git a/net-firewall/firehol/firehol-3.1.8.ebuild b/net-firewall/firehol/firehol-3.1.8.ebuild
new file mode 100644
index 000000000000..24e7760f88bd
--- /dev/null
+++ b/net-firewall/firehol/firehol-3.1.8.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-info systemd
+
+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"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+IUSE="doc ipv6 ipset"
+
+# Set the dependency versions to aid cross-compiling. Keep them at their
+# minimums as the configure script merely checks whether they are sufficient.
+MY_BASH_VERSION=4.0
+MY_IPRANGE_VERSION=1.0.2
+
+RDEPEND="
+ app-arch/gzip
+ >=app-shells/bash-${MY_BASH_VERSION}:0
+ net-analyzer/traceroute
+ net-firewall/iptables
+ >=net-misc/iprange-${MY_IPRANGE_VERSION}:0
+ net-misc/iputils[ipv6(+)?]
+ sys-apps/iproute2[-minimal,ipv6(+)?]
+ sys-apps/kmod[tools]
+ 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_MARK \
+ ~NF_NAT \
+ ~NF_NAT_FTP \
+ ~NF_NAT_IRC \
+ "
+
+ if kernel_is -lt 4 19; then
+ CONFIG_CHECK+=" ~NF_CONNTRACK_IPV4"
+ fi
+
+ linux-info_pkg_setup
+}
+
+src_configure() {
+ # This erroneously checks for BASH_VERSION_PATH rather than BASH_VERSION.
+ BASH_VERSION_PATH=${MY_BASH_VERSION} \
+ IPRANGE_VERSION=${MY_IPRANGE_VERSION} \
+ 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
+
+ systemd_dounit contrib/fire{hol,qos}.service
+}