Commit graph

91 commits

Author SHA1 Message Date
triaxx
61e73ca199 pkg_chk: fix PR pkg/54675
Some OS (e.g. Arch Linux) do not have hostname in their base set of
packages.

pkgsrc changes:
---------------
  * Replace $(hostname) by $(uname -n).

Thanks jperkin@!
2019-11-10 10:25:43 +00:00
wiz
e8632959d4 More macros. 2018-11-27 10:36:52 +00:00
martin
802773c4a4 Add a -d option to avoid cleaning after building from source - for debuging
purposes or to speed up builds when the full WORKOBJDIR can be blown
away later much more efficently.
Bump version. OK: abs@
2018-11-25 20:17:26 +00:00
abs
0a2addac81 Update pkg_chk to 2.0.10
Output deprecated warnings to STDERR rather than STDOUT
2018-10-08 10:35:15 +00:00
abs
24c4be8f7d Update pkg_chk to 2.0.8 Fix missing { } in awk section in 2.0.7 2014-04-23 00:01:01 +00:00
abs
9aef22779b Updated pkgtools/pkg_chk to 2.0.7
update pkg_chk from 2.0.6 to 2.0.7, based on suggestions from PR 30893
- switch from getopt to getopts. The issue described in PR 30893 ('*' being
  expanded by shell globbing) had already been worked around, but getopts
  is just a nicer interface
- Extend tag parsing to support -D '*' to cause all package lines to be matched
2014-04-21 21:32:26 +00:00
abs
4246d2eace Updated pkgtools/pkg_chk to 2.0.6
Set "USE_TOOLS+=    bzcat:run" so pkg_chk can read .bz2 pkg_summary files
2012-09-01 17:52:09 +00:00
abs
c6a414d57e Updated pkgtools/pkg_chk to 2.0.5
- PR/41321 - handle packages which generate multiple pkgnames from the same
  pkgdir - e.g. "py{25,26,27}-sqlite3-0nb2.tgz"
- Add support for pkg_summary.bz2 and pkg_summary.txt. Preferred order is now
  pkg_summary.bz2, pkg_summary.gz then pkg_summary.txt
- Drop support for old pkg_chk-summary file
2012-08-28 12:12:26 +00:00
abs
c47234ee72 Updated pkgtools/pkg_chk to 2.0.4
Fix regression introduced in 2.0.1 where available binary packages
would not always be listed
Add licence (2 clause BSD)
2012-08-03 10:35:31 +00:00
abs
50fc94c5a9 Updated pkgtools/pkg_chk to 2.0.3
PR#46760 pkgtools/pkg_chk /tmp/pkg_chk.XXXXXa directories
- Ensure tmpdir is removed in the -g and -p case
2012-08-02 09:39:49 +00:00
abs
7f473102c0 Updated pkgtools/pkg_chk to 2.0.2
- Fix PR#46748 Error occurs when pkg_chk is used with both "-g" & "-C conf"
  pkg_chk was failing if run outside of a valid pkgsrc/$category/$pkg directory
- Merge in (adjusted) changes from Mike Volokhov to by default not downgrade
  packages if installed version is larger than that in pkgsrc or packages.
  Will still report, and can override with -B
2012-07-29 17:31:11 +00:00
abs
c9e8bb54ef Updated pkgtools/pkg_chk to 2.0.1
ensure OS and arch tags are set in the binary package case as well as source
set x11 for R7 as ell as R6
2012-05-13 13:43:59 +00:00
jmmv
58c9a361c6 Respect user-defined settings of PKG_DBDIR in the manpage.
Bump PKGREVISION to 1.
2011-01-13 17:07:01 +00:00
abs
08221b3e21 Clarify -u usage (noticed by bvd - thanks) 2009-10-28 21:29:00 +00:00
sketch
3825c4c7f8 Use gzcat for the pkg_summary file, fixes Solaris. 2009-07-22 21:56:13 +00:00
abs
4882946a9e Updated pkgtools/pkg_chk to 1.99
Add missing ^ to one PKGPATH= regex to ensure we do not pick up PREV_PKGPATH
or similar
2009-05-04 22:45:16 +00:00
wiz
4148b5110a Remove trailing whitespace. Spelling. Punctuation nits. Remove superfluous
.Pp.
2009-05-04 20:45:41 +00:00
abs
82a1224f8d Updated pkgtools/pkg_chk to 1.98
- Avoid using -. to pkg_info
- Indicate when using a pkg_summary.gz rather than running pkg_info -X on all
  binary packages
2009-03-25 00:00:52 +00:00
abs
dbeaf82136 Updated pkgtools/pkg_chk to 1.97
Fix PR 36641 - pkg_chk -g requires pkgsrc source tree, from Aleksey Cheusov.
2009-02-21 20:50:06 +00:00
abs
d84ad5c936 Updated pkgtools/pkg_chk to 1.96
Handle unset PKGSRCDIR - from Taylor R Campbell in PR/39306
2008-12-20 09:50:59 +00:00
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