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