Proper way to update ports with svn

Andre Goree andre at drenet.info
Sun Mar 31 01:55:59 UTC 2013


On Sat, 30 Mar 2013 08:56:12 -0400, Lowell Gilbert  
<freebsd-questions-local at be-well.ilk.org> wrote:

> Andre Goree <andre at drenet.info> writes:
>
>> I seem to have to run 'make index' in /usr/ports after I've run 'svn up
>> /usr/ports' in order to see which ports need to be updated using
>> 'portversion'.  This doesn't seem correct...and if so portsnap would
>> seem like a much better tool.  Perhaps I should be running 'make
>> fetchindex' instead?  I'm sure I've read about the correct way to do so,
>> but it doesn't appear to be here:
>> https://wiki.freebsd.org/PortsSubversionPrimer
>
> Subversion is not relevant; it has not changed the use of the
> index file. 'portversion' is part of the portupgrade port, and
> requires not just an index but its own database version of the
> index file. Building your own index will be slightly more
> accurate for what is actually on your box, but fetching it will
> be much faster and nearly always accurate enough.

Thanks for the insight!

-- 
Andre Goree
andre at drenet.info


More information about the freebsd-questions mailing list