Extract particular date snapshot from /var/db/portsnap?

Peter Vereshagin peter at vereshagin.org
Wed Jun 15 00:34:42 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You can't take no for an answer, freebsd-questions!
2011/06/14 17:17:39 -0700 Chuck Swiger <cswiger at mac.com> => To Peter Vereshagin :
CS> > Does it keep them? Does portsnap keep snapshots fetched previously?
CS> As far as I can tell, you can't.

But on every 'portsnap fetch' it tells it downloads a new stuff and doesn't
tell it deletes the old?
- From what I see in /var/db/portsnap/files/ it keeps every file it had ever
downloaded: they all have different times.
So it's just a feature that is missing yet from portsnap? or it's never
possible by a portsnap's (storage) design which I believe is rather simple?

Should it be possible to delete every file newer than the date of my preference
and just (something like) 'portsnap extract' then from that storage?

CS> > Suppose I need the particular port or the whole tree as of the specified date
CS> > and time?  Or, if I need the particular version of the specified port and optionally  the
CS> > ports tree that corresponds it?
CS> 
CS> Update the ports tree using cvs/csup, which do support updating to a particular date.

I'd prefer svn/p4 for this if I did. Not a big deal though. ;-)

73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB  12F8 0CE1 4AAC A0E2 6627)
- --
http://vereshagin.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iEYEARECAAYFAk33/hgACgkQDOFKrKDiZifOZQCfR0IsHSFXML60Pwj7UFhEVWCD
E5EAoPglLDjpG72UfSIwIdyWKQ74HGlc
=wxV+
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list