From owner-freebsd-ports Mon Apr 2 2:54:19 2001 Delivered-To: freebsd-ports@freebsd.org Received: from rapier.smartspace.co.za (rapier.smartspace.co.za [66.8.25.34]) by hub.freebsd.org (Postfix) with SMTP id 87B5337B728 for ; Mon, 2 Apr 2001 02:54:14 -0700 (PDT) (envelope-from nbm@rapier.smartspace.co.za) Received: (qmail 48303 invoked by uid 1001); 2 Apr 2001 09:53:12 -0000 Date: Mon, 2 Apr 2001 11:53:12 +0200 From: Neil Blakey-Milner To: ports@FreeBSD.org Subject: Re: Port startup scripts configuration data - /etc/rc.conf? Message-ID: <20010402115312.F44609@rapier.smartspace.co.za> References: <20010319111737.B515@ringworld.oblivion.bg> <20010402122940.F462@ringworld.oblivion.bg> <20010402114259.E44609@rapier.smartspace.co.za> <20010402124505.G462@ringworld.oblivion.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010402124505.G462@ringworld.oblivion.bg>; from roam@orbitel.bg on Mon, Apr 02, 2001 at 12:45:05PM +0300 Organization: Building Intelligence X-Operating-System: FreeBSD 4.2-RELEASE i386 X-URL: http://rucus.ru.ac.za/~nbm/ Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon 2001-04-02 (12:45), Peter Pentchev wrote: > On Mon, Apr 02, 2001 at 11:42:59AM +0200, Neil Blakey-Milner wrote: > > On Mon 2001-04-02 (12:29), Peter Pentchev wrote: > > > Absolutely no opinions? :) I gather, then, that it would not be considered > > > a Bad Thing (tm) to do ports configs that way? :) > > > > It's ok, but it'll need a change for 5.x sometime soon too, if my > > prescience is correct. (: > > You mean the NetBSD rc.d/ thing? Weeell.. wouldn't source_rc_confs > still work? Please please please make it still work! ;) Yeah. I suspect that we'll end up with a "/etc/sourceconf", which will return the configuration without any special magic functions and stuff. It'll by default just read in /etc/defaults/rc.conf and /etc/rc.conf as per the function. I'm reasonably sure that we can leave in the function, and work around the function itself in /etc/defaults/rc.conf when writing non-sh tools to read resource configuration. Well, this is my guess as how things will continue, since it'll allow expansion to using netinfo, ldap, or whatever for configuration. (Now if only I had a non-critical computer at home, I could work on it; vmware not really being an option, considering it's an underpowered p166, with about 50 megs of free space. Roll on late retrenchment, salary, and contract payments! *grin*). Neil -- Neil Blakey-Milner nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message