source: trunk/dports/security/skipfish/Portfile

Last change on this file was 148460, checked in by snc@…, 19 months ago

skipfish: drop maintainer

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# -*- 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
2# $Id: Portfile 148460 2016-05-10 01:51:52Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                skipfish
7version             2.10b
8revision            3
9license             Apache-2
10categories          security
11maintainers         nomaintainer
12description         web application security scanner
13long_description    A fully automated, active web application security \
14                    reconnaissance tool.
15
16homepage            http://code.google.com/p/skipfish/
17platforms           darwin
18depends_lib         path:lib/libssl.dylib:openssl port:libidn port:zlib port:pcre
19
20master_sites        googlecode
21extract.suffix      .tgz
22
23checksums           rmd160  00667071308b41977710842994ba4c34ce26cff5 \
24                    sha256  1a4fbc9d013f1f9b970946ea7228d943266127b7f4100c994ad26c82c5352a9e
25
26patchfiles          patch-src-config.h.diff
27post-patch {
28    reinplace s|@@SHARE@@|${prefix}/share/${name}/|g ${worksrcpath}/src/config.h
29    reinplace s|-L/usr/local/lib/\ ||g ${worksrcpath}/Makefile
30    reinplace s|-I/usr/local|-I${prefix}|g ${worksrcpath}/Makefile
31    reinplace s|signatures/signatures.conf|${prefix}/share/${name}/signatures/signatures.conf|g ${worksrcpath}/src/config.h
32    reinplace s|include\ signatures|include\ ${prefix}/share/${name}/signatures|g ${worksrcpath}/signatures/signatures.conf
33}
34
35use_configure       no
36
37build.args-append   CC=${configure.cc}
38destroot {
39    file mkdir ${destroot}${prefix}/share/${name}
40    file copy ${worksrcpath}/skipfish ${destroot}${prefix}/bin/skipfish
41    file copy ${worksrcpath}/assets/ ${destroot}${prefix}/share/${name}
42    file copy ${worksrcpath}/README ${destroot}${prefix}/share/${name}
43    file copy ${worksrcpath}/doc/ ${destroot}${prefix}/share/${name}
44    file copy ${worksrcpath}/signatures/ ${destroot}${prefix}/share/${name}
45    fs-traverse dir ${destroot}${prefix}/share/${name} {
46        if { [ file isdirectory ${dir} ] } {
47            file attributes ${dir} -permissions 0755
48        } else {
49            file attributes ${dir} -permissions 0644
50        }
51    }
52}
53
54notes \
55"See ${prefix}/share/${name}/doc/dictionaries.txt to pick a dictionary for the tool.
56
57Having problems with your scans? Be sure to visit:\
58http://code.google.com/p/skipfish/wiki/KnownIssues"
Note: See TracBrowser for help on using the repository browser.