From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 5 16:18:53 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5BA87106566B for ; Thu, 5 Jul 2012 16:18:53 +0000 (UTC) (envelope-from sean@gothic.net.au) Received: from hosted.gothic.net.au (eth1539.vic.adsl.internode.on.net [150.101.217.2]) by mx1.freebsd.org (Postfix) with ESMTP id CCF3C8FC08 for ; Thu, 5 Jul 2012 16:18:52 +0000 (UTC) Received: from hosted.gothic.net.au (localhost [127.0.0.1]) by hosted.gothic.net.au (Postfix) with ESMTP id 3WSklZ5XSwzFXvR; Fri, 6 Jul 2012 02:18:50 +1000 (EST) X-Virus-Scanned: amavisd-new at gothic.net.au Received: from hosted.gothic.net.au ([127.0.0.1]) by hosted.gothic.net.au (hosted.gothic.net.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t6GoWascl5l4; Fri, 6 Jul 2012 02:18:40 +1000 (EST) Received: from 2001-44b8-4114-fe02-0080-59d2-963f-eb32.static.ipv6.internode.on.net (2001-44b8-4114-fe02-0080-59d2-963f-eb32.static.ipv6.internode.on.net [IPv6:2001:44b8:4114:fe02:80:59d2:963f:eb32]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sean@gothic.net.au) by hosted.gothic.net.au (Postfix) with ESMTPSA id 3WSklN61QFzFXv4; Fri, 6 Jul 2012 02:18:40 +1000 (EST) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=iso-8859-1 From: Sean In-Reply-To: <4FF5B0FE.5010609@gentoo.org> Date: Fri, 6 Jul 2012 02:18:38 +1000 Content-Transfer-Encoding: quoted-printable Message-Id: <8B6B2F42-71EA-449A-8A83-8F76C34A2DC5@gothic.net.au> References: <4FF2E00E.2030502@FreeBSD.org> <86bojxow6x.fsf@ds4.des.no> <4FF35864.5030109@FreeBSD.org> <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> To: Richard Yao X-Mailer: Apple Mail (2.1278) Cc: freebsd-hackers@freebsd.org Subject: Re: Gentoo Solution to Nanny Terminal Problem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2012 16:18:53 -0000 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?