From owner-freebsd-ports@FreeBSD.ORG Thu Feb 19 09:46:18 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 29D6016A4CE; Thu, 19 Feb 2004 09:46:18 -0800 (PST) Received: from mail.westbend.net (mail.westbend.net [65.114.87.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id D877A43D1D; Thu, 19 Feb 2004 09:46:17 -0800 (PST) (envelope-from hetzelsw@westbend.net) Received: from SCOT (dopy@scott.hnet.net [38.119.190.206]) by mail.westbend.net (8.12.10/8.12.10) with SMTP id i1JHh5j6002018; Thu, 19 Feb 2004 11:45:02 -0600 (CST) (envelope-from hetzelsw@westbend.net) Message-ID: <04d401c3f710$4443b050$cebe7726@westbend.net> From: "Scot W. Hetzel" To: "Ade Lovett" , "Simon L. Nielsen" References: <20040217193127.5655.qmail@laurel.tmseck.homedns.org><87vfm5777l.fsf@gray.impulse.net><20040217212137.GD719@laurel.tmseck.homedns.org><20040217222807.GA771@arthur.nitro.dk> <1077080652.51446.4.camel@gorf.lovett.com> Date: Thu, 19 Feb 2004 11:43:05 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Milter: Spamilter X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Spam-Status: No, hits=-0.3 required=8.0 tests=QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT_OE version=2.43 cc: freebsd-ports@freebsd.org Subject: Re: Feature Request: /usr/local/etc/rc.conf support 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: Thu, 19 Feb 2004 17:46:18 -0000 From: "Ade Lovett" > Since we already have (now) /etc/rc.d, /usr/local/etc/rc.d, and > /usr/X11R6/etc/rc.d launching scripts left, right, and center, it does > not seem unreasonable to have equivalent etc/rc.conf and etc/conf.d > mechansisms, so that changes can be kept in isolation from each other. > Before I submitted the port for rc_subr and the patch to bsd.port.mk for USE_RC_SUBR, I had a created a patch to rc.subr that added a new function (load_local_rc_config). http://www.freebsd.org/cgi/getmsg.cgi?fetch=1539716+1545012+/usr/local/www/db/text/2002/freebsd-current/20021006.freebsd-current http://www.freebsd.org/cgi/query-pr.cgi?pr=44800 It would have allowed ports to place their settings into PREFIX/etc/rc.conf.d/${name}. The patch was sent for review to the -CURRENT mailing list, as a PR (conf/44800) and to gordon who was bringing rcNG into FreeBSD. Unfortunately, I can't find any responses to the patch. About a year later, I closed the PR and submitted the rc_subr port without the change to rc.subr. If you feel that we need this functionality, ask someone to re-open PR conf/44800 and have the rcNG maintainer look at it. Scot