From owner-freebsd-ports@FreeBSD.ORG Tue Nov 9 08:46:13 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 91F6316A4CE for ; Tue, 9 Nov 2004 08:46:13 +0000 (GMT) Received: from mailout2.barnet.com.au (mailout2.barnet.com.au [218.185.88.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA34D43D39 for ; Tue, 9 Nov 2004 08:46:12 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: by mailout2.barnet.com.au (Postfix, from userid 27) id 1F4CE707439; Tue, 9 Nov 2004 19:46:11 +1100 (EST) X-Viruscan-Id: <419083D3000175E1C65456@BarNet> Received: from mail2-auth.barnet.com.au (mailout2.barnet.com.au [218.185.88.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) Authority" (verified OK)) by mail2.barnet.com.au (Postfix) with ESMTP id D1360707432; Tue, 9 Nov 2004 19:46:10 +1100 (EST) Received: from k7.mavetju (edwin-3.int.barnet.com.au [10.10.12.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) Certificate Authority" (verified OK)) by mail2-auth.barnet.com.au (Postfix) with ESMTP id 498B870742D; Tue, 9 Nov 2004 19:46:10 +1100 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 2EE5460E3; Tue, 9 Nov 2004 19:46:09 +1100 (EST) Date: Tue, 9 Nov 2004 19:46:09 +1100 From: Edwin Groothuis To: Volker Stolz Message-ID: <20041109084609.GE1058@k7.mavetju> References: <20041109040834.GA8940@k7.mavetju> <20041109080124.GA59253@i2.informatik.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041109080124.GA59253@i2.informatik.rwth-aachen.de> User-Agent: Mutt/1.5.6i cc: freebsd-ports@freebsd.org Subject: Re: rc.subr extensions 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: Tue, 09 Nov 2004 08:46:13 -0000 On Tue, Nov 09, 2004 at 09:01:24AM +0100, Volker Stolz wrote: > In gmane.os.freebsd.devel.ports, you wrote: > > - define RC_FILES, which contain a list of all the files to be > > stored in /usr/local/etc/rc.d. This file may contain macros like > > %%LOCALBASE%% and %%RC_SUBR%%. > > Excellent! While we discussed this at the ports BOF at EuroBSDCon, it > was suggested to have a knob for deciding whether to run > "${RC_SCRIPT} restart" on updating a port -- it has to be configurable > since the administrator might want fine-grained control. Any chance of > adding this as sugar on top? That would be if somebody does do "make reinstall" ? It doesn't matter if it happens when a "make install" is happening, since rc.subr would check for the deamon_enable in the /etc/rc.conf anyway. I'm just wondering how this would be done when you upgrade from a package... Any suggestions? Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/