summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-02-05 14:37:16 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-02-05 14:37:16 +0000
commit139291b045fb2570c9604cbf9680a9fbbac4a842 (patch)
tree4a0f65fa6c6daeb801950043af68aca76fc2ea0d /net-firewall/shorewall
parentforgot the patch, duh (diff)
downloadgentoo-2-139291b045fb2570c9604cbf9680a9fbbac4a842.tar.gz
gentoo-2-139291b045fb2570c9604cbf9680a9fbbac4a842.tar.bz2
gentoo-2-139291b045fb2570c9604cbf9680a9fbbac4a842.zip
Move and versionbump
Diffstat (limited to 'net-firewall/shorewall')
-rw-r--r--net-firewall/shorewall/ChangeLog20
-rw-r--r--net-firewall/shorewall/files/digest-shorewall-1.3.9b1
-rw-r--r--net-firewall/shorewall/files/shorewall26
-rw-r--r--net-firewall/shorewall/shorewall-1.3.9b.ebuild33
4 files changed, 80 insertions, 0 deletions
diff --git a/net-firewall/shorewall/ChangeLog b/net-firewall/shorewall/ChangeLog
new file mode 100644
index 000000000000..82fd311fa01e
--- /dev/null
+++ b/net-firewall/shorewall/ChangeLog
@@ -0,0 +1,20 @@
+# ChangeLog for net-firewall/shorewall
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall/ChangeLog,v 1.1 2003/02/05 14:37:16 aliz Exp $
+
+*shorewall-1.3.13 (05 Feb 2003)
+
+ 05 Feb 2003; Daniel Ahlberg <aliz@gentoo.org> shorewall-1.3.13.ebuild :
+ Version bump, closes #10770.
+
+ Relocated to net-firewall.
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*shorewall-1.3.9b (17 Oct 2002)
+ 23 Oct 2002; Zach Welch <zwelch@gentoo.org> :
+ update and commit ebuild
+
+ 17 Oct 2002; Andreas Erhart <andi@zollhaus.net> :
+ shorewall-1.3.9b.ebuild, files/digest-shorewall-1.3.9b
+ initial release
diff --git a/net-firewall/shorewall/files/digest-shorewall-1.3.9b b/net-firewall/shorewall/files/digest-shorewall-1.3.9b
new file mode 100644
index 000000000000..6a395c282577
--- /dev/null
+++ b/net-firewall/shorewall/files/digest-shorewall-1.3.9b
@@ -0,0 +1 @@
+MD5 112b76b10380e028778a3daf3e8833bd shorewall-1.3.9b.tgz 1317090
diff --git a/net-firewall/shorewall/files/shorewall b/net-firewall/shorewall/files/shorewall
new file mode 100644
index 000000000000..843cf279fa9b
--- /dev/null
+++ b/net-firewall/shorewall/files/shorewall
@@ -0,0 +1,26 @@
+#!/sbin/runscript
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+
+depend() {
+ need net
+ provide firewall
+}
+
+start() {
+ ebegin "Starting firewall"
+ /sbin/shorewall start 1>/dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping firewall"
+ /sbin/shorewall stop 1>/dev/null
+ eend $?
+}
+
+restart() {
+ ebegin "Restarting firewall"
+ /sbin/shorewall restart
+ eend $?
+}
diff --git a/net-firewall/shorewall/shorewall-1.3.9b.ebuild b/net-firewall/shorewall/shorewall-1.3.9b.ebuild
new file mode 100644
index 000000000000..44341a2500e9
--- /dev/null
+++ b/net-firewall/shorewall/shorewall-1.3.9b.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /home/cvsroot/gentoo-x86/net-misc/shorewall/shorewall-1..3.9b.ebuild
+
+DESCRIPTION="Full state iptables firewall"
+SRC_URI="http://www.shorewall.net/pub/shorewall/${P}.tgz"
+HOMEPAGE="http://www.shorewall.net/"
+
+LICENSE="GPL"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+SLOT="0"
+
+DEPEND="virtual/glibc
+ sys-apps/iptables
+ sys-apps/iproute"
+
+src_install() {
+ dodir /etc/init.d
+ dodir /var/state
+ PREFIX=${D} ./install.sh || die
+ rm -f ${D}/usr/lib/shorewall/firewall
+ cp ${D}/etc/init.d/shorewall ${D}/usr/lib/shorewall/firewall
+ rm -rf ${D}/etc/init.d
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/shorewall shorewall
+}
+
+pkg_postinst() {
+ einfo "Read the documentatition from http://www.shorewall.net/"
+ einfo "and edit the files in /etc/shorewall before starting the firewall"
+ echo
+}