What cvs-supfile Directive did I Leave Out?

2007-03-03 Thread Martin McCormick
I originally wanted to bring the ISO image of FreeBSD6.2
up to date using cvsup.  Everything worked perfectly including
the make buildworld, make installworld, make buildkernel and make
installkernel.  Then was when I realized that I was now running
FreeBSD7.0 after having unwittingly upgraded.

This particular system will be a very busy dhcpd server,
however, so I probably don't want the bleeding edge.  It is a
Dell 2650 and FreeBSD6.2 was the only ISO image of FreeBSD that
found all the right drivers.  I probably need to go back to what
I initially meant to do for safety sake.

Since this was my first successful attempt at using
cvsup, my questions now are:

Can I safely downgrade back to the most stable version of 6.2
using cvsup?

What did I do wrong in the cvs-supfile I used?  upgrades are
great if you want them, but this is going to be a production
system so I would rather try the latest and greatest on a
less-important box.
All I wanted was sources, no ports or X; basically what you would
have after using an ISO image.  Thanks.
The cvs-sup file follows:

*default tag=.
*default host=cvsup15.us.freebsd.org
*default prefix=/usr
*default base=/var/db
*default release=cvs delete use-rel-suffix
src-all




Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What cvs-supfile Directive did I Leave Out?

2007-03-03 Thread Erik Trulsson
On Sat, Mar 03, 2007 at 11:05:47AM -0600, Martin McCormick wrote:
   I originally wanted to bring the ISO image of FreeBSD6.2
 up to date using cvsup.  Everything worked perfectly including
 the make buildworld, make installworld, make buildkernel and make
 installkernel.  Then was when I realized that I was now running
 FreeBSD7.0 after having unwittingly upgraded.
 
   This particular system will be a very busy dhcpd server,
 however, so I probably don't want the bleeding edge.  It is a
 Dell 2650 and FreeBSD6.2 was the only ISO image of FreeBSD that
 found all the right drivers.  I probably need to go back to what
 I initially meant to do for safety sake.
 
   Since this was my first successful attempt at using
 cvsup, my questions now are:
 
 Can I safely downgrade back to the most stable version of 6.2
 using cvsup?

Maybe, but I wouldn't count on it.  I would recommend reinstalling 6.2
from scratch and starting over again.

 
 What did I do wrong in the cvs-supfile I used?  upgrades are
 great if you want them, but this is going to be a production
 system so I would rather try the latest and greatest on a
 less-important box.
 All I wanted was sources, no ports or X; basically what you would
 have after using an ISO image.  Thanks.
 The cvs-sup file follows:
 
 *default tag=.
 *default host=cvsup15.us.freebsd.org
 *default prefix=/usr
 *default base=/var/db
 *default release=cvs delete use-rel-suffix
 src-all

You used the wrong tag.  tag=. specifies that you want HEAD aka -CURRENT
from the repository.  You should use either tag=RELENG_6 or
tag=RELENG_6_2  depending on if you want 6-STABLE or '6.2-RELEASE+security
patches.






-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What cvs-supfile Directive did I Leave Out?

2007-03-03 Thread Fred Condo

Have a look at /usr/share/examples/cvsup/standard-supfile

You probably want something like this:

*default host=cvsup15.us.freebsd.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_6_2
*default delete use-rel-suffix
src-all

--
Fred Condo, Chief Engineer http://quinn.com
Quinn Interactive, Inc. Building better websites for over a decade.




On Mar 3, 2007, at 9:05 AM, Martin McCormick wrote:


I originally wanted to bring the ISO image of FreeBSD6.2
up to date using cvsup.  Everything worked perfectly including
the make buildworld, make installworld, make buildkernel and make
installkernel.  Then was when I realized that I was now running
FreeBSD7.0 after having unwittingly upgraded.

This particular system will be a very busy dhcpd server,
however, so I probably don't want the bleeding edge.  It is a
Dell 2650 and FreeBSD6.2 was the only ISO image of FreeBSD that
found all the right drivers.  I probably need to go back to what
I initially meant to do for safety sake.

Since this was my first successful attempt at using
cvsup, my questions now are:

