Subject: Re: update pkgsrc package
To: Georges Heinesch <geohei-ml@geohei.lu>
From: Brian A. Seklecki <lavalamp@burghcom.com>
List: netbsd-users
Date: 04/29/2001 16:52:09
Sup seems to be the best way to update pkgsrc. Have a look at
/usr/share/examples/supfiles.
Quick and dirty example:
# more /etc/supfiles/current-pkgsrc.sup
current release=pkgsrc host=sup.netbsd.org hostbase=/ftp/pub \
base=/usr prefix=/usr backup use-rel-suffix compress delete
# sup -v /etc/current-pkgsrc.sup
[...TV dinner here...]
# cd /usr/pkgsrc/what/ever ; make clean CLEANDEPENDS=YES; make install
# whatever -version
--Brian
----
"GNU/Linux: About as stable as the elements at the bottom of the periodic
table"
On 29 Apr 2001, Georges Heinesch wrote:
> Hi.
>
> What is then the best way to update a pkgsrc package?
>
> My initial installation goes:
>
> make
> make install
> make clean
>
> Suppose the just build package is outdated (there's a new version on
> the server). How shall I proceed without killing all it depends on
> and/or removing stuff so that I have to intervene manually after the
> update?
>
> TIA
>
> --
> Cu Georges Heinesch, Luxembourg
> geohei@geohei.lu
> http://www.geohei.lu
> PGP RSA & DH/DSS public key on request and on public servers
>
> ... her name was Lola, ...
>
>
>