head	1.32;
access;
symbols
	RELEASE_8_3_0:1.30
	RELEASE_9_0_0:1.30
	RELEASE_7_4_0:1.28
	RELEASE_8_2_0:1.28
	RELEASE_6_EOL:1.27
	RELEASE_8_1_0:1.24
	RELEASE_7_3_0:1.24
	RELEASE_8_0_0:1.22
	RELEASE_7_2_0:1.22
	RELEASE_7_1_0:1.21
	RELEASE_6_4_0:1.21
	RELEASE_5_EOL:1.21
	RELEASE_7_0_0:1.19
	RELEASE_6_3_0:1.19
	PRE_XORG_7:1.17
	RELEASE_4_EOL:1.16
	RELEASE_6_2_0:1.16
	RELEASE_6_1_0:1.14
	RELEASE_5_5_0:1.14
	RELEASE_6_0_0:1.12
	RELEASE_5_4_0:1.11
	RELEASE_4_11_0:1.10
	RELEASE_5_3_0:1.9
	RELEASE_4_10_0:1.7
	RELEASE_5_2_1:1.4
	RELEASE_5_2_0:1.4
	RELEASE_4_9_0:1.2;
locks; strict;
comment	@# @;


1.32
date	2012.11.17.18.58.40;	author svnexp;	state Exp;
branches;
next	1.31;

1.31
date	2012.11.17.06.01.08;	author svnexp;	state Exp;
branches;
next	1.30;

1.30
date	2011.11.21.05.14.34;	author cs;	state Exp;
branches;
next	1.29;

1.29
date	2011.11.17.03.46.22;	author linimon;	state Exp;
branches;
next	1.28;

1.28
date	2010.12.25.16.55.33;	author sunpoet;	state Exp;
branches;
next	1.27;

1.27
date	2010.09.24.21.20.06;	author niels;	state Exp;
branches;
next	1.26;

1.26
date	2010.08.18.21.20.40;	author niels;	state Exp;
branches;
next	1.25;

1.25
date	2010.07.23.12.55.15;	author niels;	state Exp;
branches;
next	1.24;

1.24
date	2010.03.04.14.24.08;	author itetcu;	state Exp;
branches;
next	1.23;

1.23
date	2010.01.12.17.54.03;	author itetcu;	state Exp;
branches;
next	1.22;

1.22
date	2008.10.16.10.36.31;	author itetcu;	state Exp;
branches;
next	1.21;

1.21
date	2008.03.25.09.47.41;	author itetcu;	state Exp;
branches;
next	1.20;

1.20
date	2008.02.18.11.44.47;	author itetcu;	state Exp;
branches;
next	1.19;

1.19
date	2007.10.22.08.47.45;	author itetcu;	state Exp;
branches;
next	1.18;

1.18
date	2007.08.04.11.41.17;	author gabor;	state Exp;
branches;
next	1.17;

1.17
date	2007.04.04.21.03.49;	author itetcu;	state Exp;
branches;
next	1.16;

1.16
date	2006.08.16.13.34.17;	author itetcu;	state Exp;
branches;
next	1.15;

1.15
date	2006.05.13.04.15.08;	author edwin;	state Exp;
branches;
next	1.14;

1.14
date	2005.12.14.10.06.32;	author garga;	state Exp;
branches;
next	1.13;

1.13
date	2005.11.15.04.46.36;	author kris;	state Exp;
branches;
next	1.12;

1.12
date	2005.07.10.17.54.53;	author kris;	state Exp;
branches;
next	1.11;

1.11
date	2005.02.21.04.34.03;	author leeym;	state Exp;
branches;
next	1.10;

1.10
date	2004.10.11.23.22.20;	author pav;	state Exp;
branches;
next	1.9;

1.9
date	2004.05.25.15.46.01;	author pav;	state Exp;
branches;
next	1.8;

1.8
date	2004.05.21.22.39.50;	author pav;	state Exp;
branches;
next	1.7;

1.7
date	2004.04.10.17.26.48;	author trevor;	state Exp;
branches;
next	1.6;

