OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: question about ports update

From: Landry Breuil (landryrhaalovely.net)
Date: Mon Sep 21 2009 - 13:02:36 CDT


On Mon, Sep 21, 2009 at 06:57:58PM +0200, Tomasz Pajor wrote:
>
>>> I've run /usr/ports/infrastructure/build/out-of-date, got the output,
>>> http://puffy.pl/update
>>>
>>> What is the best way to update all the ports?
>>>
>>
>> PKG_PATH=ftp://some.mirror/pub/OpenBSD/snapshots/packages/`machine -a`/ \
>> sudo pkg_add -u
> True, the easiest and fastest way, but if i want to compile them from
> source?

From memory, something like 'SUBDIRLIST=`cat out-of-date-output`
FORCE_UPDATE=hard make update' in /usr/ports. Only do this if you know
what you're doing, and you're able to deal with eventual fallouts.

Or just use packages otherwise, as adviced.