pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/cups OWN_DIRS(_PERS) cleanup
details: https://anonhg.NetBSD.org/pkgsrc/rev/72f37de155f5
branches: trunk
changeset: 575803:72f37de155f5
user: sbd <sbd%pkgsrc.org@localhost>
date: Sun May 23 10:03:12 2010 +0000
description:
OWN_DIRS(_PERS) cleanup
* Add CUPS_CACHE and use it.
* Add CUPS_STATEDIR and add it to OWN_DIRS
* Move ${CUPS_CONFDIR}/certs to ${CUPS_STATEDIR}/certs
* Add ${CUPS_CACHE}/rss
* Use ${ROOT_USER} instead of ${CUPS_USER} for all OWN_DIRS_PERMS except
${CUPS_STATEDIR}/certs.
diffstat:
print/cups/Makefile | 18 +++++++++++-------
1 files changed, 11 insertions(+), 7 deletions(-)
diffs (46 lines):
diff -r 122576b98bde -r 72f37de155f5 print/cups/Makefile
--- a/print/cups/Makefile Sun May 23 10:02:25 2010 +0000
+++ b/print/cups/Makefile Sun May 23 10:03:12 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.156 2010/05/23 09:44:12 sbd Exp $
+# $NetBSD: Makefile,v 1.157 2010/05/23 10:03:12 sbd 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:
@@ -40,7 +40,7 @@
CONFIGURE_ARGS+= --localedir=${PREFIX}/${PKGLOCALEDIR}/locale
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR:Q}
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
-CONFIGURE_ARGS+= --with-cachedir=${VARBASE:Q}/cache/cups
+CONFIGURE_ARGS+= --with-cachedir=${CUPS_CACHE:Q}
CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/cups
CONFIGURE_ARGS+= --with-serverbindir=${PREFIX}/libexec/cups
CONFIGURE_ARGS+= --with-cups-user=${CUPS_USER:Q}
@@ -87,6 +87,8 @@
CUPS_CONFDIR= ${PKG_SYSCONFDIR}
CUPS_LOGDIR= ${VARBASE}/log/cups
CUPS_REQUESTS= ${VARBASE}/spool/cups
+CUPS_CACHE= ${VARBASE}/cache/cups
+CUPS_STATEDIR= ${VARBASE}/run/cups
PKG_GROUPS= ${CUPS_GROUP}
PKG_USERS= ${CUPS_USER}:${CUPS_GROUP}
@@ -102,11 +104,13 @@
OWN_DIRS+= ${CUPS_CONFDIR}/ppd
OWN_DIRS+= ${PREFIX}/libexec/cups/driver
OWN_DIRS+= ${CUPS_LOGDIR}
-OWN_DIRS_PERMS= ${CUPS_CONFDIR}/certs ${CUPS_USER} ${CUPS_GROUP} 0711
-OWN_DIRS_PERMS+= ${CUPS_CONFDIR}/ssl ${CUPS_USER} ${CUPS_GROUP} 0700
-OWN_DIRS_PERMS+= ${CUPS_REQUESTS} ${CUPS_USER} ${CUPS_GROUP} 0710
-OWN_DIRS_PERMS+= ${CUPS_REQUESTS}/tmp ${CUPS_USER} ${CUPS_GROUP} 1770
-OWN_DIRS_PERMS+= ${VARBASE}/cache/cups ${CUPS_USER} ${CUPS_GROUP} 0775
+OWN_DIRS+= ${CUPS_STATEDIR}
+OWN_DIRS_PERMS= ${CUPS_STATEDIR}/certs ${CUPS_USER} ${CUPS_GROUP} 0711
+OWN_DIRS_PERMS+= ${CUPS_CONFDIR}/ssl ${ROOT_USER} ${CUPS_GROUP} 0700
+OWN_DIRS_PERMS+= ${CUPS_REQUESTS} ${ROOT_USER} ${CUPS_GROUP} 0710
+OWN_DIRS_PERMS+= ${CUPS_REQUESTS}/tmp ${ROOT_USER} ${CUPS_GROUP} 1770
+OWN_DIRS_PERMS+= ${CUPS_CACHE} ${ROOT_USER} ${CUPS_GROUP} 0775
+OWN_DIRS_PERMS+= ${CUPS_CACHE}/rss ${ROOT_USER} ${CUPS_GROUP} 0775
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index