summaryrefslogtreecommitdiffstats
path: root/test/firestarter/Pkgfile
blob: d243c17a339410c003273cdced85e02a02faab36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Parefeu graphique
# URL: http://www.fs-security.com/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: iptables, libgnomeui 

name=firestarter
version=1.0.3
release=1

source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)

build() {
        cd $name-$version
         sed -i 's|/sbin/iptables|/usr/sbin/iptables|' src/firestarter.c
         sed -i 's|/sbin/iptables|/usr/sbin/iptables|' src/netfilter-script.c

         ./configure --prefix=/usr \
                     --sysconfdir=/etc \
                     --localstatedir=/var
        make
        make DESTDIR=$PKG install
}