Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2007 15:16:20 -0400 (EDT)
From:      Naram Qashat <cyberbotx@cyberbotx.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        itetcu@FreeBSD.org
Subject:   ports/117379: [PATCH] security/nikto: Minor path correction for CHANGES.txt in -update
Message-ID:  <20071021191620.7BBC7C29F@kirby.cyberbotx.com>
Resent-Message-ID: <200710211920.l9LJK1Ln028211@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         117379
>Category:       ports
>Synopsis:       [PATCH] security/nikto: Minor path correction for CHANGES.txt in -update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 21 19:20:01 UTC 2007
>Closed-Date:
>Last-Modified:
>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:
The -update flag of nikto tries to place CHANGES.txt into the docs dir of the local
share folder, but there isn't a docs folder, rather it's a doc folder, so this
patch fixes the location.

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

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

--- nikto-1.36.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/nikto/Makefile /kirby/shared/ports/nikto/Makefile
--- /usr/ports/security/nikto/Makefile	Sun Aug  5 10:24:35 2007
+++ /kirby/shared/ports/nikto/Makefile	Sun Oct 21 15:15:00 2007
@@ -45,8 +45,8 @@
 		-e "s|# (PLUGINDIR=)/usr/local/nikto/plugins|\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}/../docs/nikto/CHANGES.txt:' \
-		-e 's:\$NIKTO{plugindir}/../CHANGES.txt:\$NIKTO{plugindir}/../docs/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
 
--- nikto-1.36.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071021191620.7BBC7C29F>