Skip site navigation (1)Skip section navigation (2)
Date:      27 Jul 2004 17:15:04 -0000
From:      Thomas-Martin Seck <tmseck@netcologne.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/69670: [Maintainer] www/squid: fix minor bug in rc script
Message-ID:  <20040727171504.1470.qmail@laurel.tmseck.homedns.org>
Resent-Message-ID: <200407271720.i6RHKLNs001331@freefall.freebsd.org>

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

>Number:         69670
>Category:       ports
>Synopsis:       [Maintainer] www/squid: fix minor bug in rc script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 27 17:20:21 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Thomas-Martin Seck
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
a private site in Germany
>Environment:
FreeBSD ports collection as of  July 27th, 2004.

	
>Description:
Fix a bug that disallowed explicit unsetting of the squid_flags variable.

See Mike Makonnen's mail <20040727072856.GC1403@rogue.acs-et.com> to
current@ regarding the subtleties of sh(1)'s parameter expansion.

	
>How-To-Repeat:
	
>Fix:
Apply this patch:


Index: files/squid.sh
===================================================================
--- files/squid.sh	(.../www/squid)	(revision 151)
+++ files/squid.sh	(.../local/squid)	(revision 151)
@@ -22,7 +22,7 @@
 stop_cmd="${command} -k shutdown"
 squid_chdir=${squid_chdir:-%%PREFIX%%/squid/logs}
 squid_enable=${squid_enable:-"NO"}
-squid_flags=${squid_flags:-"-D"}
+squid_flags=${squid_flags-"-D"}
 squid_user=${squid_user:-%%SQUID_UID%%}
 default_config=%%PREFIX%%/etc/squid/squid.conf
 
	


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



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