cb18729dff
ok ajacoutot@
51 lines
1.5 KiB
Makefile
51 lines
1.5 KiB
Makefile
# $OpenBSD: Makefile,v 1.8 2007/05/01 15:55:55 rui Exp $
|
|
|
|
COMMENT= "Web and CGI vulnerability scanner with SSL support"
|
|
|
|
DISTNAME= nikto-1.36
|
|
CATEGORIES= security www
|
|
|
|
HOMEPAGE= http://www.cirt.net/code/nikto.shtml
|
|
|
|
MASTER_SITES= http://www.cirt.net/nikto/ \
|
|
http://www.cirt.net/nikto/ARCHIVE/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
# 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= *
|
|
|
|
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
|
|
perl -pi -e 's,nikto\.pl,nikto,g' ${WRKSRC}/docs/nikto-1.36.man
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/nikto
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nikto
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nikto
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/nikto.pl ${PREFIX}/bin/nikto
|
|
${INSTALL_DATA} ${WRKSRC}/config.txt \
|
|
${PREFIX}/share/examples/nikto/nikto.conf
|
|
|
|
${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.36.man ${PREFIX}/man/man1/nikto.1
|
|
|
|
.include <bsd.port.mk>
|