summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2008-07-10 20:09:50 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2008-07-10 20:09:50 +0000
commitaf0e87cf7dd8baa5e2ba7decc89bb7271c9402c9 (patch)
treedef2c20b9a98112d541025be1b5b04be4e34edc9 /net-firewall/arno-iptables-firewall
parentVersion bump (diff)
downloadhistorical-af0e87cf7dd8baa5e2ba7decc89bb7271c9402c9.tar.gz
historical-af0e87cf7dd8baa5e2ba7decc89bb7271c9402c9.tar.bz2
historical-af0e87cf7dd8baa5e2ba7decc89bb7271c9402c9.zip
Initial import. Ebuild loosely based on previous ebuilds from Christian Loitsch <gentoo-bug@loitsch.org> and Avuton Olrich <avuton@gmail.com>. Closing bug #20726.
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25-wolf i686
Diffstat (limited to 'net-firewall/arno-iptables-firewall')
-rw-r--r--net-firewall/arno-iptables-firewall/ChangeLog12
-rw-r--r--net-firewall/arno-iptables-firewall/Manifest14
-rw-r--r--net-firewall/arno-iptables-firewall/arno-iptables-firewall-1.9.0_beta3.ebuild61
-rw-r--r--net-firewall/arno-iptables-firewall/metadata.xml9
4 files changed, 96 insertions, 0 deletions
diff --git a/net-firewall/arno-iptables-firewall/ChangeLog b/net-firewall/arno-iptables-firewall/ChangeLog
new file mode 100644
index 000000000000..558dd5edef80
--- /dev/null
+++ b/net-firewall/arno-iptables-firewall/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for net-firewall/arno-iptables-firewall
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/arno-iptables-firewall/ChangeLog,v 1.1 2008/07/10 20:09:50 wolf31o2 Exp $
+
+*arno-iptables-firewall-1.9.0_beta3 (10 Jul 2008)
+
+ 10 Jul 2008; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml,
+ +arno-iptables-firewall-1.9.0_beta3.ebuild:
+ 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
new file mode 100644
index 000000000000..b1102e6ba0c1
--- /dev/null
+++ b/net-firewall/arno-iptables-firewall/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST arno-iptables-firewall_1.9.0-beta3.tar.gz 75440 RMD160 7e4c5501711c374f4658ccf467ee55535d2e6000 SHA1 d0aee286c2cc7c027973ee2c21cadf7e4015b516 SHA256 013d385da63d422435c8360c06f0e759bc254190909c3d2c4e50093c39e6b2e9
+EBUILD arno-iptables-firewall-1.9.0_beta3.ebuild 1729 RMD160 99fc238b4f4a6db5f5348495bdeff7ffa22532e8 SHA1 d5b84b2b80ea293974ad19f4a0e6dbaaf2b52c0d SHA256 605612b405e2ca161c3fad7632c68a27497c2b7f7d54840a0daffdeb414f6f03
+MISC ChangeLog 581 RMD160 b486ac59a7fe921867b1ccf62efd6ae85ae3e08e SHA1 4be2542bf0ee01bf6327bd0bda0d2ed7965966a5 SHA256 e0b24e9d4c1525b7cc747c25247cbb9c07426ce553bbbacdba19acae8289582b
+MISC metadata.xml 258 RMD160 133b6bb51865513006c73d8867c868f3102e221c SHA1 bccefb2b5dabb110ad3ddfea1169edd407bd65a4 SHA256 634476d4db59138e91e9fc26d8f24ab4bba19e03a39235f466c118bb70011859
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkh2bJYACgkQkT4lNIS36YHk2ACgmy8qupekPV72VSSatexnqCVH
+xDUAn2vkPABm3v1Z733wV/QoEy/o3Sef
+=7iL7
+-----END PGP SIGNATURE-----
diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-1.9.0_beta3.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-1.9.0_beta3.ebuild
new file mode 100644
index 000000000000..6292ccb80fbe
--- /dev/null
+++ b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-1.9.0_beta3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2008 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-1.9.0_beta3.ebuild,v 1.1 2008/07/10 20:09:50 wolf31o2 Exp $
+
+EAPI=1
+MY_PV=${PV/_beta/-beta}
+
+DESCRIPTION="Arno's iptables firewall script"
+HOMEPAGE="http://rocky.molphys.leidenuniv.nl/"
+SRC_URI="http://rocky.eld.leidenuniv.nl/iptables-firewall/${PN}_${MY_PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+plugins"
+
+RDEPEND=">=net-firewall/iptables-1.2.5"
+
+S=${WORKDIR}/${PN}_${MY_PV}
+
+src_install() {
+ insinto /etc/arno-iptables-firewall
+ doins etc/arno-iptables-firewall/*
+
+ sed -e 's:local/::' \
+ contrib/Gentoo/firewall.conf > \
+ "${T}"/arno-iptables-firewall.confd
+ 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
+
+ if use plugins
+ then
+ insinto /etc/arno-iptables-firewall/plugins
+ doins etc/arno-iptables-firewall/plugins/*
+
+ insinto /usr/share/arno-iptables-firewall/plugins
+ doins usr/share/arno-iptables-firewall/plugins/*.plugin
+
+ docinto plugins
+ dodoc usr/share/arno-iptables-firewall/plugins/*.CHANGELOG
+ fi
+
+ dodoc CHANGELOG README
+
+ doman man/arno-fwfilter.1 man/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 stop this script, all firewall rules are flushed!"
+ echo
+}
diff --git a/net-firewall/arno-iptables-firewall/metadata.xml b/net-firewall/arno-iptables-firewall/metadata.xml
new file mode 100644
index 000000000000..afe673119c6e
--- /dev/null
+++ b/net-firewall/arno-iptables-firewall/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+ <maintainer>
+ <email>wolf31o2@gentoo.org</email>
+ <name>Chris Gianelloni</name>
+ </maintainer>
+</pkgmetadata>