Right, I use pkg_version for tracking what I have installed, vs. what the latest is. I appreciate everyone's help on this one, but I think I'm being misunderstood. I really just wanted to know if there was a way to get cvsup to be more specific, and in fact there isn't. I would like to maintain a local cvs tree of just a hand full of specific apps. I have no need for 99% of the ports currently available, and just wanted to find a better, cleaner way to deal with this. Someone responded with use CVS directly, not cvsup. So, I think I'm going to go ahead and write my own script, to read a config file with a list of apps, and pull their directories. Unless someone has already done this. I may well write something to cvsup, since I have a feeling I'm not the only person that would benefit from a tool that will go just one level deeper in syncing
Thanks. -Daniel -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Nathan Kinkade Sent: Sunday, January 05, 2003 3:02 PM To: [EMAIL PROTECTED] Subject: Re: Selecting a specific list of ports to update On Sun, Jan 05, 2003 at 01:57:36PM -0500, Daniel Goepp wrote: > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Nathan Kinkade > Sent: Sunday, January 05, 2003 1:47 PM > To: [EMAIL PROTECTED] > Subject: Re: Selecting a specific list of ports to update > > On Sun, Jan 05, 2003 at 01:15:30PM -0500, Daniel Goepp wrote: > > I know how to set cvsup to update ports-all, or a specific branch like > > ports-mail. However, I would like to be able to make a cvsupfile with > a > > list of just individual ports to update. Any ideas? > > > > Thanks > > > > -Daniel > Check out the FreeBSD handbook. The section on using CVSup talks about > the various tags you can use for ports...they are intuitive. So instead > of ports-all tag, you might put "ports-mail" in your cvsup file. > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#CVS > UP-CONFIG-FILES > > Nathan > Yes, I have been through all that, and I do right now just do a couple > of the specific branches, but even that is more than I really want. I'm > talking about being able to do something like > > ports-security-openssl > ports-security-openssh > ports-net-bind9 > ports-mail-postfix > ports-www-apache13 > > And have it just updates those specific apps, not the whole branch. I > realize that I can just download the individual ports I want, and > install them, without using cvsup, but I like being able to leave it in > my cron, and have them update automatically, and tell me when there are > new versions of just the apps I run, not every mail app out there. > > Thanks. > > -Daniel You could use portupgrade with the --noexecute option to figure out which ports have a newer version. There may be a better way, but a line like: # portupgrade --noexecute openssl* | grep Upgrading ---> Upgrading 'openssl-0.9.6g_1' to 'openssl-0.9.6h' (security/openssl) # ...let's you know that you could upgrade from your current version of 0.9.6g_1 to 0.9.6h. You could use this output to do various things. Alternatively, but maybe not wisely, if you want specific ports to be updated unconditionally via a cron job just use an appropriate portupgrade command in your script. Nathan # To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message