summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2017-02-17 22:51:45 +0200
committerAlon Bar-Lev <alonbl@gentoo.org>2017-02-17 22:52:13 +0200
commit470cab9984805c6134d14f3b83d04cc536c89d30 (patch)
treec439df01ee524215108291ed2012d3c60b35afeb /net-firewall
parentpackage.mask: Last rite sys-block/{lio-utils,rtsadmin} (diff)
downloadgentoo-470cab9984805c6134d14f3b83d04cc536c89d30.tar.gz
gentoo-470cab9984805c6134d14f3b83d04cc536c89d30.tar.bz2
gentoo-470cab9984805c6134d14f3b83d04cc536c89d30.zip
net-firewall/firehol: version bump
Bug: 609626 Package-Manager: portage-2.3.3
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/firehol/Manifest1
-rw-r--r--net-firewall/firehol/firehol-3.1.3.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/net-firewall/firehol/Manifest b/net-firewall/firehol/Manifest
index dc55a39a4c6..e9ed53826c5 100644
--- a/net-firewall/firehol/Manifest
+++ b/net-firewall/firehol/Manifest
@@ -2,3 +2,4 @@ DIST firehol-2.0.3.tar.xz 898248 SHA256 4bcc2d19ee7d41377f19c3bcd3ae882ba10dd3eb
DIST firehol-2.0.4.tar.xz 900876 SHA256 f41ff31920402c80aa823a298cc437e9a0b4d9ff0320f3f75cb55c62407dad4c SHA512 b73053c3fc1cb4e5e83cc2b25a99bf06c14623f9e574af2b11b198ecc2fb84119f0ab60cb3ff96b32601c717118693869eb3fea2b0fdc61bb49f197fb73abcca WHIRLPOOL 05bc39636c7d496e321f191b03efe2f8d1dcd6aec537a41e7ae4bac3ee4386f718728ad965fdacb46f02f949986f6979f17d41dc21f06d7ad62f3e744f0599d1
DIST firehol-3.0.1.tar.xz 1407436 SHA256 63904b635dbd096035a720f84ad4ff74f32cec75357001638f4748c49cce46c7 SHA512 8c1bdb2a8b1bf551036d0ee58e7538a2e6513427db353af7e4415ed91cab95fe363e348d5ff32a82767b0fa4db69c469d228a05fa70fdfb8a9b81a2e6b78bae4 WHIRLPOOL a0189ef5da2f2ed15a51b32ec0be60a036d9806053b44bbc538e524fe57d28230e8676fb8352ab1b7b36998e6e68806b324768606c21f64c2c39b6698f2e6d58
DIST firehol-3.1.2.tar.xz 1451112 SHA256 3731bdb1ab6d442a8a5b3103fcefd5d9fb0688406033f8833c2b0fdc9c1780ba SHA512 8b7e6e48e1eadf9c8ab3d97a5eec92dc239a48634949c71bf537fb75e095e51968bb6095a1a2193c719ecef53d4c623cc2e13035fbd6d6f277e89fc12f7bdb63 WHIRLPOOL 07b6af7783cdb33d0237c51b265e5c8085386602cfeb369e745a51bd2ea508672b0271382b214f4b4464c6f6bf1bbd0e9070ca998036dbba7a332ea6b8172951
+DIST firehol-3.1.3.tar.xz 1476220 SHA256 4693d7238d411ffcaacd1febf7231a9e69657e8b198f1b0726429bdb258372e7 SHA512 6c75b57650d918cfc485f6eb01d69694acd5c7b487a10a566fc26b8d5e0cd6a6a9a09bd8d3219bf4e78aa4fe47f83e5ac399107a07770b787e1ccba3078c5f3f WHIRLPOOL b14628fe4e9f7d0b45231a0720b4142dfd41edadd5bafd74650c8af2c67b5a535b8c32e03c696a06332455b18b18900c063a7cdbeb7582c15b409a83cfea83b7
diff --git a/net-firewall/firehol/firehol-3.1.3.ebuild b/net-firewall/firehol/firehol-3.1.3.ebuild
new file mode 100644
index 00000000000..ef292052a46
--- /dev/null
+++ b/net-firewall/firehol/firehol-3.1.3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils linux-info
+
+DESCRIPTION="iptables firewall generator"
+HOMEPAGE="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"
+KEYWORDS="~amd64 ~arm"
+
+RDEPEND="net-firewall/iptables
+ sys-apps/iproute2[-minimal,ipv6?]
+ net-misc/iputils[ipv6?]
+ net-misc/iprange
+ net-analyzer/traceroute
+ virtual/modutils
+ app-arch/gzip"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ local KCONFIG_OPTS=" \
+ ~IP_NF_FILTER \
+ ~IP_NF_IPTABLES \
+ ~IP_NF_MANGLE \
+ ~IP_NF_TARGET_MASQUERADE
+ ~IP_NF_TARGET_REDIRECT \
+ ~IP_NF_TARGET_REJECT \
+ ~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 \
+ --disable-update-ipsets \
+ $(use_enable doc) \
+ $(use_enable ipv6)
+}
+
+src_install() {
+ default
+
+ newconfd "${FILESDIR}"/firehol.conf.d firehol
+ newinitd "${FILESDIR}"/firehol.initrd firehol
+ newconfd "${FILESDIR}"/fireqos.conf.d fireqos
+ newinitd "${FILESDIR}"/fireqos.initrd fireqos
+}