Regenerate ports tree from installed ports?

Xin LI delphij at delphij.net
Thu Sep 25 21:59:52 UTC 2008


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

Jordi Espasa Clofent wrote:
> Hi all,
> 
> I suppose it's a dumb (and crazy) question, but as post subject says:
> ¿Is it possible to regenerate the /usr/ports tree _from_ the installed
> ports?

As long as your ports tree is not very old, you will be able to use it
in newer system but this is not always guaranteed.  It is, however,
possible to checkout ports tree from the date you specified with either
cvsup or cvs.

My personal suggestion is that when upgrading, try to build a new
environment from scratch (say, everything is brand new) with ports named
by 'pkg_info -qoa' on old system, and have the new environment reveal
potential issues before making major updates to running system.  Another
possible approach is to update from time to time but this could cause
you a lot of downtime.

Cheers,
- --
Xin LI <delphij at delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkjcCcsACgkQi+vbBBjt66D+5gCgraZv+FSEuxKFFiPNTan16Oyf
HvEAoIt0OWlpSqgYwxo7Og/+7e9WBG2g
=DJkP
-----END PGP SIGNATURE-----


More information about the freebsd-hackers mailing list