[Midnightbsd-cvs] src: lib/libmport: The mport index should not be unloaded if a recentish

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri May 20 08:49:37 EDT 2011


Log Message:
-----------
The mport index should not be unloaded if a recentish version cannot be downloaded.  If we have one to work with, use it.  This allows mport list & friends to work when the index hasn't been updated on stargazer for some time or when network connectivity is limited. You can at least compare what you have installed to the last index.

Refactor the mirror list routine to return the number of mirrors.  We may want this available later for display in a UI and it's helpful when debugging.

Modified Files:
--------------
    src/lib/libmport:
        fetch.c (r1.6 -> r1.7)
        (http://cvsweb.midnightbsd.org/src/lib/libmport/fetch.c?r1=1.6&r2=1.7)
        index.c (r1.12 -> r1.13)
        (http://cvsweb.midnightbsd.org/src/lib/libmport/index.c?r1=1.12&r2=1.13)
        mport_private.h (r1.7 -> r1.8)
        (http://cvsweb.midnightbsd.org/src/lib/libmport/mport_private.h?r1=1.7&r2=1.8)


More information about the Midnightbsd-cvs mailing list