Commit graph

71 commits

Author SHA1 Message Date
abs
630a4e0ce1 Update pkg_chk to 1.95:
- Handle pkgsrc in LOCALBASE - fixes PR pkg/32326
2008-07-05 22:56:40 +00:00
tron
f029152d07 Bump version to 1.94:
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-26 09:25:43 +00:00
dillo
6ffe423f77 Bump version to 1.93:
- 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-21 20:52:31 +00:00
apb
32be79e911 Bump version to pkg_chk-1.91:
* 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-05-02 19:10:26 +00:00
abs
9c009a0256 update pkg_chk to 1.91:
- Use a local pkg_summary.gz iff it is the most recently modified file
      in the PACKAGES/All directory
2008-04-23 21:55:29 +00:00
abs
b136c3aa6c update pkg_chk to 1.90:
- Remove obsolete and no longer accurate 'implies -c' and 'implies -i'
      notes from usage - noted by Andreas Burghardt
2008-02-24 21:58:13 +00:00
tnn
46c6d8ebe3 Replace three instances of sed with ${SED}. Ride previous update. 2008-02-17 01:05:39 +00:00
tnn
e833bdd6fa Bump to pkg_chk-1.89:
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-02-17 00:55:20 +00:00
tnn
c722fc0905 pkg_chk-1.88: add mktemp to the list of substituted commands. 2008-01-18 07:50:03 +00:00
abs
d9de31bed4 update pkg_chk to 1.87.
Make -k work with -l, so a missing package will still result in a list of
binary packages being displayed
2007-09-20 08:18:13 +00:00
abs
d3d32b7cbe Update pkg_chk to 1.86:
- 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-08-27 15:28:54 +00:00
joerg
33d42db9d3 Obfuscate a bit so that +BUILD_VERSION doesn't contain incorrect
RCS IDs.
2007-06-19 13:45:50 +00:00
tron
6d3f802271 Checking whether a file with an blank filename exists is somewhat bogus.
Improve the last change to avoid that. Bump package revision again.
2007-04-20 09:50:21 +00:00
tron
f58745f955 Fix quoting so that the code to detect the location of "mk.conf" actually
works (under Darwin?). Bump package revision again.
2007-04-20 09:25:36 +00:00
abs
5588e341aa Update pkgtools/pkg_chk to 1.85:
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-16 18:42:21 +00:00
abs
ed5a5b0844 Update pkg_chk to 1.84:
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.
2007-04-15 21:34:49 +00:00
tron
40e49f88e1 Update "pkg_chk" package to version 1.83:
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-11-05 21:53:27 +00:00
abs
83f9f1a996 Update pkgtools/pkg_chk to 1.82:
- Is '*' is passed to -U, unset all tags
    - Implement -p, to display all the pkgdirs for a given set of tags
2006-10-02 07:33:38 +00:00
dillo
de144fc2d1 This man page is in section 8, make the title say so.
From fgudin at nerim.net, thanks.
2006-09-28 09:36:44 +00:00
abs
edf8891025 Update pkg_chk to 1.81 - Add support for PKG_SUFX = .tbz - from Aleksey Cheusov in PR/34453 2006-09-20 21:54:13 +00:00
abs
f51ebc1798 Update pkg_chk to 1.80:
- 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-25 19:49:53 +00:00
abs
37fcb1749e update pkg_chk to 1.79: default PKG_DBDIR 2006-08-10 08:54:44 +00:00
cube
2f67ea37c1 Fix -q which ate the next argument. Only document -i and -c in the
"Deprecated options" part of the manual.

PR#34145 by Dieter Roelants.
2006-08-06 12:21:09 +00:00
wiz
a0b3f531bd Remove superfluous .Nm. 2006-07-28 21:58:04 +00:00
abs
6ceb8320eb Update pkg_chk to 1.77:
- 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-22 20:41:20 +00:00
abs
cbcbe8af03 Update pkg_tools/pkg_chk to 1.76 - output the pkgdir rather than pkgname at the start of each line 2006-07-10 23:47:18 +00:00
abs
d4dac6f718 update pkg_chk to 1.75
- match bsd.own.mk logic for determining MAKECONF, as requested by Joerg
2006-06-09 16:43:33 +00:00
abs
867a7377dc Update pkg_chk to 1.74
1.73 was completely broken.. but only after checking in.
	ahh... Unwanted expansion of RCS tags, I know ye well...
