From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Nov 21 18:40:37 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 043A016A40F for ; Tue, 21 Nov 2006 18:40:37 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4942643DAD for ; Tue, 21 Nov 2006 18:39:52 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kALIeFWd048057 for ; Tue, 21 Nov 2006 18:40:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kALIeF4b048056; Tue, 21 Nov 2006 18:40:15 GMT (envelope-from gnats) Resent-Date: Tue, 21 Nov 2006 18:40:15 GMT Resent-Message-Id: <200611211840.kALIeF4b048056@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jeremy Chadwick Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E257E16A412 for ; Tue, 21 Nov 2006 18:35:35 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from alnrmhc11.comcast.net (alnrmhc11.comcast.net [206.18.177.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DBD843D98 for ; Tue, 21 Nov 2006 18:35:04 +0000 (GMT) (envelope-from jdc@koitsu.dyndns.org) Received: from icarus.home.lan (c-67-174-220-97.hsd1.ca.comcast.net[67.174.220.97]) by comcast.net (alnrmhc11) with ESMTP id <20061121183527b1100sodd8e>; Tue, 21 Nov 2006 18:35:27 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 6BF581FA01D; Tue, 21 Nov 2006 10:35:27 -0800 (PST) Message-Id: <20061121183527.6BF581FA01D@icarus.home.lan> Date: Tue, 21 Nov 2006 10:35:27 -0800 (PST) From: Jeremy Chadwick To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/105722: rc.subr dracd startup script syntax error X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jeremy Chadwick List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2006 18:40:37 -0000 >Number: 105722 >Category: ports >Synopsis: rc.subr dracd startup script syntax error >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 21 18:40:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Jeremy Chadwick >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: >Environment: System: FreeBSD icarus.home.lan 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Mon Oct 2 10:20:50 PDT 2006 root@icarus.home.lan:/usr/obj/usr/src/sys/ICARUS i386 >Description: It appears the default variable sets for dracd won't work due to a syntax error in the assignment. Should be :- not -. >How-To-Repeat: Maybe try starting dracd without any dracd_xxx variables in rc.conf. >Fix: Apply below patch. --- files/dracd.sh.in.orig Thu Mar 23 07:53:09 2006 +++ files/dracd.sh.in Tue Nov 21 10:34:29 2006 @@ -13,8 +13,8 @@ # # DO NOT CHANGE THESE DEFAULT VALUES HERE # -dracd_enable=${dracd_enable-"NO"} -dracd_flags=${dracd_flags-""} +dracd_enable=${dracd_enable:-"NO"} +dracd_flags=${dracd_flags:-""} . %%RC_SUBR%% >Release-Note: >Audit-Trail: >Unformatted: