0e7c882236
Fix an off-by-one in the check for properly sized pkgdb entries. It rejected perfectly valid entries. Extract dependencies of libarchive from the pkgconfig file and thereby drop knowledge of the needed libraries. At least some versions of HP-UX are known to not support %zu, add a workaround. This is using the black list approach for now. Recognize xz as compression type for pkg_create. The first time an error is hit while fetching packages, try to reget from the same position. This works around the server closing the connection while fetching dependencies. Try to detect common forms of pkgdb corruption and issue a warning in that case. Refactor the pkg_vulnerabilities logic to use the compression support from libarchive. This reduces the amount zlib/bzip2 interaction to the linkage. Add man pages for audit-packages and download-vulnerability-list which point to pkg_admin and notes that the scripts are obsolete. |
||
---|---|---|
.. | ||
build.c | ||
create.h | ||
main.c | ||
perform.c | ||
pkg_create.1 | ||
pl.c | ||
util.c |