diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-01-20 12:41:31 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-01-20 12:41:31 +0800 |
commit | 3003474cae352442054cbdf767f2c23459e2250a (patch) | |
tree | 8071f49375866346fab0d21535b8672285b9e04a /sysutils/policykit | |
parent | c776880cba1e9ad8c117cb0e7e4c5a835ecdda5e (diff) | |
download | marcuscom-ports-3003474cae352442054cbdf767f2c23459e2250a.tar marcuscom-ports-3003474cae352442054cbdf767f2c23459e2250a.tar.gz marcuscom-ports-3003474cae352442054cbdf767f2c23459e2250a.tar.bz2 marcuscom-ports-3003474cae352442054cbdf767f2c23459e2250a.tar.lz marcuscom-ports-3003474cae352442054cbdf767f2c23459e2250a.tar.xz marcuscom-ports-3003474cae352442054cbdf767f2c23459e2250a.tar.zst marcuscom-ports-3003474cae352442054cbdf767f2c23459e2250a.zip |
Make sure to create all the necessary localstate directories, or polkit
won't work.
Reported by: sajd on #freebsd-gnome
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10182 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/policykit')
-rw-r--r-- | sysutils/policykit/Makefile | 4 | ||||
-rw-r--r-- | sysutils/policykit/pkg-install | 9 |
2 files changed, 9 insertions, 4 deletions
diff --git a/sysutils/policykit/Makefile b/sysutils/policykit/Makefile index ac2c0474f..bd70a308e 100644 --- a/sysutils/policykit/Makefile +++ b/sysutils/policykit/Makefile @@ -3,12 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/sysutils/policykit/Makefile,v 1.17 2008/01/19 20:47:41 marcus Exp $ +# $MCom: ports/sysutils/policykit/Makefile,v 1.18 2008/01/19 21:30:05 marcus Exp $ # PORTNAME= policykit PORTVERSION= 0.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils gnome MASTER_SITES= http://hal.freedesktop.org/releases/ DISTNAME= PolicyKit-${PORTVERSION} diff --git a/sysutils/policykit/pkg-install b/sysutils/policykit/pkg-install index 93956212e..3d49ff206 100644 --- a/sysutils/policykit/pkg-install +++ b/sysutils/policykit/pkg-install @@ -32,8 +32,13 @@ POST-INSTALL) fi fi - /usr/bin/install -d -o root -g ${GROUP} /var/run/PolicyKit - /usr/bin/install -d -o root -m 0775 -g ${GROUP} /var/lib/PolicyKit + /usr/bin/install -d -o root -m 0770 -g ${GROUP} /var/run/PolicyKit + /usr/bin/install -d -o root -m 0770 -g ${GROUP} /var/lib/PolicyKit + /usr/bin/install -d -o root -m 0775 -g ${GROUP} /var/lib/PolicyKit-public + /bin/mkdir -p /var/lib/misc + /usr/bin/touch -f /var/lib/misc/PolicyKit.reload + /usr/bin/chgrp ${GROUP} /var/lib/misc/PolicyKit.reload + /bin/chmod 0775 /var/lib/misc/PolicyKit.reload for i in ${PKG_PREFIX}/libexec/polkit-read-auth-helper ${PKG_PREFIX}/libexec/polkit-set-default-helper ${PKG_PREFIX}/libexec/polkit-grant-helper ${PKG_PREFIX}/libexec/polkit-grant-helper-pam ${PKG_PREFIX}/libexec/polkit-explicit-grant-helper ${PKG_PREFIX}/libexec/polkit-revoke-helper /var/lib/misc/PolicyKit.reload; do /usr/bin/chgrp ${GROUP} ${i} done |