summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-03-31 17:11:13 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-03-31 17:11:13 +0000
commit749ad96293e735694b9253e015eeab07ab763aa3 (patch)
treef1a1e5429bbfc336d03f413fa640f208006ab979 /net-firewall/gshield
parent Solves name conflicts between BK man pages and system man pages; also includes (diff)
downloadgentoo-2-749ad96293e735694b9253e015eeab07ab763aa3.tar.gz
gentoo-2-749ad96293e735694b9253e015eeab07ab763aa3.tar.bz2
gentoo-2-749ad96293e735694b9253e015eeab07ab763aa3.zip
moved from net-misc/gshield to net-firewall/gshield
Diffstat (limited to 'net-firewall/gshield')
-rw-r--r--net-firewall/gshield/ChangeLog35
-rw-r--r--net-firewall/gshield/files/digest-gshield-2.82
-rw-r--r--net-firewall/gshield/files/digest-gshield-2.8-r11
-rw-r--r--net-firewall/gshield/files/digest-gshield-2.8-r21
-rw-r--r--net-firewall/gshield/files/gshield.init27
-rw-r--r--net-firewall/gshield/gshield-2.8-r1.ebuild52
-rw-r--r--net-firewall/gshield/gshield-2.8-r2.ebuild53
-rw-r--r--net-firewall/gshield/gshield-2.8.ebuild51
8 files changed, 222 insertions, 0 deletions
diff --git a/net-firewall/gshield/ChangeLog b/net-firewall/gshield/ChangeLog
new file mode 100644
index 000000000000..22d13016da4a
--- /dev/null
+++ b/net-firewall/gshield/ChangeLog
@@ -0,0 +1,35 @@
+# ChangeLog for net-firewall/gshield
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/gshield/ChangeLog,v 1.1 2003/03/31 17:08:46 mholzer Exp $
+
+*gshield-2.8 (31 Mar 2003)
+
+ 31 Mar 2003; Martin Holzer <mholzer@gentoo.org> gshield-2.8-r1.ebuild,
+ gshield-2.8-r2.ebuild, gshield-2.8.ebuild:
+ moved from net-misc/gshield to net-firewall/gshield
+
+*gshield-2.8 (11 Mar 2003)
+
+ 11 Mar 2003; Martin Holzer <mholzer@gentoo.org> gshield-2.8-r1.ebuild,
+ gshield-2.8-r2.ebuild, gshield-2.8.ebuild:
+ changed sys-apps/iptables to net-firewall/iptables
+
+
+*gshield-2.8-r2 (08 Mar 2003)
+
+ 08 Mar 2003; Graham Forest <vladimir@gentoo.org> gshield-2.8-r2.ebuild:
+ Fixed a problem where your current directory would be copied to /etc/gshield,
+ and bumped revision so anyone who had such a problem will have those files
+ removed
+
+*gshield-2.8-r1 17 Jan 2003
+
+ 17 Jan 2003; Chris Houser <chouser@gentoo.org> gshield-2.8-r1.ebuild,
+ files/digest-gshield-2.8-r1: Added "net-dns/bind-tools" to RDEPEND (Bug
+ 14089).
+
+*gshield-2.8 17 Oct 2002
+
+ 17 Oct 2002; Chris Houser <chouser@gentoo.org> gshield-2.8.ebuild,
+ files/digest-gshield-2.8, files/gshield.init, ChangeLog: Initial package,
+ including init script.
diff --git a/net-firewall/gshield/files/digest-gshield-2.8 b/net-firewall/gshield/files/digest-gshield-2.8
new file mode 100644
index 000000000000..89611eb8093c
--- /dev/null
+++ b/net-firewall/gshield/files/digest-gshield-2.8
@@ -0,0 +1,2 @@
+MD5 46521eb1ffef68d5a9c45727a99e2baa gShield-2.8.tgz 47346
+MD5 73038a43e0e19e1aa80b5aa13b9e0562 gShield-2.8.tgz.md5.sign 329
diff --git a/net-firewall/gshield/files/digest-gshield-2.8-r1 b/net-firewall/gshield/files/digest-gshield-2.8-r1
new file mode 100644
index 000000000000..f8e6a865ef20
--- /dev/null
+++ b/net-firewall/gshield/files/digest-gshield-2.8-r1
@@ -0,0 +1 @@
+MD5 46521eb1ffef68d5a9c45727a99e2baa gShield-2.8.tgz 4734
diff --git a/net-firewall/gshield/files/digest-gshield-2.8-r2 b/net-firewall/gshield/files/digest-gshield-2.8-r2
new file mode 100644
index 000000000000..261190a62c55
--- /dev/null
+++ b/net-firewall/gshield/files/digest-gshield-2.8-r2
@@ -0,0 +1 @@
+MD5 46521eb1ffef68d5a9c45727a99e2baa gShield-2.8.tgz 47346
diff --git a/net-firewall/gshield/files/gshield.init b/net-firewall/gshield/files/gshield.init
new file mode 100644
index 000000000000..55741f0b7e2b
--- /dev/null
+++ b/net-firewall/gshield/files/gshield.init
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/gshield/files/gshield.init,v 1.1 2003/03/31 17:09:14 mholzer Exp $
+
+depend() {
+ need logger net
+}
+
+start() {
+ ebegin "Loading gShield network firewall"
+ /usr/share/gshield/gShield.rc start > /dev/null
+ # check that it loaded
+ iptables -L DMZ > /dev/null 2>&1
+ eend $?
+}
+
+stop() {
+ ebegin "Unloading gShield network firewall"
+ /usr/share/gshield/gShield.rc stop > /dev/null
+ # check that it unloaded
+ if iptables -L DMZ > /dev/null 2>&1 ; then
+ eend 1
+ else
+ eend 0;
+ fi
+}
diff --git a/net-firewall/gshield/gshield-2.8-r1.ebuild b/net-firewall/gshield/gshield-2.8-r1.ebuild
new file mode 100644
index 000000000000..2bf050552385
--- /dev/null
+++ b/net-firewall/gshield/gshield-2.8-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/gshield/gshield-2.8-r1.ebuild,v 1.1 2003/03/31 17:08:46 mholzer Exp $
+
+# re-capitalize gShield
+P=gShield-${P#*-}
+DESCRIPTION="iptables firewall configuration system"
+HOMEPAGE="http://muse.linuxmafia.org/gshield.html"
+SRC_URI="ftp://muse.linuxmafia.org/pub/gShield/v2/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+RDEPEND="net-firewall/iptables
+ net-dns/bind-tools"
+
+src_install() {
+ # config files
+ dodir /etc/gshield
+ cp -a * ${D}/etc/gshield
+ ln -s gshield ${D}/etc/firewall
+
+ # get rid of docs from config
+ rm -rf ${D}/etc/gshield/{Changelog,INSTALL,LICENSE,docs}
+
+ # move non-config stuff out of config, but make symlinks
+ dodir /usr/share/gshield/routables
+ for q in gShield-version gShield.rc tools sourced routables/routable.rules
+ do
+ mv ${D}/etc/gshield/$q ${D}/usr/share/gshield/
+ ln -s /usr/share/gshield/$q ${D}/etc/gshield/$q
+ done
+ chmod -R u+rwX ${D}/etc/gshield
+
+ # install init script
+ dodir /etc/init.d
+ cp ${FILESDIR}/gshield.init ${D}/etc/init.d/gshield
+ chmod -R u+rwx ${D}/etc/init.d/gshield
+
+ # docs
+ dodoc Changelog INSTALL LICENSE docs/*
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Before running /etc/init.d/gshield or adding it to a runlevel with"
+ einfo "rc-update, be sure to edit the firewall config file so that it will"
+ einfo "work for your site:"
+ einfo " ${EDITOR} /etc/gshield/gShield.conf"
+ einfo
+}
diff --git a/net-firewall/gshield/gshield-2.8-r2.ebuild b/net-firewall/gshield/gshield-2.8-r2.ebuild
new file mode 100644
index 000000000000..ad1f74532e66
--- /dev/null
+++ b/net-firewall/gshield/gshield-2.8-r2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/gshield/gshield-2.8-r2.ebuild,v 1.1 2003/03/31 17:08:46 mholzer Exp $
+
+# re-capitalize gShield
+S=${WORKDIR}/gShield-${PV}
+
+DESCRIPTION="iptables firewall configuration system"
+HOMEPAGE="http://muse.linuxmafia.org/gshield.html"
+SRC_URI="ftp://muse.linuxmafia.org/pub/gShield/v2/gShield-${PV}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+RDEPEND="net-firewall/iptables
+ net-dns/bind-tools"
+
+src_install() {
+ # config files
+ dodir /etc/gshield
+ cp -a * ${D}/etc/gshield
+ ln -s gshield ${D}/etc/firewall
+
+ # get rid of docs from config
+ rm -rf ${D}/etc/gshield/{Changelog,INSTALL,LICENSE,docs}
+
+ # move non-config stuff out of config, but make symlinks
+ dodir /usr/share/gshield/routables
+ for q in gShield-version gShield.rc tools sourced routables/routable.rules
+ do
+ mv ${D}/etc/gshield/$q ${D}/usr/share/gshield/
+ ln -s /usr/share/gshield/$q ${D}/etc/gshield/$q
+ done
+ chmod -R u+rwX ${D}/etc/gshield
+
+ # install init script
+ dodir /etc/init.d
+ cp ${FILESDIR}/gshield.init ${D}/etc/init.d/gshield
+ chmod -R u+rwx ${D}/etc/init.d/gshield
+
+ # docs
+ dodoc Changelog INSTALL LICENSE docs/*
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Before running /etc/init.d/gshield or adding it to a runlevel with"
+ einfo "rc-update, be sure to edit the firewall config file so that it will"
+ einfo "work for your site:"
+ einfo " ${EDITOR} /etc/gshield/gShield.conf"
+ einfo
+}
diff --git a/net-firewall/gshield/gshield-2.8.ebuild b/net-firewall/gshield/gshield-2.8.ebuild
new file mode 100644
index 000000000000..77d7ab3a74d4
--- /dev/null
+++ b/net-firewall/gshield/gshield-2.8.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/gshield/gshield-2.8.ebuild,v 1.1 2003/03/31 17:08:46 mholzer Exp $
+
+# re-capitalize gShield
+P=gShield-${P#*-}
+DESCRIPTION="iptables firewall configuration system"
+HOMEPAGE="http://muse.linuxmafia.org/gshield.html"
+SRC_URI="ftp://muse.linuxmafia.org/pub/gShield/v2/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="net-firewall/iptables"
+
+src_install() {
+ # config files
+ dodir /etc/gshield
+ cp -a * ${D}/etc/gshield
+ ln -s gshield ${D}/etc/firewall
+
+ # get rid of docs from config
+ rm -rf ${D}/etc/gshield/{Changelog,INSTALL,LICENSE,docs}
+
+ # move non-config stuff out of config, but make symlinks
+ dodir /usr/share/gshield/routables
+ for q in gShield-version gShield.rc tools sourced routables/routable.rules
+ do
+ mv ${D}/etc/gshield/$q ${D}/usr/share/gshield/
+ ln -s /usr/share/gshield/$q ${D}/etc/gshield/$q
+ done
+ chmod -R u+rwX ${D}/etc/gshield
+
+ # install init script
+ dodir /etc/init.d
+ cp ${FILESDIR}/gshield.init ${D}/etc/init.d/gshield
+ chmod -R u+rwx ${D}/etc/init.d/gshield
+
+ # docs
+ dodoc Changelog INSTALL LICENSE docs/*
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Before running /etc/init.d/gshield or adding it to a runlevel with"
+ einfo "rc-update, be sure to edit the firewall config file so that it will"
+ einfo "work for your site:"
+ einfo " ${EDITOR} /etc/gshield/gShield.conf"
+ einfo
+}