2011-09-07 09:21:11 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2011/09/07 13:21:11 nigel Exp $
|
2004-04-11 05:05:24 -04:00
|
|
|
|
2010-08-31 04:16:22 -04:00
|
|
|
COMMENT = web and CGI vulnerability scanner with SSL support
|
2004-04-11 05:05:24 -04:00
|
|
|
|
2011-03-27 12:41:37 -04:00
|
|
|
DISTNAME = nikto-2.1.4
|
2011-04-05 16:28:17 -04:00
|
|
|
EPOCH = 0
|
2011-09-07 09:21:11 -04:00
|
|
|
REVISION = 0
|
2009-12-04 11:25:16 -05:00
|
|
|
CATEGORIES = security www
|
2004-04-11 05:05:24 -04:00
|
|
|
|
2010-08-31 04:16:22 -04:00
|
|
|
HOMEPAGE = http://www.cirt.net/nikto2
|
2004-04-11 05:05:24 -04:00
|
|
|
|
2011-09-07 09:21:11 -04:00
|
|
|
MAINTAINER = Nigel Taylor <nigel@openbsd.org>
|
2008-01-16 19:11:29 -05:00
|
|
|
|
2009-12-04 11:25:16 -05:00
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2004-04-11 05:05:24 -04:00
|
|
|
|
2009-12-04 11:25:16 -05:00
|
|
|
MASTER_SITES = http://www.cirt.net/nikto/ \
|
|
|
|
http://www.cirt.net/nikto/ARCHIVE/
|
2004-04-11 05:05:24 -04:00
|
|
|
|
2009-12-04 11:25:16 -05:00
|
|
|
EXTRACT_SUFX = .tar.bz2
|
2004-04-11 05:05:24 -04:00
|
|
|
|
2010-11-20 12:22:40 -05:00
|
|
|
RUN_DEPENDS = security/p5-Net_SSLeay
|
2004-04-11 05:05:24 -04:00
|
|
|
|
2009-12-04 11:25:16 -05:00
|
|
|
NO_BUILD = Yes
|
2010-10-18 17:41:44 -04:00
|
|
|
USE_GROFF = Yes
|
2009-12-04 11:25:16 -05:00
|
|
|
NO_REGRESS = Yes
|
|
|
|
PKG_ARCH = *
|
2008-09-23 17:21:01 -04:00
|
|
|
|
2006-09-23 12:51:03 -04:00
|
|
|
pre-configure:
|
2008-01-16 19:11:29 -05:00
|
|
|
perl -pi -e 's,# EXECDIR=.+,EXECDIR=${PREFIX}/share/nikto,' \
|
2009-12-04 11:25:16 -05:00
|
|
|
${WRKSRC}/nikto.conf
|
|
|
|
perl -pi -e 's,# DOCDIR=.+,DOCDIR=${PREFIX}/share/doc/nikto,' \
|
|
|
|
${WRKSRC}/nikto.conf
|
2006-09-23 12:51:03 -04:00
|
|
|
|
2004-04-11 05:05:24 -04:00
|
|
|
do-install:
|
2008-01-16 19:11:29 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/nikto/plugins
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/nikto/templates
|
2004-04-11 05:05:24 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nikto
|
2005-10-02 11:41:19 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nikto
|
2004-04-11 05:05:24 -04:00
|
|
|
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/nikto.pl ${PREFIX}/bin/nikto
|
2009-12-04 11:25:16 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/nikto.conf \
|
2004-04-11 05:05:24 -04:00
|
|
|
${PREFIX}/share/examples/nikto/nikto.conf
|
|
|
|
|
2008-01-16 19:11:29 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/plugins/* ${PREFIX}/share/nikto/plugins
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/templates/* ${PREFIX}/share/nikto/templates
|
2004-04-11 05:05:24 -04:00
|
|
|
|
2008-01-16 19:11:29 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/nikto_manual.html ${PREFIX}/share/doc/nikto
|
2006-09-23 12:51:03 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/CHANGES.txt ${PREFIX}/share/doc/nikto
|
2008-09-23 17:21:01 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/nikto.dtd ${PREFIX}/share/doc/nikto
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/nikto.1 ${PREFIX}/man/man1/nikto.1
|
|
|
|
|
2004-04-11 05:05:24 -04:00
|
|
|
.include <bsd.port.mk>
|