The struct array is dead. STAILQ is everywhere! Update the API to use STAILQ. Add new structs: pkg_dir, pkg_dep, ... Refactor to avoid code duplication. No more PKG_NOTFOUND pkg type. Change how we resolv deps in pkg_add.c When we query the deps or reverse deps, we only get a lighweight struct.
it finds an unknown keyword. Add a test for that
Fix a compilation warning on sparc64. Submitted by: gahr@
The struct pkg_file no longer has a size attribute. The struct pkg has now a flatsize attribute, which represents the size of the uncompressed package. This attribute is used instead of computing the value with the old size of files. The attribute is computed in pkg register and stored in the database, and emited in the manifest. We also emit @file lines into the manifest so we dont have to read the whole archive to get informations about a package.