[Midnightbsd-cvs] src: mport.c: Add preliminary code to check if there is an update in the

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Jun 15 23:22:51 EDT 2011


Log Message:
-----------
Add preliminary code to check if there is an update in the index over the installed version.  This is a bit backwords, but we want to avoid the overhead of reading the package meta info for everything currently installed.  It allows us to skip quite a few things and we're already loading the new update index anyway.

This could potentially save a LOT of bandwidth as we test packages md5 sums meaning we download them in the old case.

Modified Files:
--------------
    src/usr.sbin/mport:
        mport.c (r1.26 -> r1.27)
        (http://cvsweb.midnightbsd.org/src/usr.sbin/mport/mport.c?r1=1.26&r2=1.27)


More information about the Midnightbsd-cvs mailing list