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

next in thread | previous in thread | raw e-mail | index | archive | help
RW wrote:
> 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.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 
Also use portaudit to check for security issues with installed ports.

# portaudit -Fda
(fecth the updated audit database and check your ports against it)



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