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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name nikto |
---|
7 | version 2.1.4 |
---|
8 | categories www |
---|
9 | platforms darwin |
---|
10 | license GPL |
---|
11 | maintainers strasweb.fr:rudloff \ |
---|
12 | openmaintainer |
---|
13 | homepage http://cirt.net/nikto2 |
---|
14 | description Web server scanner which performs comprehensive tests against web servers for multiple items |
---|
15 | long_description Nikto is an Open Source (GPL) web server scanner which performs comprehensive tests against web servers for multiple items, including over 6400 potentially dangerous files/CGIs, checks for outdated versions of over 1200 servers, and version specific problems on over 270 servers. It also checks for server configuration items such as the presence of multiple index files, HTTP server options, and will attempt to identify installed web servers and software. Scan items and plugins are frequently updated and can be automatically updated. |
---|
16 | master_sites https://cirt.net/nikto/ |
---|
17 | checksums sha1 414e2923131bbe2091cf8107998b3519c2120fff \ |
---|
18 | rmd160 d58b488f9a3c6fc37b5e745e29c1288a4db09e98 |
---|
19 | depends_lib port:perl5 |
---|
20 | use_configure no |
---|
21 | patchfiles patch-nikto.conf.diff |
---|
22 | build { |
---|
23 | reinplace "s|/etc/nikto.conf|${prefix}/etc/nikto/nikto.conf|g" ${worksrcpath}/nikto.pl |
---|
24 | reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/nikto.conf |
---|
25 | } |
---|
26 | destroot { |
---|
27 | xinstall -d ${destroot}${prefix}/etc/nikto/ |
---|
28 | xinstall -d ${destroot}${prefix}/share/nikto/ |
---|
29 | copy ${worksrcpath}/plugins ${destroot}${prefix}/share/${name}/plugins |
---|
30 | copy ${worksrcpath}/templates ${destroot}${prefix}/share/${name}/templates |
---|
31 | copy ${worksrcpath}/docs ${destroot}${prefix}/share/${name}/docs |
---|
32 | xinstall ${worksrcpath}/nikto.pl ${destroot}${prefix}/bin/nikto |
---|
33 | xinstall ${worksrcpath}/nikto.conf ${destroot}${prefix}/etc/nikto/nikto.conf |
---|
34 | } |
---|