aboutsummaryrefslogtreecommitdiff
path: root/sysutils/polkit
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2010-01-18 19:36:52 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2010-01-18 19:36:52 +0000
commit90f3b8441a5346ec7e0282448eb7fd788ad65a1d (patch)
treeb9e582f6cb59cea8effa186981e2fd490115ed15 /sysutils/polkit
parentd954ffdf018cb506644cd2d26f47390d7f0a5137 (diff)
downloadports-90f3b8441a5346ec7e0282448eb7fd788ad65a1d.tar.gz
ports-90f3b8441a5346ec7e0282448eb7fd788ad65a1d.zip
Notes
Diffstat (limited to 'sysutils/polkit')
-rw-r--r--sysutils/polkit/Makefile3
-rw-r--r--sysutils/polkit/distinfo6
-rw-r--r--sysutils/polkit/files/patch-src_polkitbackend_Makefile.in14
-rw-r--r--sysutils/polkit/pkg-install3
-rw-r--r--sysutils/polkit/pkg-plist8
5 files changed, 25 insertions, 9 deletions
diff --git a/sysutils/polkit/Makefile b/sysutils/polkit/Makefile
index eed215e65630..95514bd84b1a 100644
--- a/sysutils/polkit/Makefile
+++ b/sysutils/polkit/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= polkit
-PORTVERSION= 0.95
-PORTREVISION= 3
+PORTVERSION= 0.96
CATEGORIES= sysutils gnome
MASTER_SITES= http://hal.freedesktop.org/releases/
diff --git a/sysutils/polkit/distinfo b/sysutils/polkit/distinfo
index b37677cf92cf..628723b6c799 100644
--- a/sysutils/polkit/distinfo
+++ b/sysutils/polkit/distinfo
@@ -1,3 +1,3 @@
-MD5 (polkit-0.95.tar.gz) = 10971f5d334550025897b02d779fddd1
-SHA256 (polkit-0.95.tar.gz) = b484248ed8fa7419170cf98d7cba51d68290783c3c7cac7c5dab7605dfe3c79c
-SIZE (polkit-0.95.tar.gz) = 1025805
+MD5 (polkit-0.96.tar.gz) = e0a06da501b04ed3bab986a9df5b5aa2
+SHA256 (polkit-0.96.tar.gz) = 3426ca917210b2a5525732559368c18f983a4c39a6a55c5dddba26071bd8054a
+SIZE (polkit-0.96.tar.gz) = 1034210
diff --git a/sysutils/polkit/files/patch-src_polkitbackend_Makefile.in b/sysutils/polkit/files/patch-src_polkitbackend_Makefile.in
index b3bb5b72105b..08db0ab02876 100644
--- a/sysutils/polkit/files/patch-src_polkitbackend_Makefile.in
+++ b/sysutils/polkit/files/patch-src_polkitbackend_Makefile.in
@@ -1,6 +1,6 @@
---- src/polkitbackend/Makefile.in.orig 2009-08-01 11:56:22.000000000 +0200
-+++ src/polkitbackend/Makefile.in 2009-08-01 11:57:18.000000000 +0200
-@@ -852,7 +852,11 @@ clean-local :
+--- src/polkitbackend/Makefile.in.orig 2010-01-18 02:50:30.000000000 -0500
++++ src/polkitbackend/Makefile.in 2010-01-18 14:18:36.000000000 -0500
+@@ -899,10 +899,18 @@ clean-local :
install-exec-hook:
mkdir -p $(DESTDIR)$(localstatedir)/lib/polkit-1
@@ -11,5 +11,13 @@
+ mkdir -p $(DESTDIR)$(localstatedir)/lib/polkit-1/localauthority/50-local.d
+ mkdir -p $(DESTDIR)$(localstatedir)/lib/polkit-1/localauthority/90-mandatory.d
-chmod 700 $(DESTDIR)$(localstatedir)/lib/polkit-1
+ mkdir -p $(DESTDIR)$(sysconfdir)/polkit-1
+- mkdir -p $(DESTDIR)$(sysconfdir)/polkit-1/localauthority/{10-vendor.d,20-org.d,30-site.d,50-local.d,90-mandatory.d}
++ mkdir -p $(DESTDIR)$(sysconfdir)/polkit-1/localauthority/10-vendor.d
++ mkdir -p $(DESTDIR)$(sysconfdir)/polkit-1/localauthority/20-org.d
++ mkdir -p $(DESTDIR)$(sysconfdir)/polkit-1/localauthority/30-site.d
++ mkdir -p $(DESTDIR)$(sysconfdir)/polkit-1/localauthority/50-local.d
++ mkdir -p $(DESTDIR)$(sysconfdir)/polkit-1/localauthority/90-mandatory.d
+ -chmod 700 $(DESTDIR)$(sysconfdir)/polkit-1/localauthority
mkdir -p $(DESTDIR)$(libdir)/polkit-1/extensions
diff --git a/sysutils/polkit/pkg-install b/sysutils/polkit/pkg-install
index f669f5d3d2dc..0876ce9ffecb 100644
--- a/sysutils/polkit/pkg-install
+++ b/sysutils/polkit/pkg-install
@@ -3,10 +3,13 @@
case $2 in
POST-INSTALL)
mkdir -p /var/lib/polkit-1/localauthority
+ mkdir -p ${PKG_PREFIX}/polkit-1/localauthority
for i in 10-vendor.d 20-org.d 30-site.d 50-local.d 90-mandatory.d; do
mkdir -p /var/lib/polkit-1/localauthority/${i}
+ mkdir -p ${PKG_PREFIX}/etc/polkit-1/localauthority/${i}
done
chmod 0700 /var/lib/polkit-1
+ chmod 0700 ${PKG_PREFIX}/etc/polkit-1
exit 0
;;
esac
diff --git a/sysutils/polkit/pkg-plist b/sysutils/polkit/pkg-plist
index 2685cac96f6f..9c707ff65eb9 100644
--- a/sysutils/polkit/pkg-plist
+++ b/sysutils/polkit/pkg-plist
@@ -79,4 +79,10 @@ share/polkit-1/actions/org.freedesktop.policykit.policy
@dirrm include/polkit-1
@dirrm etc/polkit-1/nullbackend.conf.d
@dirrm etc/polkit-1/localauthority.conf.d
-@dirrm etc/polkit-1
+@dirrmtry etc/polkit-1/localauthority/90-mandatory.d
+@dirrmtry etc/polkit-1/localauthority/50-local.d
+@dirrmtry etc/polkit-1/localauthority/30-site.d
+@dirrmtry etc/polkit-1/localauthority/20-org.d
+@dirrmtry etc/polkit-1/localauthority/10-vendor.d
+@dirrmtry etc/polkit-1/localauthority
+@dirrmtry etc/polkit-1