Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  1 Sep 2011 19:52:20 +0200 (CEST)
From:      Thomas-Martin Seck <tmseck@web.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/160372: [Maintainer] www/squid30: fix for ports/156737
Message-ID:  <20110901175220.B6825130CEE@wcfields.tmseck.homedns.org>
Resent-Message-ID: <201109011800.p81I0MvV082317@freefall.freebsd.org>

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

>Number:         160372
>Category:       ports
>Synopsis:       [Maintainer] www/squid30: fix for ports/156737
>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:   Thu Sep 01 18:00:22 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Thomas-Martin Seck
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
a private site in Germany
>Environment:
FreeBSD ports collection as of September 1, 2011.

	
>Description:
- Fix: add $command_args for all calls to $command in rc.d/squid
  (ports/156737)
- Bump PORTREVISION for this change.
	
>How-To-Repeat:
	
>Fix:
Apply this patch:

Index: Makefile
===================================================================
--- Makefile	(.../www/squid30)	(Revision 1949)
+++ Makefile	(.../local/squid30)	(Revision 1949)
@@ -61,6 +61,7 @@
 
 PORTNAME=	squid
 PORTVERSION=	3.0.${SQUID_STABLE_VER}
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \
 		http://mirrors.ccs.neu.edu/Squid/ \
Index: files/squid.in
===================================================================
--- files/squid.in	(.../www/squid30)	(Revision 1949)
+++ files/squid.in	(.../local/squid30)	(Revision 1949)
@@ -41,7 +41,7 @@
 #
 
 squid_checkrunning() {
-	${command} ${squid_flags} -k check 2>/dev/null
+	${command} ${command_args} ${squid_flags} -k check 2>/dev/null
 }
 
 squid_setfib() {
@@ -55,7 +55,7 @@
 
 squid_stop() {
 	echo "Stopping ${name}."
-	${command} ${squid_flags} -k shutdown
+	${command} ${command_args} ${squid_flags} -k shutdown
 	run_rc_command poll
 }
 
@@ -66,7 +66,7 @@
 
 command=%%PREFIX%%/sbin/squid
 extra_commands=reload
-reload_cmd="${command} ${squid_flags} -k reconfigure"
+reload_cmd="${command} ${command_args} ${squid_flags} -k reconfigure"
 start_precmd="squid_setfib"
 stop_precmd="squid_checkrunning"
 stop_cmd="squid_stop"

	


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



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