- make nikto -update work (problem reported by sebastian.rother@jpberlin.de)
- no checksum on files that may be modified by -update - some cleanup and reordering - bump PKGNAME ok aanriot@
This commit is contained in:
parent
6d26a0683a
commit
c7e0ce2f43
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2005/10/02 15:41:19 aanriot Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2006/09/23 16:51:03 steven Exp $
|
||||
|
||||
COMMENT= "Web and CGI vulnerability scanner with SSL support"
|
||||
|
||||
DISTNAME= nikto-1.35
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
CATEGORIES= security www
|
||||
|
||||
HOMEPAGE= http://www.cirt.net/code/nikto.shtml
|
||||
@ -22,25 +23,27 @@ NO_BUILD= Yes
|
||||
NO_REGRESS= Yes
|
||||
PKG_ARCH= *
|
||||
|
||||
pre-configure:
|
||||
perl -pi -e 's,# PLUGINDIR=.+,PLUGINDIR=${PREFIX}/share/nikto,' \
|
||||
${WRKSRC}/config.txt
|
||||
perl -pi -e 's,config.txt,${SYSCONFDIR}/nikto.conf,' ${WRKSRC}/nikto.pl
|
||||
perl -pi -e 's,docs/CHANGES\.txt,doc/nikto/CHANGES.txt,g' \
|
||||
${WRKSRC}/plugins/nikto_core.plugin
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/nikto
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nikto
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nikto
|
||||
|
||||
@perl -pi -e 's,# PLUGINDIR=.+,PLUGINDIR=${LOCALBASE}/share/nikto,' \
|
||||
${WRKSRC}/config.txt
|
||||
@perl -pi -e 's,config.txt,${SYSCONFDIR}/nikto.conf,' ${WRKSRC}/nikto.pl
|
||||
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/nikto.pl ${PREFIX}/bin/nikto
|
||||
${INSTALL_DATA} ${WRKSRC}/config.txt \
|
||||
${PREFIX}/share/examples/nikto/nikto.conf
|
||||
|
||||
@for i in `ls ${WRKSRC}/plugins/` ; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/plugins/$$i ${PREFIX}/share/nikto; \
|
||||
done
|
||||
${INSTALL_DATA} ${WRKSRC}/plugins/* ${PREFIX}/share/nikto
|
||||
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/nikto_usage.txt ${PREFIX}/share/doc/nikto
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/README_plugins.txt ${PREFIX}/share/doc/nikto
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/CHANGES.txt ${PREFIX}/share/doc/nikto
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/nikto-1.34.man ${PREFIX}/man/man1/nikto.1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,7 +1,9 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2005/10/02 15:41:19 aanriot Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.5 2006/09/23 16:51:04 steven Exp $
|
||||
bin/nikto
|
||||
@man man/man1/nikto.1
|
||||
share/doc/nikto/
|
||||
@comment no checksum
|
||||
share/doc/nikto/CHANGES.txt
|
||||
share/doc/nikto/README_plugins.txt
|
||||
share/doc/nikto/nikto_usage.txt
|
||||
share/examples/nikto/
|
||||
@ -9,21 +11,39 @@ share/examples/nikto/nikto.conf
|
||||
@sample ${SYSCONFDIR}/nikto.conf
|
||||
share/nikto/
|
||||
share/nikto/LW.pm
|
||||
@comment no checksum
|
||||
share/nikto/nikto_apacheusers.plugin
|
||||
@comment no checksum
|
||||
share/nikto/nikto_core.plugin
|
||||
@comment no checksum
|
||||
share/nikto/nikto_headers.plugin
|
||||
@comment no checksum
|
||||
share/nikto/nikto_httpoptions.plugin
|
||||
@comment no checksum
|
||||
share/nikto/nikto_msgs.plugin
|
||||
@comment no checksum
|
||||
share/nikto/nikto_mutate.plugin
|
||||
@comment no checksum
|
||||
share/nikto/nikto_outdated.plugin
|
||||
@comment no checksum
|
||||
share/nikto/nikto_passfiles.plugin
|
||||
@comment no checksum
|
||||
share/nikto/nikto_plugin_order.txt
|
||||
@comment no checksum
|
||||
share/nikto/nikto_realms.plugin
|
||||
@comment no checksum
|
||||
share/nikto/nikto_robots.plugin
|
||||
@comment no checksum
|
||||
share/nikto/nikto_user_enum_apache.plugin
|
||||
@comment no checksum
|
||||
share/nikto/nikto_user_enum_cgiwrap.plugin
|
||||
@comment no checksum
|
||||
share/nikto/outdated.db
|
||||
@comment no checksum
|
||||
share/nikto/realms.db
|
||||
@comment no checksum
|
||||
share/nikto/scan_database.db
|
||||
@comment no checksum
|
||||
share/nikto/server_msgs.db
|
||||
@comment no checksum
|
||||
share/nikto/servers.db
|
||||
|
Loading…
Reference in New Issue
Block a user