From owner-freebsd-ports@FreeBSD.ORG Wed Oct 27 08:17:55 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 7403216A4CE for ; Wed, 27 Oct 2004 08:17:55 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AE7443D2F for ; Wed, 27 Oct 2004 08:17:54 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i9R8HkHF072880 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Oct 2004 09:17:46 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)i9R8HgQB072879; Wed, 27 Oct 2004 09:17:42 +0100 (BST) (envelope-from matthew) Date: Wed, 27 Oct 2004 09:17:41 +0100 From: Matthew Seaman To: Tillman Hodgson Message-ID: <20041027081741.GA72488@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Tillman Hodgson , freebsd-ports@freebsd.org References: <20041022074529.GN10363@k7.mavetju> <200410262153.22929.matt@fruitsalad.org> <20041026200121.GS94897@seekingfire.com> <200410270412.59142.benlutz@datacomm.ch> <20041027031306.GX94897@seekingfire.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="envbJBWh7q8WU6mo" Content-Disposition: inline In-Reply-To: <20041027031306.GX94897@seekingfire.com> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (smtp.infracaninophile.co.uk [IPv6:::1]); Wed, 27 Oct 2004 09:17:46 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040904, clamav-milter version 0.75l on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL autolearn=ham version=3.0.1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-ports@freebsd.org Subject: Re: ports/www is too full 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: Wed, 27 Oct 2004 08:17:55 -0000 --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 26, 2004 at 09:13:06PM -0600, Tillman Hodgson wrote: > Let's say I'm looking for a Apache modules. I'm not looking for anything > in particular, I just want to see what's been ported. Window-shopping. > There's 792 ports in the www tree according to `ls | wc -l`. Of those, > 113 are _possibly_ Apache modules (as determined by `ls -d *mod* | wc > -l`). Which of those are really Apache modules, and of those, which are > Apache 1.3.x modules is impossible to easily tell from the output. > `grep`ing for "mod" in the output of some utility would have the same > problem. The fallacy I've fallen into with this example, and the fallacy > that searching tools fall into, is the idea that port names are always > going to be representative of what the port contains (or at least that > the port comment will magically have the right keywords). That's not the > same thing as meta-information like fined-grained categories. About the only way I can see for doing this task effectively would be a google-like keyword search over the contents of the pkg-descr files. The pkg-descr files generally contain a pretty good summary of what the port actually contains -- much better than just relying on port names. Hmmmm... it should be possible to hook up htDig indexing the README.html files. Although did you just try typing in 'apache modules' into the search facility right on the http://www.freebsd.org/ports/ page? You can even tell it to just search the package descriptions. Cheers, Matthew =09 --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --envbJBWh7q8WU6mo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBf1mliD657aJF7eIRAoqMAJ9ZV7LzKwGQlYSe3bfy6IrP8SSnVwCghNDq hClR4Z2Q49I1jcvy+KHX4Fs= =62eZ -----END PGP SIGNATURE----- --envbJBWh7q8WU6mo--