Home | History | Annotate | Download | only in create
History log of /src/external/bsd/pkg_install/dist/create/perform.c
RevisionDateAuthorComments
 1.4  10-Apr-2021  nia merge pkg_install-20210410

- simplified version checking for netbsd, treat 9.0 and 9.1 as compatible
- minor man page updates
 1.3  02-Dec-2020  wiz merge pkg_install after import of 20201202 version
 1.2  20-Apr-2017  joerg branches: 1.2.4; 1.2.14;
Merge pkg_install-20170419.
 1.1  30-Sep-2008  joerg branches: 1.1.1;
Initial revision
 1.1.1.9  11-Jun-2024  wiz Import pkg_install 20240307 from pkgsrc
 1.1.1.8  10-Apr-2021  nia pkg_install-20210410
 1.1.1.7  02-Dec-2020  wiz Import pkg_install from pkgsrc as of 20201202.

This changes the default database path from /var/db/pkg to /usr/pkg/pkgdb
 1.1.1.6  20-Apr-2017  joerg Import pkg_install-20170419.
 1.1.1.5  05-Nov-2009  joerg branches: 1.1.1.5.28; 1.1.1.5.32;
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.
 1.1.1.4  06-Aug-2009  joerg 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
 1.1.1.3  14-Feb-2009  joerg branches: 1.1.1.3.2; 1.1.1.3.4;
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
 1.1.1.2  02-Feb-2009  joerg branches: 1.1.1.2.2;
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
 1.1.1.1  30-Sep-2008  joerg branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.8;
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
 1.1.1.5.32.1  21-Apr-2017  bouyer Sync with HEAD
 1.1.1.5.28.1  26-Apr-2017  pgoyette Sync with HEAD
 1.1.1.3.4.4  12-Jun-2010  riz 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
 1.1.1.3.4.3  18-Oct-2009  bouyer 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
 1.1.1.3.4.2  05-Jun-2009  snj Pull up pkg_install-20090528, libarchive-2.5.5 and libfetch-2.23
with the associated build infrastructure as of 20090929 from HEAD.
 1.1.1.3.4.1  14-Feb-2009  snj file perform.c was added on branch netbsd-4 on 2009-06-05 17:19:39 +0000
 1.1.1.3.2.3  18-Oct-2009  bouyer 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
 1.1.1.3.2.2  05-Jun-2009  snj 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.
 1.1.1.3.2.1  14-Feb-2009  snj file perform.c was added on branch netbsd-4-0 on 2009-06-05 17:01:58 +0000
 1.1.1.2.2.1  13-May-2009  jym Sync with HEAD.

Second commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.1.1.1.8.3  15-Feb-2010  snj 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
 1.1.1.1.8.2  18-Oct-2009  bouyer 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
 1.1.1.1.8.1  30-May-2009  snj branches: 1.1.1.1.8.1.2;
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.
 1.1.1.1.8.1.2.1  21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.6.3  03-Feb-2010  snj 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
 1.1.1.1.6.2  18-Oct-2009  bouyer 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
 1.1.1.1.6.1  30-May-2009  snj 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.
 1.1.1.1.4.2  19-Oct-2008  haad Sync with HEAD.
 1.1.1.1.4.1  30-Sep-2008  haad file perform.c was added on branch haad-dm on 2008-10-19 22:40:49 +0000
 1.2.14.1  08-Dec-2020  martin 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.
 1.2.4.1  08-Dec-2020  martin 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.

RSS XML Feed