Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jan 2006 15:46:05 +0200
From:      Andrey Slusar <anray@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        sumikawa@FreeBSD.org
Subject:   ports/91314: [PATCH] www/wwwoffle: fix broken wwwoffled.sh
Message-ID:  <E1Eu8xp-0000Jr-Ev@santinel.home.ua>
Resent-Message-ID: <200601042020.k04KK82l039514@freefall.freebsd.org>

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

>Number:         91314
>Category:       ports
>Synopsis:       [PATCH] www/wwwoffle: fix broken wwwoffled.sh
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 04 20:20:07 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Slusar
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
Santinel
>Environment:
System: FreeBSD santinel.home.ua 6.0-STABLE FreeBSD 6.0-STABLE #1: Sat Dec 24 22:48:05 EET 2005 anray@santinel.home.ua:/usr/obj/usr/src/sys/ANRAY i386
>Description:
	Note: maintainer (sumikawa@FreeBSD.org) is CC'ed.

	Fix broken wwwoffled.sh
>How-To-Repeat:
	/etc/rc.conf contains wwwoffled_enable="YES".
	When start system, wwwoffle is not started from wwwoffled.sh
>Fix:

--- wwwoffled.diff begins here ---
--- /usr/ports/www/wwwoffle/files/wwwoffled.sh	Thu May 13 07:27:41 2004
+++ ports/www/wwwoffle/files/wwwoffled.sh	Wed Jan  4 15:33:09 2006
@@ -13,9 +13,9 @@
 #
 # DO NOT CHANGE THESE DEFAULT VALUES HERE
 #
-wwwoffled_enable="NO"
-wwwoffled_flags=""
-wwwoffled_pidfile="/var/run/wwwoffled.pid"
+wwwoffled_enable=${wwwoffled_enable-"NO"}
+wwwoffled_flags=${wwwoffled_flags-""}
+wwwoffled_pidfile=${wwwoffled_pidfile-"/var/run/wwwoffled.pid"}
 wwwoffled_conffile="%%PREFIX%%/etc/wwwoffle.conf"
 
 . %%RC_SUBR%%
--- wwwoffled.diff ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Eu8xp-0000Jr-Ev>