CVSROOT: /cvs Module name: src Changes by: es...@cvs.openbsd.org 2014/06/16 03:02:07
Modified files: usr.sbin/pkg_add/OpenBSD: Add.pm Log message: tweak extraction for out-of-order archives: do a first pass where we register every actual file in the plist by its path relative to cwd. Note every meta info as extracted (for partial packages to make sense), then do a newer extract loop, where each archive member must match by path. That way, we can close archives early as soon as we've extracted every new file. To be used shortly by pkg_create. Note that new packages *won't* be extractible by the old tools.