Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2004 16:30:23 +0100 (CET)
From:      Stefan Walter <sw@gegenunendlich.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lioux@FreeBSD.org
Subject:   ports/63353: [PATCH] net/freenet: correctly recognize command line arguments in wrapper script
Message-ID:  <20040225153023.0272C3F48@kyuzo.dunkelkammer.void>
Resent-Message-ID: <200402251540.i1PFeGhO004093@freefall.freebsd.org>

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

>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@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:



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