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
commitf3b897c41e379e3a55c09367fb79dce842e07f92 (patch)
tree5e610c7d2151b9c688d6fdfbdc3e77f30b4b1fe7 /net-firewall/arno-iptables-firewall
parentVersion bump (diff)
downloadgentoo-2-f3b897c41e379e3a55c09367fb79dce842e07f92.tar.gz
gentoo-2-f3b897c41e379e3a55c09367fb79dce842e07f92.tar.bz2
gentoo-2-f3b897c41e379e3a55c09367fb79dce842e07f92.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.
(Portage version: 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/Manifest4
-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, 86 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..5feeefaa1356
--- /dev/null
+++ b/net-firewall/arno-iptables-firewall/Manifest
@@ -0,0 +1,4 @@
+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 1592 RMD160 0e3fd4bb27a7a5ee75f5a1d39d356707f4aeb8bd SHA1 4450f95de2f2d0dfb5436e1f1563bcc1292810cc SHA256 efa3ed8bb6abb8dace6f81788eafce7ff4d486e00486ab3bd8bd4d03660efff4
+MISC ChangeLog 472 RMD160 8fe8e8998f186f4878661999215ea4ff11c83099 SHA1 fad896f03e7da54aecfc1a653da87d6c24e888ac SHA256 c7b4cc4520bf2d15862c0fcce430c14a78807987fb7a7d4baf2f9693860fe36a
+MISC metadata.xml 258 RMD160 133b6bb51865513006c73d8867c868f3102e221c SHA1 bccefb2b5dabb110ad3ddfea1169edd407bd65a4 SHA256 634476d4db59138e91e9fc26d8f24ab4bba19e03a39235f466c118bb70011859
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>