summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install/files
AgeCommit message (Collapse)AuthorFilesLines
2012-07-06Add example for pkg_info -Fe, based on a suggestion by Hishashi T Fujinakawiz1-3/+4
in PR 46654.
2012-05-15Check for defined before checking for empty, otherwise old make(1) failschristos6-12/+12
to build during bootstrap.
2012-04-29sync with license.mk (thanks wiz)christos1-1/+2
2012-04-15Add the Lucent Public License v1.02 to default_acceptable_licenses. It isbrook1-1/+2
approved as open source by OSI.
2012-03-01Revert last. Don't hide issues. Pass down MANINSTALL via MAKE_ENV to getjoerg6-12/+12
the correct value.
2012-03-01Don't fail if MANINSTALL is not defined.jklos6-12/+12
2012-02-28Honour MANINSTALL.joerg6-18/+30
2012-02-22Fix typo in variable name. From dieter roelants in private email.wiz2-6/+6
Bump date.
2012-02-21Merge changes from src/external/bsd/pkg_install.wiz4-82/+82
2012-02-21Bump version for pkg_add bug fix.wiz1-2/+2
2012-02-21Fix PR 46068 using the patch by Nicolas Thauvin:wiz1-3/+3
pkg_add fails to install a package when subdiretories are missing in the path to package directory in /var/db/pkg.
2012-01-28pkg_install-20120128:joerg3-15/+30
- Explicitly stat(2) if mkdir failed. errno detection doesn't work e.g. on Solaris (PR 45289) - Provide a stable order for package names that only differe in the base name, not the version number.
2012-01-28Add zlib license.wiz1-1/+2
2012-01-04Add Mozilla Public License v2.0 (mpl-2.0) and mark it as default-acceptable.wiz1-2/+2
2011-12-19Fix license list.joerg1-2/+2
2011-12-15Add lppl-1.3c and epl-v1.0 to default_acceptable_licenses.ryoon1-2/+4
2011-12-01Remove gnu-agpl-v3 from hardcoded default acceptable list.ryoon1-3/+2
Sync with DEFAULT_ACCEPTABLE_LICENSES in mk/license.mk. See http://mail-index.netbsd.org/tech-pkg/2011/11/30/msg008081.html .
2011-11-26Add gnu-agpl-v3 to the default list.ryoon1-2/+3
2011-10-19Document optional variable FILE_CKSUM. Approved by wiz@.cheusov1-1/+6
2011-09-29pkg_delete -R does not remove all leaves.wiz1-3/+3
Fix from Anthony Mallet on tech-pkg. While here, fix a typo in a comment.
2011-08-05Fix for pkg_delete on NFS from Anthony Mallet.agc2-5/+5
Problem analysis from Anthony: On Wednesday, at 23:52, Anthony Mallet wrote: > # rm -rf ~tmp && mkdir ~/tmp > # pkg_add -K ~/tmp/var/db/pkg -p ~/tmp /usr/pkgsrc/packages/All/digest-20080510.tgz > # pkg_add -U -K ~/tmp/var/db/pkg -p ~/tmp /usr/pkgsrc/packages/All/digest-20080510.tgz > pkg_delete: Couldn't remove package directory in `/home/tho/tmp/var/db/pkg/digest-20080510' > Also, the dir var/db/pkg/digest-20080510.xxxxxxx is never cleaned. > > The problem apparently is that pkg_delete finds some stalled NFS entries > (.nfs*) in the var/db/pkg/digest-20080510 dir, so it does not delete the > directory. Is this due to pkg_add not correctly closing file descriptors before > exec'ing pkg_delete? For instance, I really don't understand the logic in > check_already_installed() (add/perform.c:375) regarding the open() of +CONTENTS > which is almost never closed (and never used as well...). Shouldn't this be > closed before running pkg_delete? ktrace shows that the +CONTENTS file is open() by pkg_add, I believe this is in check_already_installed(), add/perform.c:381. Then pkg_delete is run and when it comes to deleting the pkgdir entry, it finds that .nfs file and aborts. Bump version to 20110805
2011-06-29Add "php" to default_acceptable_licenses.taca1-2/+2
* Why DEFAULT_ACCEPTABLE_LICENSES is hardcoded here? * Should I update pkg_install's version?
2011-05-08Add mplusfont and cc-by-sa-v3.0 to the default list.ryoon1-2/+4
2011-04-22Added postgresql-licenseadam1-1/+2
2011-04-20Add linux to list for retaining the numeric OS version.morr2-258/+293
Fixes PR pkg/43622.
2011-04-01Allow GNU GPL v1 by default.wiz1-1/+2
2011-03-17Add unlicense to default_acceptable_licenses. Per advice by wiz.bad1-2/+2
2011-02-18. fix audit-history subcommand to include patterns making use of [x-y] notationaymeric2-6/+13
. bump version to 20110215
2011-02-06Bring in boost-license, 1.0. Certified by OSI as an Open Sourceschnoebe1-2/+3
license.
2011-01-31Protect against de-referencing a pointer which might be NULL.agc1-3/+4
Fixes PR pkg/44476 from Uwe Klaus
2011-01-13Add png-license and add it to the default-allowed licenses.wiz1-1/+2
(very similar to mit or modified-bsd, but different)
2010-12-12Don't warn about _ALPHA, _BETA, _PATCH, _RC, _STABLE mismatcheswiz2-5/+44
when pkg_add'ing on NetBSD. Bump version to 20101212. Ok jym, gdt
2010-11-22pkg_install-20101122: Fix crash in pkg_info -X on hand-written packagesjoerg2-5/+6
2010-11-13mention that lists are space-separated.christos2-11/+12
2010-09-15pkg_install-20100915: Allow https URLs. From mbalmer.joerg2-7/+10
Reset maintainership.
2010-09-14Add -D flag to pkg_install, to override the "pkg_add -U" check thatgdt6-10/+33
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). Bump PKGTOOLS_VERSION. Add missing break statement in option parsing of "pkg_add -C", riding the version bump. Discussed extensively on tech-pkg@ over the summer. OK pkgsrc-pmc@.
2010-06-16pkg_install-20100616:joerg13-42/+69
- 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-05-06Add isc license as default acceptable license.obache1-1/+2
2010-04-26+ ipafont to default_acceptable_license.obache1-1/+2
2010-04-20pkg_install-20100421:joerg2-5/+5
Fix an off-by-one in the check for properly sized pkgdb entries. It rejected perfectly valid entries.
2010-04-20pkg_install-20100420:joerg14-110/+264
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.
2010-04-14pkg_install-20100405:joerg8-253/+123
- 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.
2010-03-19Add man pages for audit-packages and download-vulnerability-list whichwiz7-4/+174
point to pkg_admin and notes that the scripts are obsolete. Bump version to 20100319.
2010-02-27Mention that '_' is the same as '.'.wiz1-3/+5
Noted missing by Aleksey Cheusov in PR 41148.
2010-02-25Remove "also" for Slader_LB.wiz1-2/+2
2010-02-24Fix option order in SYNOPSIS. From Slader_LB.wiz1-2/+2
2010-02-24Refer to pkg_admin from -f flag.wiz1-5/+9
Make chroot reference an Xr. Downcase Package Database. Suggested by Slader_LB.
2010-02-24Downcase Package Database.wiz1-3/+3
2010-02-24Describe -A more clearly.wiz1-3/+3
2010-02-24Improve wording, remove unneeded Bk/Ek, various minor fixes.wiz1-18/+18