From owner-freebsd-ports@FreeBSD.ORG Mon May 8 20:23:37 2006 Return-Path: X-Original-To: freebsd-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 F421016A407 for ; Mon, 8 May 2006 20:23:36 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from hood.oook.cz (hood.oook.cz [195.250.137.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79CCB43D5E for ; Mon, 8 May 2006 20:23:35 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from ikaros.oook.cz (localhost [127.0.0.1]) by hood.oook.cz (8.13.6/8.13.6) with ESMTP id k48KNRtW018763 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 8 May 2006 22:23:27 +0200 (CEST) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by ikaros.oook.cz (8.13.6/8.13.6/Submit) id k48KNRVu018762; Mon, 8 May 2006 22:23:27 +0200 (CEST) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: ikaros.oook.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Sideris Michael In-Reply-To: <20060508200926.GA6005@daemons.gr> References: <20060508200926.GA6005@daemons.gr> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-t6NwGHTn7/KPRxOvB3sM" Date: Mon, 08 May 2006 22:23:26 +0200 Message-Id: <1147119806.18944.59.camel@ikaros.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Cc: freebsd-ports@FreeBSD.org Subject: Re: ports structure and improvement suggestions X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 May 2006 20:23:37 -0000 --=-t6NwGHTn7/KPRxOvB3sM Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Sideris Michael p=ED=B9e v po 08. 05. 2006 v 23:09 +0300: > Edit its Makefile defining the KNOBS you want You should never manually edit any files under /usr/ports > install with its 5 KNOBS, is actually 10 ports with 10 KNOBS. So what? We= ll, you have to visit 10 > different port directories, after you find their location, go through 10 = Makefiles to discover which > of these ports can be configured by adding KNOBS to /etc/make.conf or by = using the OPTIONS > framework. And this is somewgar a mild case. There are ports with more th= an 20 dependencies and over > 50 KNOBS. make config-recursive > Now, let's consider that somebody knows all these, which are not mentione= d in that clear way > through the handbook. He will need 2-5 minutes to configure his ports. Le= t me not talk about the > average or new user.=20 I will not let you. Average or new user does not need to tune any ports. He's satisfied with the defaults. > modify the existing Makefiles to include the OPTIONS framework=20 That is the goal. Please submit patches whenever you hit the old style Makefile. > Also, it would be nice to include tools like portupgrade, not > portupgrade, in the base system.=20 Yes, it would be nice. You're going to write it? It must be in shell or in C. Expecting patches. > I would like to hear your ideas and comments on the things I mentioned ab= ove. The conclusion is: the code will not write by itself. > One last thing. Without any intention to advertise anything, I have creat= ing a shell script, that > given a port name as an argument it can find, or at least try to find, re= cursively all the > dependencies of this port along with the KNOBS associated with each port = and display which of these > ports are configured through the OPTIONS framework. You can fetch it from > http://black.daemons.gr/msid/knoby and modify it to suit your needs. Than= ks in advance. Nice. It should not be necessary once we have OPTIONS everywhere, but, what about a script that would emulate Gentoo's emerge -pv ? That would rock. --=20 Pav Lucistnik On real UNIX, /usr/bin/more prints -More-. --=-t6NwGHTn7/KPRxOvB3sM Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?= =?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEX6i+ntdYP8FOsoIRAp6CAKDIsoiUdMKcGTr3uPWjG1Eapb2NNwCgqa8v lQj/e0P0w0tAExFPBzmEMPU= =fyth -----END PGP SIGNATURE----- --=-t6NwGHTn7/KPRxOvB3sM--