Subject: CVS commit: pkgsrc/pkgtools/pkg_install
From: Joerg Sonnenberger
Date: 2017-04-19 23:42:50
Message id: 20170419214250.BCD65FBE4@cvs.NetBSD.org

Log Message:
pkg_install-20170419:
- Convert to libarchive 3.x interfaces, avoiding the legacy glue.
- Rename local copy of netpgpverify to match installed headers.
- Shuffle bootstrap code to reduce special cases in pkg_add.
- Always read/write file names in tar archives as binary. While they are
  supposed to be UTF-8, locale conversion creates more problems than it
  solves here.
- Fix const correctness in gpg_verify.
- Add format string annotation for xasprintf for GCC-like compilers.
- Restrict supported archive formats for binary packages to ar (signed
  packages) and tar (actual content) with uncompressed/gzip/bzip2/xz as
  compression choices. This reduces the exposed libarchive surface.
- The pkg-vulnerability file correspondingly supports only the same
  compression choices.

Files:
RevisionActionfile
1.9modifypkgsrc/pkgtools/pkg_install/files/lib/vulnerabilities-file.c
1.171modifypkgsrc/pkgtools/pkg_install/files/lib/version.h
1.13modifypkgsrc/pkgtools/pkg_install/files/lib/pkg_signature.c
1.12modifypkgsrc/pkgtools/pkg_install/files/lib/pkg_io.c
1.68modifypkgsrc/pkgtools/pkg_install/files/lib/lib.h
1.6modifypkgsrc/pkgtools/pkg_install/files/lib/gpgsig.c
1.11modifypkgsrc/pkgtools/pkg_install/files/lib/defs.h
1.36modifypkgsrc/pkgtools/pkg_install/files/lib/Makefile.in
1.63modifypkgsrc/pkgtools/pkg_install/files/info/perform.c
1.6modifypkgsrc/pkgtools/pkg_install/files/create/util.c
1.17modifypkgsrc/pkgtools/pkg_install/files/create/build.c
1.65modifypkgsrc/pkgtools/pkg_install/files/admin/main.c
1.109modifypkgsrc/pkgtools/pkg_install/files/add/perform.c
1.220modifypkgsrc/pkgtools/pkg_install/Makefile