summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/polkit/Makefile2
-rw-r--r--sysutils/polkit/pkg-install13
-rw-r--r--sysutils/polkit/pkg-plist2
3 files changed, 10 insertions, 7 deletions
diff --git a/sysutils/polkit/Makefile b/sysutils/polkit/Makefile
index 1a8f79433..9ee9ebf85 100644
--- a/sysutils/polkit/Makefile
+++ b/sysutils/polkit/Makefile
@@ -4,7 +4,7 @@
PORTNAME= polkit
PORTVERSION= 0.105
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils gnome
MASTER_SITES= http://www.freedesktop.org/software/polkit/releases/
diff --git a/sysutils/polkit/pkg-install b/sysutils/polkit/pkg-install
index dc204b56b..c1c6c609d 100644
--- a/sysutils/polkit/pkg-install
+++ b/sysutils/polkit/pkg-install
@@ -2,14 +2,15 @@
case $2 in
POST-INSTALL)
- mkdir -p /var/lib/polkit-1/localauthority
- mkdir -p ${PKG_PREFIX}/etc/polkit-1/localauthority
+ /bin/mkdir -p /var/lib/polkit-1/localauthority
+ /bin/mkdir -p ${PKG_PREFIX}/etc/polkit-1/localauthority
+ /bin/mkdir -p ${PKG_PREFIX}/share/polkit-1/rules.d
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}
+ /bin/mkdir -p /var/lib/polkit-1/localauthority/${i}
+ /bin/mkdir -p ${PKG_PREFIX}/etc/polkit-1/localauthority/${i}
done
- chmod 0700 /var/lib/polkit-1
- chmod 0700 ${PKG_PREFIX}/etc/polkit-1
+ /bin/chmod 0700 /var/lib/polkit-1
+ /bin/chmod 0700 ${PKG_PREFIX}/etc/polkit-1
exit 0
;;
esac
diff --git a/sysutils/polkit/pkg-plist b/sysutils/polkit/pkg-plist
index 3166e03e2..1c9aa117a 100644
--- a/sysutils/polkit/pkg-plist
+++ b/sysutils/polkit/pkg-plist
@@ -71,6 +71,7 @@ share/gir-1.0/PolkitAgent-1.0.gir
share/locale/da/LC_MESSAGES/polkit-1.mo
share/polkit-1/actions/org.freedesktop.policykit.examples.pkexec.policy
share/polkit-1/actions/org.freedesktop.policykit.policy
+@dirrmtry share/polkit-1/rules.d
@dirrmtry share/polkit-1/actions
@dirrmtry share/polkit-1
@dirrm lib/polkit-1/extensions
@@ -98,3 +99,4 @@ share/polkit-1/actions/org.freedesktop.policykit.policy
@dirrmtry var/lib/polkit-1/localauthority
@dirrmtry var/lib/polkit-1
@dirrmtry var/lib
+@cwd