From owner-freebsd-stable Sun Nov 18 22:26:21 2001 Delivered-To: freebsd-stable@freebsd.org Received: from stjohn.stjohn.ac.th (stjohn.stjohn.ac.th [202.21.144.1]) by hub.freebsd.org (Postfix) with ESMTP id 4866937B418 for ; Sun, 18 Nov 2001 22:26:17 -0800 (PST) Received: from tulip ([203.151.134.104]) by stjohn.stjohn.ac.th (8.9.3+Sun/8.9.3) with SMTP id NAA26982 for ; Mon, 19 Nov 2001 13:25:17 +0700 (ICT) Message-Id: <3.0.6.32.20011119132610.00827760@stjohn.stjohn.ac.th> X-Sender: mcrogerm@stjohn.stjohn.ac.th X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Mon, 19 Nov 2001 13:26:10 +0700 To: freebsd-stable@freebsd.org From: Roger Merritt Subject: Re: cvsup of ports, then what? In-Reply-To: <01111605542200.01330@proxy.the-i-pa.com> References: <20011116025723.T8046@seven.alameda.net> <20011116025723.T8046@seven.alameda.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 05:54 AM 11/16/01 -0500, you wrote: >On Friday 16 November 2001 05:57, Ulf Zimmermann wrote: >> On Fri, Nov 16, 2001 at 12:51:55PM +0200, Patrick O'Reilly wrote: >> > I have a number (15 or so) of packages/ports installed. Do I need to run >> > "make" for each of my ports again? Or is there something simpler that >> > will know which ports I have installed and do them all together for me? >> > Also, mergemaster is a beauty when making the world - is there anything >> > similar for the ports? >> >> You can check the port version against what is installed, I am not aware >> of any tool providing this at this time (hey, another little project to >> do if nobody has done it already) > >Check out pkg_version. It doesn't automate the whole process, but it will give >you a nice listing of what needs updated and what is already up to date. The >-c option can be used to build a script that _will_ automate the upgrade of all >your packages, but you'll probably want to review the script before you actually >run it. > >-- >Bill Moran >Potential Technology technical services >http://www.potentialtech.com > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-stable" in the body of the message > Yeah, I *love* pkg_version -c. It doesn't tell you what packages are up-to-date, most people don't really need that, but if you wanted it you could run pkg_version -v to a file and review it at your leisure. Every couple of weeks, or whenever I have time after a cvsup, I run pkg_version -c > needs.update, then edit needs.update to remove the first five lines and check through to see if I recognize any updates that need special handling. After that I run needs.update as a shell script in the background, log off and go home for a good night's rest while the machine is updating itself. I've heard portsupgrade is a great program but haven't gotten around to trying it. -- Roger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message