From root@cyberbotx.com  Tue Dec  4 16:17:30 2007
Return-Path: <root@cyberbotx.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D317616A419
	for <freebsd-gnats-submit@freebsd.org>; Tue,  4 Dec 2007 16:17:30 +0000 (UTC)
	(envelope-from root@cyberbotx.com)
Received: from QMTA02.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [76.96.62.24])
	by mx1.freebsd.org (Postfix) with ESMTP id 775F413C4E7
	for <freebsd-gnats-submit@freebsd.org>; Tue,  4 Dec 2007 16:17:30 +0000 (UTC)
	(envelope-from root@cyberbotx.com)
Received: from OMTA03.westchester.pa.mail.comcast.net ([76.96.62.27])
	by QMTA02.westchester.pa.mail.comcast.net with comcast
	id LcRf1Y00A0bG4ec050Pz00; Tue, 04 Dec 2007 16:17:29 +0000
Received: from samus.cyberbotx.com ([68.43.195.82])
	by OMTA03.westchester.pa.mail.comcast.net with comcast
	id LgHV1Y0021n8LeU0300000; Tue, 04 Dec 2007 16:17:29 +0000
Received: from localhost (localhost.cyberbotx.com [127.0.0.1])
	by samus.cyberbotx.com (Postfix) with ESMTP id B622F17319;
	Tue,  4 Dec 2007 11:17:28 -0500 (EST)