Can I safely downgrade back to the most stable version of 6.2
using cvsup?

What did I do wrong in the cvs-supfile I used?  upgrades are
great if you want them, but this is going to be a production
system so I would rather try the latest and greatest on a
less-important box.
All I wanted was sources, no ports or X; basically what you would
have after using an ISO image.  Thanks.
The cvs-sup file follows:

*default tag=.
*default host=cvsup15.us.freebsd.org
*default prefix=/usr
*default base=/var/db
*default release=cvs delete use-rel-suffix
src-all

-- 
--



Martin McCormick WB5AGZ  Stillwater, OK
Systems Engineer
OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]




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


Re: What cvs-supfile Directive did I Leave Out?

2007-03-03 Thread Martin McCormick
Erik Trulsson writes:
 Maybe, but I wouldn't count on it.  I would recommend reinstalling 6.2
 from scratch and starting over again.

Thank you and thanks to Fred Condo who also responded.

I guess the only thing I can salvage from the last day's
work is knowing that cvsup is a good resource when used
carefully.  I was kind of afraid that I would need to start from
scratch because there may be hidden gotchas due to libraries that
shouldn't be there, etc.

I guess since the system did come up working, I could
experiment with the shell script I am building to update 6.2 and
then save it to another system before starting over on Monday.

Also, thanks for the correction on the cvs-supfile.  We
have 3 boxes scheduled to go in service that are all the same
type of server which means that they will all be getting the
CDROM initial install and then hopefully the security patches and
bug fixes via cvsup.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cvs-supfile?

2004-12-21 Thread Adam
My cvs-supifle look like

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

I just want core security updates to FreeBSD and no new ports.  Will this
just update the FreeBSD operating systems?

Thanks

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


Re: cvs-supfile?

2004-12-21 Thread Joshua Tinnin
On Tue, Dec 21, 2004 at 11:11:35PM -0600, Adam wrote:
 My cvs-supifle look like
 
 *default host=cvsup1.us.freebsd.org
 *default base=/usr/local/etc/cvsup
 *default prefix=/usr
 *default tag=RELENG_5_3
 *default release=cvs delete use-rel-suffix compress
 
 I just want core security updates to FreeBSD and no new ports.  Will this
 just update the FreeBSD operating systems?

Yes, as long as you don't have ports selected, like if you had ports-all
in the same file with that tag, you'd end up deleting your ports tree,
because the ports collection doesn't use the same tag. BTW, if you update
ports with cvsup, it will just update the Makefiles and patches, not the
actual ports installed as packages on your system. You might have known
that, but thought it would be worth mentioning.

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


Re: cvs-supfile?

2004-12-21 Thread Adam
 On Tue, Dec 21, 2004 at 11:11:35PM -0600, Adam wrote:
  My cvs-supifle look like
 
  *default host=cvsup1.us.freebsd.org
  *default base=/usr/local/etc/cvsup
  *default prefix=/usr
  *default tag=RELENG_5_3
  *default release=cvs delete use-rel-suffix compress
 
  I just want core security updates to FreeBSD and no new ports.  Will
this
  just update the FreeBSD operating systems?

 Yes, as long as you don't have ports selected, like if you had ports-all
 in the same file with that tag, you'd end up deleting your ports tree,
 because the ports collection doesn't use the same tag. BTW, if you update
 ports with cvsup, it will just update the Makefiles and patches, not the
 actual ports installed as packages on your system. You might have known
 that, but thought it would be worth mentioning.

 - jt


I didn't know, how would I change it so it would also update with patches
and makefiles?

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

Thanks

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


Re: cvs-supfile?

2004-12-21 Thread Joshua Tinnin
Whoops, forgot to send this to the list ...

- jt

