From owner-freebsd-ports Sat Jan 29 21:10:21 2000 Delivered-To: freebsd-ports@freebsd.org Received: from mobil.surnet.ru (mobil.surnet.ru [195.54.2.7]) by hub.freebsd.org (Postfix) with ESMTP id 8AC6415F77; Sat, 29 Jan 2000 21:10:10 -0800 (PST) (envelope-from ilia@cgilh.chel.su) Received: (from uucgilh@localhost) by mobil.surnet.ru (8.9.1a/8.9.1) with UUCP id JAA28901; Sun, 30 Jan 2000 09:57:07 +0500 (ES) Received: (from uucp@localhost) by cgilh.chel.su (8.8.7/8.8.7) with UUCP id JAA02806; Sun, 30 Jan 2000 09:15:18 +0500 Received: from localhost (ilia@localhost) by jane.cgu.chel.su (8.9.3/8.9.2) with ESMTP id JAA00311; Sun, 30 Jan 2000 09:22:06 +0500 (ES) (envelope-from ilia@cgilh.chel.su) X-Authentication-Warning: jane.cgu.chel.su: ilia owned process doing -bs Date: Sun, 30 Jan 2000 09:22:04 +0500 (ES) From: Ilia Chipitsine X-Sender: ilia@jane.cgu.chel.su To: Jeremy Lea Cc: "Scot W. Hetzel" , ports@FreeBSD.ORG Subject: Re: another problem - dependency ... (Re: who the hell ported GNOME ??) In-Reply-To: <20000129124027.G55008@shale.csir.co.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- On Sat, 29 Jan 2000, Jeremy Lea wrote: > 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/ I guess, /usr/src/usr.bin/pkg_add was meant. > > The only hard part is working out what's an old version of this > package... yeah, sort of :-) egcs-1.1.1 -> gcc-2.95.5, for instance ... name of package says almost nothing, maybe it's good idea to add something like "port-ID" (a la "Message-ID") ?? any other solution ?? > > Regards, > -Jeremy > > -- > FreeBSD - Because the best things in life are free... > http://www.freebsd.org/ > -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv iQB1AwUBOJO8buRxlWKN2EXhAQHC3wMAvxzwT69TOcXbuZ70tUKaQBZc7j3h/6qG 30JqOGgOOYjuS81KFwdjkra/8OIz5oJVyn3ntZLeYSDeZ1Q0T4DlO9Y8UQZWQlXA 1/L70w9jJX+RuDn8+FXjyntbQw3HPn1U =jxmP -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message