Up to [cvs.NetBSD.org] / src / external / bsd / pkg_install / dist / admin
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Merge pkg_install-20240307
Import pkg_install 20240307 from pkgsrc
pkg_install-20210410
Sync external/bsd/pkg_install with -current, requested by wiz in ticket #1626: external/bsd/pkg_install/Makefile.inc up to 1.7 external/bsd/pkg_install/dist/add/perform.c up to 1.7 external/bsd/pkg_install/dist/admin/check.c up to 1.4 external/bsd/pkg_install/dist/admin/main.c up to 1.6 external/bsd/pkg_install/dist/admin/pkg_admin.1 up to 1.6 external/bsd/pkg_install/dist/create/perform.c up to 1.3 external/bsd/pkg_install/dist/create/pl.c up to 1.4 external/bsd/pkg_install/dist/info/perform.c up to 1.3 external/bsd/pkg_install/dist/lib/iterate.c up to 1.3 external/bsd/pkg_install/dist/lib/lib.h up to 1.10 external/bsd/pkg_install/dist/lib/license.c up to 1.10 external/bsd/pkg_install/dist/lib/pkgdb.c up to 1.4 external/bsd/pkg_install/dist/lib/plist.c up to 1.4 external/bsd/pkg_install/dist/lib/version.h up to 1.17 external/bsd/pkg_install/dist/lib/vulnerabilities-file.c up to 1.4 external/bsd/pkg_install/lib/Makefile up to 1.11 external/bsd/pkg_install/lib/config.h up to 1.3 Import pkg_info 20201205, move the default pkg database from /var/db/pkg to ${PREFIX/pkgdb.
Sync external/bsd/pkg_install with -current, requested by wiz in ticket #1140: external/bsd/pkg_install/Makefile.inc up to 1.7 external/bsd/pkg_install/dist/add/perform.c up to 1.7 external/bsd/pkg_install/dist/admin/check.c up to 1.4 external/bsd/pkg_install/dist/admin/main.c up to 1.6 external/bsd/pkg_install/dist/admin/pkg_admin.1 up to 1.6 external/bsd/pkg_install/dist/create/perform.c up to 1.3 external/bsd/pkg_install/dist/create/pl.c up to 1.4 external/bsd/pkg_install/dist/info/perform.c up to 1.3 external/bsd/pkg_install/dist/lib/iterate.c up to 1.3 external/bsd/pkg_install/dist/lib/lib.h up to 1.10 external/bsd/pkg_install/dist/lib/license.c up to 1.10 external/bsd/pkg_install/dist/lib/pkgdb.c up to 1.4 external/bsd/pkg_install/dist/lib/plist.c up to 1.4 external/bsd/pkg_install/dist/lib/version.h up to 1.17 external/bsd/pkg_install/dist/lib/vulnerabilities-file.c up to 1.4 external/bsd/pkg_install/lib/Makefile up to 1.11 external/bsd/pkg_install/lib/config.h up to 1.3 Import pkg_info 20201205, move the default pkg database from /var/db/pkg to ${PREFIX/pkgdb.
merge pkg_install after import of 20201202 version
Import pkg_install from pkgsrc as of 20201202. This changes the default database path from /var/db/pkg to /usr/pkg/pkgdb
Mostly merge changes from HEAD upto 20200411
Merge changes from current as of 20200406
Handle HAVE_NBTOOL_CONFIG_H
Pull up the following revisions, requested by joerg in ticket #352: external/bsd/pkg_install/dist/admin/main.c up to 1.4 external/bsd/pkg_install/dist/admin/pkg_admin.1 up to 1.5 external/bsd/pkg_install/dist/lib/license.c up to 1.9 external/bsd/pkg_install/dist/lib/version.h up to 1.15 Merge pkg_install-20191008 from pkgsrc.
Pull up the following revisions, requested by joerg in ticket #1409: external/bsd/pkg_install/dist/add/perform.c up to 1.6 external/bsd/pkg_install/dist/add/pkg_add.1 up to 1.3 external/bsd/pkg_install/dist/admin/audit.c up to 1.3 external/bsd/pkg_install/dist/admin/main.c up to 1.4 external/bsd/pkg_install/dist/admin/pkg_admin.1 up to 1.5 external/bsd/pkg_install/dist/create/util.c up to 1.2 external/bsd/pkg_install/dist/delete/pkg_delete.c up to 1.3 external/bsd/pkg_install/dist/info/main.c up to 1.3 external/bsd/pkg_install/dist/lib/lib.h up to 1.9 external/bsd/pkg_install/dist/lib/license.c up to 1.9 external/bsd/pkg_install/dist/lib/parse-config.c up to 1.3 external/bsd/pkg_install/dist/lib/pkcs7.c up to 1.4 external/bsd/pkg_install/dist/lib/pkg_io.c up to 1.3 external/bsd/pkg_install/dist/lib/version.h up to 1.15 external/bsd/pkg_install/dist/lib/vulnerabilities-file.c up to 1.3 Merge pkg_install-20191008 from pkgsrc.
Merge pkg_install-20191008
Import pkg_install-20191008. Sync license list with pkgsrc. Add support for "pkg_admin digest".
Resolve conflicts between branch and HEAD
Import pkg_install-20180325
Import pkg_install-20180325.
Sync with HEAD
Sync with HEAD
Merge pkg_install-20170419.
Import pkg_install-20170419.
Pull up following revision(s) (requested by joerg in ticket #1385): external/bsd/pkg_install/dist/add/add.h patch external/bsd/pkg_install/dist/add/main.c patch external/bsd/pkg_install/dist/add/perform.c patch external/bsd/pkg_install/dist/add/pkg_add.1 patch external/bsd/pkg_install/dist/admin/README removed external/bsd/pkg_install/dist/admin/check.c patch external/bsd/pkg_install/dist/admin/main.c patch external/bsd/pkg_install/dist/admin/pkg_admin.1 patch external/bsd/pkg_install/dist/create/build.c patch external/bsd/pkg_install/dist/create/create.h patch external/bsd/pkg_install/dist/create/main.c patch external/bsd/pkg_install/dist/create/perform.c patch external/bsd/pkg_install/dist/create/pkg_create.1 patch external/bsd/pkg_install/dist/create/pl.c patch external/bsd/pkg_install/dist/delete/pkg_delete.1 patch external/bsd/pkg_install/dist/delete/pkg_delete.c patch external/bsd/pkg_install/dist/info/main.c patch external/bsd/pkg_install/dist/info/perform.c patch external/bsd/pkg_install/dist/info/pkg_info.1 patch external/bsd/pkg_install/dist/lib/conflicts.c patch external/bsd/pkg_install/dist/lib/iterate.c patch external/bsd/pkg_install/dist/lib/lib.h patch external/bsd/pkg_install/dist/lib/license.c patch external/bsd/pkg_install/dist/lib/parse-config.c patch external/bsd/pkg_install/dist/lib/pkg_install.conf.5.in patch external/bsd/pkg_install/dist/lib/pkgdb.c patch external/bsd/pkg_install/dist/lib/version.c patch external/bsd/pkg_install/dist/lib/version.h patch pkg_install-20091115: Completely ignore @src in pkg_create. Silently ignore the -L option. The combination of -I and -p are used by pkgsrc for the same result. Do not overwrite a string with itself using snprintf. This breaks setting the pkgdb directory internally on Linux. Explicitly check if the string is the same and otherwise just use xstrdup. Add support to query arbitrary variables with pkg_admin config-var. pkg_install-20100130: - pkg_add -U to rplace an installed version - refactored man pages - PKG_DBDIR / PKG_REFCOUNT_DBDIR as pkg_install.conf options - synced license list - use connection cache from libfetch pkg_install 20100204: - Restore PKG_PREFIX in pkg_delete (PR 42731) - Ensure that the current pkg_install version is at least as new as the version used to build the package
pkg_install-20100421: 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.
sync to netbsd-5
nstall-20100220: Try harder to give the user an idea which file failed. Addresses PR 42223.
Apply patch (requested by joerg in ticket #1298): Update pkg_install to 20100204. pkg_install-20091115: Completely ignore @src in pkg_create. Silently ignore the -L option. The combination of -I and -p are used by pkgsrc for the same result. Do not overwrite a string with itself using snprintf. This breaks setting the pkgdb directory internally on Linux. Explicitly check if the string is the same and otherwise just use xstrdup. Add support to query arbitrary variables with pkg_admin config-var. pkg_install-20100130: - pkg_add -U to rplace an installed version - refactored man pages - PKG_DBDIR / PKG_REFCOUNT_DBDIR as pkg_install.conf options - synced license list - use connection cache from libfetch pkg_install 20100204: - Restore PKG_PREFIX in pkg_delete (PR 42731) - Ensure that the current pkg_install version is at least as new as the version used to build the package
Apply patch (requested by joerg in ticket #1295): Update pkg_install to 20100130. pkg_install-20091115: Completely ignore @src in pkg_create. Silently ignore the -L option. The combination of -I and -p are used by pkgsrc for the same result. Do not overwrite a string with itself using snprintf. This breaks setting the pkgdb directory internally on Linux. Explicitly check if the string is the same and otherwise just use xstrdup. Add support to query arbitrary variables with pkg_admin config-var. pkg_install-20100130: - pkg_add -U to rplace an installed version - refactored man pages - PKG_DBDIR / PKG_REFCOUNT_DBDIR as pkg_install.conf options - synced license list - use connection cache from libfetch
pkg_install-20100130: - pkg_add -U to rplace an installed version - refactored man pages - PKG_DBDIR / PKG_REFCOUNT_DBDIR as pkg_install.conf options - synced license list - use connection cache from libfetch
pkg_install-20091115: Completely ignore @src in pkg_create. Silently ignore the -L option. The combination of -I and -p are used by pkgsrc for the same result. Do not overwrite a string with itself using snprintf. This breaks setting the pkgdb directory internally on Linux. Explicitly check if the string is the same and otherwise just use xstrdup. Add support to query arbitrary variables with pkg_admin config-var.
pull up the following revisions, requested by joerg in ticket 1075: external/bsd/pkg_install/dist/add/add.h: 1.1.1.3 - 1.1.1.5 external/bsd/pkg_install/dist/add/main.c: 1.1.1.4 - 1.1.1.6 external/bsd/pkg_install/dist/add/perform.c: 1.1.1.10 - 1.1.1.12 external/bsd/pkg_install/dist/add/pkg_add.1: 1.1.1.8 external/bsd/pkg_install/dist/admin/audit.c: 1.1.1.6 external/bsd/pkg_install/dist/admin/main.c: 1.1.1.8 - 1.1.1.11 external/bsd/pkg_install/dist/admin/pkg_admin.1: 1.1.1.9 external/bsd/pkg_install/dist/create/build.c: 1.1.1.6 external/bsd/pkg_install/dist/create/create.h: 1.1.1.4 external/bsd/pkg_install/dist/create/main.c: 1.1.1.5 external/bsd/pkg_install/dist/create/perform.c: 1.1.1.4 external/bsd/pkg_install/dist/delete/pkg_delete.1: 1.1.1.5 - 1.1.1.6 external/bsd/pkg_install/dist/delete/pkg_delete.c: 1.1.1.5 external/bsd/pkg_install/dist/info/info.h: 1.1.1.4 - 1.1.1.5 external/bsd/pkg_install/dist/info/main.c: 1.1.1.6 - 1.1.1.7 external/bsd/pkg_install/dist/info/perform.c: 1.1.1.11 external/bsd/pkg_install/dist/info/show.c: 1.1.1.7 external/bsd/pkg_install/dist/lib/config.h.in: 1.1.1.4 external/bsd/pkg_install/dist/lib/conflicts.c: 1.1.1.3 external/bsd/pkg_install/dist/lib/decompress.c: 1.1.1.3 external/bsd/pkg_install/dist/lib/fexec.c: 1.1.1.3 external/bsd/pkg_install/dist/lib/file.c: 1.1.1.4 - 1.1.1.5 external/bsd/pkg_install/dist/lib/gpgsig.c: 1.1.1.2 external/bsd/pkg_install/dist/lib/iterate.c: 1.1.1.3 external/bsd/pkg_install/dist/lib/lib.h: 1.1.1.8 - 1.1.1.9 external/bsd/pkg_install/dist/lib/license.c: 1.1.1.5 external/bsd/pkg_install/dist/lib/parse-config.c: 1.1.1.5 - 1.1.1.7 external/bsd/pkg_install/dist/lib/pkcs7.c: 1.1.1.4 external/bsd/pkg_install/dist/lib/pkg_install.conf.5.in: 1.1.1.6 - 1.1.1.8 external/bsd/pkg_install/dist/lib/pkg_io.c: 1.1.1.7 external/bsd/pkg_install/dist/lib/pkg_signature.c: 1.1.1.6 external/bsd/pkg_install/dist/lib/pkgdb.c: 1.1.1.4 - 1.1.1.5 external/bsd/pkg_install/dist/lib/plist.c: 1.1.1.5 external/bsd/pkg_install/dist/lib/remove.c: 1.1.1.2 external/bsd/pkg_install/dist/lib/var.c: 1.1.1.3 external/bsd/pkg_install/dist/lib/version.h: 1.1.1.18 - 1.1.1.21 Update to pkg_install-20091008: - pkg_add: add support to check license conditions before installation - pkg_delete: add -k option to skip over preserve packages. - WARNS=4 clean, fix some potential uses of uninitialized variables - Add a new command for pkg_admin: findbest. It takes one or more patterns and searches for the best match in PKG_PATH, just like pkg_add would. It prints the URLs of the best match for each pattern to stdout. - Rewrite the config file parser to read the file only once. - Fix a bug in pkg_add's -P handling. For dependencies the pkgdb path was computed incorrectly and included destdir more than once. - Fix the ACTIVE_FTP option to actually set the "a" flag and not the old "p" flag. - restore pkg_add -f functionality for missing dependencies (PR 42001) - pkg_admin rebuild should count packages correctly (he@), also count @pkgdir - fix gpg-sign-package syntax in pkg_admin(1) - change default URL for pkg-vulnerabilities to use HTTP - Fix German accent - Don't dereference a null pointer for pkg_admin add
pull up the following revisions, requested by joerg in ticket 1364: external/bsd/pkg_install/dist/add/add.h: 1.1.1.3 - 1.1.1.5 external/bsd/pkg_install/dist/add/main.c: 1.1.1.4 - 1.1.1.6 external/bsd/pkg_install/dist/add/perform.c: 1.1.1.10 - 1.1.1.12 external/bsd/pkg_install/dist/add/pkg_add.1: 1.1.1.8 external/bsd/pkg_install/dist/admin/audit.c: 1.1.1.6 external/bsd/pkg_install/dist/admin/main.c: 1.1.1.8 - 1.1.1.11 external/bsd/pkg_install/dist/admin/pkg_admin.1: 1.1.1.9 external/bsd/pkg_install/dist/create/build.c: 1.1.1.6 external/bsd/pkg_install/dist/create/create.h: 1.1.1.4 external/bsd/pkg_install/dist/create/main.c: 1.1.1.5 external/bsd/pkg_install/dist/create/perform.c: 1.1.1.4 external/bsd/pkg_install/dist/delete/pkg_delete.1: 1.1.1.5 - 1.1.1.6 external/bsd/pkg_install/dist/delete/pkg_delete.c: 1.1.1.5 external/bsd/pkg_install/dist/info/info.h: 1.1.1.4 - 1.1.1.5 external/bsd/pkg_install/dist/info/main.c: 1.1.1.6 - 1.1.1.7 external/bsd/pkg_install/dist/info/perform.c: 1.1.1.11 external/bsd/pkg_install/dist/info/show.c: 1.1.1.7 external/bsd/pkg_install/dist/lib/config.h.in: 1.1.1.4 external/bsd/pkg_install/dist/lib/conflicts.c: 1.1.1.3 external/bsd/pkg_install/dist/lib/decompress.c: 1.1.1.3 external/bsd/pkg_install/dist/lib/fexec.c: 1.1.1.3 external/bsd/pkg_install/dist/lib/file.c: 1.1.1.4 - 1.1.1.5 external/bsd/pkg_install/dist/lib/gpgsig.c: 1.1.1.2 external/bsd/pkg_install/dist/lib/iterate.c: 1.1.1.3 external/bsd/pkg_install/dist/lib/lib.h: 1.1.1.8 - 1.1.1.9 external/bsd/pkg_install/dist/lib/license.c: 1.1.1.5 external/bsd/pkg_install/dist/lib/parse-config.c: 1.1.1.5 - 1.1.1.7 external/bsd/pkg_install/dist/lib/pkcs7.c: 1.1.1.4 external/bsd/pkg_install/dist/lib/pkg_install.conf.5.in: 1.1.1.6 - 1.1.1.8 external/bsd/pkg_install/dist/lib/pkg_io.c: 1.1.1.7 external/bsd/pkg_install/dist/lib/pkg_signature.c: 1.1.1.6 external/bsd/pkg_install/dist/lib/pkgdb.c: 1.1.1.4 - 1.1.1.5 external/bsd/pkg_install/dist/lib/plist.c: 1.1.1.5 external/bsd/pkg_install/dist/lib/remove.c: 1.1.1.2 external/bsd/pkg_install/dist/lib/var.c: 1.1.1.3 external/bsd/pkg_install/dist/lib/version.h: 1.1.1.18 - 1.1.1.21 Update to pkg_install-20091008: - pkg_add: add support to check license conditions before installation - pkg_delete: add -k option to skip over preserve packages. - WARNS=4 clean, fix some potential uses of uninitialized variables - Add a new command for pkg_admin: findbest. It takes one or more patterns and searches for the best match in PKG_PATH, just like pkg_add would. It prints the URLs of the best match for each pattern to stdout. - Rewrite the config file parser to read the file only once. - Fix a bug in pkg_add's -P handling. For dependencies the pkgdb path was computed incorrectly and included destdir more than once. - Fix the ACTIVE_FTP option to actually set the "a" flag and not the old "p" flag. - restore pkg_add -f functionality for missing dependencies (PR 42001) - pkg_admin rebuild should count packages correctly (he@), also count @pkgdir - fix gpg-sign-package syntax in pkg_admin(1) - change default URL for pkg-vulnerabilities to use HTTP - Fix German accent - Don't dereference a null pointer for pkg_admin add
pull up the following revisions, requested by joerg in ticket 1364: external/bsd/pkg_install/dist/add/add.h: 1.1.1.3 - 1.1.1.5 external/bsd/pkg_install/dist/add/main.c: 1.1.1.4 - 1.1.1.6 external/bsd/pkg_install/dist/add/perform.c: 1.1.1.10 - 1.1.1.12 external/bsd/pkg_install/dist/add/pkg_add.1: 1.1.1.8 external/bsd/pkg_install/dist/admin/audit.c: 1.1.1.6 external/bsd/pkg_install/dist/admin/main.c: 1.1.1.8 - 1.1.1.11 external/bsd/pkg_install/dist/admin/pkg_admin.1: 1.1.1.9 external/bsd/pkg_install/dist/create/build.c: 1.1.1.6 external/bsd/pkg_install/dist/create/create.h: 1.1.1.4 external/bsd/pkg_install/dist/create/main.c: 1.1.1.5 external/bsd/pkg_install/dist/create/perform.c: 1.1.1.4 external/bsd/pkg_install/dist/delete/pkg_delete.1: 1.1.1.5 - 1.1.1.6 external/bsd/pkg_install/dist/delete/pkg_delete.c: 1.1.1.5 external/bsd/pkg_install/dist/info/info.h: 1.1.1.4 - 1.1.1.5 external/bsd/pkg_install/dist/info/main.c: 1.1.1.6 - 1.1.1.7 external/bsd/pkg_install/dist/info/perform.c: 1.1.1.11 external/bsd/pkg_install/dist/info/show.c: 1.1.1.7 external/bsd/pkg_install/dist/lib/config.h.in: 1.1.1.4 external/bsd/pkg_install/dist/lib/conflicts.c: 1.1.1.3 external/bsd/pkg_install/dist/lib/decompress.c: 1.1.1.3 external/bsd/pkg_install/dist/lib/fexec.c: 1.1.1.3 external/bsd/pkg_install/dist/lib/file.c: 1.1.1.4 - 1.1.1.5 external/bsd/pkg_install/dist/lib/gpgsig.c: 1.1.1.2 external/bsd/pkg_install/dist/lib/iterate.c: 1.1.1.3 external/bsd/pkg_install/dist/lib/lib.h: 1.1.1.8 - 1.1.1.9 external/bsd/pkg_install/dist/lib/license.c: 1.1.1.5 external/bsd/pkg_install/dist/lib/parse-config.c: 1.1.1.5 - 1.1.1.7 external/bsd/pkg_install/dist/lib/pkcs7.c: 1.1.1.4 external/bsd/pkg_install/dist/lib/pkg_install.conf.5.in: 1.1.1.6 - 1.1.1.8 external/bsd/pkg_install/dist/lib/pkg_io.c: 1.1.1.7 external/bsd/pkg_install/dist/lib/pkg_signature.c: 1.1.1.6 external/bsd/pkg_install/dist/lib/pkgdb.c: 1.1.1.4 - 1.1.1.5 external/bsd/pkg_install/dist/lib/plist.c: 1.1.1.5 external/bsd/pkg_install/dist/lib/remove.c: 1.1.1.2 external/bsd/pkg_install/dist/lib/var.c: 1.1.1.3 external/bsd/pkg_install/dist/lib/version.h: 1.1.1.18 - 1.1.1.21 Update to pkg_install-20091008: - pkg_add: add support to check license conditions before installation - pkg_delete: add -k option to skip over preserve packages. - WARNS=4 clean, fix some potential uses of uninitialized variables - Add a new command for pkg_admin: findbest. It takes one or more patterns and searches for the best match in PKG_PATH, just like pkg_add would. It prints the URLs of the best match for each pattern to stdout. - Rewrite the config file parser to read the file only once. - Fix a bug in pkg_add's -P handling. For dependencies the pkgdb path was computed incorrectly and included destdir more than once. - Fix the ACTIVE_FTP option to actually set the "a" flag and not the old "p" flag. - restore pkg_add -f functionality for missing dependencies (PR 42001) - pkg_admin rebuild should count packages correctly (he@), also count @pkgdir - fix gpg-sign-package syntax in pkg_admin(1) - change default URL for pkg-vulnerabilities to use HTTP - Fix German accent - Don't dereference a null pointer for pkg_admin add
pull up the following revisions, requested by joerg in ticket 1364: external/bsd/pkg_install/dist/add/add.h: 1.1.1.3 - 1.1.1.5 external/bsd/pkg_install/dist/add/main.c: 1.1.1.4 - 1.1.1.6 external/bsd/pkg_install/dist/add/perform.c: 1.1.1.10 - 1.1.1.12 external/bsd/pkg_install/dist/add/pkg_add.1: 1.1.1.8 external/bsd/pkg_install/dist/admin/audit.c: 1.1.1.6 external/bsd/pkg_install/dist/admin/main.c: 1.1.1.8 - 1.1.1.11 external/bsd/pkg_install/dist/admin/pkg_admin.1: 1.1.1.9 external/bsd/pkg_install/dist/create/build.c: 1.1.1.6 external/bsd/pkg_install/dist/create/create.h: 1.1.1.4 external/bsd/pkg_install/dist/create/main.c: 1.1.1.5 external/bsd/pkg_install/dist/create/perform.c: 1.1.1.4 external/bsd/pkg_install/dist/delete/pkg_delete.1: 1.1.1.5 - 1.1.1.6 external/bsd/pkg_install/dist/delete/pkg_delete.c: 1.1.1.5 external/bsd/pkg_install/dist/info/info.h: 1.1.1.4 - 1.1.1.5 external/bsd/pkg_install/dist/info/main.c: 1.1.1.6 - 1.1.1.7 external/bsd/pkg_install/dist/info/perform.c: 1.1.1.11 external/bsd/pkg_install/dist/info/show.c: 1.1.1.7 external/bsd/pkg_install/dist/lib/config.h.in: 1.1.1.4 external/bsd/pkg_install/dist/lib/conflicts.c: 1.1.1.3 external/bsd/pkg_install/dist/lib/decompress.c: 1.1.1.3 external/bsd/pkg_install/dist/lib/fexec.c: 1.1.1.3 external/bsd/pkg_install/dist/lib/file.c: 1.1.1.4 - 1.1.1.5 external/bsd/pkg_install/dist/lib/gpgsig.c: 1.1.1.2 external/bsd/pkg_install/dist/lib/iterate.c: 1.1.1.3 external/bsd/pkg_install/dist/lib/lib.h: 1.1.1.8 - 1.1.1.9 external/bsd/pkg_install/dist/lib/license.c: 1.1.1.5 external/bsd/pkg_install/dist/lib/parse-config.c: 1.1.1.5 - 1.1.1.7 external/bsd/pkg_install/dist/lib/pkcs7.c: 1.1.1.4 external/bsd/pkg_install/dist/lib/pkg_install.conf.5.in: 1.1.1.6 - 1.1.1.8 external/bsd/pkg_install/dist/lib/pkg_io.c: 1.1.1.7 external/bsd/pkg_install/dist/lib/pkg_signature.c: 1.1.1.6 external/bsd/pkg_install/dist/lib/pkgdb.c: 1.1.1.4 - 1.1.1.5 external/bsd/pkg_install/dist/lib/plist.c: 1.1.1.5 external/bsd/pkg_install/dist/lib/remove.c: 1.1.1.2 external/bsd/pkg_install/dist/lib/var.c: 1.1.1.3 external/bsd/pkg_install/dist/lib/version.h: 1.1.1.18 - 1.1.1.21 Update to pkg_install-20091008: - pkg_add: add support to check license conditions before installation - pkg_delete: add -k option to skip over preserve packages. - WARNS=4 clean, fix some potential uses of uninitialized variables - Add a new command for pkg_admin: findbest. It takes one or more patterns and searches for the best match in PKG_PATH, just like pkg_add would. It prints the URLs of the best match for each pattern to stdout. - Rewrite the config file parser to read the file only once. - Fix a bug in pkg_add's -P handling. For dependencies the pkgdb path was computed incorrectly and included destdir more than once. - Fix the ACTIVE_FTP option to actually set the "a" flag and not the old "p" flag. - restore pkg_add -f functionality for missing dependencies (PR 42001) - pkg_admin rebuild should count packages correctly (he@), also count @pkgdir - fix gpg-sign-package syntax in pkg_admin(1) - change default URL for pkg-vulnerabilities to use HTTP - Fix German accent - Don't dereference a null pointer for pkg_admin add
pkg_install-20091008: - Fix German accent - Don't dereference a null pointer for pkg_admin add
pkg_install-20091006: - restore pkg_add -f functionality for missing dependencies (PR 42001) - pkg_admin rebuild should count packages correctly (he@), also count @pkgdir - fix gpg-sign-package syntax in pkg_admin(1) - change default URL for pkg-vulnerabilities to use HTTP
Import pkg_install-20090817: Add a new command for pkg_admin: findbest. It takes one or more patterns and searches for the best match in PKG_PATH, just like pkg_add would. It prints the URLs of the best match for each pattern to stdout. Rewrite the config file parser to read the file only once. Fix a bug in pkg_add's -P handling. For dependencies the pkgdb path was computed incorrectly and included destdir more than once. Fix the ACTIVE_FTP option to actually set the "a" flag and not the old "p" flag.
Import pkg_install-20090806: - pkg_add: add support to check license conditions before installation - pkg_delete: add -k option to skip over preserve packages. - WARNS=4 clean, fix some potential uses of uninitialized variables
Pull up pkg_install-20090528, libarchive-2.5.5 and libfetch-2.23 with the associated build infrastructure as of 20090929 from HEAD.
Apply patch (requested by joerg in ticket #1322): Pull up pkg_install-20090528, libarchive-2.5.5 and libfetch-2.23 with the associated build infrastructure as of 20090529 from HEAD.
Pull up following revision(s) (requested by joerg in ticket #784): UPDATING: patch distrib/sets/lists/base/mi: patch distrib/sets/lists/etc/mi: patch distrib/sets/lists/man/mi: patch external/bsd/pkg_install/Makefile.inc: patch external/bsd/pkg_install/prepare-import.sh: patch external/bsd/pkg_install/dist/add/add.h: pkg_install-20090528 external/bsd/pkg_install/dist/add/main.c: pkg_install-20090528 external/bsd/pkg_install/dist/add/perform.c: pkg_install-20090528 external/bsd/pkg_install/dist/add/pkg_add.1: pkg_install-20090528 external/bsd/pkg_install/dist/admin/admin.h: pkg_install-20090528 external/bsd/pkg_install/dist/admin/audit.c: pkg_install-20090528 external/bsd/pkg_install/dist/admin/check.c: pkg_install-20090528 external/bsd/pkg_install/dist/admin/main.c: pkg_install-20090528 external/bsd/pkg_install/dist/admin/pkg_admin.1: pkg_install-20090528 external/bsd/pkg_install/dist/bpm/bpm.1: pkg_install-20090528 external/bsd/pkg_install/dist/create/build.c: pkg_install-20090528 external/bsd/pkg_install/dist/create/create.h: pkg_install-20090528 external/bsd/pkg_install/dist/create/main.c: pkg_install-20090528 external/bsd/pkg_install/dist/create/perform.c: pkg_install-20090528 external/bsd/pkg_install/dist/create/pkg_create.1: pkg_install-20090528 external/bsd/pkg_install/dist/create/pl.c: pkg_install-20090528 external/bsd/pkg_install/dist/create/util.c: pkg_install-20090528 external/bsd/pkg_install/dist/delete/pkg_delete.1: pkg_install-20090528 external/bsd/pkg_install/dist/info/info.h: pkg_install-20090528 external/bsd/pkg_install/dist/info/main.c: pkg_install-20090528 external/bsd/pkg_install/dist/info/perform.c: pkg_install-20090528 external/bsd/pkg_install/dist/info/pkg_info.1: pkg_install-20090528 external/bsd/pkg_install/dist/info/show.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/automatic.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/config.h.in: pkg_install-20090528 external/bsd/pkg_install/dist/lib/conflicts.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/decompress.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/dewey.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/fexec.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/file.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/global.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/iterate.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/lib.h: pkg_install-20090528 external/bsd/pkg_install/dist/lib/lpkg.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/opattern.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/pkg_io.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/pkg_summary.5: pkg_install-20090528 external/bsd/pkg_install/dist/lib/pkgdb.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/plist.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/str.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/var.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/version.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/version.h: pkg_install-20090528 external/bsd/pkg_install/dist/lib/vulnerabilities-file.c: pkg_install-20090528 external/bsd/pkg_install/dist/admin/audit-packages.sh.in: pkg_install-20090528 external/bsd/pkg_install/dist/admin/download-vulnerability-list.sh.in: pkg_install-20090528 external/bsd/pkg_install/dist/delete/pkg_delete.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/gpgsig.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/license.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/parse-config.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/pkcs7.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/pkg_install.conf.5.in: pkg_install-20090528 external/bsd/pkg_install/dist/lib/pkg_signature.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/remove.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/xwrapper.c: pkg_install-20090528 external/bsd/pkg_install/dist/x509/pkgsrc.cnf: pkg_install-20090528 external/bsd/pkg_install/dist/x509/pkgsrc.sh: pkg_install-20090528 external/bsd/pkg_install/dist/x509/signing.txt: pkg_install-20090528 external/bsd/pkg_install/lib/Makefile: patch external/bsd/pkg_install/sbin/Makefile: patch external/bsd/pkg_install/sbin/Makefile.inc: patch external/bsd/pkg_install/sbin/pkg_add/Makefile: patch external/bsd/pkg_install/sbin/pkg_admin/Makefile: patch external/bsd/pkg_install/sbin/pkg_create/Makefile: patch external/bsd/pkg_install/sbin/pkg_delete/Makefile: patch external/bsd/pkg_install/sbin/pkg_info/Makefile: patch external/bsd/pkg_install/dist/add/extract.c: removed external/bsd/pkg_install/dist/add/futil.c: removed external/bsd/pkg_install/dist/add/verify.c: removed external/bsd/pkg_install/dist/add/verify.h: removed external/bsd/pkg_install/dist/admin/config.c: removed external/bsd/pkg_install/dist/audit-packages/AUTHORS: removed external/bsd/pkg_install/dist/audit-packages/COPYING: removed external/bsd/pkg_install/dist/audit-packages/README: removed external/bsd/pkg_install/dist/audit-packages/audit-packages.1.in: removed external/bsd/pkg_install/dist/audit-packages/audit-packages.c: removed external/bsd/pkg_install/dist/audit-packages/audit-packages.conf.5.in: removed external/bsd/pkg_install/dist/audit-packages/audit-packages.conf.in: removed external/bsd/pkg_install/dist/audit-packages/download-vulnerability-list.1.in: removed external/bsd/pkg_install/dist/audit-packages/download-vulnerability-list.sh.in: removed external/bsd/pkg_install/dist/delete/delete.h: removed external/bsd/pkg_install/dist/delete/main.c: removed external/bsd/pkg_install/dist/delete/perform.c: removed external/bsd/pkg_install/dist/lib/ftpio.c: removed external/bsd/pkg_install/dist/lib/path.c: removed external/bsd/pkg_install/dist/lib/path.h: removed external/bsd/pkg_install/dist/lib/pen.c: removed external/bsd/pkg_install/dist/lib/pexec.c: removed external/bsd/pkg_install/dist/view/linkfarm.1: removed external/bsd/pkg_install/dist/view/linkfarm.sh.in: removed external/bsd/pkg_install/dist/view/pkg_view.1: removed external/bsd/pkg_install/dist/view/pkg_view.sh.in: removed external/bsd/pkg_install/sbin/audit-packages/Makefile: removed external/bsd/pkg_install/sbin/pkg_view/Makefile: removed Merge pkg_install-20090528 from HEAD.
Pull up following revision(s) (requested by joerg in ticket #784): distrib/sets/lists/base/mi: patch distrib/sets/lists/etc/mi: patch distrib/sets/lists/man/mi: patch external/bsd/pkg_install/Makefile.inc: patch external/bsd/pkg_install/prepare-import.sh: patch external/bsd/pkg_install/dist/add/add.h: pkg_install-20090528 external/bsd/pkg_install/dist/add/main.c: pkg_install-20090528 external/bsd/pkg_install/dist/add/perform.c: pkg_install-20090528 external/bsd/pkg_install/dist/add/pkg_add.1: pkg_install-20090528 external/bsd/pkg_install/dist/admin/admin.h: pkg_install-20090528 external/bsd/pkg_install/dist/admin/audit.c: pkg_install-20090528 external/bsd/pkg_install/dist/admin/check.c: pkg_install-20090528 external/bsd/pkg_install/dist/admin/main.c: pkg_install-20090528 external/bsd/pkg_install/dist/admin/pkg_admin.1: pkg_install-20090528 external/bsd/pkg_install/dist/bpm/bpm.1: pkg_install-20090528 external/bsd/pkg_install/dist/create/build.c: pkg_install-20090528 external/bsd/pkg_install/dist/create/create.h: pkg_install-20090528 external/bsd/pkg_install/dist/create/main.c: pkg_install-20090528 external/bsd/pkg_install/dist/create/perform.c: pkg_install-20090528 external/bsd/pkg_install/dist/create/pkg_create.1: pkg_install-20090528 external/bsd/pkg_install/dist/create/pl.c: pkg_install-20090528 external/bsd/pkg_install/dist/create/util.c: pkg_install-20090528 external/bsd/pkg_install/dist/delete/pkg_delete.1: pkg_install-20090528 external/bsd/pkg_install/dist/info/info.h: pkg_install-20090528 external/bsd/pkg_install/dist/info/main.c: pkg_install-20090528 external/bsd/pkg_install/dist/info/perform.c: pkg_install-20090528 external/bsd/pkg_install/dist/info/pkg_info.1: pkg_install-20090528 external/bsd/pkg_install/dist/info/show.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/automatic.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/config.h.in: pkg_install-20090528 external/bsd/pkg_install/dist/lib/conflicts.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/decompress.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/dewey.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/fexec.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/file.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/global.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/iterate.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/lib.h: pkg_install-20090528 external/bsd/pkg_install/dist/lib/lpkg.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/opattern.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/pkg_io.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/pkg_summary.5: pkg_install-20090528 external/bsd/pkg_install/dist/lib/pkgdb.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/plist.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/str.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/var.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/version.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/version.h: pkg_install-20090528 external/bsd/pkg_install/dist/lib/vulnerabilities-file.c: pkg_install-20090528 external/bsd/pkg_install/dist/admin/audit-packages.sh.in: pkg_install-20090528 external/bsd/pkg_install/dist/admin/download-vulnerability-list.sh.in: pkg_install-20090528 external/bsd/pkg_install/dist/delete/pkg_delete.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/gpgsig.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/license.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/parse-config.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/pkcs7.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/pkg_install.conf.5.in: pkg_install-20090528 external/bsd/pkg_install/dist/lib/pkg_signature.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/remove.c: pkg_install-20090528 external/bsd/pkg_install/dist/lib/xwrapper.c: pkg_install-20090528 external/bsd/pkg_install/dist/x509/pkgsrc.cnf: pkg_install-20090528 external/bsd/pkg_install/dist/x509/pkgsrc.sh: pkg_install-20090528 external/bsd/pkg_install/dist/x509/signing.txt: pkg_install-20090528 external/bsd/pkg_install/lib/Makefile: patch external/bsd/pkg_install/sbin/Makefile: patch external/bsd/pkg_install/sbin/Makefile.inc: patch external/bsd/pkg_install/sbin/pkg_add/Makefile: patch external/bsd/pkg_install/sbin/pkg_admin/Makefile: patch external/bsd/pkg_install/sbin/pkg_create/Makefile: patch external/bsd/pkg_install/sbin/pkg_delete/Makefile: patch external/bsd/pkg_install/sbin/pkg_info/Makefile: patch external/bsd/pkg_install/dist/add/extract.c: removed external/bsd/pkg_install/dist/add/futil.c: removed external/bsd/pkg_install/dist/add/verify.c: removed external/bsd/pkg_install/dist/add/verify.h: removed external/bsd/pkg_install/dist/admin/config.c: removed external/bsd/pkg_install/dist/audit-packages/AUTHORS: removed external/bsd/pkg_install/dist/audit-packages/COPYING: removed external/bsd/pkg_install/dist/audit-packages/README: removed external/bsd/pkg_install/dist/audit-packages/audit-packages.1.in: removed external/bsd/pkg_install/dist/audit-packages/audit-packages.c: removed external/bsd/pkg_install/dist/audit-packages/audit-packages.conf.5.in: removed external/bsd/pkg_install/dist/audit-packages/audit-packages.conf.in: removed external/bsd/pkg_install/dist/audit-packages/download-vulnerability-list.1.in: removed external/bsd/pkg_install/dist/audit-packages/download-vulnerability-list.sh.in: removed external/bsd/pkg_install/dist/delete/delete.h: removed external/bsd/pkg_install/dist/delete/main.c: removed external/bsd/pkg_install/dist/delete/perform.c: removed external/bsd/pkg_install/dist/lib/ftpio.c: removed external/bsd/pkg_install/dist/lib/path.c: removed external/bsd/pkg_install/dist/lib/path.h: removed external/bsd/pkg_install/dist/lib/pen.c: removed external/bsd/pkg_install/dist/lib/pexec.c: removed external/bsd/pkg_install/dist/view/linkfarm.1: removed external/bsd/pkg_install/dist/view/linkfarm.sh.in: removed external/bsd/pkg_install/dist/view/pkg_view.1: removed external/bsd/pkg_install/dist/view/pkg_view.sh.in: removed external/bsd/pkg_install/sbin/audit-packages/Makefile: removed external/bsd/pkg_install/sbin/pkg_view/Makefile: removed Merge pkg_install-20090528 from HEAD.
file main.c was added on branch netbsd-4 on 2009-06-05 17:19:39 +0000
file main.c was added on branch netbsd-4-0 on 2009-06-05 17:01:58 +0000
Import pkg_install-20090513: - Make compression type selection in pkg_create optionally explicit. - PREV_PKGPATH / SUPERSEDES
Sync with HEAD. Second commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
Import pkg_install-20090425: Add logic to evaluate license conditions. As frontend for pkgsrc, pkg_admin gets two new commands (check-license and check-single-license), which can be used to evaluate a given condition. pkg_add will be changed to honour licenses at a later point.
Import pkg_install-20090424: Make pkg_delete -d the default behavior, remove the option. Remove pkg_create -R support (reorder @dirrm entries). Introduce new plist command @pkgdir, which makes pkg_add add this directory if it doesn't exist already and pkg_delete remove it only if no other package has a @pkgdir entry for it. Otherwise directories are pruned when the last file or directory in them is removed. @dirrm is now a pure hint, if the directory doesn't exist, it will be silently skipped.
Import pkg_install-20090307: Fix a file descriptor leak in pkg_add.
Import pkg_install-20090214: - pkg_add: - doesn't crash on missing +BUILD_INFO - for -u skip the package it will update when l oking for conflicts - don't fail in libarchive when trying to use directories as packages - pkg_admin: - stricter argument checking for audit family of commands - fetch-pkg-vulnerabilities -u will only update if the remove file is newer - pkg_delete: - fix PKG_METADATA_DIR passed to deinstall script - when using -d, ignore @dirrm - fix -d code to unregister the correct pkgdb entry - pkg_info: - fix crashes on incomplete packages
Import pkg_install-20090201. From the branch merge in pkgsrc: - DB support is always included from libnbcompat if needed - pkg_view and linkfarm are not installed any more; they are not moved into the attic yet, so they can easily be installed as separte package - common configuration file to customise the behavior of various components; this supersedes the old audit-packages.conf - support for PKSC7 signatures (using X509 certs) and GPG signatures for packages in a secure way. See pkg_admin(8) for how to create them and pkg_install.conf(5) for the options to use them - audit-packages and download-vulnerability-list are wrapper scripts around pkg_admin. They try to mimic the classic options if used sanely. "pkg_admin audit" is now an order of magnitude faster than before - pkg_add uses libarchive and libfetch instead of external ftp and tar: - progress bar is currently missing for downloads - "pkg_add -" is no longer supported - no adhoc check for conficts between dependencies and already installed packages - "pkg_add -s" has been replaced with an option in pkg_install.conf, verification of plain detached GPG signatures is no longer supported - optional check for vulnerabilities before adding a package - if /var and /usr/pkg are on different fileystems it is twice as fast now - conflicts due to overlapping plists are checked before installation - pkg_add no longer plays with the process limits - pkg_add and pkg_delete have a new destdir option; scripts have to either be modified to use PKG_DESTDIR or should be disabled - pkg_add -u for now can't be used to update to the exact same version - internal "rm -rf" and "mkdir_p" code - all memory allocation failures are not explicitly fatal - if a file is not removed due to a failed checksum, still remove the entry from pkgdb
Sync with HEAD.
file main.c was added on branch haad-dm on 2008-10-19 22:40:49 +0000
Import pkg_install-20080916. Major changes include: - vulnerability check backend moved into lib for reuse in pkg_add - add pkg_install.conf parsing for common configuration of the various pkg_install components - fix crashes related to uninitialised PLIST structures - check explicitly if the required files in pkgdb are present, fixing issues with ~empty left-over directories - improve hardlink handling in pkg_create using the libarchive link resolver - pkg_delete with -P overwrite now updates the pkgdb correctly - silence warning about empty /var/db/pkg, it provides no value - pkg_info uses libfetch for remote locations and works without temporary files, speeding up operation a lot
Initial revision