---BeginMessage---
On Tue, Dec 21, 2004 at 11:33:57PM -0600, Adam wrote:
  On Tue, Dec 21, 2004 at 11:11:35PM -0600, Adam wrote:
   My cvs-supifle look like
  
   *default host=cvsup1.us.freebsd.org
   *default base=/usr/local/etc/cvsup
   *default prefix=/usr
   *default tag=RELENG_5_3
   *default release=cvs delete use-rel-suffix compress
  
   I just want core security updates to FreeBSD and no new ports.  Will
 this
   just update the FreeBSD operating systems?
 
  Yes, as long as you don't have ports selected, like if you had ports-all
  in the same file with that tag, you'd end up deleting your ports tree,
  because the ports collection doesn't use the same tag. BTW, if you update
  ports with cvsup, it will just update the Makefiles and patches, not the
  actual ports installed as packages on your system. You might have known
  that, but thought it would be worth mentioning.
 
 I didn't know, how would I change it so it would also update with patches
 and makefiles?
 
 *default host=cvsup1.us.freebsd.org
 *default base=/usr/local/etc/cvsup
 *default prefix=/usr
 *default tag=RELENG_5_3
 *default release=cvs delete use-rel-suffix compress

If you want to update your ports tree at the same time as the source,
put this in the file:

ports-all tag=.
ports-all

You should also have:

src-all

in the file in order to download all the source for FreeBSD. Just to
clarify, ports-all will download all changes to the ports tree, or it
will put it on your /usr/ports directory if it's not there yet, and
src-all will download all the source for the FreeBSD OS you specify in
the tag, or changes to it if it's already there. After you have
downloaded changes to the ports tree, you have to make or fetch a new
INDEX in oder to use it to install or upgrade ports. The simplest way to
do this is to issue these commands as root:

cd /usr/ports  make fetchindex  portsdb -u

Much of this is also explained in the handbook, which is an excellent 
resource.

You might also want to look into portupgrade and related tools. A good
tutorial is here:
http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html

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


Re: cvs-supfile?

2004-12-21 Thread Joshua Tinnin
On Tue, Dec 21, 2004 at 10:08:30PM -0800, Joshua Tinnin wrote:
 On Tue, Dec 21, 2004 at 11:33:57PM -0600, Adam wrote:
   On Tue, Dec 21, 2004 at 11:11:35PM -0600, Adam wrote:
My cvs-supifle look like
   
*default host=cvsup1.us.freebsd.org
*default base=/usr/local/etc/cvsup
*default prefix=/usr
*default tag=RELENG_5_3
*default release=cvs delete use-rel-suffix compress
   
I just want core security updates to FreeBSD and no new ports.  Will
  this
just update the FreeBSD operating systems?
  
   Yes, as long as you don't have ports selected, like if you had ports-all
   in the same file with that tag, you'd end up deleting your ports tree,
   because the ports collection doesn't use the same tag. BTW, if you update
   ports with cvsup, it will just update the Makefiles and patches, not the
   actual ports installed as packages on your system. You might have known
   that, but thought it would be worth mentioning.
  
  I didn't know, how would I change it so it would also update with patches
  and makefiles?
  
  *default host=cvsup1.us.freebsd.org
  *default base=/usr/local/etc/cvsup
  *default prefix=/usr
  *default tag=RELENG_5_3
  *default release=cvs delete use-rel-suffix compress
 
 If you want to update your ports tree at the same time as the source,
 put this in the file:
 
 ports-all tag=.
 ports-all

I'm sorry, actually you should just have ports-all tag=. Messed up when
I was editing it. If you have both, you will probably delete the ports
tree, because ports-all without a tag will use the default tag, which is
for a release and not ports. Mea culpa.

- jt 

 You should also have:
 
 src-all
 
 in the file in order to download all the source for FreeBSD. Just to
 clarify, ports-all will download all changes to the ports tree, or it
 will put it on your /usr/ports directory if it's not there yet, and
 src-all will download all the source for the FreeBSD OS you specify in
 the tag, or changes to it if it's already there. After you have
 downloaded changes to the ports tree, you have to make or fetch a new
 INDEX in oder to use it to install or upgrade ports. The simplest way to
 do this is to issue these commands as root:
 
 cd /usr/ports  make fetchindex  portsdb -u
 
 Much of this is also explained in the handbook, which is an excellent 
 resource.
 
 You might also want to look into portupgrade and related tools. A good
 tutorial is here:
 http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]