From owner-freebsd-questions@FreeBSD.ORG Tue Jan 24 19:20:02 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34B3916A41F for ; Tue, 24 Jan 2006 19:20:02 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (imap.infracaninophile.co.uk [81.187.76.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3526243D45 for ; Tue, 24 Jan 2006 19:20:00 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from [172.16.3.238] (gateway.ash.thebunker.net [213.129.64.4]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.13.4/8.13.4) with ESMTP id k0OJJhCj002268 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 24 Jan 2006 19:19:50 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <43D67DC9.5030509@infracaninophile.co.uk> Date: Tue, 24 Jan 2006 19:19:37 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20060124190159.GH29457@tigger.digitaltorque.ca> In-Reply-To: <20060124190159.GH29457@tigger.digitaltorque.ca> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enigA0393802A60F28C52C06AA4D" X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (smtp.infracaninophile.co.uk [81.187.76.162]); Tue, 24 Jan 2006 19:19:50 +0000 (GMT) X-Virus-Scanned: ClamAV 0.88/1248/Tue Jan 24 10:54:38 2006 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on happy-idiot-talk.infracaninophile.co.uk Subject: Re: make index X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2006 19:20:02 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA0393802A60F28C52C06AA4D Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Michael P. Soulier wrote: > After running CVSup, I've seen people build their "index" via >=20 > cd /usr/ports > make index > # wait a frickin' long time >=20 > What is the index, and does it really require rebuilding after each CVS= up? The index is a list of all of the ports, what each port depends on, who the maintainer is and various other data. It's used by the 'make search'= command (see ports(7)) an a few other make targets you can invoke from /usr/ports, plus it's used quite extensively by portupgrade(8). Other port maintenance software does not need an index file -- generally they work out the dependency relations between different packages on the fly. You don't need to keep running 'make index' all the time. Firstly, you can download a freshly build index by 'make fetchindex' -- which is sufficient for most uses. If you use the new portsnap(1) facility instead of cvsup(1), you'll get a freshly built index file included automatically. Or (blowing my own trumpet here...) you can install sysutils/p5-FreeBSD-Portindex which gives you a method of incrementally updating your index file based on what was modified during the previous cvsup session (or however you choose to upgrade your ports). 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 --------------enigA0393802A60F28C52C06AA4D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD1n3P8Mjk52CukIwRA0zwAJ4zVD4paArza0C2J1dV2FkVhDNWMgCfR6D1 X8TlP21efkuIIZ45TzWgXQI= =X1c7 -----END PGP SIGNATURE----- --------------enigA0393802A60F28C52C06AA4D--