From owner-freebsd-ports@FreeBSD.ORG Sat Oct 22 05:29:40 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 D75D416A41F for ; Sat, 22 Oct 2005 05:29:40 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id A8D1C43D45 for ; Sat, 22 Oct 2005 05:29:39 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 2868 invoked from network); 22 Oct 2005 05:29:37 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 22 Oct 2005 05:29:37 -0000 Received: (qmail 15170 invoked by uid 89); 22 Oct 2005 05:29:37 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 22 Oct 2005 05:29:37 -0000 Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id E5A59115F6; Sat, 22 Oct 2005 08:29:36 +0300 (EEST) Date: Sat, 22 Oct 2005 08:29:36 +0300 From: Ion-Mihai Tetcu To: Matthew Seaman Message-ID: <20051022082936.17c5f5e9@it.buh.tecnik93.com> In-Reply-To: <20051021131456.GB5653@lack-of-gravitas.thebunker.net> References: <4357D830.7060506@swehack.se> <435825F8.4020305@datacomm.ch> <20051021002031.GA12167@holestein.holy.cow> <20051021131456.GB5653@lack-of-gravitas.thebunker.net> X-Mailer: Sylpheed-Claws 1.9.12 (GTK+ 2.6.8; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Benjamin Lutz , nocturnal , freebsd-ports@freebsd.org 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: Sat, 22 Oct 2005 05:29:41 -0000 On Fri, 21 Oct 2005 14:14:56 +0100 Matthew Seaman wrote: > 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 > > > > 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 ... > > > > 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. > > > > WWW: http://www.infracaninophile.co.uk/portindex/ > > > > > > [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. Wow :) If you need any beta-testing, etc. you know where to find me. I continue to be a big fan of portindex, I usually install it in the first ten ports on any new system. -- IOnut Unregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect"