From owner-freebsd-questions Sun Jan 5 12: 2:17 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10A4D37B401 for ; Sun, 5 Jan 2003 12:02:15 -0800 (PST) Received: from sub21-156.member.dsl-only.net (sub21-156.member.dsl-only.net [63.105.21.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A65C43E4A for ; Sun, 5 Jan 2003 12:02:14 -0800 (PST) (envelope-from nkinkade@sub21-156.member.dsl-only.net) Received: from nkinkade by sub21-156.member.dsl-only.net with local (Exim 4.10) id 18VGyL-000C7C-00 for freebsd-questions@freebsd.org; Sun, 05 Jan 2003 12:02:13 -0800 Date: Sun, 5 Jan 2003 12:02:13 -0800 From: Nathan Kinkade To: freebsd-questions@freebsd.org Subject: Re: Selecting a specific list of ports to update Message-ID: <20030105200213.GN65686@sub21-156.member.dsl-only.net> Reply-To: nkinkade@dsl-only.net Mail-Followup-To: freebsd-questions@freebsd.org References: <20030105184630.GM65686@sub21-156.member.dsl-only.net> <004301c2b4ec$503705e0$6432a8c0@dpg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <004301c2b4ec$503705e0$6432a8c0@dpg> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jan 05, 2003 at 01:57:36PM -0500, Daniel Goepp wrote: > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Nathan Kinkade > Sent: Sunday, January 05, 2003 1:47 PM > To: freebsd-questions@freebsd.org > 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 majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message