Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2007 19:55:56 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Stephen Hurd <shurd@sasktel.net>
Cc:        Nikola Lecic <nlecic@EUnet.yu>, Jeremie Le Hen <jeremie@le-hen.org>, freebsd-ports@freebsd.org
Subject:   Re: Keeping track of automatically installed dependency-only ports
Message-ID:  <20070617095556.GD1173@turion.vk2pj.dyndns.org>
In-Reply-To: <4674AE35.9070000@sasktel.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <shurd@sasktel.net> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070617095556.GD1173>