1.6
date	2004.02.09.10.13.02;	author linimon;	state Exp;
branches;
next	1.5;

1.5
date	2004.01.23.05.28.50;	author trevor;	state Exp;
branches;
next	1.4;

1.4
date	2003.11.08.03.37.44;	author foxfair;	state Exp;
branches;
next	1.3;

1.3
date	2003.10.15.06.08.42;	author foxfair;	state Exp;
branches;
next	1.2;

1.2
date	2003.08.29.07.01.14;	author foxfair;	state Exp;
branches;
next	1.1;

1.1
date	2003.07.19.02.32.04;	author foxfair;	state Exp;
branches;
next	;


desc
@@


1.32
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 307388
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r307388 | pawel | 2012-11-13 18:54:15 +0000 (Tue, 13 Nov 2012) | 9 lines
## SVN ##
## SVN ## - Update to version 2.1.5
## SVN ## - Add LICENSE
## SVN ## - Convert to optionsNG
## SVN ## - Don't overwrite user modified config
## SVN ##
## SVN ## PR:		ports/172058
## SVN ## Submitted by:	KATO Tsuguru <tkato432@@yahoo.com>
## SVN ## Feature safe:	yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Created by: pandzilla
# $FreeBSD: head/security/nikto/Makefile 307388 2012-11-13 18:54:15Z pawel $

PORTNAME=	nikto
PORTVERSION=	2.1.5
PORTEPOCH=	1
CATEGORIES=	security www
MASTER_SITES=	http://www.cirt.net/${PORTNAME}/ \
		http://www.mirrors.wiretapped.net/security/vulnerability-assessment/${PORTNAME}/

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Web and CGI vulnerability scanner with SSL support

LICENSE=	GPLv2

OPTIONS_DEFINE=	SSLEAY DOCS
OPTIONS_DEFAULT=SSLEAY
SSLEAY_DESC=	Use NET::SSLeay for ssl scanning

NO_BUILD=	yes

USE_BZIP2=	yes
USE_PERL5_RUN=	yes

MAN1=		nikto.1

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MSSLEAY}
RUN_DEPENDS+=	p5-Net-SSLeay>0:${PORTSDIR}/security/p5-Net-SSLeay
.endif

post-patch:
	@@${REINPLACE_CMD} -e \
		's|/usr/local/bin/perl|${PERL}| ; \
		 s|/etc/nikto.conf|${PREFIX}/etc/nikto.conf|' ${WRKSRC}/nikto.pl
	@@${REINPLACE_CMD} -Ee \
		's|# (EXECDIR=).*/nikto|\1${DATADIR}| ; \
		 s|# (DBDIR=).*/databases|\1${DATADIR}/databases| ; \
		 s|# (PLUGINDIR=).*/plugins|\1${DATADIR}/plugins| ; \
		 s|# (TEMPLATEDIR=).*/templates|\1${DATADIR}/templates| ; \
		 s|# (DOCDIR=).*/docs|\1${DOCSDIR}|' ${WRKSRC}/nikto.conf

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/nikto.pl ${PREFIX}/bin/nikto
	${INSTALL_MAN} ${WRKSRC}/docs/nikto.1 ${PREFIX}/man/man1/nikto.1
	${INSTALL_DATA} ${WRKSRC}/nikto.conf ${PREFIX}/etc/nikto.conf.sample
.if !exists(${PREFIX}/etc/nikto.conf)
	(cd ${PREFIX}/etc && ${CP} -p nikto.conf.sample nikto.conf)
.endif
	@@${MKDIR} ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/replay.pl ${DATADIR}
.for i in databases plugins templates
	@@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${DATADIR})
