Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 2008 15:02:26 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Stevan Tiefert <stevan_tiefert@yahoo.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Historical question about INDEX-file in /usr/ports
Message-ID:  <4860FE72.1030503@infracaninophile.co.uk>
In-Reply-To: <200806241536.49891.stevan_tiefert@yahoo.de>
References:  <200806241536.49891.stevan_tiefert@yahoo.de>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Stevan Tiefert wrote:
| Hello list,
| 
| a small question for the expirienced users of FreeBSD:
| 
| At which time the name of "INDEX.db" to "INDEX-?.db" changed? (I suppose 
| during the creating time of FreeBSD 6) And then it was changed, was the 
| database format also been changed?

FreeBSD 4.x and earlier had just plain /usr/ports/INDEX

FreeBSD 5.x and above have /usr/ports/INDEX-N where N is the OS major version.

The INDEX.db file is created and used by programs from the portupgrade(1)
suite: other ports management applications pretty much make a point of not
referring to the INDEX at all.

There wasn't a change in the format of the INDEX coincident with the
name change -- the distinction is because many of the ports are version
number dependent so the content of the INDEX will be different on different
system versions.

There was a change in the format of the INDEX file some time before 4.11-RELEASE
(I think) which added a number of extra columns, but the file format has been
constant since then. 

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                       Flat 3
~                                                      7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
~                                                      Kent, CT11 9PW, UK
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREDAAYFAkhg/nIACgkQ3jDkPpsZ+VZZtgCdHTreKMTKgnK3QbAm1ql08Ct2
IWoAoKsiR9LklfJwIMDgaRyoFypaTvWi
=T6a9
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4860FE72.1030503>