[Top] [All Lists]

CVS: cvs.openbsd.org: src

Subject: CVS: cvs.openbsd.org: src
From: Marc Espie
Date: Mon, 06 Oct 2008 09:42:30 UTC
Newsgroups: fa.openbsd.source-changes

CVSROOT:        /cvs
Module name:    src
Changes by:     espie@xxxxxxxxxxxxxxx   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)

<Prev in Thread] Current Thread [Next in Thread>