From d92285ed94238beea4bef8df9d1679af0edd24c3 Mon Sep 17 00:00:00 2001 From: kirill Date: Mon, 25 Nov 2024 16:21:36 +0000 Subject: [PATCH] security/nikto: update to 2.5.0 maintainer timeout nigel@ OK: sthen@ --- security/nikto/Makefile | 11 ++++------- security/nikto/distinfo | 4 ++-- security/nikto/patches/patch-program_nikto_pl | 7 ++++--- .../patch-program_plugins_nikto_core_plugin | 12 ------------ security/nikto/pkg/PLIST | 14 +++++++++----- 5 files changed, 19 insertions(+), 29 deletions(-) delete mode 100644 security/nikto/patches/patch-program_plugins_nikto_core_plugin diff --git a/security/nikto/Makefile b/security/nikto/Makefile index 4c181f09d1a..ab2100dd29b 100644 --- a/security/nikto/Makefile +++ b/security/nikto/Makefile @@ -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 diff --git a/security/nikto/distinfo b/security/nikto/distinfo index 56efd2fdc4e..83490f8ddcb 100644 --- a/security/nikto/distinfo +++ b/security/nikto/distinfo @@ -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 diff --git a/security/nikto/patches/patch-program_nikto_pl b/security/nikto/patches/patch-program_nikto_pl index 9ca96280398..a967b14852f 100644 --- a/security/nikto/patches/patch-program_nikto_pl +++ b/security/nikto/patches/patch-program_nikto_pl @@ -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'}) { diff --git a/security/nikto/patches/patch-program_plugins_nikto_core_plugin b/security/nikto/patches/patch-program_plugins_nikto_core_plugin deleted file mode 100644 index adad59c042d..00000000000 --- a/security/nikto/patches/patch-program_plugins_nikto_core_plugin +++ /dev/null @@ -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); } - } - } - diff --git a/security/nikto/pkg/PLIST b/security/nikto/pkg/PLIST index 411ca2e2d4a..83eb31e4cbd 100644 --- a/security/nikto/pkg/PLIST +++ b/security/nikto/pkg/PLIST @@ -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