blob: 7d96a7736f7d6b9028f0479b51b3b225bf2a53a5 (
plain)
1 # Description: web application security scanner
2 # URL: http://code.google.com/p/skipfish/
3 # Maintainer: Thomas Penteker, tek at serverop dot de
4 # Depends on:
5
6 name=skipfish
7 version=2.10b
8 release=1
9 source=(http://skipfish.googlecode.com/files/$name-$version.tgz)
10
11 build() {
12 cd $name-$version
13
14 sed -i -e 's|"assets"|"/usr/share/skipfish/assets"|g' src/config.h
15 sed -i -e 's|"signatures/|"/usr/share/skipfish/signatures/|g' src/config.h
16 sed -i -e 's|include signatures/|include /usr/share/skipfish/signatures/|g' signatures/signatures.conf
17
18 make
19 rm assets/COPYING
20
21 for i in assets dictionaries signatures; do
22 install -m 755 -d $PKG/usr/share/skipfish/"$i"
23 install -m 644 "$i"/* $PKG/usr/share/skipfish/"$i"
24 done
25
26 install -m 755 -D skipfish $PKG/usr/bin/skipfish
27 }
|