From owner-freebsd-questions Sun Jul 4 11:27:35 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 288AB14D6A for ; Sun, 4 Jul 1999 11:27:33 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id OAA07289; Sun, 4 Jul 1999 14:28:56 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199907041828.OAA07289@cc942873-a.ewndsr1.nj.home.com> Subject: Re: updating all installed ports In-Reply-To: <19990704150142.10905.qmail@hotmail.com> from Amy Wennings at "Jul 4, 99 10:01:41 am" To: amybsd@hotmail.com (Amy Wennings) Date: Sun, 4 Jul 1999 14:28:56 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Amy Wennings wrote, > Is there a simple way to update all installed ports after a CVS update of > the port tree? I do not believe so. And probably for good reason. Off of the top of my head I can think of quite a few non-trivial hurdles to get the process right. However, if you want to try, you can probably write a script to take the listing of /var/db/pkg, trim off version numbers, find the port's directory in /usr/port, then drop in there and uninstall, make, install, and clean. You might want to try things like, not install the same version again, don't uninstall a port to only find the new one is labeled broken. Like I said, you can try that. I am not sure if you really want to. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message