summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2012-12-17 19:45:43 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2012-12-17 19:45:43 +0000
commit5753543d4be896d982683fbd5a2634e1543fc37e (patch)
tree00fdcefbcde367637c1c1d1947c9e0cc1841f7e2 /net-firewall/arno-iptables-firewall
parentBump to EAPI=5 to make Paludis happy, bug #447524. (diff)
downloadhistorical-5753543d4be896d982683fbd5a2634e1543fc37e.tar.gz
historical-5753543d4be896d982683fbd5a2634e1543fc37e.tar.bz2
historical-5753543d4be896d982683fbd5a2634e1543fc37e.zip
Version bump. Fixes 447386. Also fixes outstanding #309473 and #411661. Thanks to Ferenc Erki <erkiferenc@gmail.com>
Package-Manager: portage-2.1.11.37/cvs/Linux x86_64 Manifest-Sign-Key: 0xB4AFF2C2
Diffstat (limited to 'net-firewall/arno-iptables-firewall')
-rw-r--r--net-firewall/arno-iptables-firewall/ChangeLog13
-rw-r--r--net-firewall/arno-iptables-firewall/Manifest35
-rw-r--r--net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1d.ebuild101
-rw-r--r--net-firewall/arno-iptables-firewall/files/rc.firewall_replace_opts.patch11
-rw-r--r--net-firewall/arno-iptables-firewall/metadata.xml4
5 files changed, 148 insertions, 16 deletions
diff --git a/net-firewall/arno-iptables-firewall/ChangeLog b/net-firewall/arno-iptables-firewall/ChangeLog
index a4b5b0909cc1..0a4f98db5ff2 100644
--- a/net-firewall/arno-iptables-firewall/ChangeLog
+++ b/net-firewall/arno-iptables-firewall/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-firewall/arno-iptables-firewall
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/arno-iptables-firewall/ChangeLog,v 1.5 2009/10/10 13:28:39 vostorga Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/arno-iptables-firewall/ChangeLog,v 1.6 2012/12/17 19:45:41 hwoarang Exp $
+
+*arno-iptables-firewall-2.0.1d (17 Dec 2012)
+
+ 17 Dec 2012; Markos Chandras <hwoarang@gentoo.org>
+ +arno-iptables-firewall-2.0.1d.ebuild, +files/rc.firewall_replace_opts.patch,
+ metadata.xml:
+ Version bump. Fixes 447386. Also fixes outstanding #309473 and #411661. Thanks
+ to Ferenc Erki <erkiferenc@gmail.com>
*arno-iptables-firewall-1.9.2d (10 Oct 2009)
@@ -29,4 +37,3 @@
Initial import. Ebuild loosely based on previous ebuilds from Christian
Loitsch <gentoo-bug@loitsch.org> and Avuton Olrich <avuton@gmail.com>.
Closing bug #20726.
-
diff --git a/net-firewall/arno-iptables-firewall/Manifest b/net-firewall/arno-iptables-firewall/Manifest
index 2ff530e7ca07..38f2cd4b878a 100644
--- a/net-firewall/arno-iptables-firewall/Manifest
+++ b/net-firewall/arno-iptables-firewall/Manifest
@@ -1,18 +1,29 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-DIST arno-iptables-firewall_1.9.2a.tar.gz 95858 RMD160 ff4c22ca59ef51a4c89d7fca1ee91edb0fc0dd9d SHA1 87619d619bf0e536455791d99b6d96bf6e5ed8ea SHA256 1412a28fafbe423d3e5bcf820c4f92265f01d38908eae0f3506e53b6d55a7906
-DIST arno-iptables-firewall_1.9.2d.tar.gz 97797 RMD160 a3fa3d54b71788458e5000c68c6de73879dd3c4f SHA1 aac2853f07c9711701ba3f2ec48921a6bbcf93bc SHA256 2644299bffbf035bce28e5360a08941ce3fc773906fd7300e94cdf948cffd469
-EBUILD arno-iptables-firewall-1.9.2a.ebuild 2596 RMD160 490eb4373f8da8964e9387282c05e3a980af7d69 SHA1 bf0f988ef640dd4bc2539b0a722e541c50a0878d SHA256 2f95f61a49838eabccac7ec23e349a49977c299bfb99734a83bf5aeed28b3659
-EBUILD arno-iptables-firewall-1.9.2d.ebuild 2772 RMD160 8965bfa602806aabed7ff40408178a744b4d62e0 SHA1 ceecba9c44bd4d0274a9bc4e1d8aca11238da47a SHA256 3cfbe389ad801ee33f4f78f3fddbb34c1e89adf39653be96708910d137753b85
-MISC ChangeLog 1250 RMD160 465bbf4d873c43e1d39235fa3b2f68ef089322ce SHA1 fcf96c67521819ffcc56e066b673f074cce5a5d4 SHA256 c8678ad07e39fc033bf3bd77ff08a74c6257a8968fa036280b7d9960149e021e
-MISC metadata.xml 278 RMD160 743b9272dc1f35ddbabcf5a43ee5c6510f2a160c SHA1 821c3ebbf2384d92a085e5057605aaf86a864cd3 SHA256 bd11fe3884495c7e1135d0200d784bca767c26ba8cabfad6ad5aec93db2af6f6
+AUX rc.firewall_replace_opts.patch 299 SHA256 73163088b2873a70bbc6dee814e260411ccee9cc0e8bd66e96da5e2def7dc7ed SHA512 eb5d266d4d7a48e5480268c6dc8da7ef242d45c4bdc537c3e81666d3d1720273bc21b325967b235765adf08ae5ddc6d6ab0ddce739aef811e02c16eac14d982c WHIRLPOOL 5b867e9b8844503c72739bebd4cff82271e54113b7d6e836c46e14af620cbd9609a9b8704b8f06ced13961c7cea2343b71254a73967d61ae828a79a2ac09bf9d
+DIST arno-iptables-firewall_1.9.2a.tar.gz 95858 SHA256 1412a28fafbe423d3e5bcf820c4f92265f01d38908eae0f3506e53b6d55a7906
+DIST arno-iptables-firewall_1.9.2d.tar.gz 97797 SHA256 2644299bffbf035bce28e5360a08941ce3fc773906fd7300e94cdf948cffd469
+DIST arno-iptables-firewall_2.0.1d.tar.gz 125329 SHA256 177343362063125985e8b0008fe69bc6ca8d3ba252cfa35a316e708f52fef9c6 SHA512 a99f4fcf4f84a47cc1bda26b39e4f3dc7e10b74f3aeaea8a2519bf18f43ff08ec0bfbd0f078ac36ce12da31d3ac0eabc51231b4559cadca13cd4d75e0940bf9d WHIRLPOOL 2dd56678015cf49ed9442c63c5455c70e72a6f252d9278a56ae1eaabda34d597c44f7fdb97695656882754776385778a5e67d83e7e35e4554e5765e3a0e68b13
+EBUILD arno-iptables-firewall-1.9.2a.ebuild 2596 SHA256 2f95f61a49838eabccac7ec23e349a49977c299bfb99734a83bf5aeed28b3659 SHA512 4eb492d50e1262808a9b70726fb10939ba4f298e6e1d545fac41598bf53a80a6e0ae2ff4444f9b60b06fe030312f75930e9c841dfe6a58f7c971da09cd02dec0 WHIRLPOOL ae41b57611deac699843e2f9eb22af50af4dddda3ef0c868772b87b8d32418c0a93cbd4507bca7d702872701d6dcd1bb3e40a339edc84ccc45f36264ccf9ae40
+EBUILD arno-iptables-firewall-1.9.2d.ebuild 2772 SHA256 3cfbe389ad801ee33f4f78f3fddbb34c1e89adf39653be96708910d137753b85 SHA512 5ee67c3b389cc837d0ae60db5dcfd30edcb92c33f3b60b0b61f915134776dc91560a8052ffa7b3d2f0bad11514086aeb7102d8f8f109365ab3ef3bd5b8d9883d WHIRLPOOL ed745351c17184f6f59e8e9d81711f8c319d1a63ce597f1c7026336b08c99fd26edf7f12a0587d7a1501f77f7e516afa796640619e90ecaac146b935ad311610
+EBUILD arno-iptables-firewall-2.0.1d.ebuild 2827 SHA256 ef6a6edaf882a0e859195d115ff3e8211c594fa4fe874c6fe23021e491ff8338 SHA512 b718e895c949343aa3e0019d247bf5f8d45904f0337e7f7f634af7fd848b75a0cddde52db6a7d17b1411c46571e5d62afd87e8318486c675644e406abee82e8f WHIRLPOOL fe58229a6b1cf89a0257eaed6361ba9e98a092569b4fad126095a6c103c6188cc47da60826234a0272e0c5fb247e0a648cd6c065405ccc3384cb7c0d00c42253
+MISC ChangeLog 1566 SHA256 09425f38d7db8545b203d151554c19b4dafbe3c02eb0130f14a1ec5541457de8 SHA512 a47892f0d224821362f9838d628d514c74b173ba2f87631c079c92b49944304828128eb2ff7ffa66e1ca421dfab98fe6a96ac99b45a3e82a4b82e6fe30ff4a7c WHIRLPOOL 24a59f0efbf8949f5cf0f555e3036648522b0c847f75f352bb86a519a4e3ec23967c9f52f75986a8f059d79c4a6d7c5bf2b1ee4f4054ba02f9852a237d5ee430
+MISC metadata.xml 327 SHA256 51bfcccddfa15dee0e7319ea4ec01fd810be47612abba45196558ad492dfe966 SHA512 aca4ad309dddc381e87586be74ec5aed21caf525ebdbce48c452b7ac9701b36dc756cf6fb48b790ca8bc81332803e92ed63ac30d0a21a5f2bdd56cb4a76e5e0a WHIRLPOOL 1c15aa80e063313cffcc77ac63d3e58fadf4e5abfe75addf2d28991e6bb5f1b259735e1a7668717de7618a2e9b59df98cd173e49803bb0669624db006d8a401e
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.19 (GNU/Linux)
-iJwEAQEIAAYFAk59qT4ACgkQfXuS5UK5QB3OQwP8Cizgf+JTmON3HzOODZiOMqbs
-LZHABJTXRB4OYFqclUQSN88Vks1vOorMjCxPdbUpKcx+AIGWk5Hisls0nl9gyBkN
-9vUJW6MtQ5BHAOm6/NhmMh60ydKx8ziivTWvrS38vMmq2cgWjtwEgLPNDrBlp5t6
-5S4S76GJZdgBLtYIExQ=
-=SGbw
+iQIcBAEBCAAGBQJQz3ZhAAoJEPqDWhW0r/LCmjcP/2J7Qot1q+kYCNkFby9PukFF
+5Pr+rWXUw+IsZM8Q4rLCmdnM3plHuWHgKXFFldIF95Z81ZNvK60g/HrUiGZ2P9zH
+ZYCfeqa27FKNC02cbdwCj80HOA9xTNpcA5aowObYXoRWQ8iK8oybDSFjIHvi1buk
+if9DX10HFJivJ6jObJnv4iV5Qg5dyyC3Vwb9vXIzxhHKlRbkrxZMU9gld3vHGQxM
+F8DknzW1wMYWP7GFtyZEEnMsjNlIi3GP7UvlF5Y+Gcnv25kZOvEDb3smryQshe3q
+Wk7clF/Zydiz7GqAM3seReCQbwr1RpubZ+VVMxObK317sF36h53Us0R2VLByuQzC
+PZYEHIMvO5Az+KadhnyDv3PgcGJlml0hZunPKoMxEsdQ7pnrUZn7QvakRnpsWLNX
+hQtrKyAXxhxgG+vjACZAwk6ZvD+HGzJ1yG/LboVqG5QMvo9kuvJ4XLL5Mr22MjVY
+eue+alG0uGKlIhRspFLR7NmXpjgPGHzHIxMpfCAIlgLip/Rvubq8IseM3OsCyqww
+eP2aIr0/64OJUzevYgWAxy9URMl3QlNMwzPEknI23n1XK60+JhmDvMHPpx0wwgya
+4AwkLW6p5KZd42OmijhmijtquGhjFjEZJHto3ggNaILcWOBHy1XAxqmk0Clgc6yK
+JxHnktmQlR35HRp05usy
+=l9u7
-----END PGP SIGNATURE-----
diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1d.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1d.ebuild
new file mode 100644
index 000000000000..f4fa66ee7ef4
--- /dev/null
+++ b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1d.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1d.ebuild,v 1.1 2012/12/17 19:45:41 hwoarang Exp $
+
+EAPI=4
+
+DESCRIPTION="Arno's iptables firewall script"
+HOMEPAGE="http://rocky.eld.leidenuniv.nl"
+SRC_URI="http://rocky.eld.leidenuniv.nl/${PN}/${PN}_${PV}.tar.gz"
+
+S=${WORKDIR}/${PN}_${PV}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+plugins"
+
+DEPEND=">=net-firewall/iptables-1.2.5
+ >=sys-apps/iproute2-2.6.35-r2"
+RDEPEND="${DEPEND}"
+
+inherit linux-info
+
+pkg_pretend() {
+ if use kernel_linux; then
+ if [[ -e "${EROOT}usr/src/linux/.config" ]]; then
+ CONFIG_CHECK="IP_NF_IPTABLES"
+ check_extra_config
+ fi
+fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/rc.firewall_replace_opts.patch"
+}
+
+src_install() {
+
+ insinto /etc/arno-iptables-firewall
+
+ sed -e 's:/usr/local/share/:/usr/share/:' \
+ etc/arno-iptables-firewall/firewall.conf > \
+ "${T}"/firewall.conf || die
+ doins "${T}"/firewall.conf
+ doins etc/arno-iptables-firewall/custom-rules
+
+ sed -e 's:local/::' \
+ contrib/Gentoo/firewall.conf > \
+ "${T}"/arno-iptables-firewall.confd || die
+ newconfd "${T}"/arno-iptables-firewall.confd arno-iptables-firewall
+ newinitd contrib/Gentoo/rc.firewall arno-iptables-firewall
+
+ dobin bin/arno-fwfilter
+ dosbin bin/arno-iptables-firewall
+
+ insinto /usr/share/arno-iptables-firewall/
+ doins share/arno-iptables-firewall/environment
+
+ if use plugins
+ then
+ insinto /etc/arno-iptables-firewall/plugins
+ doins etc/arno-iptables-firewall/plugins/*
+
+ insinto /usr/share/arno-iptables-firewall/plugins
+ doins share/arno-iptables-firewall/plugins/*.plugin
+
+ exeinto /usr/share/arno-iptables-firewall/plugins
+ doexe share/arno-iptables-firewall/plugins/dyndns-host-open-helper
+
+ doexe share/arno-iptables-firewall/plugins/traffic-accounting-helper
+ doexe share/arno-iptables-firewall/plugins/traffic-accounting-log-rotate
+
+ doexe share/arno-iptables-firewall/plugins/traffic-accounting-show
+
+ docinto plugins
+ dodoc share/arno-iptables-firewall/plugins/*.CHANGELOG
+ fi
+
+ dodoc CHANGELOG README
+
+ doman share/man/man1/arno-fwfilter.1 \
+ share/man/man8/arno-iptables-firewall.8
+
+}
+
+pkg_postinst () {
+ elog "You will need to configure /etc/${PN}/firewall.conf before using this"
+ elog "package. To start the script, run:"
+ elog " /etc/init.d/${PN} start"
+ echo
+ elog "If you want to start this script at boot, run:"
+ elog " rc-update add ${PN} default"
+ echo
+ ewarn "When you start the firewall, the default is to"
+ ewarn "DROP ALL existing connections! So be careful when installing"
+ ewarn "on a remote host! There is an option to disable this behaviour"
+ ewarn "for testing."
+ echo
+ ewarn "When you stop this script, all firewall rules are flushed!"
+ echo
+}
diff --git a/net-firewall/arno-iptables-firewall/files/rc.firewall_replace_opts.patch b/net-firewall/arno-iptables-firewall/files/rc.firewall_replace_opts.patch
new file mode 100644
index 000000000000..6c271d5584b3
--- /dev/null
+++ b/net-firewall/arno-iptables-firewall/files/rc.firewall_replace_opts.patch
@@ -0,0 +1,11 @@
+--- contrib/Gentoo/rc.firewall 2012-11-29 08:44:13.000000000 +0100
++++ contrib/Gentoo/rc.firewall.new 2012-12-15 18:38:12.179072084 +0100
+@@ -1,6 +1,7 @@
+ #!/sbin/runscript
+
+-opts="${opts} stats help reload"
++extra_commands="stats help"
++extra_started_commands="reload"
+
+ depend() {
+ before net
diff --git a/net-firewall/arno-iptables-firewall/metadata.xml b/net-firewall/arno-iptables-firewall/metadata.xml
index c3f7f01b3e46..5a526d1b97d2 100644
--- a/net-firewall/arno-iptables-firewall/metadata.xml
+++ b/net-firewall/arno-iptables-firewall/metadata.xml
@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+<herd>proxy-maintainers</herd>
<maintainer>
- <email>maintainer-needed@gentoo.org</email>
+ <email>erkiferenc@gmail.com</email>
+ <name>Ferenc Erki</name>
</maintainer>
<use>
<flag name='plugins'>Install optional plugins</flag>