2006-06-07 16:27:14 +00:00
abs
b1ee560908 update pkg_chk to 1.73:
- 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-06-07 13:52:39 +00:00
dillo
2ad82a153c Bump version to 1.72:
Make it use pkg_summary(5) (with a fallback to the old pkg_chk-summary).
Retire capability to create pkg_chk-summary.
2006-05-04 22:08:05 +00:00
wiz
0e496329b5 1.71: Fix typo in message. PR 33401 by MASUDA Hideo. 2006-05-01 09:34:33 +00:00
abs
af81038321 Update pkg_chk to 1.70 - list -q in usage, noted by Rui Paulo 2006-04-23 19:50:46 +00:00
wiz
047eb34369 Bump date for previous. 2006-04-04 20:49:43 +00:00
tv
ad54c428d8 1.69.1: Add a -q option, which is a superset of -n; squelches progress
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-04-04 18:38:13 +00:00
abs
f49371f511 Update pkg_chk to 1.69
- Deprecate -i -and -c (recommend -u -n and -a -n respectively
2006-02-18 21:34:03 +00:00
abs
d1330c811b Update pkg_chk to 1.68
- 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-18 20:46:42 +00:00
abs
8db20b79d3 Update pkg_chk to 1.76:
Append rather than prepend /usr/sbin:/usr/bin to path, to avoid issues
    on Solaris which has feature-poor ftp in /usr/bin
2006-02-06 12:44:08 +00:00
abs
59b795ff54 Update pkgtools/pkg_chk to 1.66
Fix incorrect quotation in test
2006-01-15 12:32:56 +00:00
joerg
599b02b412 When creating the sorted list of binary packages, "ls -t *.tgz" can
easily overflow the argument space e.g. on DragonFly. Replace this
statement with "ls -t | grep '\.tgz$'" to remove this constraint.
2006-01-12 21:17:16 +00:00
abs
9ca94e98c0 update pkg_chk to 1.64
- Allow -U of filenames on the commandline
2006-01-03 19:00:09 +00:00
dillo
f9639751a9 Fix precedence botch which breaks invocation using source. 2005-12-13 15:26:05 +00:00
wiz
7923936df5 Sort options in SYNOPSIS, bump date for -S. 2005-12-12 14:03:20 +00:00
dillo
6ff6eb177b Add new option -S to create summary file of binary package directory.
Use this summary file to support using remote binary packages.

Okayed by agc and abs.
2005-12-12 13:36:37 +00:00
heas
852277e6aa Solaris 2.9's nawk does not like the syntax ($0 ~ /=/); it seems as if the
parser interprets this as the division operator '/=', so escape the =.
2005-10-02 02:05:29 +00:00
wiz
b318c48fb9 Typo and whitespace fixes. Use Sq. Capitalize NetBSD properly. 2005-09-30 12:10:44 +00:00
abs
c413838a65 Update pkg_chk to 1.62:
+ 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-27 17:13:03 +00:00
abs
345ac26c9b update pkgtools/pkg_chk to 1.61.
Accept relative paths for -C and -P - fixes PR/31277 from Tero Kivinen
2005-09-11 10:39:03 +00:00
abs
2799fb73cd missed in last 2005-08-04 18:01:37 +00:00
abs
04c8e2ea5d update pkgtools/pkg_chk to 1.60:
Make -b work without any access to pkgsrcdir
2005-08-04 17:55:51 +00:00
abs
9e2946589a update pkg_chk to 1.59:
Fix fallout of 'sh -e' change in 1.58 - make pkg_chk -lb work again
2005-06-01 14:14:47 +00:00