/[gentoo-x86]/net-misc/dynfw/dynfw-1.0.1.ebuild
Gentoo

Contents of /net-misc/dynfw/dynfw-1.0.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Mon Feb 24 20:31:57 2003 UTC (16 years, 9 months ago) by mholzer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
moved net-misc/dynfw to net-firewall/dynfw

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/net-misc/dynfw/dynfw-1.0.1.ebuild,v 1.8 2003/02/13 14:49:17 vapier Exp $
4
5 S=${WORKDIR}/${P}
6
7 DESCRIPTION="Dynamic Firewall Tools for netfilter-based firewalls"
8 SRC_URI="http://gentoo.org/projects/${P}.tar.gz"
9 HOMEPAGE="http://gentoo.org/projects/dynfw"
10 DEPEND="sys-apps/bash"
11 KEYWORDS="x86 sparc "
12 SLOT="0"
13 LICENSE="GPL"
14
15 src_install () {
16 dodir /usr/sbin
17 dodir /usr/share
18
19 local PREFIX
20 PREFIX="/usr"
21
22 for x in ipblock ipdrop tcplimit host-tcplimit user-outblock
23 do
24 einfo Setting PREFIX in: ${x}
25 sed -e "s:##PREFIX##:${PREFIX}:g" < ${x} > ${D}/usr/sbin/${x}
26 chown 0.0 ${D}/usr/sbin/${x}
27 chmod 0755 ${D}/usr/sbin/${x}
28 done
29 install -m0755 dynfw.sh ${D}/usr/share
30 }

  ViewVC Help
Powered by ViewVC 1.1.20