diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-09-10 12:34:25 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-09-10 12:34:25 +0800 |
commit | 9070948229f9a889e0843903db3520845c924f3d (patch) | |
tree | 873b2b0cd8bd4d2b147fd33916e072457f124bf0 /sysutils/polkit | |
parent | df12fec8a525c7ce0d8985510ec26e0a58199e5b (diff) | |
download | marcuscom-ports-9070948229f9a889e0843903db3520845c924f3d.tar marcuscom-ports-9070948229f9a889e0843903db3520845c924f3d.tar.gz marcuscom-ports-9070948229f9a889e0843903db3520845c924f3d.tar.bz2 marcuscom-ports-9070948229f9a889e0843903db3520845c924f3d.tar.lz marcuscom-ports-9070948229f9a889e0843903db3520845c924f3d.tar.xz marcuscom-ports-9070948229f9a889e0843903db3520845c924f3d.tar.zst marcuscom-ports-9070948229f9a889e0843903db3520845c924f3d.zip |
Correctly generate the polkit config file during pkg_add.
Reported by: avl
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12854 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/polkit')
-rw-r--r-- | sysutils/polkit/Makefile | 3 | ||||
-rw-r--r-- | sysutils/polkit/pkg-plist | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/polkit/Makefile b/sysutils/polkit/Makefile index a74f18a8d..d5ac2ac0e 100644 --- a/sysutils/polkit/Makefile +++ b/sysutils/polkit/Makefile @@ -3,11 +3,12 @@ # Whom: Koop Mast<kwm@FreeBSD.org> # # $FreeBSD$ -# $MCom$ +# $MCom: ports/sysutils/polkit/Makefile,v 1.1 2009/08/17 16:49:09 kwm Exp $ # PORTNAME= polkit PORTVERSION= 0.94 +PORTREVISION= 1 CATEGORIES= sysutils gnome MASTER_SITES= http://hal.freedesktop.org/releases/ diff --git a/sysutils/polkit/pkg-plist b/sysutils/polkit/pkg-plist index e61d240b1..db209b490 100644 --- a/sysutils/polkit/pkg-plist +++ b/sysutils/polkit/pkg-plist @@ -4,7 +4,7 @@ bin/pkcheck bin/pkexec @unexec if cmp -s %D/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf %D/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf.dist; then rm -f %D/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf ; fi etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf.dist -@exec [ -f %B/PolicyKit.conf ] || cp %B/%f %B/PolicyKit.conf +@exec [ -f %B/org.freedesktop.PolicyKit1.conf ] || cp %B/%f %B/org.freedesktop.PolicyKit1.conf etc/pam.d/polkit-1 etc/polkit-1/localauthority.conf.d/50-localauthority.conf etc/polkit-1/nullbackend.conf.d/50-nullbackend.conf |