summaryrefslogtreecommitdiff
path: root/package/dbus/ipkg
diff options
context:
space:
mode:
Diffstat (limited to 'package/dbus/ipkg')
-rw-r--r--package/dbus/ipkg/dbus.control5
-rw-r--r--package/dbus/ipkg/dbus.postinst6
2 files changed, 11 insertions, 0 deletions
diff --git a/package/dbus/ipkg/dbus.control b/package/dbus/ipkg/dbus.control
new file mode 100644
index 000000000..d1cecbd8a
--- /dev/null
+++ b/package/dbus/ipkg/dbus.control
@@ -0,0 +1,5 @@
+Package: dbus
+Priority: optional
+Section: net
+Description: DBUS library
+Depends: libexpat
diff --git a/package/dbus/ipkg/dbus.postinst b/package/dbus/ipkg/dbus.postinst
new file mode 100644
index 000000000..8dd0a50c8
--- /dev/null
+++ b/package/dbus/ipkg/dbus.postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+gid=$(get_next_gid)
+add_group messagebus $gid
+add_user messagebus $(get_next_uid) $gid /var/run/dbus
+add_rcconf dbus dbus NO