Newbie Problems with cvsup and updating files.
Bill Moran
wmoran at potentialtech.com
Sat Jul 31 20:04:30 PDT 2004
Paul R Culmo <pculmo at obs2.net> wrote:
>
> wGreetings,
>
> I've been a newbie on FreeBSD 5.2.1 now for about a month. I Have had
> much success lately but I wanted to try the cvsup and update the sources
> (/usr/src) so I can stay current on patches and security updates.
>
> I've managed to create a cvsupfile but all the docs I've read do not
> instruct you how to update the old files with the new files. Does this
> happen automatically or do I need to create a script to do it ?
>
> I setup my cvsupfile to grab src-all and it downloaded but now I have
> filenames with a ,v for almost every file. Like Makefile and now there is
> a Makefile,v in /usr/src and make buildworld will not compile anymore. It
> get errors when trying to build tools.
>
> Below is a snip of my cvsupfile, did I do something wrong?
Yes, I think your supfile is wrong.
> --snip--
>
> *default host=ftp4.us.FreeBSD.org
> *default base=/usr
> *default prefix=/usr
> *default release=cvs RELENG_5_2_1_RELEASE
^^^ This line is what I believe is wrong, replace it with these two
lines:
*default release=cvs
*default tag=RELENG_5_2_1_RELEASE
Although I would recommend tag=RELENG_5_2_1, but that's you're call.
> *default delete use-rel-suffix
>
>
> *default compress
>
> src-all
> ports-base
> ports-www
> #cvsroot-common
> #cvsroot-src
> #cvsroot-ports
> #cvsroot-doc
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
More information about the freebsd-questions
mailing list