CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2014/01/23 15:57:06
Modified files:
usr.sbin/pkg_add: pkg_sign.1
usr.sbin/pkg_add/OpenBSD: PackageLocation.pm PkgCreate.pm
PkgSign.pm
Log message:
tweak the way we create and sign packages significantly:
all modern compression formats support multi-stream archives.
Store the packing-list as a separate stream, and note where the
first stream ends when reading back the packing list.
When pkg_sign sees a split-stream archive, it does not need to unpack/repack
the whole archive: it can just sign the packing-list, close the stream, and
copy the next stream(s) from the source archive verbatim.
This is perfectly transparent to pkg_add, but abuses IO::Uncompress::Gunzip
internals slightly (to be solved with cpan).
also adds explicit option -C for generating a SHA256 list of all packages.
and okay naddy@