Subject: CVS commit: pkgsrc/pkgtools/packagekit
From: John Marino
Date: 2012-05-22 13:02:50
Message id: 20120522110251.0755D175DD@cvs.netbsd.org

Log Message:
pkgtools/packagekit: Fix permissions and directory creation

This package would fail when a non-privileged user would try to install it.
That's because it was trying to create /usr/pkg/var/log directory.  Another
directory was getting installed into DESTDIR but no further.

Added patch:
1) Removes attempt of Makefile to install ${VARBASE}/log
2) ..and directory ${VARBASE}/cache/PackageKit/downloads creation
3) ..which fixes non-root installations

The INSTALL file was removed, instead of installing directories in ${VARBASE},
it was installing directories at /.  The functionality was replaced with
OWN_DIRS+= in the Makefile and verified to work as expected.

Files:
RevisionActionfile
1.21modifypkgsrc/pkgtools/packagekit/Makefile
1.4modifypkgsrc/pkgtools/packagekit/distinfo
1.1addpkgsrc/pkgtools/packagekit/patches/patch-src_Makefile.in
1.1.1.1removepkgsrc/pkgtools/packagekit/INSTALL