pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/pkgtools/packagekit



Module Name:    pkgsrc
Committed By:   marino
Date:           Tue May 22 11:02:50 UTC 2012

Modified Files:
        pkgsrc/pkgtools/packagekit: Makefile distinfo
Added Files:
        pkgsrc/pkgtools/packagekit/patches: patch-src_Makefile.in
Removed Files:
        pkgsrc/pkgtools/packagekit: INSTALL

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.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r0 pkgsrc/pkgtools/packagekit/INSTALL
cvs rdiff -u -r1.20 -r1.21 pkgsrc/pkgtools/packagekit/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/pkgtools/packagekit/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/pkgtools/packagekit/patches/patch-src_Makefile.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index