2005-04-11 23:44:48 +02:00
|
|
|
# $NetBSD: Makefile,v 1.4 2005/04/11 21:47:14 tv Exp $
|
2003-12-05 18:45:23 +01:00
|
|
|
|
2004-10-16 13:55:27 +02:00
|
|
|
DISTNAME= nikto-1.34
|
2003-12-05 18:45:23 +01:00
|
|
|
CATEGORIES= security www
|
|
|
|
MASTER_SITES= http://www.cirt.net/nikto/
|
|
|
|
|
2004-10-16 13:55:27 +02:00
|
|
|
MAINTAINER= adrianp@NetBSD.org
|
2003-12-05 18:45:23 +01:00
|
|
|
HOMEPAGE= http://www.cirt.net/code/nikto.shtml
|
|
|
|
COMMENT= URL scanner used to search for known vulnerable CGIs on websites
|
|
|
|
|
|
|
|
DEPENDS+= p5-Net-SSLeay>=1.20:../../security/p5-Net-SSLeay
|
|
|
|
DEPENDS+= nmap>=2.00:../../net/nmap
|
|
|
|
|
|
|
|
USE_PERL5= YES
|
|
|
|
REPLACE_PERL= nikto.pl
|
2004-10-16 13:55:27 +02:00
|
|
|
NO_BUILD= YES
|
|
|
|
USE_PKGINSTALL= YES
|
2003-12-05 18:45:23 +01:00
|
|
|
|
2004-10-16 13:55:27 +02:00
|
|
|
SUBST_CLASSES= conf
|
|
|
|
SUBST_STAGE.conf= post-patch
|
|
|
|
SUBST_FILES.conf= config.txt
|
|
|
|
SUBST_SED.conf= -e "s|\#NMAP=/usr|NMAP=${PREFIX}|g"
|
|
|
|
SUBST_MESSAGE.conf= "Fixing configuration files."
|
|
|
|
|
|
|
|
CONF_FILES= ${PREFIX}/share/examples/nikto/config.txt \
|
|
|
|
${PREFIX}/share/nikto/config.txt
|
2003-12-05 18:45:23 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nikto
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/nikto
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/nikto/docs
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/nikto/plugins
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nikto
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${PREFIX}/share/doc/nikto
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/CHANGES.txt ${PREFIX}/share/nikto/docs
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${PREFIX}/share/doc/nikto
|
2004-10-16 13:55:27 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/config.txt \
|
2003-12-05 18:45:23 +01:00
|
|
|
${PREFIX}/share/examples/nikto
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/nikto.pl ${PREFIX}/bin/nikto
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/plugins/*.plugin ${PREFIX}/share/nikto/plugins
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/plugins/LW.pm ${PREFIX}/share/nikto/plugins
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/plugins/*.db ${PREFIX}/share/nikto/plugins
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/plugins/*.txt ${PREFIX}/share/nikto/plugins
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|