ports/63353: [PATCH] net/freenet: correctly recognize command line arguments in wrapper script

Stefan Walter sw at gegenunendlich.de
Wed Feb 25 15:40:16 UTC 2004


>Number:         63353
>Category:       ports
>Synopsis:       [PATCH] net/freenet: correctly recognize command line arguments in wrapper script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 25 07:40:16 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Walter
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
Infinity Approximation Task Force
>Environment:
System: FreeBSD kyuzo.dunkelkammer.void 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sat Feb 14 20:59:15 CET 2004
>Description:
The wrapper script currently doesn't recognize the 'c' command line
argument although it's listed in the usage instructions.

Port maintainer (lioux at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:
--- freenet-0.5.2.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/freenet.old/files/wrapper.sh /usr/ports/net/freenet/files/wrapper.sh
--- /usr/ports/net/freenet.old/files/wrapper.sh	Wed Feb 25 16:18:58 2004
+++ /usr/ports/net/freenet/files/wrapper.sh	Wed Feb 25 16:22:40 2004
@@ -114,7 +114,7 @@
 fi
 
 # parse command line parameters
-while getopts ":io" COMMAND_LINE_ARGUMENT ; do
+while getopts "chio" COMMAND_LINE_ARGUMENT ; do
   case "${COMMAND_LINE_ARGUMENT}" in
   c)
 	CONFIGURE=yes
--- freenet-0.5.2.1.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list