pkgsrc/pkgtools
agc e5061b6f81 Fix for pkg_delete on NFS from Anthony Mallet.
Problem analysis from Anthony:

	On Wednesday, at 23:52, Anthony Mallet wrote:
	> # rm -rf ~tmp && mkdir ~/tmp
	> # pkg_add -K ~/tmp/var/db/pkg -p ~/tmp /usr/pkgsrc/packages/All/digest-20080510.tgz
	> # pkg_add -U -K ~/tmp/var/db/pkg -p ~/tmp /usr/pkgsrc/packages/All/digest-20080510.tgz
	> pkg_delete: Couldn't remove package directory in `/home/tho/tmp/var/db/pkg/digest-20080510'
	> Also, the dir var/db/pkg/digest-20080510.xxxxxxx is never cleaned.
	>
	> The problem apparently is that pkg_delete finds some stalled NFS entries
	> (.nfs*) in the var/db/pkg/digest-20080510 dir, so it does not delete the
	> directory. Is this due to pkg_add not correctly closing file descriptors before
	> exec'ing pkg_delete? For instance, I really don't understand the logic in
	> check_already_installed() (add/perform.c:375) regarding the open() of +CONTENTS
	> which is almost never closed (and never used as well...). Shouldn't this be
	> closed before running pkg_delete?

	ktrace shows that the +CONTENTS file is open() by pkg_add, I believe this is in
	check_already_installed(), add/perform.c:381. Then pkg_delete is run and when
	it comes to deleting the pkgdir entry, it finds that .nfs file and aborts.

Bump version to 20110805
2011-08-05 07:04:28 +00:00
..
autoswc
binpatch Reset maintainer, developer lost his commit bit. 2010-03-21 16:29:38 +00:00
bootstrap-extras Added fakeldd for Haiku. 2010-02-06 10:26:09 +00:00
bootstrap-mk-files Fixes bsd.own.mk handling in bootstrap.sh script to same as pkg's Makefile. 2011-06-17 11:00:36 +00:00
cdpack
compat_headers
createbuildlink Teach createbuildlink to ignore graphics/hicolor-icon-theme/buildlink3.mk. 2010-01-13 15:27:52 +00:00
dfdisk
digest Exactly include unistd.h for size_t (at least, need for Haiku). 2010-01-23 13:25:12 +00:00
distbb distbb - distributed bulk build tool for pkgsrc 2011-05-18 19:36:39 +00:00
genrpm
gensolpkg Provide DESTDIR and UNPRIVILEGED installation support 2011-05-28 17:27:08 +00:00
gnome-packagekit recursive bump from textproc/icu shlib major bump. 2011-06-10 09:39:41 +00:00
libkver
libnbcompat Add workaround for broken pread/pwrite. This is needed at least on 2010-04-20 00:32:22 +00:00
lintpkgsrc Make sure that FILESDIR is a full path, so that the resulting +BUILD_INFO 2010-02-24 22:04:38 +00:00
mtree Fix build on (RH)EL 5 and 6, and possibly others. 2011-07-27 15:31:00 +00:00
nih Use /usr/bin/ftp on *BSD systems and ftp command from net/tnftp package. 2011-08-02 14:16:12 +00:00
osabi Kill Interix libc shlibname base OS_VERSION detection, broken for SUA. 2011-02-05 13:21:13 +00:00
p5-pkgsrc-Dewey Bump the PKGREVISION for all packages which depend directly on perl, 2010-08-21 16:32:42 +00:00
packagekit recursive bump from textproc/icu shlib major bump. 2011-06-10 09:39:41 +00:00
pbulk - pass fullpath in argv[0] when pkg-scan spawns bmake so that 2011-03-06 02:23:32 +00:00
pbulk-base - pass fullpath in argv[0] when pkg-scan spawns bmake so that 2011-03-06 02:23:32 +00:00
pkg_alternatives Use REAL_ROOT_USER. Bump version. 2010-02-19 20:40:23 +00:00
pkg_chk Respect user-defined settings of PKG_DBDIR in the manpage. 2011-01-13 17:07:01 +00:00
pkg_comp Update to 1.35: 2010-11-13 16:23:22 +00:00
pkg_distinst Don't have time to MAINTAIN these anymore, so back to pkgsrc-users@ 2010-03-20 21:32:40 +00:00
pkg_filecheck
pkg_install Fix for pkg_delete on NFS from Anthony Mallet. 2011-08-05 07:04:28 +00:00
pkg_install-info
pkg_leaves
pkg_notify
pkg_online-client Do not use DESCR_SRC, the readme job doesn't handle it well and it's not 2011-05-21 09:07:04 +00:00
pkg_online-server Do not use DESCR_SRC, the readme job doesn't handle it well and it's not 2011-05-21 09:07:04 +00:00
pkg_regress
pkg_rolling-replace Pass MAKE_SET_VARS with environment variables instead of make flags, 2011-03-22 04:04:58 +00:00
pkg_select
pkg_summary-utils Updated to 0.54.0 2011-07-30 09:54:17 +00:00
pkg_tarup Add filebase support, allowing to choose the filename for the resulting 2011-03-19 09:44:16 +00:00
pkgclean
pkgdep fix #!/usr/bin/env issue, oked by wiz@ 2011-05-23 08:28:42 +00:00
pkgdepgraph Reset maintainer, developer lost his commit bit. 2010-03-21 16:29:38 +00:00
pkgdiff Add -w flag to mkpatches(1), which makes it look in WRKDIR instead of 2011-06-26 12:11:39 +00:00
pkgfind
pkgin 20110802 2011-08-02 21:26:59 +00:00
pkglint Update "pkglint" package to version 4.102. Changes since version 4.101: 2011-08-01 11:58:14 +00:00
pkgse
pkgsrc-todo
pkgsurvey
port2pkg replace shebang for perl. 2011-06-06 01:39:59 +00:00
prereq-readme
rc.subr Takeover maintainership. 2010-03-23 00:27:11 +00:00
rcorder
rdigest Reset maintainer, developer lost his commit bit. 2010-03-21 16:29:38 +00:00
revbump Update docs for some problems found during the png bump. 2010-06-20 19:29:50 +00:00
rpm2pkg Make build warnings non-fatal unless developer mode is enabled. 2011-04-12 22:36:11 +00:00
shlock
url2pkg Add LICENSE 2011-05-30 07:28:21 +00:00
verifypc verifypc-1.5: replace improper seddery with a call to reduce-depends.awk. 2011-06-12 20:28:32 +00:00
x11-links Update for recent freetype2 import in NetBSD-current. 2011-08-01 15:09:28 +00:00
xpkgwedge Force-set ManPath on Debian in order to work around silly things Debian 2010-06-06 03:45:17 +00:00
Makefile +distbb, oked by sponsors 2011-05-18 19:41:11 +00:00