From owner-freebsd-ports@FreeBSD.ORG Thu Nov 22 08:55:34 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 A61E816A494; Thu, 22 Nov 2007 08:55:34 +0000 (UTC) (envelope-from gergely.czuczy@harmless.hu) Received: from marvin.harmless.hu (marvin.harmless.hu [195.56.55.204]) by mx1.freebsd.org (Postfix) with ESMTP id 2CA6A13C4D5; Thu, 22 Nov 2007 08:55:34 +0000 (UTC) (envelope-from gergely.czuczy@harmless.hu) Received: from localhost (marvin-mail [192.168.0.2]) by marvin.harmless.hu (Postfix) with ESMTP id 8C6627BFEFE; Thu, 22 Nov 2007 09:55:16 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.4.2 (20060627) (Debian) at harmless.hu Received: from marvin.harmless.hu ([192.168.0.2]) by localhost (marvin.harmless.hu [192.168.0.2]) (amavisd-new, port 10024) with ESMTP id zOhzE2QP86e8; Thu, 22 Nov 2007 09:55:16 +0100 (CET) Received: from marvin.harmless.hu (localhost [127.0.0.1]) by marvin.harmless.hu (Postfix) with ESMTP id 39BC47BFEDF; Thu, 22 Nov 2007 09:55:14 +0100 (CET) Date: Thu, 22 Nov 2007 09:55:14 +0100 From: Gergely CZUCZY To: Doug Barton Message-ID: <20071122085514.GA33374@harmless.hu> References: <20071122072006.GA22956@harmless.hu> <47453327.7010305@FreeBSD.org> <20071122084002.GA31823@harmless.hu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=x-unknown; protocol="application/pgp-signature"; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline In-Reply-To: User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: RW , freebsd-ports@freebsd.org 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 08:55:34 -0000 --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 22, 2007 at 12:43:50AM -0800, Doug Barton wrote: > On Thu, 22 Nov 2007, Gergely CZUCZY wrote: >=20 > >>Gergely CZUCZY wrote: > >> > >>>echo 'sevice_enable=3D"YES"' >> /etc/rc.conf.local >=20 > >I said, that this can be done from the Makefile as well, if that OPTIONS > >of yours is enabled. >=20 > But that would violate the principle that ports shouldn't touch files in = /etc. =66rom rc.conf(5): first: The file /etc/rc.conf.local is used to override settings in /etc/rc.conf for historical reasons. See the rc_conf_files variable below. second: rc_conf_files (str) This option is used to specify a list of files that will override the settings in /etc/defaults/rc.conf. The files will be read in the order in which they are specified and should include the full path to the file. By default, the files specified are /etc/rc.conf and /etc/rc.conf.local So, extend rc_conf_files with /usr/local/etc/rc.conf, that's an acceptable extension IMO, and you're done. ports can touch that. Though, IMO ports could touch the .local files, regardless it's in /etc/. That's why it's rc.conf_.local_ . Anyways, I'm not a core member, it was just a point of view. Sincerely, Gergely Czuczy mailto: gergely.czuczy@harmless.hu --=20 Weenies test. Geniuses solve problems that arise. --Qxx1br4bt0+wmkIi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) owF1VT2MG1UQPhJB8SSKSNRhSOOE7K599uXuspEPcj+KDnE5JBtFCYX1bnfW++D5 vc17b232KiSEFAkKRAlSKkqQKNLQgURFARItBTQUVEhUVIh5u7ZzJwcXlu/NzDff zHwz9+mLF9cuXPrpmyfvXP/ksy+e+/qFl06uT0rn1DiccDMVKlzvdNbDXq+3tRFu hpvYvYndDb5+c3s7623hnYO9v/e0cqhcOKwKjMHh+65dSC7ULUhybiy6fumycJst /PaFLbQVTmgVg1BSKFzahoYrm6EJD1SiU6HGMTwstcM0LIxQjp9IZOxYwTAvA7ir p9DtBtDtdLaAO1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