# -*- 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 # $Id: Portfile 146517 2016-03-10 17:49:28Z raimue@macports.org $ PortSystem 1.0 name skipfish version 2.10b revision 3 license Apache-2 categories security maintainers snc openmaintainer description web application security scanner long_description A fully automated, active web application security \ reconnaissance tool. homepage http://code.google.com/p/skipfish/ platforms darwin depends_lib path:lib/libssl.dylib:openssl port:libidn port:zlib port:pcre master_sites googlecode extract.suffix .tgz checksums rmd160 00667071308b41977710842994ba4c34ce26cff5 \ sha256 1a4fbc9d013f1f9b970946ea7228d943266127b7f4100c994ad26c82c5352a9e patchfiles patch-src-config.h.diff post-patch { 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 } use_configure no build.args-append CC=${configure.cc} destroot { 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 } else { file attributes ${dir} -permissions 0644 } } } notes \ "See ${prefix}/share/${name}/doc/dictionaries.txt to pick a dictionary for the tool. Having problems with your scans? Be sure to visit:\ http://code.google.com/p/skipfish/wiki/KnownIssues"