2005-09-06 23:11:57 +02:00
|
|
|
# $NetBSD: Makefile,v 1.9 2005/09/06 21:11:57 adrianp Exp $
|
2003-12-05 18:45:23 +01:00
|
|
|
|
2005-07-02 13:30:01 +02:00
|
|
|
DISTNAME= nikto-1.35
|
2005-09-06 23:11:57 +02:00
|
|
|
PKGREVISION= 2
|
2005-09-03 13:01:35 +02:00
|
|
|
DIST_SUBDIR= ${PKGNAME}
|
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
|
|
|
|
|
2005-07-16 03:19:06 +02:00
|
|
|
USE_TOOLS+= perl:run
|
2003-12-05 18:45:23 +01:00
|
|
|
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
|
|
|
|
2005-09-06 23:11:57 +02:00
|
|
|
# NOTE: this package will not work with pkgviews due to a hardcoded
|
|
|
|
# location for nmap.
|
|
|
|
#
|
2004-10-16 13:55:27 +02:00
|
|
|
SUBST_CLASSES= conf
|
|
|
|
SUBST_STAGE.conf= post-patch
|
|
|
|
SUBST_FILES.conf= config.txt
|
2005-07-02 13:30:01 +02:00
|
|
|
SUBST_SED.conf= -e "s|@PREFIX@|${PREFIX}|g"
|
|
|
|
SUBST_MESSAGE.conf= "Fixing PREFIX in files."
|
2004-10-16 13:55:27 +02:00
|
|
|
|
|
|
|
CONF_FILES= ${PREFIX}/share/examples/nikto/config.txt \
|
|
|
|
${PREFIX}/share/nikto/config.txt
|
2003-12-05 18:45:23 +01:00
|
|
|
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2003-12-05 18:45:23 +01:00
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nikto
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/nikto
|
2005-09-06 23:11:57 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/libdata/nikto/plugins
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/libdata/nikto/docs
|
2003-12-05 18:45:23 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nikto
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${PREFIX}/share/doc/nikto
|
2005-09-06 23:11:57 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/CHANGES.txt ${PREFIX}/libdata/nikto/docs
|
2003-12-05 18:45:23 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${PREFIX}/share/doc/nikto
|
2005-09-06 23:11:57 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/config.txt ${PREFIX}/share/examples/nikto
|
2003-12-05 18:45:23 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/nikto.pl ${PREFIX}/bin/nikto
|
2005-09-06 23:11:57 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/plugins/*.plugin \
|
|
|
|
${PREFIX}/libdata/nikto/plugins
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/plugins/LW.pm ${PREFIX}/libdata/nikto/plugins
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/plugins/*.db ${PREFIX}/libdata/nikto/plugins
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/plugins/*.txt ${PREFIX}/libdata/nikto/plugins
|
2003-12-05 18:45:23 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|