From owner-freebsd-questions Tue Dec 28 13:48:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 62414154D4 for ; Tue, 28 Dec 1999 13:48:36 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=ben) by scientia.demon.co.uk with smtp (Exim 3.092 #1) id 1234TB-000C7Q-00; Tue, 28 Dec 1999 21:47:53 +0000 Date: Tue, 28 Dec 1999 21:47:52 +0000 From: Ben Smithurst To: Jonathon McKitrick Cc: Sean Jensen-Grey , Jay Krell , freebsd-questions@freebsd.org Subject: Re: cvsuping and rebuilding, esp. ports Message-ID: <19991228214752.A46546@strontium.scientia.demon.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jonathon McKitrick wrote: > On Tue, 28 Dec 1999, Sean Jensen-Grey wrote: > >> 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 # .. or were you talking about something else? -- Ben Smithurst | PGP: 0x99392F7D ben@scientia.demon.co.uk | key available from keyservers and | ben+pgp@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message