summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-06-18 05:32:45 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-06-18 05:32:45 +0800
commit01f6f0733920b965b3358b016bb154105a631743 (patch)
tree10f12b51674d4d73eb2a0adc673da4bd5769487c
parentde32a46247d0bf3ecd1f1a1ad4d0b39c21e5fb2d (diff)
downloadmarcuscom-ports-01f6f0733920b965b3358b016bb154105a631743.tar
marcuscom-ports-01f6f0733920b965b3358b016bb154105a631743.tar.gz
marcuscom-ports-01f6f0733920b965b3358b016bb154105a631743.tar.bz2
marcuscom-ports-01f6f0733920b965b3358b016bb154105a631743.tar.lz
marcuscom-ports-01f6f0733920b965b3358b016bb154105a631743.tar.xz
marcuscom-ports-01f6f0733920b965b3358b016bb154105a631743.tar.zst
marcuscom-ports-01f6f0733920b965b3358b016bb154105a631743.zip
Add share/polkit-1/rules.d.
Use absolute paths for mkdir/chmod/chown in install script. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18561 df743ca5-7f9a-e211-a948-0013205c9059
-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