summaryrefslogtreecommitdiffstats
path: root/devel/dbus/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'devel/dbus/pkg-install')
-rw-r--r--devel/dbus/pkg-install14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/dbus/pkg-install b/devel/dbus/pkg-install
new file mode 100644
index 000000000..5ad0a1f84
--- /dev/null
+++ b/devel/dbus/pkg-install
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+case $2 in
+POST-INSTALL)
+ USER=messagebus
+ GROUP=${USER}
+
+ /usr/bin/install -d -o ${USER} -g ${GROUP} /var/run/dbus
+ /usr/bin/install -d -o ${USER} -g ${GROUP} /var/db/dbus
+ /usr/bin/chgrp ${GROUP} ${PKG_PREFIX}/libexec/dbus-daemon-launch-helper
+ ${PKG_PREFIX}/bin/dbus-uuidgen --ensure
+ exit 0
+ ;;
+esac