summaryrefslogtreecommitdiff
path: root/external/bsd/pkg_install/dist/admin
AgeCommit message (Collapse)Author
2021-04-10merge pkg_install-20210410nia
- simplified version checking for netbsd, treat 9.0 and 9.1 as compatible - minor man page updates
2020-12-18Merge pkg_install-20201218maya
2020-12-18Merge pkg-install-20201218maya
2020-12-02merge pkg_install after import of 20201202 versionwiz
2020-01-12Handle HAVE_NBTOOL_CONFIG_Hchristos
2019-10-13Merge pkg_install-20191008joerg
2019-04-06Fix merge conflicts from pkgsrc-20190405 importsevan
2018-03-27Mark all files dead that should never have been imported.joerg
2018-03-27Import regenerated catalog filessevan
2018-03-25Import pkg_install-20180325.sevan
2018-02-04Import pkg_install-20171030maya
2017-04-20Merge pkg_install-20170419.joerg
2017-04-20Import pkg_install-20170419.joerg
2013-04-20Import pkg_install from current pkgsrc.wiz
Licence changes and less warnings when opsys doesn't match build host opsys version, and documentation updates.
2012-02-21melt more snowflakes until they all look like pkgsrcwiz
2011-02-18Import pkg_install 20110215.aymeric
--- 20110215: Fix audit-history subcommand to include patterns making use of [x-y] notation. --- 20101212: Don't warn about _ALPHA, _BETA, _PATCH, _RC, _STABLE mismatches when pkg_add'ing on NetBSD. --- 20101122: Fix crash in pkg_info -X on hand-written packages. --- 20100915: Allow https URLs. --- 20100914: Add -D flag to pkg_install, to override the "pkg_add -U" check that all depending packages have their dependencies satisfied by the new package. Essentially, split off this particular behavior as a special case of -f, so that -f works as before, unforced works as before, and one can give -D to override exactly this check, leaving all other checks intact. The -D flag is in support of make replace, as the workflow for make replace is that inter-package dependencies are sometimes violated (but then one must replace the depending packages, which is what pkg_rolling-replace does via the unsafe_depends flags). Add missing break statement in option parsing of "pkg_add -C", riding the version bump.
2010-06-26pkg_install-20100616:joerg
- Recognize -C for pkg_add like the rest of the tools do - Do the existing check for pkg_add -f, it makes the combination of -f and -U a bit less surprising - Fix option handling for CHECK_VULNERABILITIES (from spz@) - Make end-of-life check the default. pkg_install.conf(5) can be used to override the default. The existing admin -e & co continue to work as before.
2010-04-23pkg_install-20100421:joerg
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.
2010-02-20nstall-20100220:joerg
Try harder to give the user an idea which file failed. Addresses PR 42223.
2010-01-30pkg_install-20100130:joerg
- 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
2009-11-05pkg_install-20091115:joerg
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.
2009-10-08pkg_install-20091008:joerg
- Fix German accent - Don't dereference a null pointer for pkg_admin add
2009-10-07pkg_install-20091006:joerg
- 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
2009-08-21Import pkg_install-20090817:joerg
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.
2009-08-06Import pkg_install-20090806:joerg
- 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
2009-06-14Update to pkg_install-20090610:joerg
Improve diagnostic of the license code.
2009-05-17Import pkg_install-20090513:joerg
- Make compression type selection in pkg_create optionally explicit. - PREV_PKGPATH / SUPERSEDES
2009-04-25Import pkg_install-20090425:joerg
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.
2009-04-24Import pkg_install-20090424:joerg
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.
2009-04-24Import pkg_install-20090424:joerg
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.
2009-03-08Import pkg_install-20090307: Fix a file descriptor leak in pkg_add.joerg
2009-02-25Import pkg_install-20090225:joerg
- improve diagnostic for audit-packages wrapper - new pkg_delete code: - topologocial ordering of packages - bails out before removing anything if it knows that it will run into problems later - new option -A: remove automatic installed packages that are no longer used (e.g. pkg_add foo; pkg_delete -A foo should not alter the list of installed packages) - less chatty pkg_info for -Q
2009-02-14Import pkg_install-20090214:joerg
- 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
2009-02-02Merge pkg_install-20090201 and update build system.joerg
2009-02-02Import pkg_install-20090201. From the branch merge in pkgsrc:joerg
- 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
2008-10-02pkg_install-20081002:joerg
Explicitly cast time_t values to long before printing them. Reported by bjs.
2008-09-30Import pkg_install-20080916. Major changes include:joerg
- 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