From owner-freebsd-ports@FreeBSD.ORG Fri Oct 21 13:14:59 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 993A616A41F for ; Fri, 21 Oct 2005 13:14:59 +0000 (GMT) (envelope-from matthew@thebunker.net) Received: from male.aldigital.co.uk (male.thebunker.net [213.129.64.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F7E043D49 for ; Fri, 21 Oct 2005 13:14:58 +0000 (GMT) (envelope-from matthew@thebunker.net) Received: from lack-of-gravitas.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by male.aldigital.co.uk (Postfix) with ESMTP id 7B38397744; Fri, 21 Oct 2005 14:14:57 +0100 (BST) Received: from lack-of-gravitas.thebunker.net (localhost [127.0.0.1]) by lack-of-gravitas.thebunker.net (8.13.4/8.13.4) with ESMTP id j9LDEvro006428; Fri, 21 Oct 2005 14:14:57 +0100 (BST) (envelope-from matthew@lack-of-gravitas.thebunker.net) Received: (from matthew@localhost) by lack-of-gravitas.thebunker.net (8.13.4/8.13.4/Submit) id j9LDEuXe006427; Fri, 21 Oct 2005 14:14:56 +0100 (BST) (envelope-from matthew) Date: Fri, 21 Oct 2005 14:14:56 +0100 From: Matthew Seaman To: Benjamin Lutz , nocturnal , freebsd-ports@freebsd.org Message-ID: <20051021131456.GB5653@lack-of-gravitas.thebunker.net> Mail-Followup-To: Benjamin Lutz , nocturnal , freebsd-ports@freebsd.org References: <4357D830.7060506@swehack.se> <435825F8.4020305@datacomm.ch> <20051021002031.GA12167@holestein.holy.cow> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yEPQxsgoJgBvi8ip" Content-Disposition: inline In-Reply-To: <20051021002031.GA12167@holestein.holy.cow> User-Agent: Mutt/1.5.11 Cc: Subject: Re: Flaws in the ports system? 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: Fri, 21 Oct 2005 13:14:59 -0000 --yEPQxsgoJgBvi8ip Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 20, 2005 at 08:20:31PM -0400, Parv wrote: > in message <435825F8.4020305@datacomm.ch>, > wrote Benjamin Lutz thusly... > > > > - Searching. Personally, I strongly dislike make search because its > > way too verbose. Search results easily fill several screenfuls, > > and grepping it is not trivial. I've worked around this one by > > creating a tool that writes grep-able sub-indexes to disk in a > > more concise format, the tool's available here: > > http://www.maxlor.com/freebsd-scripts.shtml >=20 > It seems anybody who does not like "make search" and is able to > generate an alternative, does. I did. And so did[0] Matthew Seaman > by having sysutils/p5-FreeBSD-Portindex in the ports system. From the > port's description file ... >=20 > cache-init, cache-update, find-updated and portindex are a set of > perl scripts built around the common core of the FreeBSD::Portindex > modules. Their use is to generate and maintain the ports INDEX or > INDEX-5 files speedily and efficiently. Ultimately they work in a > very similar way to the standard make index command, except that the > FreeBSD::Portindex tools keep a cache of the make describe output > from each port, and can update that cached data incrementally as the > ports tree itself is updated. >=20 > WWW: http://www.infracaninophile.co.uk/portindex/ >=20 >=20 > [0] I am not speaking on behalf of Matthew S, but making one > particular point. Thank you very much for the vote of confidence. Mind you, p5-FreeBSD-Portindex doesn't do much to solve the OPs complaints about 'make search', as it is an alternative to 'make index'. The resulting INDEX{,-5,-6} file (which is what 'make search' searches) should be pretty much identical whether you run cache-update and portindex or you use the standard 'make index'. Hmmm.. looks like I need to update that page a bit, seeing as various version numbers on there have been superceeded now. One of these days I might even get round to the semi-mythical Version 2.0. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK --yEPQxsgoJgBvi8ip Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iQCVAwUBQ1jp0Jr7OpndfbmCAQIfVQQAn28Zd5eY4T3HXxWJlRFSi4w+socchdwK 7VOAcs3eUd2bFz2nvW0OI0gpMC/UvOwAecDAzf/hefvcH3pSGyN+MFOebQIdaCvb /YLvf7hjVIMF4abhUItzZIikp6JU+ZSE3+sNQn/n6xEUU1Ez0kc3SOupc0S0ck/u TcFqAeNCwMI= =Rtzk -----END PGP SIGNATURE----- --yEPQxsgoJgBvi8ip--