From owner-freebsd-questions Tue Dec 28 14:29:57 1999 Delivered-To: freebsd-questions@freebsd.org Received: from grace.speakeasy.org (grace.speakeasy.net [216.254.0.2]) by hub.freebsd.org (Postfix) with ESMTP id 5F31A1554C for ; Tue, 28 Dec 1999 14:29:55 -0800 (PST) (envelope-from seanj@speakeasy.org) Received: from localhost (seanj@localhost) by grace.speakeasy.org (8.9.3/8.9.3) with ESMTP id OAA13134; Tue, 28 Dec 1999 14:20:12 -0800 Date: Tue, 28 Dec 1999 14:20:12 -0800 (PST) From: Sean Jensen-Grey To: Ben Smithurst Cc: Jonathon McKitrick , Jay Krell , freebsd-questions@FreeBSD.ORG Subject: Re: cvsuping and rebuilding, esp. ports In-Reply-To: <19991228214752.A46546@strontium.scientia.demon.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >> I don't rebuild ports after cvsuping? why? I thought of making a small python > >> script to go check /var/db/pkgs or some such and compare the version numbers > >> there against what you have in ports for the same package. would be handy. > > > > There is actually a patch to pkg_version which scans all versions > > installed and the most recent versions in /ports and builds a script you > > cam modify and run to fetch and install any upgrades you would like. Just > > remember to read it first, hand-edit, and pkg_delete the ones you want to > > replace first. I can't remember where it is off hand. > > I think that option is in pkg_version by default now (e.g. recent > -stable and -current presumably): > > root@magnesium:/usr/local/etc/cvsup/sup/src-all# pkg_version -c | head > # > # bash > # multiple versions (index has 1.14.7,2.03) > # > cd /usr/ports/shells/bash2 > make > pkg_delete -f bash-2.03 > make install Exactly what I was talking about! A perfect addendum to my weekly ports-sup cron job. pkg_version -c is a Good Thing. Thanks for bring it to my attention. As mentioned before I think it owuld be nice if the OS were installed with the ports mechanism. BASE would be just enough to boot the system in single user mode (maybe)? But thats for a different thread on a different day. Thanks, Sean. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message