Subject: Re: little hacking project: bulk build checksums
To: None <tech-pkg@NetBSD.org>
From: Lasse Kliemann <firstname.lastname@example.org>
Date: 01/22/2005 15:58:22
Content-Type: text/plain; charset=us-ascii
* Hubert Feyrer writes:
> It would be nice to have files with checksums of binary packages=20
> available, esp. after bulk builds.
What do you intend to use them for?
> a) at "make package" time, where $PKGDIR/../../$checksumfile could be=20
> updated. An old checksum of the same filename should be removed. Maybe=20
> this checksum processing should only if PKG_DEVELOPER or BATCH (=3D=3D bu=
> build) is set. Or
> b) after bulk builds, for all packages in one go. Disadvantage here is
> that it would re-calculate checksums of pkgs that didn't change, which ma=
> waste some cycles (e.g. if you have your packages on a slow NFS server :).
> Needed checksums are what is available for NetBSD releases too: BSDSUM,=
> CKSUM, MD5, SYSVSUM.
Just an idea for plan b): You could have one checksum file for each package=
You then compare the timestamps to see which of them needs to be updated.=
Finally, you can merge them into one big file, if you like.
private homepage: http://plastictree.net
NO software patents: http://swpat.ffii.org
do NOT use M$ products: http://plastictree.net/articles/noms
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)
-----END PGP SIGNATURE-----