History log of /netbsd/external/bsd/pkg_install/dist/add/main.c (Results 1 – 14 of 14)
Revision Date Author Comments
# 08f15751 10-Apr-2021 wiz <wiz@NetBSD.org>

Fix merge bug.


# a24fe59c 10-Apr-2021 nia <nia@NetBSD.org>

merge pkg_install-20210410

- simplified version checking for netbsd, treat 9.0 and 9.1 as compatible
- minor man page updates


# 9476c0f2 20-Apr-2017 joerg <joerg@NetBSD.org>

Merge pkg_install-20170419.


# 8b0f0426 20-Apr-2017 joerg <joerg@NetBSD.org>

Import pkg_install-20170419.


# 97c286cc 18-Feb-2011 aymeric <aymeric@NetBSD.org>

Import pkg_install 20110215.

--- 20110215:
Fix audit-history subcommand to include patterns making use of [x-y] notation.

--- 20101212:
Don't warn about _ALPHA, _BETA, _PATCH, _RC, _STABLE mismatch

Import pkg_install 20110215.

--- 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.

show more ...


# d0eb5ecc 26-Jun-2010 joerg <joerg@NetBSD.org>

pkg_install-20100616:
- 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 handl

pkg_install-20100616:
- 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.

show more ...


# 2dbe35ad 20-Feb-2010 joerg <joerg@NetBSD.org>

nstall-20100220:
Try harder to give the user an idea which file failed.
Addresses PR 42223.


# 5ac0fc9c 30-Jan-2010 joerg <joerg@NetBSD.org>

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

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

show more ...


# a8429a11 07-Oct-2009 joerg <joerg@NetBSD.org>

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 synta

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

show more ...


# 12490ea4 21-Aug-2009 joerg <joerg@NetBSD.org>

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 b

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.

show more ...


# 0590ec0a 06-Aug-2009 joerg <joerg@NetBSD.org>

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 use

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

show more ...


# e50ad3d1 28-Feb-2009 joerg <joerg@NetBSD.org>

Import pkg_install-20090228:
- pkg_add:
- more consistent PKG_PATH processing
- support setting PKG_PATH in pkg_install.conf(5)
- don't crash when installing package with conflicts
- fix upda

Import pkg_install-20090228:
- pkg_add:
- more consistent PKG_PATH processing
- support setting PKG_PATH in pkg_install.conf(5)
- don't crash when installing package with conflicts
- fix updating packages with explicit +PRESERVE
- document the rules for finding packages more clearly
- pkg_info:
- don't complain about PKG_PATH, it is not used
- sync documentation with reality

show more ...


# d66ee6c3 02-Feb-2009 joerg <joerg@NetBSD.org>

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 th

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

show more ...


# af21abb5 30-Sep-2008 joerg <joerg@NetBSD.org>

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_inst

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

show more ...