Merge from vendor branch PKGSRC:
commit7c83d0c919cfb26c9db4fefc0ca04d92124112e4
authorJoerg Sonnenberger <joerg@NetBSD.org>
Fri, 24 Apr 2009 14:17:56 +0000 (24 14:17 +0000)
committerJoerg Sonnenberger <joerg@NetBSD.org>
Fri, 24 Apr 2009 14:17:56 +0000 (24 14:17 +0000)
tree6e64208be07013f04f0741add363e960f26b7216
parent4b80c38ff95b2f89080fb280915d23a221f0ac70
parent7601f1ccf4140ab8139061305ea99ef1281be51f
Merge from vendor branch PKGSRC:
Import pkg_install-20090424:
Make pkg_delete -d the default behavior, remove the option.
Remove pkg_create -R support (reorder @dirrm entries).
Introduce new plist command @pkgdir, which makes pkg_add add
this directory if it doesn't exist already and pkg_delete remove it
only if no other package has a @pkgdir entry for it. Otherwise
directories are pruned when the last file or directory in them is
removed. @dirrm is now a pure hint, if the directory doesn't exist, it
will be silently skipped.