pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/cups Fixes typo introduced in rev1.151.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/602156be2078
branches:  trunk
changeset: 575770:602156be2078
user:      obache <obache%pkgsrc.org@localhost>
date:      Fri May 21 06:32:45 2010 +0000

description:
Fixes typo introduced in rev1.151.
commit log said:
 * remove write permission from a set-uid program (checkperms warning).
But it did "chmod -r", and break binary package creation by unprivireged user
because of unreadable file.

diffstat:

 print/cups/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7aab16eef194 -r 602156be2078 print/cups/Makefile
--- a/print/cups/Makefile       Fri May 21 01:53:41 2010 +0000
+++ b/print/cups/Makefile       Fri May 21 06:32:45 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.153 2010/05/20 09:38:34 sbd Exp $
+# $NetBSD: Makefile,v 1.154 2010/05/21 06:32:45 obache Exp $
 #
 # The CUPS author is very good about taking back changes into the main
 # CUPS distribution.  The correct place to send patches or bug-fixes is:
@@ -136,7 +136,7 @@
        ${CP} ${FILESDIR}/cups.pam ${WRKDIR}/cups.pam
 
 post-install:
-       ${RUN} chmod -r ${DESTDIR}${PREFIX}/bin/lppasswd
+       ${RUN} chmod -w ${DESTDIR}${PREFIX}/bin/lppasswd
        set -e; for file in LICENSE.txt README.txt; do                  \
                ${INSTALL_DATA} ${WRKSRC}/$${file}                      \
                     ${DESTDIR}${DOCDIR}/$${file}; \



Home | Main Index | Thread Index | Old Index