mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
net-firewall/firehol: Drop old 3.1.7-r2
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST firehol-3.1.7.tar.xz 1457932 BLAKE2B 9a861f2e9c900bce45d0dbd12f4546bc14eb4d74aea27a8d4cb0e5bfe8bea92d9bff3ccf008d46bd64212d689123273c99d0b0faaaadd34f0e1d85e22ee757c9 SHA512 b05cec806c2c8fc410bf9c7a30e3ad1d9f1c06fd2d501a7e5434010f6bb38722aac5b64de9b4285d2c71cacbf6b2f3c758685da5a70c05621df52879eb5148c2
|
||||
DIST firehol-3.1.8.tar.xz 1419992 BLAKE2B 47846b0f574df64759f1467304f6e420f04b6caa80ce26e85ba628a38e57d3ae53572a85f65acf71f5ad2f075bda4f0f45069d24a33355b95d2ee3a8a001faa6 SHA512 391190fc17e6339566c4fea9bbd1fe6acd237b10debf4ad4f19a6e6b7fd314a11c6825c85b95498a2d7951e2ec971c05a4c8632846f621ac70e3030a59cd0f72
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2024 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"
|
||||
IUSE="doc ipv6 ipset"
|
||||
KEYWORDS="amd64 arm ~arm64 ~ppc ~x86"
|
||||
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user