Home | History | Annotate | Download | only in lib
History log of /src/external/bsd/pkg_install/dist/lib/pkg_signature.c
RevisionDateAuthorComments
 1.5  09-May-2025  wiz merge pkg_install 20250417
 1.4  10-Apr-2021  nia branches: 1.4.8;
merge pkg_install-20210410

- simplified version checking for netbsd, treat 9.0 and 9.1 as compatible
- minor man page updates
 1.3  20-Apr-2017  joerg Merge pkg_install-20170419.
 1.2  11-Sep-2013  khorben branches: 1.2.8; 1.2.12;
Fixed installation of signed packages. Some variables part of struct
signature_archive were not initialized properly, therefore randomly failing
in the verify_signature_read_cb() callback.

Partly closes PR pkg/48194; pkgsrc needs to be updated as well.

"please commit" agc@

XXX pull-up to netbsd-6
 1.1  02-Feb-2009  joerg branches: 1.1.1;
Initial revision
 1.1.1.11  09-May-2025  wiz Import pkg_install 20250417 from pkgsrc
 1.1.1.10  11-Jun-2024  wiz Import pkg_install 20240307 from pkgsrc
 1.1.1.9  10-Apr-2021  nia pkg_install-20210410
 1.1.1.8  20-Apr-2017  joerg Import pkg_install-20170419.
 1.1.1.7  20-Feb-2010  joerg branches: 1.1.1.7.6; 1.1.1.7.8; 1.1.1.7.12; 1.1.1.7.14; 1.1.1.7.20;
nstall-20100220:
Try harder to give the user an idea which file failed.
Addresses PR 42223.
 1.1.1.6  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.5  24-Apr-2009  joerg branches: 1.1.1.5.2; 1.1.1.5.4; 1.1.1.5.6; 1.1.1.5.8;
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.
 1.1.1.4  08-Mar-2009  joerg Import pkg_install-20090307: Fix a file descriptor leak in pkg_add.
 1.1.1.3  02-Mar-2009  joerg Import pkg_install-20090302:
- plug some file descriptor leaks
- add pkg_info -r
 1.1.1.2  14-Feb-2009  joerg 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.1  02-Feb-2009  joerg branches: 1.1.1.1.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.7.20.1  17-Sep-2013  msaitoh Pull up following revision(s) (requested by khorben in ticket #943):
external/bsd/pkg_install/dist/lib/pkg_signature.c: revision 1.2
Fixed installation of signed packages. Some variables part of struct
signature_archive were not initialized properly, therefore randomly
failing in the verify_signature_read_cb() callback.
Partly closes PR pkg/48194; pkgsrc needs to be updated as well.
"please commit" agc@
XXX pull-up to netbsd-6
 1.1.1.7.14.1  17-Sep-2013  msaitoh Pull up following revision(s) (requested by khorben in ticket #943):
external/bsd/pkg_install/dist/lib/pkg_signature.c: revision 1.2
Fixed installation of signed packages. Some variables part of struct
signature_archive were not initialized properly, therefore randomly
failing in the verify_signature_read_cb() callback.
Partly closes PR pkg/48194; pkgsrc needs to be updated as well.
"please commit" agc@
XXX pull-up to netbsd-6
 1.1.1.7.12.1  19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.7.8.1  17-Sep-2013  msaitoh Pull up following revision(s) (requested by khorben in ticket #943):
external/bsd/pkg_install/dist/lib/pkg_signature.c: revision 1.2
Fixed installation of signed packages. Some variables part of struct
signature_archive were not initialized properly, therefore randomly
failing in the verify_signature_read_cb() callback.
Partly closes PR pkg/48194; pkgsrc needs to be updated as well.
"please commit" agc@
XXX pull-up to netbsd-6
 1.1.1.7.6.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.5.8.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.5.8.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.5.8.1  24-Apr-2009  snj file pkg_signature.c was added on branch netbsd-4 on 2009-06-05 17:19:41 +0000
 1.1.1.5.6.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.5.6.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.5.6.1  24-Apr-2009  snj file pkg_signature.c was added on branch netbsd-4-0 on 2009-06-05 17:02:00 +0000
 1.1.1.5.4.4  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.5.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.5.4.2  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.5.4.1  24-Apr-2009  snj file pkg_signature.c was added on branch netbsd-5 on 2009-05-30 16:40:33 +0000
 1.1.1.5.2.4  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.5.2.3  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.5.2.2  30-May-2009  snj branches: 1.1.1.5.2.2.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.5.2.1  24-Apr-2009  snj file pkg_signature.c was added on branch netbsd-5-0 on 2009-05-30 16:21:37 +0000
 1.1.1.5.2.2.2.1  21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.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.2.12.1  21-Apr-2017  bouyer Sync with HEAD
 1.2.8.1  26-Apr-2017  pgoyette Sync with HEAD
 1.4.8.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed