Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 2008 12:43:18 +0000
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Cc:        Pieter Donche <Pieter.Donche@ua.ac.be>
Subject:   Re: portsnap and portupgrade
Message-ID:  <20081218124318.09f16d42@gumby.homeunix.com>
In-Reply-To: <Pine.GSO.4.63.0812181105160.2794@hmacs.cmi.ua.ac.be>
References:  <Pine.GSO.4.63.0812181105160.2794@hmacs.cmi.ua.ac.be>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 18 Dec 2008 11:08:44 +0100 (CET)
Pieter Donche <Pieter.Donche@ua.ac.be> wrote:


> ( decompress to /usr/ports )
> # portsnap extract
> 
> ( it is not clear to me if this is correct if one already has
> a /usr/ports created during sysinstall .. )

You need the extract so that the tree is exactly matched to the
snapshot and the correct metadata is created, it's installing the
tree from disk that's not needed.

> In root /etc/crontab, shedule daily updates of /var/db/portsnap :
> 0 3 * * * root /usr/sbin/portsnap cron
> 
>...
> b. For every future upgrade of  gv  (using portupgrade):
> b.1. ( update ports collection )
> # portsnap update
> ...
> b.5. do the port upgrade
> # portupgrade -R gv
> 
> b.6. install the updated version of ghostview 
> # cd /usr/ports/print/gv
> # make install clean

You don't need the last step, that's what portupgrade does.

For the most part it's better to bring all you ports up-to date if you
can, rather than doing it piecemeal.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081218124318.09f16d42>