- update to 2.1.0
- bumpo PORTEPOCH, sigh PR: 139841 Submitted by: Niels Heinen
This commit is contained in:
parent
99d2a59b0b
commit
a44f4c1112
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247722
@ -8,7 +8,8 @@
|
||||
#
|
||||
|
||||
PORTNAME= nikto
|
||||
PORTVERSION= 2.03
|
||||
PORTVERSION= 2.1.0
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= security www
|
||||
MASTER_SITES= http://www.cirt.net/${PORTNAME}/ \
|
||||
http://www.mirrors.wiretapped.net/security/vulnerability-assessment/${PORTNAME}/ \
|
||||
@ -17,12 +18,12 @@ MASTER_SITES= http://www.cirt.net/${PORTNAME}/ \
|
||||
MAINTAINER= itetcu@FreeBSD.org
|
||||
COMMENT= Web and CGI vulnerability scanner with SSL support
|
||||
|
||||
MAN1= nikto.1
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_PERL5_RUN= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
PORTDOCS= CHANGES.txt LICENSE.txt nikto_manual.html
|
||||
|
||||
OPTIONS+= SSLEAY "Use NET::SSLeay for ssl scanning" on
|
||||
@ -40,27 +41,28 @@ RUN_DEPENEDS+= nmap:${PORTSDIR}/security/nmap
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|/usr/local/bin/perl|${PERL}|" ${WRKSRC}/nikto.pl
|
||||
@${REINPLACE_CMD} -Ee "s,(config.txt),${PREFIX}/etc/nikto.conf," ${WRKSRC}/nikto.pl
|
||||
@${REINPLACE_CMD} -e "s|/etc/nikto.conf|${PREFIX}/etc/nikto.conf|" ${WRKSRC}/nikto.pl
|
||||
@${REINPLACE_CMD} -Ee "s|/usr/bin/nmap|${LOCALBASE}/bin/nmap|g" \
|
||||
-e "s|# (EXECDIR=)/usr/local/nikto|\1${DATADIR}|g" \
|
||||
${WRKSRC}/config.txt
|
||||
@${REINPLACE_CMD} "s/config.txt/nikto.conf/g" ${WRKSRC}/plugins/* ${WRKSRC}/docs/*
|
||||
@${REINPLACE_CMD} -e 's:\$NIKTO{plugindir}/../docs/CHANGES.txt:\$NIKTO{plugindir}/../../doc/nikto/CHANGES.txt:' \
|
||||
-e 's:\$NIKTO{plugindir}/../CHANGES.txt:\$NIKTO{plugindir}/../../doc/nikto/CHANGES.txt:' \
|
||||
${WRKSRC}/nikto.conf
|
||||
@${REINPLACE_CMD} -e 's:\$NIKTO{plugindir}/../docs/CHANGES.txt:\$NIKTO{plugindir}/../../docs/nikto/CHANGES.txt:' \
|
||||
-e 's:\$NIKTO{plugindir}/../CHANGES.txt:\$NIKTO{plugindir}/../../docs/nikto/CHANGES.txt:' \
|
||||
${WRKSRC}/plugins/nikto_core.plugin
|
||||
@${RM} ${WRKSRC}/plugins/*.bak
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/nikto.pl ${PREFIX}/bin/nikto
|
||||
${INSTALL_DATA} ${WRKSRC}/config.txt ${PREFIX}/etc/nikto.conf.sample
|
||||
${INSTALL_DATA} ${WRKSRC}/nikto.conf ${PREFIX}/etc/nikto.conf.sample
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/nikto.1 ${PREFIX}/man/man1/
|
||||
[ -f ${PREFIX}/etc/nikto.conf ] || \
|
||||
${INSTALL_DATA} ${WRKSRC}/config.txt ${PREFIX}/etc/nikto.conf
|
||||
${INSTALL_DATA} ${WRKSRC}/nikto.conf ${PREFIX}/etc/nikto.conf
|
||||
@${MKDIR} ${DATADIR}
|
||||
@${MKDIR} ${DATADIR}/plugins
|
||||
@${MKDIR} ${DATADIR}/templates
|
||||
${INSTALL_DATA} ${WRKSRC}/plugins/LW2.pm ${DATADIR}/plugins
|
||||
@${RM} ${WRKSRC}/plugins/db_*.bak
|
||||
${INSTALL_DATA} ${WRKSRC}/plugins/db_* ${DATADIR}/plugins
|
||||
${INSTALL_DATA} ${WRKSRC}/plugins/nikto_plugin_order.txt ${DATADIR}/plugins
|
||||
${INSTALL_DATA} ${WRKSRC}/plugins/*.plugin ${DATADIR}/plugins
|
||||
${INSTALL_DATA} ${WRKSRC}/templates/*.tmpl ${DATADIR}/templates
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
. for i in ${PORTDOCS}
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (nikto-2.03.tar.bz2) = 8f286a7943b12a341088f005f832d087
|
||||
SHA256 (nikto-2.03.tar.bz2) = 61b78434560c5c311f38c47e7e6816012c9c83a3cfdf4a978ceaaf34718a3b73
|
||||
SIZE (nikto-2.03.tar.bz2) = 399643
|
||||
MD5 (nikto-2.1.0.tar.bz2) = ce971262e14f5ac1ff634b86366bdaa8
|
||||
SHA256 (nikto-2.1.0.tar.bz2) = 8883cc91ed5831c05ac18929a7a93907229ab9836313c2bf9e47e33f3a4e45b5
|
||||
SIZE (nikto-2.1.0.tar.bz2) = 230536
|
||||
|
@ -4,29 +4,56 @@ etc/nikto.conf.sample
|
||||
@exec [ -f %B/nikto.conf ] || cp %B/%f %B/nikto.conf
|
||||
%%DATADIR%%/plugins/LW2.pm
|
||||
%%DATADIR%%/plugins/db_404_strings
|
||||
%%DATADIR%%/plugins/db_embedded
|
||||
%%DATADIR%%/plugins/db_favicon
|
||||
%%DATADIR%%/plugins/db_headers
|
||||
%%DATADIR%%/plugins/db_httpoptions
|
||||
%%DATADIR%%/plugins/db_multiple_index
|
||||
%%DATADIR%%/plugins/db_outdated
|
||||
%%DATADIR%%/plugins/db_realms
|
||||
%%DATADIR%%/plugins/db_server_msgs
|
||||
%%DATADIR%%/plugins/db_subdomains
|
||||
%%DATADIR%%/plugins/db_tests
|
||||
%%DATADIR%%/plugins/db_variables
|
||||
%%DATADIR%%/plugins/nikto_apache_expect_xss.plugin
|
||||
%%DATADIR%%/plugins/nikto_apacheusers.plugin
|
||||
%%DATADIR%%/plugins/nikto_cgi.plugin
|
||||
%%DATADIR%%/plugins/nikto_core.plugin
|
||||
%%DATADIR%%/plugins/nikto_dictionary_attack.plugin
|
||||
%%DATADIR%%/plugins/nikto_embedded.plugin
|
||||
%%DATADIR%%/plugins/nikto_favicon.plugin
|
||||
%%DATADIR%%/plugins/nikto_headers.plugin
|
||||
%%DATADIR%%/plugins/nikto_httpoptions.plugin
|
||||
%%DATADIR%%/plugins/nikto_msgs.plugin
|
||||
%%DATADIR%%/plugins/nikto_multiple_index.plugin
|
||||
%%DATADIR%%/plugins/nikto_mutate.plugin
|
||||
%%DATADIR%%/plugins/nikto_outdated.plugin
|
||||
%%DATADIR%%/plugins/nikto_passfiles.plugin
|
||||
%%DATADIR%%/plugins/nikto_plugin_order.txt
|
||||
%%DATADIR%%/plugins/nikto_put_del_test.plugin
|
||||
%%DATADIR%%/plugins/nikto_reports.plugin
|
||||
%%DATADIR%%/plugins/nikto_report_csv.plugin
|
||||
%%DATADIR%%/plugins/nikto_report_html.plugin
|
||||
%%DATADIR%%/plugins/nikto_report_text.plugin
|
||||
%%DATADIR%%/plugins/nikto_report_xml.plugin
|
||||
%%DATADIR%%/plugins/nikto_robots.plugin
|
||||
%%DATADIR%%/plugins/nikto_single.plugin
|
||||
%%DATADIR%%/plugins/nikto_subdomain.plugin
|
||||
%%DATADIR%%/plugins/nikto_tests.plugin
|
||||
%%DATADIR%%/plugins/nikto_user_enum_apache.plugin
|
||||
%%DATADIR%%/plugins/nikto_user_enum_cgiwrap.plugin
|
||||
%%DATADIR%%/templates/htm_close.tmpl
|
||||
%%DATADIR%%/templates/htm_end.tmpl
|
||||
%%DATADIR%%/templates/htm_host_head.tmpl
|
||||
%%DATADIR%%/templates/htm_host_im.tmpl
|
||||
%%DATADIR%%/templates/htm_host_item.tmpl
|
||||
%%DATADIR%%/templates/htm_start.tmpl
|
||||
%%DATADIR%%/templates/htm_stop.tmpl
|
||||
%%DATADIR%%/templates/htm_summary.tmpl
|
||||
%%DATADIR%%/templates/xml_close.tmpl
|
||||
%%DATADIR%%/templates/xml_end.tmpl
|
||||
%%DATADIR%%/templates/xml_host_head.tmpl
|
||||
%%DATADIR%%/templates/xml_host_im.tmpl
|
||||
%%DATADIR%%/templates/xml_host_item.tmpl
|
||||
%%DATADIR%%/templates/xml_start.tmpl
|
||||
%%DATADIR%%/templates/xml_summary.tmpl
|
||||
@dirrm %%DATADIR%%/templates
|
||||
@dirrm %%DATADIR%%/plugins
|
||||
@dirrm %%DATADIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user