summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_chk/files/pkg_chk.sh
AgeCommit message (Collapse)AuthorFilesLines
2009-07-22Use gzcat for the pkg_summary file, fixes Solaris.sketch1-3/+4
2009-05-04Updated pkgtools/pkg_chk to 1.99abs1-2/+2
Add missing ^ to one PKGPATH= regex to ensure we do not pick up PREV_PKGPATH or similar
2009-03-25Updated pkgtools/pkg_chk to 1.98abs1-6/+7
- Avoid using -. to pkg_info - Indicate when using a pkg_summary.gz rather than running pkg_info -X on all binary packages
2009-02-21Updated pkgtools/pkg_chk to 1.97abs1-23/+23
Fix PR 36641 - pkg_chk -g requires pkgsrc source tree, from Aleksey Cheusov.
2008-12-20Updated pkgtools/pkg_chk to 1.96abs1-3/+3
Handle unset PKGSRCDIR - from Taylor R Campbell in PR/39306
2008-07-05Update pkg_chk to 1.95:abs1-2/+3
- Handle pkgsrc in LOCALBASE - fixes PR pkg/32326
2008-05-26Bump version to 1.94:tron1-3/+3
Fix a bug exposed by the "set -e" improvements in NetBSD-current's "/bin/sh" which would prevent the script from cleaning up its temporary directory. Change approved by David Brownlee.
2008-05-21Bump version to 1.93:dillo1-4/+6
- Explicitly clear automatic flag for packages user wants installed that got pulled in previously. - Only ignore pkg_summary.gz in local repository if newer files with name matching *.t[bg]z exist. (Otherwise, pkg_summary.gz created by pbulk would be ignored because pkg_summary.bz2 is newer.) Okayed by abs@.
2008-05-02Bump version to pkg_chk-1.91:apb1-11/+24
* Look for $MAKECONF in @MAKECONF@, @PREFIX@/etc/mk.conf, and /etc/mk.conf, in that order. * Look for $PKGSRCDIR in the Makefile referred to by $MAKECONF, ".", "..", "../..", and "/usr/pkgsrc", in that order. * Convert the Makefil to use the SUBST framework. Proposed in tech-pkg; OK (in principle) David Brownlee
2008-04-23update pkg_chk to 1.91:abs1-1/+9
- Use a local pkg_summary.gz iff it is the most recently modified file in the PACKAGES/All directory
2008-02-24update pkg_chk to 1.90:abs1-8/+8
- Remove obsolete and no longer accurate 'implies -c' and 'implies -i' notes from usage - noted by Andreas Burghardt
2008-02-17Replace three instances of sed with ${SED}. Ride previous update.tnn1-4/+4
2008-02-17Bump to pkg_chk-1.89:tnn1-9/+24
Some changes from Aleksey Cheusov in pkg/36298 and pkg/36641 with additional cleanup by me. - option -g doesn't need PKGSRCDIR populated - fatal if mktemp fails - truncate logfile instead of removing it - performance improvement for binary package scan
2008-01-18pkg_chk-1.88: add mktemp to the list of substituted commands.tnn1-4/+5
2007-09-20update pkg_chk to 1.87.abs1-3/+4
Make -k work with -l, so a missing package will still result in a list of binary packages being displayed
2007-08-27Update pkg_chk to 1.86:abs1-63/+82
- Fix '-l' to list dependencies needed at runtime by each package, as opposed to those at build time. Avoids issues such as 'jdk15' pulling in sun-jdk & sun-jre
2007-06-19Obfuscate a bit so that +BUILD_VERSION doesn't contain incorrectjoerg1-3/+3
RCS IDs.
2007-04-20Checking whether a file with an blank filename exists is somewhat bogus.tron1-2/+2
Improve the last change to avoid that. Bump package revision again.
2007-04-20Fix quoting so that the code to detect the location of "mk.conf" actuallytron1-2/+2
works (under Darwin?). Bump package revision again.
2007-04-16Update pkgtools/pkg_chk to 1.85:abs1-1/+2
Add a missing FAIL= to the start of pkg_install(), the absence of which would cause a package which had been "previously installed" to pick up the last value of FAIL (and sometimes be incorrectly marked as failed). Thanks to Martin Weber for the diagnosis.
2007-04-15Update pkg_chk to 1.84:abs1-8/+23
Automatically use SU_CMD for pkg_add and pkg_delete if set by main pkgsrc and running as a non root user - based on a patch from Aleksey Cheusov.
2006-11-05Update "pkg_chk" package to version 1.83:tron1-8/+8
Do *not* use "TMPDIR" variable. If the user has already set an environment variable "TMPDIR" it well be overwritten my the path to the directory created by the script and passed to "make". As a result it will get compiled into certain packages (e.g. "sysutils/dbus") which will no longer work after the directory has been removed.
2006-10-02Update pkgtools/pkg_chk to 1.82:abs1-11/+36
- Is '*' is passed to -U, unset all tags - Implement -p, to display all the pkgdirs for a given set of tags
2006-09-20Update pkg_chk to 1.81 - Add support for PKG_SUFX = .tbz - from Aleksey ↵abs1-13/+16
Cheusov in PR/34453
2006-08-25Update pkg_chk to 1.80:abs1-14/+22
- Intoduce fatal_later() and fatal_later_check() and use them to clean up reporting unavailable package dependencies - Remove unused references to opt_S (reported by bad@) - Fix manpage reference DEPENDS_TARGET -> UPDATE_TARGET (reported by bad@)
2006-08-10update pkg_chk to 1.79: default PKG_DBDIRabs1-3/+4
2006-08-06Fix -q which ate the next argument. Only document -i and -c in thecube1-5/+3
"Deprecated options" part of the manual. PR#34145 by Dieter Roelants.
2006-07-22Update pkg_chk to 1.77:abs1-14/+31
- Resolve PR/31909 - use tr rather than fmt to avoid issue on Solaris - Resolve PR/33370 - always show fatal messages to STDERR - Resolve PR/32326 - Correctly extract PKG_DBDIR Also, when -v is used display the state of all extracted variables at the start of the run
2006-07-10Update pkg_tools/pkg_chk to 1.76 - output the pkgdir rather than pkgname at ↵abs1-5/+5
the start of each line
2006-06-09update pkg_chk to 1.75abs1-2/+4
- match bsd.own.mk logic for determining MAKECONF, as requested by Joerg
2006-06-07Update pkg_chk to 1.74abs1-3/+3
1.73 was completely broken.. but only after checking in. ahh... Unwanted expansion of RCS tags, I know ye well...
2006-06-07update pkg_chk to 1.73:abs1-33/+31
- Handle new way of building BUILD_VERSION, by doing less ourselves and (ab)using the pkgsrc infrastrafructure. Jump through some hoops to ensure a package is not reported as different due to BUILD_VERSION format versions (assuming the package is identical otherwise). Only -B affected.
2006-05-04Bump version to 1.72:dillo1-13/+16
Make it use pkg_summary(5) (with a fallback to the old pkg_chk-summary). Retire capability to create pkg_chk-summary.
2006-05-011.71: Fix typo in message. PR 33401 by MASUDA Hideo.wiz1-2/+2
2006-04-23Update pkg_chk to 1.70 - list -q in usage, noted by Rui Pauloabs1-1/+2
2006-04-041.69.1: Add a -q option, which is a superset of -n; squelches progresstv1-10/+15
messages and "echo-to-screen" commands (e.g., pkg_delete). This provides a much more accurate emulation of the former -c and -i options (now -a -q and -u -q respectively), by suppressing messages not related to the human-readable version information.
2006-02-18Update pkg_chk to 1.69abs1-16/+16
- Deprecate -i -and -c (recommend -u -n and -a -n respectively
2006-02-18Update pkg_chk to 1.68abs1-18/+24
- When listing binary packages with '-l', simplify logic and ensure if a dependency is missing the package which required it is shown. Also list all missing packages rather than stopping after the first - If -n is given with -u do not -
2006-02-06Update pkg_chk to 1.76:abs1-2/+2
Append rather than prepend /usr/sbin:/usr/bin to path, to avoid issues on Solaris which has feature-poor ftp in /usr/bin
2006-01-15Update pkgtools/pkg_chk to 1.66abs1-2/+2
Fix incorrect quotation in test
2006-01-12When creating the sorted list of binary packages, "ls -t *.tgz" canjoerg1-2/+2
easily overflow the argument space e.g. on DragonFly. Replace this statement with "ls -t | grep '\.tgz$'" to remove this constraint.
2006-01-03update pkg_chk to 1.64abs1-3/+4
- Allow -U of filenames on the commandline
2005-12-13Fix precedence botch which breaks invocation using source.dillo1-2/+2
2005-12-12Add new option -S to create summary file of binary package directory.dillo1-24/+65
Use this summary file to support using remote binary packages. Okayed by agc and abs.
2005-10-02Solaris 2.9's nawk does not like the syntax ($0 ~ /=/); it seems as if theheas1-2/+2
parser interprets this as the division operator '/=', so escape the =.
2005-09-27Update pkg_chk to 1.62:abs1-8/+24
+ Implement defining tag groups in pkgchk.conf. For example "mailserver = tll gta tycoon jeeves iris" + If the first tag on a line starts with a '-', there is now an implicit '*' before it + -B no longer implies -i
2005-09-11update pkgtools/pkg_chk to 1.61.abs1-4/+14
Accept relative paths for -C and -P - fixes PR/31277 from Tero Kivinen
2005-08-04missed in lastabs1-1/+2
2005-08-04update pkgtools/pkg_chk to 1.60:abs1-19/+28
Make -b work without any access to pkgsrcdir
2005-06-01update pkg_chk to 1.59:abs1-2/+2
Fix fallout of 'sh -e' change in 1.58 - make pkg_chk -lb work again