summaryrefslogtreecommitdiff
path: root/security/policykit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/policykit/Makefile')
-rw-r--r--security/policykit/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/security/policykit/Makefile b/security/policykit/Makefile
index 125d2e74dbc..1639b711ba3 100644
--- a/security/policykit/Makefile
+++ b/security/policykit/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.9 2009/03/05 14:17:46 joerg Exp $
+# $NetBSD: Makefile,v 1.10 2009/03/12 22:25:30 abs Exp $
#
POLICYKIT_VER= 0.9
DISTNAME= PolicyKit-${POLICYKIT_VER}
PKGNAME= policykit-${POLICYKIT_VER}
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= security
MASTER_SITES= http://hal.freedesktop.org/releases/
@@ -49,6 +49,14 @@ CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --with-polkit-user=${POLICYKIT_USER}
CONFIGURE_ARGS+= --with-polkit-group=${POLICYKIT_GROUP}
+OWN_DIRS_PERMS+= ${VARBASE}/lib/PolicyKit \
+ ${ROOT_USER} ${POLICYKIT_GROUP} 0770
+OWN_DIRS_PERMS+= ${VARBASE}/lib/PolicyKit-public \
+ ${POLICYKIT_USER} ${ROOT_GROUP} 0755
+OWN_DIRS_PERMS+= ${VARBASE}/lib/misc ${ROOT_USER} ${ROOT_GROUP} 0755
+CONF_FILES_PERMS+= /dev/null ${VARBASE}/lib/misc/PolicyKit.reload \
+ ${POLICYKIT_USER} ${POLICYKIT_GROUP} 0664
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly"