Gentoo Archives: gentoo-commits

From: Alon Bar-Lev <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-firewall/firehol/
Date: Sat, 18 Aug 2018 04:51:15
Message-Id: 1534567843.f5d83b45d64852b1e5fd1472c379a7a86234ba96.alonbl@gentoo
1 commit: f5d83b45d64852b1e5fd1472c379a7a86234ba96
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 18 04:50:43 2018 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 18 04:50:43 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5d83b45
7
8 net-firewall/firehol: version bump
9
10 Closes: https://github.com/gentoo/gentoo/pull/9606
11 Package-Manager: Portage-2.3.40, Repoman-2.3.9
12
13 net-firewall/firehol/Manifest | 1 +
14 net-firewall/firehol/firehol-3.1.6.ebuild | 64 +++++++++++++++++++++++++++++++
15 2 files changed, 65 insertions(+)
16
17 diff --git a/net-firewall/firehol/Manifest b/net-firewall/firehol/Manifest
18 index f544ddca6fe..7419c1e9478 100644
19 --- a/net-firewall/firehol/Manifest
20 +++ b/net-firewall/firehol/Manifest
21 @@ -1,2 +1,3 @@
22 DIST firehol-3.1.3.tar.xz 1476220 BLAKE2B 19ac9db805fc4452b447a45a7ed35c781bc8595f3ede0af7de0ff5a89ab50a9f8a634e0754869774d767b50d720019a5ac466e9d1726a75a34a283473b17a94b SHA512 6c75b57650d918cfc485f6eb01d69694acd5c7b487a10a566fc26b8d5e0cd6a6a9a09bd8d3219bf4e78aa4fe47f83e5ac399107a07770b787e1ccba3078c5f3f
23 DIST firehol-3.1.4.tar.xz 1481320 BLAKE2B 0fabef4a853aece966a8f273cc82947a6e63ac44ccac2494d5d6a2f0916658a78cfe0c28cc2414e797411e4795216400b1fa95193a619f7e26fe545182a5fc44 SHA512 1a17b6e810274b346f66788c4c4736421583e6a4ed76df7a1d7f46dcb99e434460998c05755c8342941413d23c02e2ca0d0bf2123cb555a6c7513d24983a13ed
24 +DIST firehol-3.1.6.tar.xz 1484424 BLAKE2B aea45aa424b7b43ed0576916f52a785601a21489263c1b5c6abbf3b2b97db80bf2a2420ae8176cd55e335ab93c18a8209a47f467dba80a63cf2c319b3e3e27d8 SHA512 5ffa7e59d3f10a6c7d3f5b5ef9d93f1b2138063374a10cb0c1ac4e75578d6cf7755e154b51febf546563ba003f100af13f89bca3843b66a8d22b8fc2da3fadfe
25
26 diff --git a/net-firewall/firehol/firehol-3.1.6.ebuild b/net-firewall/firehol/firehol-3.1.6.ebuild
27 new file mode 100644
28 index 00000000000..b4f770df400
29 --- /dev/null
30 +++ b/net-firewall/firehol/firehol-3.1.6.ebuild
31 @@ -0,0 +1,64 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
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 ~ppc ~x86"
46 +
47 +RDEPEND="net-firewall/iptables
48 + sys-apps/iproute2[-minimal,ipv6?]
49 + net-misc/iputils[ipv6?]
50 + net-misc/iprange
51 + net-analyzer/traceroute
52 + virtual/modutils
53 + app-arch/gzip
54 + ipset? (
55 + net-firewall/ipset
56 + )"
57 +DEPEND="${RDEPEND}"
58 +
59 +pkg_setup() {
60 + local KCONFIG_OPTS=" \
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_MATCH_LIMIT \
68 + ~NETFILTER_XT_MATCH_OWNER \
69 + ~NETFILTER_XT_MATCH_STATE \
70 + ~NF_CONNTRACK \
71 + ~NF_CONNTRACK_IPV4 \
72 + ~NF_CONNTRACK_MARK \
73 + ~NF_NAT \
74 + ~NF_NAT_FTP \
75 + ~NF_NAT_IRC \
76 + "
77 + linux-info_pkg_setup
78 +}
79 +
80 +src_configure() {
81 + econf \
82 + --disable-vnetbuild \
83 + $(use_enable ipset update-ipsets) \
84 + $(use_enable doc) \
85 + $(use_enable ipv6)
86 +}
87 +
88 +src_install() {
89 + default
90 +
91 + newconfd "${FILESDIR}"/firehol.conf.d firehol
92 + newinitd "${FILESDIR}"/firehol.initrd firehol
93 + newconfd "${FILESDIR}"/fireqos.conf.d fireqos
94 + newinitd "${FILESDIR}"/fireqos.initrd fireqos
95 +}