From owner-freebsd-ports@FreeBSD.ORG Mon Jun 7 16:59:47 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 5BCA716A4CE for ; Mon, 7 Jun 2004 16:59:47 +0000 (GMT) Received: from wrzx35.rz.uni-wuerzburg.de (wrzx35.rz.uni-wuerzburg.de [132.187.3.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDE6843D46 for ; Mon, 7 Jun 2004 16:59:46 +0000 (GMT) (envelope-from q@uni.de) Received: from wrzx30.rz.uni-wuerzburg.de (wrzx30.rz.uni-wuerzburg.de [132.187.1.30]) by wrzx35.rz.uni-wuerzburg.de (Postfix) with ESMTP id 5DBF9DCAC7 for ; Mon, 7 Jun 2004 18:59:35 +0200 (CEST) Received: from virusscan (localhost [127.0.0.1]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id 43ABD76997 for ; Mon, 7 Jun 2004 18:59:35 +0200 (CEST) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id 28C807640D for ; Mon, 7 Jun 2004 18:59:35 +0200 (CEST) Received: from coyote.q.local (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 0D1A3D387C for ; Mon, 7 Jun 2004 18:59:35 +0200 (CEST) Received: from roadrunner.q.local (roadrunner [192.168.0.147]) by coyote.q.local (8.12.10/8.12.10) with ESMTP id i57GxYw2003398 for ; Mon, 7 Jun 2004 18:59:34 +0200 (CEST) (envelope-from q@roadrunner.q.local) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.12.10/8.12.10) with ESMTP id i57GxYZW003579 for ; Mon, 7 Jun 2004 18:59:34 +0200 (CEST) (envelope-from q@roadrunner.q.local) Received: (from q@localhost) by roadrunner.q.local (8.12.10/8.12.10/Submit) id i57GxXAv003578 for ports@freebsd.org; Mon, 7 Jun 2004 18:59:34 +0200 (CEST) (envelope-from q) Date: Mon, 7 Jun 2004 18:59:33 +0200 From: Ulrich Spoerlein To: ports@freebsd.org Message-ID: <20040607165933.GB765@galgenberg.net> Mail-Followup-To: ports@freebsd.org References: <20040607152752.GD9227@spamcop.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FkmkrVfFsRoUs1wW" Content-Disposition: inline In-Reply-To: <20040607152752.GD9227@spamcop.net> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new (Rechenzentrum Universitaet Wuerzburg) Subject: Re: RFC: Re-work pkgdep/DEPORIGIN? 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: Mon, 07 Jun 2004 16:59:47 -0000 --FkmkrVfFsRoUs1wW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 07.06.2004 at 11:27:52 -0400, Jim Trigg wrote: > > The real fix is IMHO not to blindly record the dependancy provided in > > the Makefile. That is: >=20 > > LIB_DEPENDS+=3D pq.3:${PORTSDIR}/databases/postgresql7-client >=20 > > will record databases/postgresql7 as dependancy, no matter what package > > actually provided the libpq.so.3 in the first place. Postgres is not the > > only place where this is wrong, lang/php4 has the same problems. Most > > Ports require www/mod_php which I dont have installed. Instead I'm using > > lang/php4 with WITH_APACHE. >=20 > The real fix IMHO is to use a strategy similar to what Debian Linux > uses: instead of depending on specific ports, depend on capabilities.=20 > So for example, www/horde2 would depend on webphp, and lang/php4 and > www/mod_php4 would each provide webphp. (I don't know the postgres port > family as well, so I can't readily give an example using it.) I don't know the specific debian facilities, but isn't this overkill? There are mostly two or three ports that come into consideration when satis= fying a dependancy (postgresql and postgresql-client, or lang/php4 and www/mod_php4, or linux_base-{6,7,8}). Most of the times these are even slave ports (I think), so providing elaborate capabilities management is overkill IMHO. I know that Debian provides a MTA capability (Postfix, Exim, Sendmail), but Ports that work with all three of them mostly require special flags for compilation, don't they?=20 As I said, the quick fix is IMHO to have the "real" origin recorded in pkgdep at the Registering stage. This is rather trivial to add (or I'm overlooking some big issues). Ulrich Spoerlein --=20 PGP Key ID: F0DB9F44 Get it while it's hot! PGP Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44 "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin --FkmkrVfFsRoUs1wW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAxJ71mArGtfDbn0QRAvQMAKD23494w2OKHlx9zMgpJQ+l0ey00ACcDoL8 Q/tX6Ie56X/L/naNVscFFnE= =7x5/ -----END PGP SIGNATURE----- --FkmkrVfFsRoUs1wW--