Re: Question about cvsup

2005-03-03 Thread Ewald Jenisch

On Tue, Mar 01, 2005 at 10:15:05PM -0500, Madhusudan Singh wrote:
 Hi
 
  I am new to FreeBSD and trying to use CVSup after someone suggested it to me 
 on comp.unix.misc.bsd.freebsd.
 
  My supfile :
 
 *default tag=.
 *default host=cvsup.FreeBSD.org
 *default prefix=/usr
 *default base=/var/db
 *default release=cvs delete use-rel-suffix compress
 
 ports-all release=cvs
 

Hi,

I usually do it this way:

1) copy /usr/share/examples/cvsup/ports-supfile to /root

2) Edit /root/ports-supfile so that it points to your preferred
CVSup-site; the only thing you need to change is the *default host
entry.

3) run cvsup: cvsup -g -L 2 /root/ports-supfile

4) pkgdb -F

5) portsdb -Uu

At this point you've synced your ports tree and all databases.

Now you can go and install your ports.

Dru Lavigne has written an excellent article on this you can find at

http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html

It basically covers everything I described above including keeping
your ports-tree up2date including all up/down dependencies.

HTH,
-ewald


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


Re: Question about cvsup

2005-03-03 Thread Rob
Ewald Jenisch wrote:
 
 I usually do it this way:
 
 1) copy /usr/share/examples/cvsup/ports-supfile to
/root
 
 2) Edit /root/ports-supfile so that it points to
your
preferred CVSup-site; the only thing you need to
change is the *default host entry.
 
 3) run cvsup: cvsup -g -L 2 /root/ports-supfile

Instead of 1), 2) and 3), you can do all in one
command:

 # cvsup -h another.cvsup.host \
  /usr/share/examples/cvsup/ports-supfile

The advantage is that if the ports-supfile itself
is updated, you'll use the updated version next time,
without any need for copying and re-editing the file.

Rob.




__ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question about cvsup

2005-03-03 Thread Madhusudan Singh
Thanks for a very helpful response.

I have another query. As a matter of practice, is it a good idea to upgrade 
ports immediately after a kernel compile ?

I do not expect that the ports depend directly on the kernel (for most changes 
in kernel), though I could well be wrong (for instance cdrecord on linux had 
major problems after the 2.6.9 kernel came out).

On Thursday 03 March 2005 04:24, Ewald Jenisch wrote:
 On Tue, Mar 01, 2005 at 10:15:05PM -0500, Madhusudan Singh wrote:
  Hi
 
   I am new to FreeBSD and trying to use CVSup after someone suggested it
  to me on comp.unix.misc.bsd.freebsd.
 
   My supfile :
 
  *default tag=.
  *default host=cvsup.FreeBSD.org
  *default prefix=/usr
  *default base=/var/db
  *default release=cvs delete use-rel-suffix compress
 
  ports-all release=cvs

 Hi,

 I usually do it this way:

 1) copy /usr/share/examples/cvsup/ports-supfile to /root

 2) Edit /root/ports-supfile so that it points to your preferred
 CVSup-site; the only thing you need to change is the *default host
 entry.

 3) run cvsup: cvsup -g -L 2 /root/ports-supfile

 4) pkgdb -F

 5) portsdb -Uu

 At this point you've synced your ports tree and all databases.

 Now you can go and install your ports.

 Dru Lavigne has written an excellent article on this you can find at

 http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html

 It basically covers everything I described above including keeping
 your ports-tree up2date including all up/down dependencies.

 HTH,
 -ewald

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


Question about cvsup

2005-03-01 Thread Madhusudan Singh
Hi

 I am new to FreeBSD and trying to use CVSup after someone suggested it to me 
on comp.unix.misc.bsd.freebsd.

 My supfile :

*default tag=.
*default host=cvsup.FreeBSD.org
*default prefix=/usr
*default base=/var/db
*default release=cvs delete use-rel-suffix compress

ports-all release=cvs

 I ran cvsup and upgraded the ports that came with FreeBSD 5.3-RELEASE. Now 
