Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2012 02:18:38 +1000
From:      Sean <sean@gothic.net.au>
To:        Richard Yao <ryao@gentoo.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Gentoo Solution to Nanny Terminal Problem
Message-ID:  <8B6B2F42-71EA-449A-8A83-8F76C34A2DC5@gothic.net.au>
In-Reply-To: <4FF5B0FE.5010609@gentoo.org>
References:  <CA%2BQLa9B-Dm-=hQCrbEgyfO4sKZ5aG72_PEFF9nLhyoy4GRCGrA@mail.gmail.com> <4FF2E00E.2030502@FreeBSD.org> <86bojxow6x.fsf@ds4.des.no> <4FF35864.5030109@FreeBSD.org> <CAC8HS2Hx%2BqV1zYSzyM6wYzbyA6BStd3HEwc-VDhv40DHM=qCvw@mail.gmail.com> <CAOjFWZ5ikPz_yDhEQutiXVG354qRHYJTn-M_S4Cx-=YRgFP7eQ@mail.gmail.com> <20120704185104.GA42355@DataIX.net> <4FF4B36A.2040608@FreeBSD.org> <20120704180134.7c649e1b@bhuda.mired.org>	<4FF4BEED.10103@FreeBSD.org> <9fab855109ce448d89081b2ad8e5adc8@HUBCAS2.cs.stonybrook.edu> <4FF58257.4040301@gentoo.org> <38FB993D-6EB4-49BF-9790-420F7375E331@gothic.net.au> <4FF5B0FE.5010609@gentoo.org>

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

On 06/07/2012, at 1:21 AM, Richard Yao wrote:

> On 07/05/2012 10:58 AM, Sean wrote:
>>=20
>> On 05/07/2012, at 10:02 PM, Richard Yao wrote:
>>>=20
>>> The second is the e-file command, which will query that database for
>>> whatever follows it. For example, if I want to find out which =
package
>>> installs repoman, I can do `e-file repoman`. I can also do `e-file
>>> /usr/bin/repoman`.
>>>=20
>>> if FreeBSD had an equivalent to this command, this command, then I
>>> imagine that calls for Ubuntu/Fedora features should cease. Gentoo =
users
>>> seem to be happy with e-file.
>>>=20
>>=20
>>=20
>> 0:55 Fri 06-Jul sean@queen [~] pkg_info -W bash
>> /usr/local/bin/bash was installed by package bash-4.2.28
>>=20
>> 0:57 Fri 06-Jul sean@queen [~] pkg_info -W /usr/local/sbin/sendmail=20=

>> /usr/local/sbin/sendmail was installed by package postfix-2.9.3,1
>=20
> Does that tell you about packages that are not installed?
>=20

No, but that wasn't part of your description. Or if it was, I missed it =
and go me for publicly putting my foot in my mouth :)

And if it's going down the path of every package/port there's questions =
(at least to me...) - is it all possible ports/packages including =
options (and that's a big 'how?'), or just the defaults? Considering how =
dynamic ports are with options rather than being broken up into pieces, =
it gets ugly fast - which port has /usr/local/bin/ndb_config? ok, yes, =
mysql*-server, but only if WITH_NDB - it's not default. Maybe that =
should be a mysql*-server-ndb port, but it's not, and it's far from =
alone there ... PHP was at one time the poster child for compiling =
everything in via options rather than using modules and I'm very =
grateful for the maintainers for sorting out that mess as much as they =
have. But it's also another example of non-default options making =
notable changes; what if you're looking for the mod_php setup? Searching =
for mod_php won't work if you just use defaults; it's a non-default =
option for the php5* package. Same with php-fpm.=20

It's an effective solution for the default packages and certainly works =
well on that basis, but the current ports aren't always amenable to =
peeling out the required information in a variety of cases.=20

This is not to say it's a bad idea - it's not, by any means. Quite the =
reverse really. It's just the boundaries and limits really need to be =
clear or its diving down a rabbit hole... (shuffle/split the ports to =
make this easier? Does pkg-ng make it easier to find this sort of =
information? Punt on it and say caveat emptor?)

Gentoo's ebuilds can be just as dynamic - how does Gentoo deal with it?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8B6B2F42-71EA-449A-8A83-8F76C34A2DC5>