public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alon Bar-Lev" <alonbl@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-firewall/firehol/
Date: Thu, 21 Jan 2016 20:04:31 +0000 (UTC)	[thread overview]
Message-ID: <1453406657.151b2a413d51947c600f17a7de7033b7685608c4.alonbl@gentoo> (raw)

commit:     151b2a413d51947c600f17a7de7033b7685608c4
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 21 20:03:13 2016 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Thu Jan 21 20:04:17 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=151b2a41

net-firewall/firehol: version bump

Bug: 571940

Package-Manager: portage-2.2.26

 net-firewall/firehol/Manifest             |  1 +
 net-firewall/firehol/firehol-2.0.4.ebuild | 62 +++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/net-firewall/firehol/Manifest b/net-firewall/firehol/Manifest
index 8989966..a8fcdc4 100644
--- a/net-firewall/firehol/Manifest
+++ b/net-firewall/firehol/Manifest
@@ -1 +1,2 @@
 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

diff --git a/net-firewall/firehol/firehol-2.0.4.ebuild b/net-firewall/firehol/firehol-2.0.4.ebuild
new file mode 100644
index 0000000..2a0dbba
--- /dev/null
+++ b/net-firewall/firehol/firehol-2.0.4.ebuild
@@ -0,0 +1,62 @@
+# 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"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+RDEPEND="net-firewall/iptables
+	sys-apps/iproute2[-minimal]
+	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_prepare() {
+	epatch "${FILESDIR}/${PN}-2.0.2-autosave.patch"
+}
+
+src_configure() {
+	# removing IP6TABLES_CMD has no effect and enable build
+	# without ipv6 available
+	econf \
+		--docdir="${EPREFIX}/usr/share/doc/${PF}" \
+		--with-autosave="${EPREFIX}/var/lib/iptables/rules-save" \
+		--with-autosave6="${EPREFIX}/var/lib/ip6tables/rules-save" \
+		$(use_enable doc) \
+		IP6TABLES_CMD=/bin/false \
+		IP6TABLES_SAVE_CMD=/bin/false \
+		IP6TABLES_RESTORE_CMD=/bin/false
+}
+
+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
+}


             reply	other threads:[~2016-01-21 20:04 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-21 20:04 Alon Bar-Lev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-11-08 22:44 [gentoo-commits] repo/gentoo:master commit in: net-firewall/firehol/ James Le Cuirot
2022-07-21 22:39 James Le Cuirot
2021-01-02 21:00 James Le Cuirot
2020-11-20 13:44 Sam James
2020-08-08 14:16 Mikle Kolyada
2019-11-30  9:58 James Le Cuirot
2019-04-19 20:02 Alon Bar-Lev
2019-03-30 19:05 Mikle Kolyada
2019-03-25 21:15 Mikle Kolyada
2018-12-28 20:09 Alon Bar-Lev
2018-12-28 19:17 Alon Bar-Lev
2018-11-25 10:21 Mikle Kolyada
2018-09-28  0:18 Alon Bar-Lev
2018-08-18  4:51 Alon Bar-Lev
2017-12-16 10:31 Tobias Klausmann
2017-11-30 20:40 Thomas Deutschmann
2017-09-08 19:39 Alon Bar-Lev
2017-08-31 14:34 Tim Harder
2017-03-25 18:11 Alon Bar-Lev
2017-03-16 10:59 Michael Weber
2017-03-16 10:15 Michael Weber
2017-03-16 10:13 Michael Weber
2017-03-10 16:37 Alon Bar-Lev
2017-03-05  0:34 Alon Bar-Lev
2017-02-17 20:52 Alon Bar-Lev
2017-02-05 19:28 Alon Bar-Lev
2016-05-20 11:53 Alon Bar-Lev
2016-04-05 22:37 Anthony G. Basile
2016-01-22 12:15 Alon Bar-Lev
2016-01-22 12:02 Alon Bar-Lev
2016-01-21 21:01 Alon Bar-Lev
2016-01-21 20:46 Alon Bar-Lev
2015-10-25 17:48 Alon Bar-Lev
2015-10-25 11:07 Mikle Kolyada
2015-10-22  7:54 Alon Bar-Lev
2015-10-19  9:27 Agostino Sarubbo
2015-10-12 16:32 Alon Bar-Lev
2015-08-10 17:20 Alon Bar-Lev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1453406657.151b2a413d51947c600f17a7de7033b7685608c4.alonbl@gentoo \
    --to=alonbl@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox