Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jan 2000 09:22:04 +0500 (ES)
From:      Ilia Chipitsine <ilia@cgilh.chel.su>
To:        Jeremy Lea <reg@FreeBSD.ORG>
Cc:        "Scot W. Hetzel" <hetzels@westbend.net>, ports@FreeBSD.ORG
Subject:   Re: another problem - dependency ... (Re: who the hell ported GNOME ??)
Message-ID:  <Pine.BSF.4.10.10001300917180.275-100000@jane.cgu.chel.su>
In-Reply-To: <20000129124027.G55008@shale.csir.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10001300917180.275-100000>