From owner-freebsd-ports@FreeBSD.ORG Mon Feb 27 17:47:56 2006 Return-Path: X-Original-To: ports@freebsd.org 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 27F9616A422 for ; Mon, 27 Feb 2006 17:47:56 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id B122F43D48 for ; Mon, 27 Feb 2006 17:47:55 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by xproxy.gmail.com with SMTP id t5so606509wxc for ; Mon, 27 Feb 2006 09:47:55 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mrKJkHjiL7xprDUM1WkT3cZEluiSmur/vESp/UAy3p3lr4tsZwxAeV48UlHsBlvYwgt2ETVCrH93+mVoyjaCYayHZkQZfDTaTMi76/5ma23PqlDtrX5l6zEbhzAGfe36QraA/Y3Q2NaDV6Ws6M12wFRLpDTRT19Am9u5LiHeshM= Received: by 10.70.54.1 with SMTP id c1mr66463wxa; Mon, 27 Feb 2006 09:47:54 -0800 (PST) Received: by 10.70.31.17 with HTTP; Mon, 27 Feb 2006 09:47:54 -0800 (PST) Message-ID: <790a9fff0602270947y5dd9c98dkd26fc17f641cc3e7@mail.gmail.com> Date: Mon, 27 Feb 2006 11:47:54 -0600 From: "Scot Hetzel" To: "Chris Shenton" In-Reply-To: <867j7gd8kw.fsf@PECTOPAH.shenton.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <867j7gd8kw.fsf@PECTOPAH.shenton.org> Cc: ports@freebsd.org Subject: Re: Which ports store/use OPTIONS (/var/db/ports/portname/options)? 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: Mon, 27 Feb 2006 17:47:56 -0000 On 2/27/06, Chris Shenton wrote: > Some ports store their configuration options into > /var/db/ports/portname/options, one example is gaim. > > Other ports don't, like www/apache22. This is annoying because I have > to remember when I rebuild it, and portupgrade won't get my needed > tweaks like WITH_PROXY_MODULES. > > For apache22 I've set my needed tweaks in /etc/make.conf but that > doesn't seem the best place, especially since the config names are so > generic, like WITH_SSL_MODULES. > > So why do some ports save these and others don't? Am I not doing > something required to get it to save these? > There are several reasons why some ports save the options and others don't. 1. Port Maintainer hasn't had time to update their port to use OPTIONS. 2. Port Maintainer resists the use of OPTIONS because the port will then display a dialog, and then require the user to choose which options to build. 3. Users of the FreeBSD Ports collection don't like ports that use OPTIONS, because a dialog box may appear for a dependancy. The reason for this is some of the users start building a port, they then walk away from the system to let the process finish. But during the build process, a dependancy shows its OPTIONS dialog, this causes the build process to pause until the operator comes back and chooses which options the dependancy will build with. This repeats for each dependancy that is using OPTIONS. NOTE: reason 2 & 3 can be solved by setting the BATCH variable when building the port, but it then doesn't allow you to set OPTIONS on the first time the port is built. Instead it uses the ports default options. The only way to get all ports to use OPTIONS is for someone to go thru each category, and convert all the ports. Then Submitting the changes as a PR and the maintainers for review. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.