From owner-freebsd-ports@FreeBSD.ORG Thu Nov 22 17:47:03 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65D4B16A41B for ; Thu, 22 Nov 2007 17:47:03 +0000 (UTC) (envelope-from fbsd06+QP=6d91388d@mlists.homeunix.com) Received: from turtle-out.mxes.net (turtle-out.mxes.net [216.86.168.191]) by mx1.freebsd.org (Postfix) with ESMTP id 4582813C448 for ; Thu, 22 Nov 2007 17:47:03 +0000 (UTC) (envelope-from fbsd06+QP=6d91388d@mlists.homeunix.com) Received: from mxout-04.mxes.net (mxout-04.mxes.net [216.86.168.179]) by turtle-in.mxes.net (Postfix) with ESMTP id 6A6E91646E6 for ; Thu, 22 Nov 2007 12:23:03 -0500 (EST) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id C1260D05B0 for ; Thu, 22 Nov 2007 12:23:01 -0500 (EST) Date: Thu, 22 Nov 2007 17:22:59 +0000 From: RW To: freebsd-ports@freebsd.org Message-ID: <20071122172259.793f825b@gumby.homeunix.com.> In-Reply-To: <4745265B.2050407@FreeBSD.org> References: <4740E430.9050901@chuckr.org> <20071119031336.GA73804@k7.mavetju> <790a9fff0711190042x73cd231cqbd643c39be2bd767@mail.gmail.com> <47449199.5000403@FreeBSD.org> <20071122005011.07bad587@gumby.homeunix.com.> <4745265B.2050407@FreeBSD.org> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: ports modifying system setups X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2007 17:47:03 -0000 On Wed, 21 Nov 2007 22:48:59 -0800 Doug Barton wrote: > RW wrote: > > On Wed, 21 Nov 2007 12:14:17 -0800 > > Doug Barton wrote: > > > >> ... I have for some time wanted to add > >> support to rc.subr for a /usr/local/etc/rc.conf.d so that ports > >> could install sensible defaults for rc.conf, > > > > What's the advantage of doing that over having the the defaults > > in the rc.d script, > > I thought I explained that. The point of this thread was that services > installed by ports are not (any longer?) on by default. What I'm > proposing is a way to allow the user to choose to enable the service > using an OPTION (amongst other things). You wrote defaults (plural), I thought you might want to handle other thing apart from yes/no. Having the port options determine whether a port should be off or on by default sounds like a nightmare. You wouldn't know what the packager or previous administrator had set as the default without checking the files. People would still end-up putting settings in rc.conf just to be sure - except that then you wouldn't be able to rely on a comment to turn something off.