mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
security/nikto: update to 2.5.0
maintainer timeout nigel@ OK: sthen@
This commit is contained in:
@@ -2,8 +2,7 @@ COMMENT = web and CGI vulnerability scanner with SSL support
|
||||
|
||||
GH_ACCOUNT = sullo
|
||||
GH_PROJECT = nikto
|
||||
GH_TAGNAME = 2.1.6
|
||||
REVISION = 2
|
||||
GH_TAGNAME = 2.5.0
|
||||
|
||||
EPOCH = 0
|
||||
CATEGORIES = security www
|
||||
@@ -26,7 +25,7 @@ pre-configure:
|
||||
s%# DOCDIR=.*%DOCDIR=${PREFIX}/share/doc/nikto%; \
|
||||
s%# DBDIR=.*%DBDIR=/var/db/nikto/databases%; \
|
||||
s%NIKTODTD=.*%NIKTODTD=${PREFIX}/share/doc/nikto/nikto.dtd%' \
|
||||
${WRKSRC}/program/nikto.conf
|
||||
${WRKSRC}/program/nikto.conf.default
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/nikto/databases
|
||||
@@ -37,7 +36,7 @@ do-install:
|
||||
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/program/nikto.pl ${PREFIX}/bin/nikto
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/program/replay.pl ${PREFIX}/bin/replay
|
||||
${INSTALL_DATA} ${WRKSRC}/program/nikto.conf \
|
||||
${INSTALL_DATA} ${WRKSRC}/program/nikto.conf.default \
|
||||
${PREFIX}/share/examples/nikto/nikto.conf
|
||||
|
||||
${INSTALL_DATA} ${WRKSRC}/program/databases/!(*.orig) \
|
||||
@@ -47,9 +46,7 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/program/templates/!(*.orig) \
|
||||
${PREFIX}/share/nikto/templates
|
||||
|
||||
${INSTALL_DATA} ${WRKSRC}/program/docs/nikto_manual.html \
|
||||
${PREFIX}/share/doc/nikto
|
||||
${INSTALL_DATA} ${WRKSRC}/program/docs/CHANGES.txt \
|
||||
${INSTALL_DATA} ${WRKSRC}/program/docs/nikto_schema.sql \
|
||||
${PREFIX}/share/doc/nikto
|
||||
${INSTALL_DATA} ${WRKSRC}/program/docs/nikto.dtd \
|
||||
${PREFIX}/share/doc/nikto
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
SHA256 (nikto-2.1.6.tar.gz) = wXMa5BM9OHlxi7dgWo05WyA2ZoUF7/vLvKpNrk6fJ/I=
|
||||
SIZE (nikto-2.1.6.tar.gz) = 490743
|
||||
SHA256 (nikto-2.5.0.tar.gz) = +w3EsrySyzH4Bp9k6k1HKVvNEQZ6cYTalVdD3n2XcJ0=
|
||||
SIZE (nikto-2.5.0.tar.gz) = 435886
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
--- program/nikto.pl.orig Thu Jul 9 15:06:04 2015
|
||||
+++ program/nikto.pl Mon Feb 1 19:37:41 2016
|
||||
@@ -358,7 +358,7 @@ sub setup_dirs {
|
||||
Index: program/nikto.pl
|
||||
--- program/nikto.pl.orig
|
||||
+++ program/nikto.pl
|
||||
@@ -364,7 +364,7 @@ sub setup_dirs {
|
||||
$CONFIGFILE{'TEMPLATEDIR'} = "$CONFIGFILE{'EXECDIR'}/templates";
|
||||
}
|
||||
unless (defined $CONFIGFILE{'DOCDIR'}) {
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
--- program/plugins/nikto_core.plugin.orig Thu Jul 9 15:06:04 2015
|
||||
+++ program/plugins/nikto_core.plugin Mon Feb 1 19:27:53 2016
|
||||
@@ -1967,8 +1967,7 @@ sub check_updates {
|
||||
if ($remotemsg ne "") { nprint("+ $server message: $remotemsg"); }
|
||||
exit;
|
||||
}
|
||||
- push(@DBTOGET, $remotefile);
|
||||
- if ($remotefile !~ /^db_/) { $code_updates = 1; }
|
||||
+ if ($remotefile =~ /^db_/) { push(@DBTOGET, $remotefile); }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,9 +4,8 @@ bin/nikto
|
||||
bin/replay
|
||||
@man man/man1/nikto.1
|
||||
share/doc/nikto/
|
||||
share/doc/nikto/CHANGES.txt
|
||||
share/doc/nikto/nikto.dtd
|
||||
share/doc/nikto/nikto_manual.html
|
||||
share/doc/nikto/nikto_schema.sql
|
||||
share/examples/nikto/
|
||||
share/examples/nikto/nikto.conf
|
||||
@sample ${SYSCONFDIR}/nikto.conf
|
||||
@@ -20,6 +19,8 @@ share/nikto/databases/db_content_search
|
||||
@sample /var/db/nikto/databases/db_content_search
|
||||
share/nikto/databases/db_dictionary
|
||||
@sample /var/db/nikto/databases/db_dictionary
|
||||
share/nikto/databases/db_domino
|
||||
@sample /var/db/nikto/databases/db_domino
|
||||
share/nikto/databases/db_drupal
|
||||
@sample /var/db/nikto/databases/db_drupal
|
||||
share/nikto/databases/db_embedded
|
||||
@@ -40,8 +41,6 @@ share/nikto/databases/db_realms
|
||||
@sample /var/db/nikto/databases/db_realms
|
||||
share/nikto/databases/db_server_msgs
|
||||
@sample /var/db/nikto/databases/db_server_msgs
|
||||
share/nikto/databases/db_subdomains
|
||||
@sample /var/db/nikto/databases/db_subdomains
|
||||
share/nikto/databases/db_tests
|
||||
@sample /var/db/nikto/databases/db_tests
|
||||
share/nikto/databases/db_variables
|
||||
@@ -59,6 +58,9 @@ share/nikto/plugins/nikto_content_search.plugin
|
||||
share/nikto/plugins/nikto_cookies.plugin
|
||||
share/nikto/plugins/nikto_core.plugin
|
||||
share/nikto/plugins/nikto_dictionary_attack.plugin
|
||||
share/nikto/plugins/nikto_dishwasher.plugin
|
||||
share/nikto/plugins/nikto_docker_registry.plugin
|
||||
share/nikto/plugins/nikto_domino.plugin
|
||||
share/nikto/plugins/nikto_drupal.plugin
|
||||
share/nikto/plugins/nikto_embedded.plugin
|
||||
share/nikto/plugins/nikto_favicon.plugin
|
||||
@@ -69,12 +71,14 @@ share/nikto/plugins/nikto_ms10_070.plugin
|
||||
share/nikto/plugins/nikto_msgs.plugin
|
||||
share/nikto/plugins/nikto_multiple_index.plugin
|
||||
share/nikto/plugins/nikto_negotiate.plugin
|
||||
share/nikto/plugins/nikto_origin_reflection.plugin
|
||||
share/nikto/plugins/nikto_outdated.plugin
|
||||
share/nikto/plugins/nikto_parked.plugin
|
||||
share/nikto/plugins/nikto_paths.plugin
|
||||
share/nikto/plugins/nikto_put_del_test.plugin
|
||||
share/nikto/plugins/nikto_report_csv.plugin
|
||||
share/nikto/plugins/nikto_report_html.plugin
|
||||
share/nikto/plugins/nikto_report_json.plugin
|
||||
share/nikto/plugins/nikto_report_nbe.plugin
|
||||
share/nikto/plugins/nikto_report_sqlg.plugin
|
||||
share/nikto/plugins/nikto_report_text.plugin
|
||||
@@ -84,7 +88,7 @@ share/nikto/plugins/nikto_shellshock.plugin
|
||||
share/nikto/plugins/nikto_siebel.plugin
|
||||
share/nikto/plugins/nikto_sitefiles.plugin
|
||||
share/nikto/plugins/nikto_ssl.plugin
|
||||
share/nikto/plugins/nikto_subdomain.plugin
|
||||
share/nikto/plugins/nikto_strutshock.plugin
|
||||
share/nikto/plugins/nikto_tests.plugin
|
||||
share/nikto/templates/
|
||||
share/nikto/templates/htm_close.tmpl
|
||||
|
||||
Reference in New Issue
Block a user