a72642fe94
Nikto is an Open Source (GPL) web server scanner which performs comprehensive tests against web servers for multiple items, including over 2600 potentially dangerous files/CGIs, versions on over 625 servers, and version specific problems on over 230 servers. Scan items and plugins are frequently updated and can be automatically updated (if desired). from Srebrenko Sehic <haver at insecure.dk>
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# $OpenBSD $
|
|
|
|
COMMENT= "Web and CGI vulnerability scanner with SSL support"
|
|
|
|
DISTNAME= nikto-1.32
|
|
CATEGORIES= security www
|
|
|
|
HOMEPAGE= http://www.cirt.net/code/nikto.shtml
|
|
|
|
MASTER_SITES= http://www.cirt.net/nikto/ \
|
|
http://packetstormsecurity.org/UNIX/cgi-scanners/
|
|
|
|
MAINTAINER= Srebrenko Sehic <haver@insecure.dk>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
RUN_DEPENDS= :p5-Net-SSLeay-*:security/p5-Net_SSLeay
|
|
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
PKG_ARCH= *
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/nikto
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/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
|
|
|
|
.include <bsd.port.mk>
|