.endfor
.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}
.for i in CHANGES.txt LICENSE.txt nikto.dtd nikto_manual.html
	${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
@


1.31
log
@Switch exporter over
@
text
@d1 2
a2 8
# New ports collection makefile for: 	nikto
# Date created: 			23 September 2002
# Whom: 				pandzilla
#
# $FreeBSD: head/security/nikto/Makefile 300897 2012-07-14 14:29:18Z beat $
#
# $Tecnik: ports/security/nikto/Makefile,v 1.7 2005/12/13 16:26:20 itetcu Exp $
#
d5 1
a5 1
PORTVERSION=	2.1.4
d14 7
a20 1
MAN1=		nikto.1
a23 1
NO_BUILD=	yes
d25 1
a25 1
PORTDOCS=	CHANGES.txt LICENSE.txt nikto.dtd nikto_manual.html
d27 1
a27 1
OPTIONS+=	SSLEAY "Use NET::SSLeay for ssl scanning" on
d29 1
a29 3
.include <bsd.port.pre.mk>

.ifdef(WITH_SSLEAY)
d34 9
a42 6
	@@${REINPLACE_CMD} -e "s|/usr/local/bin/perl|${PERL}|" \
		-e "s|/etc/nikto.conf|${PREFIX}/etc/nikto.conf|" ${WRKSRC}/nikto.pl
	@@${REINPLACE_CMD} -Ee "s|# (EXECDIR=)/usr/local/nikto|\1${DATADIR}|g" \
		-e "s|# (PLUGINDIR=)/opt/nikto/plugins|\1${DATADIR}/plugins|g" \
		-e "s|# (TEMPLATEDIR=)/opt/nikto/templates|\1${DATADIR}/templates|g" \
		-e "s|# (DOCDIR=)/opt/nikto/docs|\1${DOCSDIR}|g" ${WRKSRC}/nikto.conf
d46 1
d48 9
a56 7
	${INSTALL_MAN} ${WRKSRC}/docs/nikto.1 ${PREFIX}/man/man1/
	[ -f ${PREFIX}/etc/nikto.conf ] || \
		${INSTALL_DATA} ${WRKSRC}/nikto.conf ${PREFIX}/etc/nikto.conf

	( cd ${WRKSRC}/plugins && ${COPYTREE_SHARE} .  ${DATADIR}/plugins )
	( cd ${WRKSRC}/templates && ${COPYTREE_SHARE} .  ${DATADIR}/templates )
.if !defined(NOPORTDOCS)
d58 3
a60 3
.	for i in ${PORTDOCS}
		${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
.	endfor
d63 1
a63 1
.include <bsd.port.post.mk>
@


1.30
log
@Update to 2.1.4

Approved by:	wen@@ (co-mentor)
Feature safe:	yes
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.29
log
@niels has returned his commit bit for safekeeping.

Hat:		portmgr
Feature safe:	yes
@
text
@d11 1
a11 1
PORTVERSION=	2.1.3
@


1.28
log
@- Use canonical format for FreeBSD.org MAINTAINER addresses
- Remove obsolete MD5 checksum while I'm here

PR:		ports/152844
Submitted by:	sunpoet (myself)
Approved by:	miwi (with portmgr hat)
@
text
@d17 1
a17 1
MAINTAINER=	niels@@FreeBSD.org
@


1.27
log
@Updated to nikto version 2.1.3

Approved by:	itetcu (mentor, implicit)
@
text
@d17 1
a17 1
MAINTAINER=	niels@@freebsd.org
@


1.26
log
@- Removed nmap dependency
- Fixed typo /RUN_DEPENEDS/RUN_DEPENDS/
- Updated nikto.conf patching
- Bumped PORTREVISION

Approved by:	itetcu (mentor, implicit)
Submitted by:	Anderson Eduardo <anderson@@secover.com.br>
PR:		ports/149769
@
text
@d11 1
a11 2
PORTVERSION=	2.1.2
PORTREVISION=	1
@


1.25
log
@Updated to version 2.1.2

Approved by:	itetcu (mentor, implicit)
@
text
@d12 1
a29 1
OPTIONS+=	NMAP "Use security/nmap for port scanning" on
d34 1
a34 5
RUN_DEPENEDS+=	p5-Net-SSLeay>0:${PORTSDIR}/security/p5-Net-SSLeay
.endif

.ifdef(WITH_NMAP)
RUN_DEPENEDS+=	nmap:${PORTSDIR}/security/nmap
d38 6
a43 9
	@@${REINPLACE_CMD} -e "s|/usr/local/bin/perl|${PERL}|" ${WRKSRC}/nikto.pl
	@@${REINPLACE_CMD} -e "s|/etc/nikto.conf|${PREFIX}/etc/nikto.conf|" ${WRKSRC}/nikto.pl
	@@${REINPLACE_CMD} -Ee "s|/usr/bin/nmap|${LOCALBASE}/bin/nmap|g" \
		-e "s|# (EXECDIR=)/usr/local/nikto|\1${DATADIR}|g" \
		${WRKSRC}/nikto.conf
	@@${REINPLACE_CMD} -e 's:\$NIKTO{plugindir}/../docs/CHANGES.txt:\$NIKTO{plugindir}/../../docs/nikto/CHANGES.txt:' \
		-e 's:\$NIKTO{plugindir}/../CHANGES.txt:\$NIKTO{plugindir}/../../docs/nikto/CHANGES.txt:' \
		${WRKSRC}/plugins/nikto_core.plugin
	@@${RM} ${WRKSRC}/plugins/*.bak
d51 3
a53 7
	@@${MKDIR} ${DATADIR}
	@@${MKDIR} ${DATADIR}/plugins
	@@${MKDIR} ${DATADIR}/templates
	${INSTALL_DATA} ${WRKSRC}/plugins/LW2.pm ${DATADIR}/plugins
	${INSTALL_DATA} ${WRKSRC}/plugins/db_* ${DATADIR}/plugins
	${INSTALL_DATA} ${WRKSRC}/plugins/*.plugin ${DATADIR}/plugins
	${INSTALL_DATA} ${WRKSRC}/templates/*.tmpl ${DATADIR}/templates
@


1.24
log
@- upgrade to 2.1.1
- pass maintainership to submiter since he's more interested in this port

PR:		143943
Submitted by:	Niels Heinen
Feature safe:	yes
@
text
@d11 1
a11 1
PORTVERSION=	2.1.1
d15 1
a15 2
		http://www.mirrors.wiretapped.net/security/vulnerability-assessment/${PORTNAME}/ \
		http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/
d17 1
a17 1
MAINTAINER=	niels@@heinen.ws
@


1.23
log
@- update to 2.1.0
- bumpo PORTEPOCH, sigh

PR:		139841
Submitted by:	Niels Heinen
@
text
@d11 1
a11 1
PORTVERSION=	2.1.0
d18 1
a18 1
MAINTAINER=	itetcu@@FreeBSD.org
d27 1
a27 1
PORTDOCS=	CHANGES.txt LICENSE.txt nikto_manual.html
@


1.22
log
@Update to 2.03

PR:		ports/127566
Submitted by:	Naram Qashat
Committed from:	EuroBSDCon2008 Dev Summit :)
@
text
@d11 2
a12 1
PORTVERSION=	2.03
d21 2
a26 2
WRKSRC=		${WRKDIR}/${PORTNAME}

d44 1
a44 1
	@@${REINPLACE_CMD} -Ee "s,(config.txt),${PREFIX}/etc/nikto.conf," ${WRKSRC}/nikto.pl
d47 3
a49 4
		${WRKSRC}/config.txt
	@@${REINPLACE_CMD} "s/config.txt/nikto.conf/g" ${WRKSRC}/plugins/* ${WRKSRC}/docs/*
	@@${REINPLACE_CMD} -e 's:\$NIKTO{plugindir}/../docs/CHANGES.txt:\$NIKTO{plugindir}/../../doc/nikto/CHANGES.txt:' \
		-e 's:\$NIKTO{plugindir}/../CHANGES.txt:\$NIKTO{plugindir}/../../doc/nikto/CHANGES.txt:' \
d51 1
d55 2
a56 1
	${INSTALL_DATA} ${WRKSRC}/config.txt ${PREFIX}/etc/nikto.conf.sample
d58 1
a58 1
		${INSTALL_DATA} ${WRKSRC}/config.txt ${PREFIX}/etc/nikto.conf
d61 1
a62 1
	@@${RM} ${WRKSRC}/plugins/db_*.bak
a63 1
	${INSTALL_DATA} ${WRKSRC}/plugins/nikto_plugin_order.txt ${DATADIR}/plugins
d65 1
@


1.21
log
@Adjust MASTER_SITES to an other server of mine
@
text
@d11 1
a11 1
PORTVERSION=	2.02
d24 2
@


1.20
log
@- Update to 2.02.
- the pugins are now insalled in DATADIR/plugins

PR:		ports/119584
Submitted by:	Naram Qashat
@
text
@d15 1
a15 2
		http://sce-tindy.tecnik93.com/FreeBSD/ports/${PORTNAME}/sources/ \
		http://people.tecnik93.com/~itetcu/FreeBSD/ports/${PORTNAME}/sources/
@


1.19
log
@Fix install path of CHANGES.txt when using nikto -update and bump PORTREVISION.

PR:		ports/117379
Submitted by:	Naram Qashat
@
text
@d11 1
a11 2
PORTVERSION=	1.36
PORTREVISION=	1
d25 1
a25 2
PORTDOCS=	CHANGES.txt README_plugins.txt nikto_usage.html nikto_usage.txt
MAN1=		${PORTNAME}.1
d44 1
a44 1
		-e "s|# (PLUGINDIR=)/usr/local/nikto/plugins|\1${DATADIR}|g" \
d47 2
a48 2
	@@${REINPLACE_CMD} -e 's:\$NIKTO{plugindir}/../docs/CHANGES.txt:\$NIKTO{plugindir}/../doc/nikto/CHANGES.txt:' \
		-e 's:\$NIKTO{plugindir}/../CHANGES.txt:\$NIKTO{plugindir}/../doc/nikto/CHANGES.txt:' \
a49 1
	@@${MV} ${WRKSRC}/docs/${PORTNAME}-${PORTVERSION}.man ${WRKSRC}/docs/${PORTNAME}.1
d57 6
a62 5
	${INSTALL_DATA} ${WRKSRC}/plugins/LW.pm ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/plugins/*.db ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/plugins/nikto_plugin_order.txt ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/plugins/*.plugin ${DATADIR}

a68 1
	${INSTALL_MAN} ${WRKSRC}/docs/${MAN1} ${MAN1PREFIX}/man/man1
@


1.18
log
@- Remove the DESTDIR modifications from individual ports as we have a new,
  fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
@
text
@d12 1
d49 2
a50 2
	@@${REINPLACE_CMD} -e 's:\$NIKTO{plugindir}/../docs/CHANGES.txt:\$NIKTO{plugindir}/../docs/nikto/CHANGES.txt:' \
		-e 's:\$NIKTO{plugindir}/../CHANGES.txt:\$NIKTO{plugindir}/../docs/nikto/CHANGES.txt:' \
@


1.17
log
@Update to 1.36
@
text
@d43 1
a43 1
	@@${REINPLACE_CMD} -Ee "s,(config.txt),${TARGETDIR}/etc/nikto.conf," ${WRKSRC}/nikto.pl
d54 2
a55 2
	${INSTALL_SCRIPT} ${WRKSRC}/nikto.pl ${TARGETDIR}/bin/nikto
	${INSTALL_DATA} ${WRKSRC}/config.txt ${TARGETDIR}/etc/nikto.conf.sample
d57 1
a57 1
		${INSTALL_DATA} ${WRKSRC}/config.txt ${TARGETDIR}/etc/nikto.conf
@


1.16
log
@- make -update work by using the right path in plugins/nikto_core.plugin [1]
- respect TARGETDIR
- fix a PREFIX -> LOCALBASE mistake
- use my @@FreeBSD.org address
- bump PORTREVISION

Submitted by:	"Scott MacGregor" <shadowbq@@gmail.com> [1]
@
text
@d11 1
a11 2
PORTVERSION=	1.35
PORTREVISION=	2
d15 1
d51 1
a51 1
	@@${MV} ${WRKSRC}/docs/nikto-1.34.man ${WRKSRC}/docs/nikto.1
@


1.15
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d12 1
a12 1
PORTREVISION=	1
d18 1
a18 1
MAINTAINER=	itetcu@@people.tecnik93.com
d43 2
a44 2
	@@${REINPLACE_CMD} -Ee "s,(config.txt),${PREFIX}/etc/nikto.conf," ${WRKSRC}/nikto.pl
	@@${REINPLACE_CMD} -Ee "s|/usr/bin/nmap|${PREFIX}/bin/nmap|g" \
d48 3
d54 2
a55 2
	${INSTALL_SCRIPT} ${WRKSRC}/nikto.pl ${PREFIX}/bin/nikto
	${INSTALL_DATA} ${WRKSRC}/config.txt ${PREFIX}/etc/nikto.conf.sample
d57 1
a57 1
		${INSTALL_DATA} ${WRKSRC}/config.txt ${PREFIX}/etc/nikto.conf
@


1.14
log
@- Un-BREAK by using version-ed file-name for DISTFILES
- Add MASTER_SITES mirrors
- Use USE_PERL and reinplace hardcoded path for perl
- OPTIONally run-depend on security/p5-Net-SSLeay and security/nmap
- Install config.txt as nikto.conf (and replace references to config.txt in
  all appropriate places)
- Use INSTALL_DATA for plugins
- Bump PORTREVISION
- Pass maintainership to submitter
- Make some changes to preserve nikto.conf when it's changed and install
  nikto.conf.sample [1]

PR:		90344
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@@people.tecnik93.com>
Reviewed by:	garga [1]
@
text
@a23 1
USE_REINPLACE=	yes
@


1.13
log
@OKEN: Size mismatch
@
text
@d7 2
d12 1
d14 3
a16 5
MASTER_SITES=	http://www.cirt.net/nikto/ \
		ftp://ftp.bay13.net/pub/wiretapped/vulnerability-assessment/nikto/ \
		http://mirror1.internap.com/pub/localareasecurity/wiretapped/vulnerability-assessment/nikto/ \
		ftp://ftp.localareasecurity.com/pub/wiretapped/vulnerability-assessment/nikto/ \
		http://www.mirrors.wiretapped.net/security/vulnerability-assessment/nikto/
d18 1
a18 1
MAINTAINER=	ports@@FreeBSD.org
d21 2
a22 2
BROKEN=		Size mismatch

d26 15
a40 1
PORTDOCS=	nikto_usage.txt nikto_usage.html CHANGES.txt README_plugins.txt
d43 2
a44 1
	@@${REINPLACE_CMD} -Ee 's,(config.txt),${PREFIX}/etc/nikto/\1,g' ${WRKSRC}/nikto.pl
d48 2
d53 3
a55 2
	@@${MKDIR} ${PREFIX}/etc/nikto
	${INSTALL_DATA} ${WRKSRC}/config.txt ${PREFIX}/etc/nikto
d57 5
a61 1
	${INSTALL_SCRIPT} ${WRKSRC}/plugins/* ${DATADIR}
d64 3
a66 3
.for i in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
.endfor
d68 1
d70 1
a70 1
.include <bsd.port.mk>
@


1.12
log
@Update to nikto-1.35 to fix fetching
@
text
@d20 2
@


1.11
log
@- nikto have bundled LW, so it doesn't depend on security/libwhisker
- correct the setting of plugin direcroty and utilize DATADIR

Noticed by:	kris
@
text
@d9 1
a9 1
PORTVERSION=	1.34
@


1.10
log
@- Update to 1.34
- Please portlint

PR:		ports/72036
Submitted by:	Daan van de Linde <daan@@xs4all.nl>
@
text
@a19 3
RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay \
		${SITE_PERL}/libwhisker/LW.pm:${PORTSDIR}/security/libwhisker

d25 6
d32 5
a36 10
	@@${INSTALL_SCRIPT} ${WRKSRC}/nikto.pl ${PREFIX}/bin/nikto
	@@${MKDIR} ${PREFIX}/etc/nikto && ${CHMOD} 755 ${PREFIX}/etc/nikto
	@@${REINPLACE_CMD} -e "s|/usr/bin/nmap|${PREFIX}/bin/nmap|g" ${WRKSRC}/config.txt
	@@${REINPLACE_CMD} -e "s|/usr/local/nikto|${PREFIX}/share/nikto|g" ${WRKSRC}/config.txt
	@@${INSTALL_DATA} ${WRKSRC}/config.txt ${PREFIX}/etc/nikto/
	@@${MKDIR} ${PREFIX}/share/nikto/ && ${CHMOD} 755 ${PREFIX}/share/nikto/
	@@for i in `${LS} ${WRKSRC}/plugins/` ; \
	do \
	${INSTALL_SCRIPT} ${WRKSRC}/plugins/$$i ${PREFIX}/share/nikto; \
	done
d40 1
a40 1
	@@${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
@


1.9
log
@- Refresh MASTER_SITES

PR:		ports/67182
Submitted by:	Roman Neuhauser <neuhauser@@chello.cz>
@
text
@d9 1
a9 2
PORTVERSION=	1.32
PORTREVISION=	1
a10 4

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Web and CGI vulnerability scanner with SSL support

d16 3
@


1.8
log
@- Install docs

PR:		ports/66953 (based on)
Submitted by:	Jimmie James <h2g2_jimmiejaz@@yahoo.com>
@
text
@d17 4
a20 1
		http://packetstormsecurity.org/UNIX/cgi-scanners/
@


1.7
log
@Tidy up whitespace.
@
text
@d10 1
d25 2
d38 6
@


1.6
log
@Reset bouncing maintainer address (one of the maintainer's other
ports had been previously reset by someone else).
@
text
@d9 2
a10 2
PORTVERSION= 	1.32
CATEGORIES= 	security www
d18 1
a18 1
RUN_DEPENDS = 	${SITE_PERL}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay \
d21 1
a21 1
NO_BUILD= 	yes
@


1.5
log
@Use LS macro.
@
text
@d12 1
a12 1
MAINTAINER=	jan@@atstake.com
@


1.4
log
@Upgrade nikto to 1.32. maintainer was also notified but email bounced back
to me.
@
text
@d31 1
a31 1
	@@for i in `ls ${WRKSRC}/plugins/` ; \
@


1.3
log
@Obtained from:	Sean Lewis <sean@@cherry.suspend.net>
Upgrade nikto to 1.31.
@
text
@d9 1
a9 1
PORTVERSION= 	1.31
a16 2

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
@


1.2
log
@PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
Chase makesum; the author retar the current tarball by updating these
modules since its release (05.27.2003 - 08.18.2003):

nikto_outdated.plugin	1.08
	    -  Fixed nasty regex bug in the version eval, and made more efficient. Pointed out by fr0stman, thx Zeno for assistance
nikto_core.plugin	1.15
       - Bugfix: only scanning port 80 when multiple ports are specified by CLI argument. Thanks to Martin Macok for submitting a bug report.
nikto_headers.plugin	1.07
       - Added Host header back after delete in IIS Content-Location check. Thanks to Abdi Ponce for the bug report & debug.
nikto_httpoptions.plugin	1.04
       - Changed PROPPATCH, TRACK, TRACE messages. Changed PROPFIND message, thanks to Jericho for tracking down some good info on it.  Added SEARCH message.
nikto_user_enum_apache.plugin	1.02
       - Bugfix: some user names not tested (zz, zzz, etc.)
       - Major rewrite for speed improvements

Obtained from: bento
@
text
@d9 1
a9 2
PORTVERSION= 	1.30
PORTREVISION=	1
@


1.1
log
@Add nikto 1.30, web and CGI vulnerability scanner with SSL support.

PR:		43313
Submitted by:	pandzilla
@
text
@d10 1
a17 1
DISTNAME=	${PORTNAME}-current
@

