ports/117379: [PATCH] security/nikto: Minor path correction for CHANGES.txt in -update
Naram Qashat
cyberbotx at cyberbotx.com
Sun Oct 21 19:20:03 UTC 2007
>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 at 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:
More information about the freebsd-ports-bugs
mailing list