Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Feb 2006 21:51:05 -0600
From:      "Nikolas Britton" <nikolas.britton@gmail.com>
To:        freebsd-questions@freebsd.org, msoulier@digitaltorque.ca
Subject:   Re: release in cvsup supfile
Message-ID:  <ef10de9a0602241951w440facb9hbf04e1aeb36a7752@mail.gmail.com>
In-Reply-To: <20060225020406.GW18867@tigger.digitaltorque.ca>
References:  <20060225020406.GW18867@tigger.digitaltorque.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/24/06, Michael P. Soulier <msoulier@digitaltorque.ca> wrote:
> Hey people,
>
> I notice that in my supfile, I have this:
>
> *default release=3Dcvs tag=3D.
>
> I'm using FreeBSD 5.4. Should I change the tag to 5.4-RELEASE? I don't wa=
nt
> ports that aren't going to work on 5.4. Is that a concern?
>

No, but you need to have at least two cvsup files, one for the system
and the other for ports and everything else so keep reading.... (all
the way to the end!)

Change "*default host" to the cvsup server of your choice, servers are
listed at the bottom of this page:
http://www.freebsd.org/handbook/cvsup.html

Change "*default release=3Dcvs tag=3D" To:
RELENG_5_4: Tracks 5.4-RELEASE errata fix branch
RELENG_5: Tracks 5-STABLE Branch
RELENG_6_0: Tracks 6.0-RELEASE errata fix branch
RELENG_6: Tracks 6-STABLE Branch
HEAD: Tracks -CURRENT, currently FreeBSD 7, it's for developers.

For a full list of branch tags and other good reading materials refer
to the release engineering page:
http://www.freebsd.org/releng/index.html

infomatic# more ~/standard-supfile
*default host=3Dcvsup12.us.FreeBSD.org
*default base=3D/var/db
*default prefix=3D/usr
*default release=3Dcvs tag=3DRELENG_6
*default delete use-rel-suffix
*default compress
src-all

------------------------------------------------
Ports, docs, etc. do not have -RELEASE tags, when you cvsup ports you
always get what would be the equivalent of cvsup'ing you system up
with -CURRENT, hence the dot for the release tag.  You can however
cvsup to a specific date and time in the passed if you use something
like this "*default date=3D2005.11.27.00.00.00", all the zero's are for
time (GMT, 24 hour clock).

infomatic# more ~/ports-supfile
*default host=3Dcvsup12.us.FreeBSD.org
*default base=3D/var/db
*default prefix=3D/usr
*default release=3Dcvs tag=3D.
*default delete use-rel-suffix
*default compress
ports-all
doc-all

After you cvsup new ports you must always read the /usr/ports/UPDATING
file, if your planning on cvsup'ing your ports today your in for a big
doozy as libtool just had a major overhaul, perl and expat were both
update with in the last few weeks and then you have the whole fam vs.
gamin debacle.

Because of the libtool overhaul and the 3 other things you will have
to uninstall every port and package on your system and then reinstall
them.  The good news is that now would be the perfect time to wipe the
system clean and do a fresh install of FreeBSD 6.1-BETA2.  All you
really need to do is backup the important stuff, just tarball
everything and copy it over the network to another system, backup the
following:

/etc
/root
your home directory
/usr/local/etc
/usr/local/ (look around in here for stuff to save, like apache's data
directory, etc.)
/usr/src/sys/i386/conf/ (if you have custom kernel config files)
Possibly /var (I don't know what you use this system for or what you
have installed)
Anything else you want saved

Then download and burn: 6.1-BETA2-i386-disc1.iso
ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/6.1/6.1-BETA2-i386-disc1.=
iso
MD5 (6.1-BETA2-i386-disc1.iso) =3D 3267d7794079d3b803f5f5f004cf04f1

Now install FreeBSD, delete the old slices first with fdisk and don't
install X11, the only package you should install is cvsup-without-gui.
After FreeBSD is installed run cvsup to get all the new ports, then
uninstall perl, run the following:
--------
cd /usr/ports/lang/perl5.8/
make deinstall
make install
perl-after-upgrade
--------

Ok now your good to go, reinstall all the ports you need.


--
BSD Podcasts @ http://bsdtalk.blogspot.com/



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