From owner-freebsd-ports@FreeBSD.ORG Mon Feb 23 10:55:16 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 971D316A4CE for ; Mon, 23 Feb 2004 10:55:16 -0800 (PST) Received: from enterprise.sd73.bc.ca (romulus-net.sd73.bc.ca [142.24.13.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37B5643D1D for ; Mon, 23 Feb 2004 10:55:16 -0800 (PST) (envelope-from fcash-ml@sd73.bc.ca) Received: from mailtest.sd73.bc.ca (mailtest.sd73.bc.ca [10.10.10.14]) i1NIkojd029693 for ; Mon, 23 Feb 2004 10:46:50 -0800 Received: from 192.168.0.185 (SquirrelMail authenticated user fcash) by mailtest.sd73.bc.ca with HTTP; Mon, 23 Feb 2004 10:55:16 -0800 (PST) Message-ID: <49785.192.168.0.185.1077562516.squirrel@mailtest.sd73.bc.ca> In-Reply-To: <20040223120917.608.qmail@laurel.tmseck.homedns.org> References: <4039C206.9020804@fillmore-labs.com> <20040223120917.608.qmail@laurel.tmseck.homedns.org> Date: Mon, 23 Feb 2004 10:55:16 -0800 (PST) From: "Freddie Cash" To: ports@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-RAVMilter-Version: 8.4.1(snapshot 20020919) (enterprise.sd73.bc.ca) Subject: Re: OPTIONS, LATEST_LINK, and RCng X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 18:55:16 -0000 > * Oliver Eikemeier > [gmane.os.freebsd.devel.ports]: >> Freddie Cash wrote: >>> While updating the www/dansguardian* ports to use the new OPTIONS >>> and LATEST_LINK variables, I noticed that the www/squid port now >>> uses RCng for the startup script. This is good news, because it >>> means I can rename the dansguardian startup script back to >>> dansguardian.sh and just use RCng to make sure it's started after >>> squid. > No, the script is rcNG _aware_. If rc.subr is not present in the two > locations where the scripts expects it to be, the script will just > behave like any other rc script. An added bonus is that you get > reload, restart, and status functions from rcNG. Ah, that makes a little more sense, now, after spending a little more time in the startup script. So there's three different ways to go here: - leave it the way it is using the alphabetical order by script name (pre-RCng) - use something like the squid script that works with or without RCng, still based on the script name - add a dependency on rc_subr and let RCng handle everything I think for the time being, I'll go with the second option, until I can figure out how RCng and rc_subr work. This also gives a nicer upgrade path (no RCng --> use if present --> full RCng). Thanks to all for your comments. -- Freddie Cash fcash-ml@sd73.bc.ca