[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src

Module name:	src
Changes by:	espie_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2008/10/06 03:36:17

Modified files:
	usr.sbin/pkg_add: pkg_create pkg_merge 
	usr.sbin/pkg_add/OpenBSD: Add.pm CollisionReport.pm Delete.pm 
	                          PackingElement.pm PackingList.pm 

Log message:
turn the checksums stored in packing elements into real objects, so that
pkg_add becomes mostly independent of the type of checksum stored.

separate md5 into an abstract OpenBSD::digest class and an md5 subclass
with specific methods to compute checksums and serialize results, and create
an sha class that does the same thing with sha256 (with a base64 serializer)