From 139291b045fb2570c9604cbf9680a9fbbac4a842 Mon Sep 17 00:00:00 2001 From: Daniel Ahlberg Date: Wed, 5 Feb 2003 14:37:16 +0000 Subject: Move and versionbump --- net-firewall/shorewall/ChangeLog | 20 +++++++++++++ .../shorewall/files/digest-shorewall-1.3.9b | 1 + net-firewall/shorewall/files/shorewall | 26 +++++++++++++++++ net-firewall/shorewall/shorewall-1.3.9b.ebuild | 33 ++++++++++++++++++++++ 4 files changed, 80 insertions(+) create mode 100644 net-firewall/shorewall/ChangeLog create mode 100644 net-firewall/shorewall/files/digest-shorewall-1.3.9b create mode 100644 net-firewall/shorewall/files/shorewall create mode 100644 net-firewall/shorewall/shorewall-1.3.9b.ebuild (limited to 'net-firewall') 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 shorewall-1.3.13.ebuild : + Version bump, closes #10770. + + Relocated to net-firewall. + + 06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords + +*shorewall-1.3.9b (17 Oct 2002) + 23 Oct 2002; Zach Welch : + update and commit ebuild + + 17 Oct 2002; Andreas Erhart : + 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 +} -- cgit v1.2.3-65-gdbad