summaryrefslogtreecommitdiff
path: root/print/cups
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-05-21 06:32:45 +0000
committerobache <obache@pkgsrc.org>2010-05-21 06:32:45 +0000
commit926db7c2121d02236ebb156607f737cdf3768af1 (patch)
tree0fc0a59cb84dfe6d71790e8dc1d455c85e809077 /print/cups
parentbc40c34c7bb794a31684d0bb8e4db730ce1844f1 (diff)
downloadpkgsrc-926db7c2121d02236ebb156607f737cdf3768af1.tar.gz
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 (limited to 'print/cups')
-rw-r--r--print/cups/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/print/cups/Makefile b/print/cups/Makefile
index cd1f2a3d8ee..a1fb7a0e823 100644
--- a/print/cups/Makefile
+++ b/print/cups/Makefile
@@ -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 @@ post-extract:
${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}; \