Subject: Re: update pkgsrc package
To: None <netbsd-users@netbsd.org>
From: Georges Heinesch <geohei-ml@geohei.lu>
List: netbsd-users
Date: 05/02/2001 13:34:46
What I meant was not to update pkgsrc itself, rather than a specific
package of the pkgsrc tree (e.g. "x11/eterm").

TIA

Georges

-- 

Quoting Brian A. Seklecki (29-Apr-01 21: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, ...