- 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
- 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
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.
- 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@.
* 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
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
- 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
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.
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.
- 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@)
- 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