Received: from samus.cyberbotx.com ([127.0.0.1])
	by localhost (samus.cyberbotx.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Dd9jlvx7sCKI; Tue,  4 Dec 2007 11:17:09 -0500 (EST)
Received: from kirby.cyberbotx.com (unknown [192.168.2.2])
	by samus.cyberbotx.com (Postfix) with ESMTP id C1FEC17072;
	Tue,  4 Dec 2007 11:17:09 -0500 (EST)
Received: by kirby.cyberbotx.com (Postfix, from userid 0)
	id 93E00C1BC; Tue,  4 Dec 2007 11:17:09 -0500 (EST)
Message-Id: <20071204161709.93E00C1BC@kirby.cyberbotx.com>
Date: Tue,  4 Dec 2007 11:17:09 -0500 (EST)
From: Naram Qashat <cyberbotx@cyberbotx.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: itetcu@FreeBSD.org
Subject: [PATCH] security/nikto: update to 2.00
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         118428
>Category:       ports
>Synopsis:       [PATCH] security/nikto: update to 2.00
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    itetcu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 04 16:20:00 UTC 2007
>Closed-Date:    Fri Dec 14 12:07:06 UTC 2007
>Last-Modified:  Fri Dec 14 12:07:06 UTC 2007
>Originator:     Naram Qashat
>Release:        FreeBSD 6.2-RELEASE-p8 i386
>Organization:
>Environment:
System: FreeBSD kirby.cyberbotx.com 6.2-RELEASE-p8 FreeBSD 6.2-RELEASE-p8 #12: Sun Oct 14 16:14:35 EDT 2007
>Description:
- Update to 2.00

Port maintainer (itetcu@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- nikto-2.00.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/nikto/Makefile /kirby/shared/ports/nikto/Makefile
--- /usr/ports/security/nikto/Makefile	Mon Oct 22 08:49:47 2007
+++ /kirby/shared/ports/nikto/Makefile	Tue Dec  4 11:15:26 2007
@@ -8,8 +8,7 @@
 #
 
 PORTNAME=	nikto
-PORTVERSION=	1.36
-PORTREVISION=	1
+PORTVERSION=	2.00
 CATEGORIES=	security www
 MASTER_SITES=	http://www.cirt.net/${PORTNAME}/ \
 		http://www.mirrors.wiretapped.net/security/vulnerability-assessment/${PORTNAME}/ \
@@ -23,8 +22,7 @@
 USE_PERL5_RUN=	yes
 NO_BUILD=	yes
 
-PORTDOCS=	CHANGES.txt README_plugins.txt nikto_usage.html nikto_usage.txt
-MAN1=		${PORTNAME}.1
+PORTDOCS=	CHANGES.txt LICENSE.txt nikto_manual.html
 
 OPTIONS+=	SSLEAY "Use NET::SSLeay for ssl scanning" on
 OPTIONS+=	NMAP "Use security/nmap for port scanning" on
@@ -43,13 +41,12 @@
 	@${REINPLACE_CMD} -e "s|/usr/local/bin/perl|${PERL}|" ${WRKSRC}/nikto.pl
 	@${REINPLACE_CMD} -Ee "s,(config.txt),${PREFIX}/etc/nikto.conf," ${WRKSRC}/nikto.pl
 	@${REINPLACE_CMD} -Ee "s|/usr/bin/nmap|${LOCALBASE}/bin/nmap|g" \
-		-e "s|# (PLUGINDIR=)/usr/local/nikto/plugins|\1${DATADIR}|g" \
+		-e "s|# (EXECDIR=)/usr/local/nikto|\1${DATADIR}|g" \
 		${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:' \
+	@${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:' \
 		${WRKSRC}/plugins/nikto_core.plugin
-	@${MV} ${WRKSRC}/docs/${PORTNAME}-${PORTVERSION}.man ${WRKSRC}/docs/${PORTNAME}.1
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/nikto.pl ${PREFIX}/bin/nikto
@@ -57,10 +54,12 @@
 	[ -f ${PREFIX}/etc/nikto.conf ] || \
 		${INSTALL_DATA} ${WRKSRC}/config.txt ${PREFIX}/etc/nikto.conf
 	@${MKDIR} ${DATADIR}
-	${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}
+	@${MKDIR} ${DATADIR}/plugins
+	${INSTALL_DATA} ${WRKSRC}/plugins/LW2.pm ${DATADIR}/plugins
+	@${RM} ${WRKSRC}/plugins/db_*.bak
+	${INSTALL_DATA} ${WRKSRC}/plugins/db_* ${DATADIR}/plugins
+	${INSTALL_DATA} ${WRKSRC}/plugins/nikto_plugin_order.txt ${DATADIR}/plugins
+	${INSTALL_DATA} ${WRKSRC}/plugins/*.plugin ${DATADIR}/plugins
 
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
@@ -68,6 +67,5 @@
 		${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
 .	endfor
 .endif
-	${INSTALL_MAN} ${WRKSRC}/docs/${MAN1} ${MAN1PREFIX}/man/man1
 
 .include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/security/nikto/distinfo /kirby/shared/ports/nikto/distinfo
--- /usr/ports/security/nikto/distinfo	Thu Apr  5 07:04:09 2007
+++ /kirby/shared/ports/nikto/distinfo	Tue Dec  4 10:51:38 2007
@@ -1,3 +1,3 @@
-MD5 (nikto-1.36.tar.bz2) = d70107deb225489ecf20e2b46684674e
-SHA256 (nikto-1.36.tar.bz2) = a4592d473358ee17217debe0f6f2da8ed0d130010e34db5bde08692231335ffb
-SIZE (nikto-1.36.tar.bz2) = 174712
+MD5 (nikto-2.00.tar.bz2) = 5c3f9f2ede06788cb01eb9e418843a35
+SHA256 (nikto-2.00.tar.bz2) = b49a07911854aa01d79fb2703cfcb7473c6fff7429181dfc79098c9b84108281
+SIZE (nikto-2.00.tar.bz2) = 193764
diff -ruN --exclude=CVS /usr/ports/security/nikto/pkg-plist /kirby/shared/ports/nikto/pkg-plist
--- /usr/ports/security/nikto/pkg-plist	Thu Apr  5 07:04:09 2007
+++ /kirby/shared/ports/nikto/pkg-plist	Tue Dec  4 11:09:12 2007
@@ -2,24 +2,30 @@
 @unexec if cmp -s %D/etc/nikto.conf %D/etc/nikto.conf.sample; then rm -f %D/etc/nikto.conf; fi
 etc/nikto.conf.sample
 @exec [ -f %B/nikto.conf ] || cp %B/%f %B/nikto.conf
-%%DATADIR%%/nikto_mutate.plugin
-%%DATADIR%%/nikto_outdated.plugin
-%%DATADIR%%/nikto_apacheusers.plugin
-%%DATADIR%%/nikto_passfiles.plugin
-%%DATADIR%%/nikto_httpoptions.plugin
-%%DATADIR%%/nikto_msgs.plugin
-%%DATADIR%%/server_msgs.db
-%%DATADIR%%/outdated.db
-%%DATADIR%%/scan_database.db
-%%DATADIR%%/nikto_core.plugin
-%%DATADIR%%/nikto_headers.plugin
-%%DATADIR%%/nikto_plugin_order.txt
-%%DATADIR%%/nikto_put_del_test.plugin
-%%DATADIR%%/nikto_realms.plugin
-%%DATADIR%%/nikto_robots.plugin
-%%DATADIR%%/nikto_user_enum_apache.plugin
-%%DATADIR%%/nikto_user_enum_cgiwrap.plugin
-%%DATADIR%%/realms.db
-%%DATADIR%%/servers.db
-%%DATADIR%%/LW.pm
+%%DATADIR%%/plugins/LW2.pm
+%%DATADIR%%/plugins/db_404_strings
+%%DATADIR%%/plugins/db_favicon
+%%DATADIR%%/plugins/db_outdated
+%%DATADIR%%/plugins/db_realms
+%%DATADIR%%/plugins/db_server_msgs
+%%DATADIR%%/plugins/db_servers
+%%DATADIR%%/plugins/db_tests
+%%DATADIR%%/plugins/db_variables
+%%DATADIR%%/plugins/nikto_apacheusers.plugin
+%%DATADIR%%/plugins/nikto_core.plugin
+%%DATADIR%%/plugins/nikto_favicon.plugin
+%%DATADIR%%/plugins/nikto_headers.plugin
+%%DATADIR%%/plugins/nikto_httpoptions.plugin
+%%DATADIR%%/plugins/nikto_msgs.plugin
+%%DATADIR%%/plugins/nikto_mutate.plugin
+%%DATADIR%%/plugins/nikto_outdated.plugin
+%%DATADIR%%/plugins/nikto_passfiles.plugin
+%%DATADIR%%/plugins/nikto_plugin_order.txt
+%%DATADIR%%/plugins/nikto_put_del_test.plugin
+%%DATADIR%%/plugins/nikto_reports.plugin
+%%DATADIR%%/plugins/nikto_robots.plugin
+%%DATADIR%%/plugins/nikto_single.plugin
+%%DATADIR%%/plugins/nikto_user_enum_apache.plugin
+%%DATADIR%%/plugins/nikto_user_enum_cgiwrap.plugin
+@dirrm %%DATADIR%%/plugins
 @dirrm %%DATADIR%%
--- nikto-2.00.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->itetcu 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Dec 4 16:20:11 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118428 
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Fri Dec 14 12:06:54 UTC 2007 
State-Changed-Why:  
Superceeded by ports/118638 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118428 
>Unformatted:
