summaryrefslogtreecommitdiff
path: root/skipfish/Pkgfile
blob: 87d32960e4608b0661a8889ad31f09cb79ed1a70 (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:  libpcre openssl zlib libidn
    5 
    6 name=skipfish
    7 version=2.10b
    8 release=1
    9 source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$name/$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 }

Generated by cgit