611e7f92de
If a plist contains @owner or @group entries and first rename failed, pushout was called with NULL argument. This has the semantic of using a working directory of "/", even though already read plist entries are relative to prefix. The calls to chown and chgrp therefore end up with the wrong arguments for the current directory. To compensate for this, don't pushout the first time. As plists are not supposed to have multiple @cwd entries anymore, this could most likely be simplified, but that is outside the scope of this commit. Merge lib/plist.c, rev 1.51: When processing symlinks in pkg_delete and the call to readlink failed, it often helps to know why, so use warn instead of warnx. Bump version to 20061103. |
||
---|---|---|
.. | ||
add | ||
admin | ||
bpm | ||
create | ||
delete | ||
info | ||
lib | ||
view | ||
config.guess | ||
config.sub | ||
configure | ||
configure.ac | ||
install-sh | ||
Makefile.in | ||
pi2nbcompat | ||
pkg_install2nbcompat | ||
README | ||
tkpkg |
# $NetBSD: README,v 1.7 2005/05/30 13:23:31 wiz Exp $ # Original from FreeBSD, no rcs id. This is the pkg_install suite of tools for doing maintainance of software "packages". More documentation is available in the man pages for each individual command. This code was written by Jordan Hubbard for FreeBSD, snatched and mildly reshaped by John Kohl in NetBSD and the changes taken back into FreeBSD again by Jordan, who then proceeded to add another couple of dozen features on top. Whee! :-) In another round of enhancements, NetBSD changes were added by Alistair Crooks, Hubert Feyrer, Thorsten Frueauf, Rene Hexel, Christian E. Hopps, Thomas Klausner, Johnny Lam, and Matthias Scheler. When making snapshots, please modify PKGTOOLS_VERSION in lib/version.h to that day's date. src/usr.sbin/pkg_install is the canonical location for these sources. Any changes should be made here first, then merged over to pkgsrc.