Сравнение firehol-3.1.6-r3 с firehol-3.1.7-r2
/usr/portage/net-firewall/firehol/firehol-3.1.7-r2.ebuild 2023-10-09 14:52:33.376368448 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2022 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 |
inherit linux-info |
|
6 |
inherit linux-info systemd |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="iptables firewall generator" |
9 | 9 |
HOMEPAGE="https://firehol.org/ https://github.com/firehol/firehol" |
... | ... | |
12 | 12 |
LICENSE="GPL-2" |
13 | 13 |
SLOT="0" |
14 | 14 |
IUSE="doc ipv6 ipset" |
15 |
KEYWORDS="amd64 arm ~arm64 ~ppc ~x86" |
|
15 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" |
|
16 | 16 | |
17 |
RDEPEND="net-firewall/iptables |
|
17 |
# Set the dependency versions to aid cross-compiling. Keep them at their |
|
18 |
# minimums as the configure script merely checks whether they are sufficient. |
|
19 |
MY_BASH_VERSION=4.0 |
|
20 |
MY_IPRANGE_VERSION=1.0.2 |
|
21 | ||
22 |
RDEPEND=" |
|
23 |
app-arch/gzip |
|
24 |
>=app-shells/bash-${MY_BASH_VERSION}:0 |
|
25 |
net-analyzer/traceroute |
|
26 |
net-firewall/iptables |
|
27 |
>=net-misc/iprange-${MY_IPRANGE_VERSION}:0 |
|
28 |
net-misc/iputils[ipv6(+)?] |
|
18 | 29 |
sys-apps/iproute2[-minimal,ipv6(+)?] |
19 | 30 |
sys-apps/kmod[tools] |
20 |
net-misc/iputils[ipv6(+)?] |
|
21 |
net-misc/iprange |
|
22 |
net-analyzer/traceroute |
|
23 |
app-arch/gzip |
|
24 |
ipset? ( |
|
25 |
net-firewall/ipset |
|
26 |
)" |
|
31 |
ipset? ( net-firewall/ipset ) |
|
32 |
" |
|
27 | 33 |
DEPEND="${RDEPEND}" |
28 | 34 | |
29 | 35 |
pkg_setup() { |
... | ... | |
50 | 56 |
} |
51 | 57 | |
52 | 58 |
src_configure() { |
59 |
# This erroneously checks for BASH_VERSION_PATH rather than BASH_VERSION. |
|
60 |
BASH_VERSION_PATH=${MY_BASH_VERSION} \ |
|
61 |
IPRANGE_VERSION=${MY_IPRANGE_VERSION} \ |
|
53 | 62 |
econf \ |
54 | 63 |
--disable-vnetbuild \ |
55 | 64 |
$(use_enable ipset update-ipsets) \ |
... | ... | |
64 | 73 |
newinitd "${FILESDIR}"/firehol.initd firehol |
65 | 74 |
newconfd "${FILESDIR}"/fireqos.confd fireqos |
66 | 75 |
newinitd "${FILESDIR}"/fireqos.initd fireqos |
76 | ||
77 |
systemd_dounit contrib/fire{hol,qos}.service |
|
67 | 78 |
} |