CVSROOT: /cvs Module name: ports Changes by: es...@cvs.openbsd.org 2011/12/31 04:20:00
Modified files: infrastructure/lib/DPB: Fetch.pm Grabber.pm Log message: allow the fetcher part to work as a "true" mirror maker: - keep a cache of checked checksums as ${DISTDIR}/distinfo - read existing cache on startup, don't need to recheck those files. - split checksum_task: update the cache after the checksum is done - create the by_cipher/sha256/... entries - in fetch_only mode, do a "long" checksum on existing files not in the cache. If you ever have doubts on the integrity of already checked files, just rm ${DISTDIR}/distinfo.