diff options
-rw-r--r-- | net-firewall/gshield/Manifest | 1 | ||||
-rw-r--r-- | net-firewall/gshield/files/gshield.init | 26 | ||||
-rw-r--r-- | net-firewall/gshield/gshield-2.8-r4.ebuild | 46 | ||||
-rw-r--r-- | net-firewall/gshield/metadata.xml | 4 |
4 files changed, 0 insertions, 77 deletions
diff --git a/net-firewall/gshield/Manifest b/net-firewall/gshield/Manifest deleted file mode 100644 index 0451ce0fde5e..000000000000 --- a/net-firewall/gshield/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST gShield-2.8.tgz 47346 BLAKE2B f40a9a22bf7c989a2eb4dc693a16c90dcf025407b7549b1d089377340728fd15a2cd0cc88b32867a42846eed0bdfd46b6f4f261670e59dfa0993e02ec089b242 SHA512 f91ef18267817e3296c795b3f1629dad9ade269e12aba7f95d39b7ae39aaf76dc15e0046747281dc44859241a18b2ce7ac03e276984aee11af15e28cf80f736c diff --git a/net-firewall/gshield/files/gshield.init b/net-firewall/gshield/files/gshield.init deleted file mode 100644 index 243c0ccc8946..000000000000 --- a/net-firewall/gshield/files/gshield.init +++ /dev/null @@ -1,26 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -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-r4.ebuild b/net-firewall/gshield/gshield-2.8-r4.ebuild deleted file mode 100644 index f136566e21fa..000000000000 --- a/net-firewall/gshield/gshield-2.8-r4.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -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="~amd64 ~ppc x86" - -RDEPEND=" - net-dns/bind-tools - net-firewall/iptables - virtual/logger -" - -S=${WORKDIR}/gShield-${PV} - -src_install() { - # install config files - dodir /etc/gshield - cp -pPR * "${D}"/etc/gshield || die - dosym gshield /etc/firewall - - # get rid of docs from config - rm -r "${D}"/etc/gshield/{Changelog,INSTALL,LICENSE,docs} || die - - # 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/$q || die - dosym /usr/share/gshield/$q /etc/gshield/$q - done - chmod -R u+rwX "${D}"/etc/gshield || die - - # install init script - newinitd "${FILESDIR}"/gshield.init gshield - chmod -R u+rwx "${D}"/etc/init.d/gshield || die - - # install docs - dodoc Changelog docs/* -} diff --git a/net-firewall/gshield/metadata.xml b/net-firewall/gshield/metadata.xml deleted file mode 100644 index 097975e3adc2..000000000000 --- a/net-firewall/gshield/metadata.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -</pkgmetadata> |