Re: Newbie Problems with cvsup and updating files.

2004-08-01 Thread epilogue
On Sun, 1 Aug 2004 00:23:01 -0400 (EDT)
Paul R Culmo [EMAIL PROTECTED] wrote:

 On Sat, 31 Jul 2004, Bill Moran wrote:
  Yes, I think your supfile is wrong.
 
   *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.
  
 
 Thanks for the reply ,  I made the changes you suggested and re-ran the 
 cvsup but then things got worse,  it deleted all the Makefiles.  I guess
 I need to start over with a vanilla src tree from the CD?  then make 
 buildworld etc.. right ?

um, to my knowledge, no.  not if you've got connectivity and cvsup
installed. in fact, you don't even need to remove /usr/src, because cvsup
should take care of everything for you (ie. remove wrong files, add
necessary ones, leave correct ones).

i suspect that your standard-supfile is to blame, if anything isn't
working.  it could be that you're inadvertently pulling down HEAD, which is
by definition, not guaranteed to build.

here is a copy of my file:


*default host=cvsup3.freebsd.org
*default base=/usr/local/etc/cvsup
*default prefix=/usr/
*default release=cvs tag=RELENG_4_10
*default delete use-rel-suffix compress

# 1) change cvsup3 for the host you want to use
# 2) change RELENG_4_10 for the tag you want
# i believe that RELENG_5_2 is the correct number in your case
# this will pull down any security and other critical fixes based upon
# freebsd 5.2.x

src-base
src-bin
src-contrib
src-crypto
src-etc
src-games
src-gnu
src-include
src-lib
src-libexec
src-release
src-sbin
src-secure
src-share
src-sys
src-sys-crypto
src-tools
src-usrbin
src-usrsbin

#src-all
#src-kerberos5
#src-kerberosIV
#src-eBones


1) you might find it easier to simple use 'src-all' and comment out or
delete the rest of the src-* entries.

2) if you're using a refuse file, do double check that it's contents
reflect what you actually want.  if you're not _100%_sure_ whether or not
you have one, try 'find / -name refuse -print'

3) depending on where you placed your config files, you may not be using
the correct supfile.  try feeding cvsup an absolute path, just to be
certain.  'cvsup /foo/path/to/your/standard-supfile'

hope this helps.


cheers,
epi

 Thanks again 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie Problems with cvsup and updating files.

2004-08-01 Thread Morten Liebach
On 2004-08-01 00:23:01 -0400, Paul R Culmo wrote:
 On Sat, 31 Jul 2004, Bill Moran wrote:
  Yes, I think your supfile is wrong.
 
   *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.

It's RELENG_5_2, not RELENG_5_2_1

Have a nice day
 Morten

-- 
http://m.mongers.org/ -- http://gallery.zentience.org/
__END__
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie Problems with cvsup and updating files.

2004-08-01 Thread Matthew Seaman
On Sat, Jul 31, 2004 at 11:04:25PM -0400, Bill Moran wrote:

 Although I would recommend tag=RELENG_5_2_1, but that's you're call.

Make that tag=RELENG_5_2 -- there's no such tag as the one you
recommend, and trying to use that will end up deleting all of the
user's files.  Note too that this tag only applies to the src -- not
the ports.  Try this instead:

*default host=ftp4.us.freebsd.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_5_2
*default delete use-rel-suffix
*default compress

src-all
ports-all tag=.

Note too that there's not much point in only grabbing parts of the
ports collection.  Unless you know exactly what you're doing, you need
the whole thing in order to have much change of success at using it.

Cheers

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgprtQjIXmWZ6.pgp
Description: PGP signature


Re: Newbie Problems with cvsup and updating files.

2004-08-01 Thread Bill Moran
Morten Liebach [EMAIL PROTECTED] wrote:

 On 2004-08-01 00:23:01 -0400, Paul R Culmo wrote:
  On Sat, 31 Jul 2004, Bill Moran wrote:
   Yes, I think your supfile is wrong.
  
*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.
 
 It's RELENG_5_2, not RELENG_5_2_1

Oops ... sorry about that.  Yeah, trying to grab RELENG_5_2_1 would result
in your entire src tree being deleted, since there is not such branch.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie Problems with cvsup and updating files

2004-08-01 Thread Paul R Culmo

 It's RELENG_5_2, not RELENG_5_2_1

Thanks all, :)   I did manage to try RELENG_5_2_1 and it did wack the 
entire /usr/src directory after I had reloaded it from CD :) but that's ok 
I did make a backup up my custom kernel file so I didn't lose anything 
major. Just took a while waiting for the system to reload the files off 
the Cd.  

Not that it relates to this subject but reloading the files from the CD 
image caused /etc/master.passwd to change, my users that I added to it 
were gone so I had to re-add them .  This wasn't a big deal I was able to 
fix that on my own.  :) 

 -- 
Regards.

Paul R Culmo

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Newbie Problems with cvsup and updating files.

2004-07-31 Thread Paul R Culmo

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? or forget a
step? I've followed the docs and howto's relating to this to a T as far as
I can tell.

Thanks in advance!

Paul R Culmo


--snip--

*default host=ftp4.us.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs RELENG_5_2_1_RELEASE
*default delete use-rel-suffix


*default compress

src-all
ports-base
ports-www
#cvsroot-common
#cvsroot-src
#cvsroot-ports
#cvsroot-doc

--end snip---





___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie Problems with cvsup and updating files.

2004-07-31 Thread Bill Moran
Paul R Culmo [EMAIL PROTECTED] 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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie Problems with cvsup and updating files.

2004-07-31 Thread Paul R Culmo
On Sat, 31 Jul 2004, Bill Moran wrote:
 Yes, I think your supfile is wrong.

  *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.
 

Thanks for the reply ,  I made the changes you suggested and re-ran the 
cvsup but then things got worse,  it deleted all the Makefiles.  I guess I 
need to start over with a vanilla src tree from the CD?  then make 
buildworld etc.. right ?

Thanks again 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]