From owner-freebsd-ports Wed Dec 13 0: 5:55 2000 From owner-freebsd-ports@FreeBSD.ORG Wed Dec 13 00:05:53 2000 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 86B7237B400 for ; Wed, 13 Dec 2000 00:05:53 -0800 (PST) Received: from dragon.nuxi.com (Ipittythefoolthattrustsident@trang.nuxi.com [209.152.133.57]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id AAA68461; Wed, 13 Dec 2000 00:05:52 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.1/8.11.1) id eBD85pZ74236; Wed, 13 Dec 2000 00:05:51 -0800 (PST) (envelope-from obrien) Date: Wed, 13 Dec 2000 00:05:51 -0800 From: "David O'Brien" To: Mike Meyer Cc: ports@freebsd.org Subject: Re: ${PREFIX}/etc/defaults? Message-ID: <20001213000550.B74111@dragon.nuxi.com> Reply-To: ports@freebsd.org References: <14898.15686.684993.235346@guru.mired.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <14898.15686.684993.235346@guru.mired.org>; from mwm@mired.org on Sat, Dec 09, 2000 at 08:10:14AM -0600 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: obrien@NUXI.com Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Dec 09, 2000 at 08:10:14AM -0600, Mike Meyer wrote: > In contemplating building another port with a config file, I have to > wonder why ports don't use the same mechanism as the base system? > I.e. - why do I have /usr/opt/etc/healthd.conf.sample instead of > /usr/opt/etc/defaults/healthd.conf, Because binaries aren't flexable enough. Remember that everything in /etc/defaults is used by shell scripts. So it is trival to test for existance and source. -- -- David (obrien@FreeBSD.org) GNU is Not Unix / Linux Is Not UniX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message