summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-02 23:05:56 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-02 23:05:56 +0000
commitb365d92669888fdf286929b86e2b6fdd3d6152b6 (patch)
treea3a2f5be2351c741f4d118a5b721a124b135393f /net-firewall
parentnew revision with libusb* removed (diff)
downloadgentoo-2-b365d92669888fdf286929b86e2b6fdd3d6152b6.tar.gz
gentoo-2-b365d92669888fdf286929b86e2b6fdd3d6152b6.tar.bz2
gentoo-2-b365d92669888fdf286929b86e2b6fdd3d6152b6.zip
fix DESCRIPTION
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/giptables/giptables-1.1.ebuild35
1 files changed, 15 insertions, 20 deletions
diff --git a/net-firewall/giptables/giptables-1.1.ebuild b/net-firewall/giptables/giptables-1.1.ebuild
index cf6e3fd4244d..d6ec1794ec74 100644
--- a/net-firewall/giptables/giptables-1.1.ebuild
+++ b/net-firewall/giptables/giptables-1.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/giptables/giptables-1.1.ebuild,v 1.2 2003/07/25 13:34:33 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/giptables/giptables-1.1.ebuild,v 1.3 2003/09/02 23:05:56 vapier Exp $
-DESCRIPTION="GIPTables Firewall is a free set of shell scripts that helps you generate iptables rules for Linux 2.4.x and newer kernels."
+DESCRIPTION="set of shell scripts that help generate iptables rules"
HOMEPAGE="http://www.giptables.org/"
SRC_URI="http://www.giptables.org/downloads/${P}.tar.gz"
@@ -10,50 +10,46 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
-IUSE=""
-
DEPEND=""
RDEPEND="net-firewall/iptables"
-S=${WORKDIR}/${P}
-
-src_install() {
+src_install() {
dodir /etc/{conf.d,init.d}
-
+
# Creating GIPTables home, modules and conf directories
dodir /lib/giptables /lib/giptables/modules /lib/giptables/conf
- chmod -R 700 ${D}/lib/giptables
-
+ chmod -R 700 ${D}/lib/giptables
+
# Copying GIPTables main library file /lib/giptables/giptables-main
- cp -f ${S}/giptables-main ${D}/lib/giptables
-
+ cp -f ${S}/giptables-main ${D}/lib/giptables
+
# Copying GIPTables module files /lib/giptables/modules/*
cp -f ${S}/modules/* ${D}/lib/giptables/modules
- chmod 600 ${D}/lib/giptables/modules/*
-
+ chmod 600 ${D}/lib/giptables/modules/*
+
# Copying GIPTables example configuration files /lib/giptables/conf/*
cp -f ${S}/conf/* ${D}/lib/giptables/conf
chmod 600 ${D}/lib/giptables/conf/*
-
+
# Copying other GIPTables files
cp ${S}/if_ipaddr ${D}/lib/giptables
chmod 700 ${D}/lib/giptables/if_ipaddr
-
+
cp ${S}/rc.giptables.blocked ${D}/etc/conf.d/giptables.blocked
cp ${S}/rc.giptables.custom ${D}/etc/conf.d/giptables.custom
chmod 600 ${D}/etc/conf.d/giptables.blocked ${D}/etc/conf.d/giptables.custom
-
+
# Creating docs
dodoc AUTHORS COPYING ChangeLog* INSTALL README TODO
dodir /usr/share/doc/${PF}/html
mv ${S}/documentation/* ${D}/usr/share/doc/${PF}/html
-
+
# Creating init script
exeinto /etc/init.d
newexe ${FILESDIR}/giptables.init giptables
}
-pkg_preinst() {
+pkg_preinst() {
for conf_file in ${D}/lib/giptables/conf/*
do
sed -f ${FILESDIR}/replace.sed $conf_file > ${D}/lib/giptables/conf/sed.tmp
@@ -69,4 +65,3 @@ pkg_postinst() {
einfo "For sample config files, please, look at /lib/giptables/conf"
einfo
}
-