cvsup vs portupgrade

Stephen Liu satimis at yahoo.com
Mon Jun 7 03:02:57 PDT 2004


Hi Viktor,

Tks for your advice.

- snip -
> > # cvsup -g /usr/local/etc/cvsup/ports-supfile
> > # cvsup -g /usr/local/etc/cvsup/stable-supfile
> >
> > Whether I still need to run
> >
> > # portupgrade -aRr
> >
> > 3) If NO to 2) above
> > When shall I need to run
> > # portupgrade -aRr
> >
> > 4) Whether following procedure is correct
> >
> > # cvsup -g /usr/local/etc/cvsup/ports-supfile
> > then
> > # cvsup -g /usr/local/etc/cvsup/stable-supfile
> 
> cvsup synchronizes your source tree.  This ensures
> that whatever you build
> will be using the updated code for the branch you
> are tracking..(- snip -).......as far as your
running
> system is concerned,
> no actual update occurs until you do a make
> buildworld/make installworld,
> make buildkernel/make installkernel, or install a
> particular port using
> the updated source code.
- snip -

Under which directory shall I run
- make buildkernel/make installkernel
or
- make buildworld/make installworld

> cvsup -g /usr/local/etc/cvsup/ports-supfile and
> cvsup -g
> /usr/local/etc/cvsup/stable-supfile separately
> update the sources for the
> FreeBSD version you are tracking and the ports
> collection--if you are
> running both every time you can combine them in a
> single cvsupfile that
> updates everything in a single pass.

Hereinunder are the content of my
/usr/local/etc/cvsup/ports-supfile
....
*default host=cvsup10.freebsd.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
#*default compress
ports-all
....

and
/usr/local/etc/cvsup/stable-supfile
....
*default host=cvsup10.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_5_2
*default delete use-rel-suffix
#*default compress
src-all
doc-all
www
......

Whether you suggest to combine them as
/usr/local/etc/cvsup/ports+stable-supfile
....
*default host=cvsup10.freebsd.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=. tag=RELENG_5_2
*default delete use-rel-suffix
#*default compress
ports-all
src-all
doc-all
www
......

Or any other filename to be suggested

and only run
# cvsup -g /usr/local/etc/cvsup/ports+stable-supfile
each time

B.R.
Stephen

_______________________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk


More information about the freebsd-questions mailing list