Post-1.5 version that fixes the timeout-problem when installing via FTP
(the 10-minute timeout was on the whole transfer, not on a single file
inside the package).
This includes a buffer overflow bug fix in pkg_add which was causing pkg_add
to segfault on teTeX on pmax. The bug was present on all ports though. As
far as I can tell this was a non-exploitable overflow.
Among others:
* pkg_add: Quick pre-check if any conflicting dependencies are installed
(e.g. version X is installed, but version Y is required), before
downloading all depends, and bail out later.
* pkg_admin: add lsbest, lsall commands to interface the C functions
findmatchingname() and findbestmatchingname(); useful to expand pkg
patterns for shell scripts etc.
* pkg_admin: allow pkg without version to "check" command
* pkg_delete: properly deal with wildcards in pkg_delete -R
* More code cleanup, clearer error messages and minor enhancements.
This also fixes a bunch of PRs, sorry for not listing any numbers.
Main reason is that the last update collided with an earlier one
on the same day, and people ended up with the wrong distfile
(content-wise).
New features in this version:
- Compile in full names for chown(1), chmod(1) and chgrp(1).
Fixes PR 8250 by Wiz <wiz@danbala.ifoer.tuwien.ac.at>.
- pkg_delete calls DEINSTALL script a second time after all the files
are removed, with "DEINSTALL $PKGNAME POST-DEINSTALL" as args
pages that are installed will be gzip-compressed, if MANZ is set, or
not if MANZ is not set. If the package uses bsd-style .mk files, the
variable MANCOMPRESSED_IF_MANZ should be set to a value of "yes" in
the package Makefile. This replaces the previous method of specific
inclusion of bsd.prefs.mk, followed by a check for MANZ and
conditional assignment of MANCOMPRESSED.
Add appropriate documentation, and change all necessary ocurrences in
package Makefiles.
the new -b and -B flags to pkg_create, so that any binary packages
that are created automatically get their build information and
versioning data attached.
Update bsd.pkg.mk to have PKGTOOLS_REQD= 19981026.
+ Add a pkg_install package, in the pkgtools category, which is a copy
of NetBSD-current's /usr/src/usr.sbin/pkg_install sources, as of
August 28th 1998. This version of the pkg_* tools includes a version
of pkg_info(1) which echoes matching package names, understands sh(1)
globbing, csh(1)-style {,} alternates, and Dewey decimal version
number relational matching.