From owner-freebsd-ports Sat Jan 29 12:42:20 2000 Delivered-To: freebsd-ports@freebsd.org Received: from shale.csir.co.za (shale.csir.co.za [146.64.46.5]) by hub.freebsd.org (Postfix) with ESMTP id CE59C16253 for ; Sat, 29 Jan 2000 12:42:02 -0800 (PST) (envelope-from reg@shale.csir.co.za) Received: from granite.hip.berkeley.edu (granite.hip.berkeley.edu [136.152.155.25]) by shale.csir.co.za (8.9.3/8.9.3) with ESMTP id WAA29754; Sat, 29 Jan 2000 22:41:20 +0200 (SAT) (envelope-from reg@shale.csir.co.za) Received: (from reg@localhost) by granite.hip.berkeley.edu (8.9.3/8.9.3) id MAA74728; Sat, 29 Jan 2000 12:40:28 -0800 (PST) (envelope-from reg) Date: Sat, 29 Jan 2000 12:40:28 -0800 From: Jeremy Lea To: Ilia Chipitsine Cc: "Scot W. Hetzel" , ports@FreeBSD.ORG Subject: Re: another problem - dependency ... (Re: who the hell ported GNOME ??) Message-ID: <20000129124027.G55008@shale.csir.co.za> References: <006601bf6a76$69ed2e60$8dfee0d1@westbend.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from ilia@cgilh.chel.su on Sat, Jan 29, 2000 at 10:01:43PM +0500 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, On Sat, Jan 29, 2000 at 10:01:43PM +0500, Ilia Chipitsine wrote: > hope next step will be "upgrading packages without reinstalling" You seem intent on wanting to start a flame war... so here's some work for you to do. Any comments or complaints until this is done will now be simply laziness on your part ;-) There is a quick and easy way to upgrade packages. We find the old pkg in /var/db/pkg, and get it's PLIST. We then merge it's PLIST with our new one, removing duplicate entries. We then install our files, and install in /var/db/pkg with the merged PLIST. Then we go through all the ports which the old package depend on or that the depended on the old package (all this info is in /var/db/pkg/foo-1.0/) and change references to the new package name. Then we install our new depends if any. The source code is in /usr/src/usr.bin/pkg_install/ The only hard part is working out what's an old version of this package... Regards, -Jeremy -- FreeBSD - Because the best things in life are free... http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message