From owner-freebsd-questions Sun Jan 5 15:20: 8 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 AF88837B401 for ; Sun, 5 Jan 2003 15:20:05 -0800 (PST) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0609143EA9 for ; Sun, 5 Jan 2003 15:20:05 -0800 (PST) (envelope-from freebsd@goepp.com) Received: from dpg (h002078d5d728.ne.client2.attbi.com[24.62.123.170]) by sccrmhc03.attbi.com (sccrmhc03) with SMTP id <2003010523200400300larj2e>; Sun, 5 Jan 2003 23:20:04 +0000 Reply-To: From: "Daniel Goepp" To: Subject: RE: Selecting a specific list of ports to update Date: Sun, 5 Jan 2003 18:19:57 -0500 Message-ID: <001801c2b510$f61c4ff0$6a32a8c0@dpg> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <20030105200213.GN65686@sub21-156.member.dsl-only.net> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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 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: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Nathan Kinkade Sent: Sunday, January 05, 2003 3:02 PM To: freebsd-questions@freebsd.org 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: 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message