Re: Why does cvsup + supfile delete all my ports ?

2003-07-10 Thread Jud
On Thu, 10 Jul 2003 22:17:38 +0900, "Rob Lahaye" <[EMAIL PROTECTED]> said:
> 
> 
> Hello,
> 
> For my FreeBSD 4.8 PC, my supfile for cvsup contains:
> 
> *default host=cvsup2.freebsd.org
> *default prefix=/usr
> *default base=/usr
> *default release=cvs tag=RELENG_4
> *default delete use-rel-suffix
> *default compress
> ports-all
> 
> When I run "cvsup -L2 supfile", it deletes all the ports.
> Why is that?
> 
> 
> I then have reinstalled the ports (from "/stand/sysinstall").
> I also changed the supfile to:
> 
> *default host=cvsup2.freebsd.org
> *default prefix=/usr
> *default base=/usr
> *default release=cvs tag=.
> *default delete use-rel-suffix
> *default compress
> ports-all
> 
> (Only the "tag" has changed from "RELENG_4" to the dot ".").
> 
> This works; well, at least the ports are not deleted, but updated.
> But updated to what?
> 
> Why can I not use the RELENG_4 for my 4.8 ports selection?
> 
> Will the dot update my ports to the ports of 5.x series?
> If so, will that cause trouble for my 4.8 system?
> 
> What should I do to safely update my ports?
> 
> Thanks!
> Rob.

As Will Saxon and Lowell Gilbert pointed out, both the Handbook and the
example supfiles themselves contain information on this topic.  To put it
very simply, as has often been noted in FreeBSD-questions (thus available
with a Google Groups search), -CURRENT and -STABLE have the same ports
collection.

Handbook, FAQ, man pages, example files, Google Groups searches and other
resources such as http://www.onlamp.com/bsd/> are excellent places
to find thorough, freely available information.  If you'd like a
reference sitting on your desk, there's Greg Lehey's "The Complete
FreeBSD" or Michael Lucas' "Absolute BSD."  And if you can't seem to find
what you need in any of these places or are confused by what you read
there, why, there's always this list.  :)

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


Re: Why does cvsup + supfile delete all my ports ?

2003-07-10 Thread Lowell Gilbert
Quoting the handbook:

   When specifying a tag in CVSup's configuration file, it must be
   preceded with tag= (RELENG_4 will become tag=RELENG_4). Keep in mind
   that only the tag=. is relevant for the ports collection.

So don't use the RELENG_4 tag for ports; use '.' instead.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Why does cvsup + supfile delete all my ports ?

2003-07-10 Thread Will Saxon
> -Original Message-
> From: Rob Lahaye [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 10, 2003 9:18 AM
> To: [EMAIL PROTECTED]
> Subject: Why does cvsup + supfile delete all my ports ?
> 
> 
> (Only the "tag" has changed from "RELENG_4" to the dot ".").
> 
> This works; well, at least the ports are not deleted, but updated.
> But updated to what?
> 
> Why can I not use the RELENG_4 for my 4.8 ports selection?
> 
> Will the dot update my ports to the ports of 5.x series?
> If so, will that cause trouble for my 4.8 system?
> 
> What should I do to safely update my ports?

Leave it as the dot. If you want to have a single supfile that handles ports and 
source, you can say something like:

*default host=cvsup2.freebsd.org
*default prefix=/usr
*default base=/usr
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix
*default compress
src-all
ports-all tag=.

This may be explained in the sample supfiles in /usr/share/examples/cvsup, I am not 
sure.

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