and the "do-extract" target copies the sources into ${WRKSRC}. We
automagically determine VERSION by inspecting ${FILESDIR}/lib/version.h.
Thanks to autoconf, all the patches and almost all of the cruftulent
${OPSYS}-specific stuff in the Makefile are gone.
Check the return code from the second invocation of installprereq(), to
make sure that a failed installation of a rpe-requisite package kills
the attempt to add the package. This reverts pkg_add(1) to traditional
behaviour.
Changes summary:
- Support digital signatures in binary packages.
- Use full path name to tar.
- Fix ``pkg_add -u'' for packages without dependencies.
- Add ``-U'' and ``-I'' options to pkg_create.
- Close some memory leaks.
- Add ``-n'' argument to pkg_info to show needed packages.
- Fix pkg_info to not FTP unneccessarily
- Improve version number handling:
- recognition of "pl" ("patchlevel") and "rc" ("release candidate")
strings
- recognition of '_' and "pl" as pseudonyms for '.' (1.2pl2 == 1.2.2)
- handle alphabetic characters properly (1.2e == 1.2.5)
- 64-bit integers are used internally for each component of the version
number.
- Various internal cleanups, bugfixes, and API tweaks.
Avoid using '..' in LOCALBASE as it might end up in the binaries as part of
TAR_FULLPATHNAME.
Record MANINSTALL setting.
Add a workaround for SHLOCK definition or else LOCALBASE setting breaks it.
recognized in version matching of pkg_add, pkg_admin.
This is the src/usr.sbin/pkg_install from -current as of today, with
pkg_install/Makefile.inc and pkg_install/Makefile from 1.5, to allow this
to build.
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.