when I try to install some zope products, I get broken dependencies, and in 
some case (more odd IMO) syntax errors (misplaced return statements) that get 
ignored and the product installs, seemingly without any problems.

 Was I wrong to use tag=. above ? If so, should I use RELENG_5_3 to ensure 
that things don't break like this ? The server in question is supposed to run 
a plone based website, and stability is important.

Thanks.

PS : Prior to settling on FreeBSD, I dallied for a while with OpenBSD where 
matching the ports version with the release version was paramount, a 
constraint that seems absent here. Or am I making a blunder here ? :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: about cvsup

2005-02-13 Thread Mike Hauber
On Sunday 13 February 2005 02:48 am, jellf nainggolan wrote:
 anyone can help me how to using cvsup
 and please step by step

The handbook not only gives you step-by-step directions for using 
cvsup, but it also tells you what you're doing while you're at 
it.  The specific link you're looking for is as follows (may have 
wrapped):

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

The Handbook is the FreeBSD Bible, and everytime you read it, 
you'll pick up something new.  Also, the 'man' command helps 
quite a bit, too.  :)

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


about cvsup

2005-02-12 Thread jellf nainggolan
anyone can help me how to using cvsup
and please step by step
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


About cvsup

2005-02-09 Thread Soheil Hassas Yeganeh
Dear All,

Some newbie question to ask:
I want to update my kernel sources on 5.3-Release.
I have used cvsup with src-sys uncommented on the supfile. After it
finishes its job, it just creates the ,v and Attic files and  no
update is happend on my sources. There are even new files (,v) and no
file creation is happend.
 
I just see the ,v files when cvsup finishes its jobs and says finished
successfully. And in the ,v file i can see the changes.

What i can do to update my kernel files? Did I have to build the world ?


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


Re: About cvsup

2005-02-09 Thread Erik Norgaard
Soheil Hassas Yeganeh wrote:
Dear All,
Some newbie question to ask:
I want to update my kernel sources on 5.3-Release.
I have used cvsup with src-sys uncommented on the supfile. After it
finishes its job, it just creates the ,v and Attic files and  no
update is happend on my sources. There are even new files (,v) and no
file creation is happend.
 
I just see the ,v files when cvsup finishes its jobs and says finished
successfully. And in the ,v file i can see the changes.

What i can do to update my kernel files? Did I have to build the world ?
You didn't set tag, eg. tag=RELENG_5 without a tag cvsup will fetch you 
a copy of the repository rather than a snapshot (AFAIK). Also, you may 
prefer to cvsup src-all rather than just src-sys to get sources for 
building world.

Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: About cvsup

2005-02-09 Thread Erik Norgaard
Soheil Hassas Yeganeh wrote:
I want the head version, What tag should i set for the head version
I want to update my kernel sources on 5.3-Release.
The handbook has a list of cvs tags in the appendix. You will want 
RELENG_5_3 or RELENG_5, choosing the latter and updating regularly will 
give a gradual upgrade.

You probably don't want . which is CURRENT, the bleeding edge (aka 
6.0-CURRENT), and may give you some surprises. The tag HEAD is a 
symbolic reference to .. At least, I suggest you wait jumping head 
first till you feel comfortable with the whole process.

Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


question about cvsup

2003-10-14 Thread Jon Reynolds
If I install applications from the ports tree and make all the
configuration changes then upgrade my system using cvsup, will that
break all the installed applications? Like say one of my apps has been
updated for a security hole, will it break it?

Jon

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


Re: question about cvsup

2003-10-14 Thread Jud
On Tue, 14 Oct 2003 07:19:25 -0800, Jon Reynolds [EMAIL PROTECTED]
said:
 If I install applications from the ports tree and make all the
 configuration changes then upgrade my system using cvsup, will that
 break all the installed applications? Like say one of my apps has been
 updated for a security hole, will it break it?

It won't break any of your applications.  It won't upgrade your
applications, either.  To upgrade an application after you have updated
its source with cvsup, portupgrade is excellent.  I'd recommend
installing it, reading the man page, and using it to upgrade your
applications.

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