From owner-freebsd-ports@FreeBSD.ORG Sun Jun 17 09:56:08 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A73ED16A469 for ; Sun, 17 Jun 2007 09:56:08 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mx1.freebsd.org (Postfix) with ESMTP id 0E17F13C43E for ; Sun, 17 Jun 2007 09:56:07 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.14.1/8.14.1) with ESMTP id l5H9txSS022516; Sun, 17 Jun 2007 19:55:59 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.14.1/8.14.1/Submit) id l5H9tudY022515; Sun, 17 Jun 2007 19:55:56 +1000 (EST) (envelope-from peter) Date: Sun, 17 Jun 2007 19:55:56 +1000 From: Peter Jeremy To: Stephen Hurd Message-ID: <20070617095556.GD1173@turion.vk2pj.dyndns.org> References: <20070614070602.GD39533@obiwan.tataz.chchile.org> <200706140714.l5E7EK0U023767@smtpclu-1.eunet.yu> <20070614075418.GA8093@obiwan.tataz.chchile.org> <200706142322.l5ENMbZt009741@smtpclu-6.eunet.yu> <20070615121125.GH1173@turion.vk2pj.dyndns.org> <4673B353.5040006@sasktel.net> <20070616114154.GA56829@obiwan.tataz.chchile.org> <20070617011612.GW1173@turion.vk2pj.dyndns.org> <4674AE35.9070000@sasktel.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MPkR1dXiUZqK+927" Content-Disposition: inline In-Reply-To: <4674AE35.9070000@sasktel.net> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.15 (2007-04-06) Cc: Nikola Lecic , Jeremie Le Hen , freebsd-ports@freebsd.org Subject: Re: Keeping track of automatically installed dependency-only ports 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: Sun, 17 Jun 2007 09:56:08 -0000 --MPkR1dXiUZqK+927 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-Jun-16 20:44:53 -0700, Stephen Hurd wrote: >> Agreed, but this situation is not easy to detect with the automated >> ports checks that are in place. > > Impossible even since we're not using automated tools. I was thinking of pointyhat >> Yes - but since it requires the maintainer to manually determine what >> features are automatically detected and enabled, it is something that >> is error-prone - the maintainer could easily accidently overlook it. > > A maintainer needs to do this anyways. A maintainer _should_ do this. They may accidently miss a dependency or they might be too lazy to do a proper job. > Of course, simply not automatically deinstalling SDL would help out quite= a=20 > bit. If I decide to remove SDL, all the results of that are my fault. I= f=20 > removing portXXX also removes SDL, I can blame the ports system for remov= ing=20 > stuff out from under me. A normal 'pkg_delete' will not remove any ports other than those specified and will only remove the port(s) specified iff those ports have no other ports depending on them. If portXYZ registers a dependency on SDL then it will not be possible to remove SDL without disabling the dependency check (via '-f'). The problematic scenario is where the GNU configure script (or equivalent) for portXYZ senses the presence of SDL and decides to use it even though the port doesn't list SDL as a dependency. --=20 Peter Jeremy --MPkR1dXiUZqK+927 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGdQUs/opHv/APuIcRAliJAJ97ShYncAPSX24PrVGXU5VsF0ZsjACeOnDh bRuQPsHoUwv4X3k4qO+VcyQ= =23Kd -----END PGP SIGNATURE----- --MPkR1dXiUZqK+927--