From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2872D58973 for ; Thu, 21 Jan 2016 20:46:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 07F6E21C00D; Thu, 21 Jan 2016 20:46:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5F4FE21C00D for ; Thu, 21 Jan 2016 20:46:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1A99B340806 for ; Thu, 21 Jan 2016 20:46:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A34A81017 for ; Thu, 21 Jan 2016 20:46:09 +0000 (UTC) From: "Alon Bar-Lev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alon Bar-Lev" Message-ID: <1453408966.d68ae7e391da0f456ed0d9c97ff1e17461e246ab.alonbl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-firewall/firehol/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-firewall/firehol/Manifest net-firewall/firehol/firehol-3.0.1.ebuild X-VCS-Directories: net-firewall/firehol/ X-VCS-Committer: alonbl X-VCS-Committer-Name: Alon Bar-Lev X-VCS-Revision: d68ae7e391da0f456ed0d9c97ff1e17461e246ab X-VCS-Branch: master Date: Thu, 21 Jan 2016 20:46:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dddc1ede-eb63-45f5-b0b0-5b9d5db541e6 X-Archives-Hash: 258fe742bd02c17bf836f0277e7ee195 commit: d68ae7e391da0f456ed0d9c97ff1e17461e246ab Author: Alon Bar-Lev gentoo org> AuthorDate: Thu Jan 21 20:42:46 2016 +0000 Commit: Alon Bar-Lev gentoo org> CommitDate: Thu Jan 21 20:42:46 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d68ae7e3 net-firewall/firehol: version bump Package-Manager: portage-2.2.26 net-firewall/firehol/Manifest | 1 + net-firewall/firehol/firehol-3.0.1.ebuild | 57 +++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/net-firewall/firehol/Manifest b/net-firewall/firehol/Manifest index a8fcdc4..4c8eeb4 100644 --- a/net-firewall/firehol/Manifest +++ b/net-firewall/firehol/Manifest @@ -1,2 +1,3 @@ DIST firehol-2.0.3.tar.xz 898248 SHA256 4bcc2d19ee7d41377f19c3bcd3ae882ba10dd3ebed6eac2deedbce202d1a3d72 SHA512 fab1ddea6d60d5cb91eacc73f79549f454abc7d581c696463f4396465257a708af175f18da7aa2c6ddc3dddc68b21528edb043a3fe539d16f5057e4f0c0db0b6 WHIRLPOOL 50556da7e392575ef2e36a489e544295f909c8621be5e7c91ad8b00f99879d1eebe59076948d8e58839869771547e85c425262438eb5f79d4b2bd8f2bb0009f8 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 diff --git a/net-firewall/firehol/firehol-3.0.1.ebuild b/net-firewall/firehol/firehol-3.0.1.ebuild new file mode 100644 index 0000000..2509875 --- /dev/null +++ b/net-firewall/firehol/firehol-3.0.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils linux-info + +DESCRIPTION="iptables firewall generator" +HOMEPAGE="http://firehol.sourceforge.net/" +SRC_URI="https://firehol.org/download/firehol/releases/v${PV}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="doc ipv6" +KEYWORDS="~amd64" + +RDEPEND="net-firewall/iptables + sys-apps/iproute2[-minimal] + net-misc/iprange + virtual/modutils + app-arch/gzip" +DEPEND="${RDEPEND}" + +pkg_setup() { + local KCONFIG_OPTS="~NF_CONNTRACK_IPV4 ~NF_CONNTRACK_MARK ~NF_NAT ~NF_NAT_FTP ~NF_NAT_IRC \ + ~IP_NF_IPTABLES ~IP_NF_FILTER ~IP_NF_TARGET_REJECT ~IP_NF_TARGET_LOG ~IP_NF_TARGET_ULOG \ + ~IP_NF_TARGET_MASQUERADE ~IP_NF_TARGET_REDIRECT ~IP_NF_MANGLE \ + ~NETFILTER_XT_MATCH_LIMIT ~NETFILTER_XT_MATCH_STATE ~NETFILTER_XT_MATCH_OWNER" + + get_version + if [ ${KV_PATCH} -ge 25 ]; then + CONFIG_CHECK="~NF_CONNTRACK ${KCONFIG_OPTS}" + else + CONFIG_CHECK="~NF_CONNTRACK_ENABLED ${KCONFIG_OPTS}" + fi + linux-info_pkg_setup +} + +src_configure() { + # removing IP6TABLES_CMD has no effect and enable build + # without ipv6 available + econf \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + --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 +}