# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
description web application security scanner
long_description A fully automated, active web application security \
homepage https://code.google.com/p/skipfish/
depends_lib path:lib/libssl.dylib:openssl port:libidn port:zlib port:pcre
checksums rmd160 00667071308b41977710842994ba4c34ce26cff5 \
sha256 1a4fbc9d013f1f9b970946ea7228d943266127b7f4100c994ad26c82c5352a9e
patchfiles patch-src-config.h.diff
reinplace s|@@SHARE@@|${prefix}/share/${name}/|g ${worksrcpath}/src/config.h
reinplace s|-L/usr/local/lib/\ ||g ${worksrcpath}/Makefile
reinplace s|-I/usr/local|-I${prefix}|g ${worksrcpath}/Makefile
reinplace s|signatures/signatures.conf|${prefix}/share/${name}/signatures/signatures.conf|g ${worksrcpath}/src/config.h
reinplace s|include\ signatures|include\ ${prefix}/share/${name}/signatures|g ${worksrcpath}/signatures/signatures.conf
build.args-append CC=${configure.cc}
file mkdir ${destroot}${prefix}/share/${name}
file copy ${worksrcpath}/skipfish ${destroot}${prefix}/bin/skipfish
file copy ${worksrcpath}/assets/ ${destroot}${prefix}/share/${name}
file copy ${worksrcpath}/README ${destroot}${prefix}/share/${name}
file copy ${worksrcpath}/doc/ ${destroot}${prefix}/share/${name}
file copy ${worksrcpath}/signatures/ ${destroot}${prefix}/share/${name}
fs-traverse dir ${destroot}${prefix}/share/${name} {
if { [ file isdirectory ${dir} ] } {
file attributes ${dir} -permissions 0755
file attributes ${dir} -permissions 0644
"See ${prefix}/share/${name}/doc/dictionaries.txt to pick a dictionary for the tool.
Having problems with your scans? Be sure to visit:\
https://code.google.com/p/skipfish/wiki/KnownIssues"