diff options
| author | Rod Whitby <rod@whitby.id.au> | 2006-12-14 13:17:25 +0000 |
|---|---|---|
| committer | Rod Whitby <rod@whitby.id.au> | 2006-12-14 13:17:25 +0000 |
| commit | 01e42a0b1af9d67afcc70bbcb3806cc6e3a42fb7 (patch) | |
| tree | b9601f1f49d8eabfd53aaf0d9116d9e9b0984c0c | |
| parent | 613fa7695a5f0aa34716d48effcc7595b3583520 (diff) | |
| parent | ef3c576b2ca6dc3ee5c850dab9e6c5f642d5f675 (diff) | |
merge of 3452833ceea3f4c187f20fb7092b4eed7c1eaa62
and dfd3feed8f6beca9701b31e0b54d7cde979f133b
| -rw-r--r-- | packages/dbus/dbus.inc | 41 |
1 files changed, 17 insertions, 24 deletions
diff --git a/packages/dbus/dbus.inc b/packages/dbus/dbus.inc index b76c05157a..8baf8d9feb 100644 --- a/packages/dbus/dbus.inc +++ b/packages/dbus/dbus.inc @@ -1,6 +1,6 @@ -DESCRIPTION = "message bus system for applications to talk to one another" SECTION = "base" HOMEPAGE = "http://www.freedesktop.org/Software/dbus" +DESCRIPTION = "message bus system for applications to talk to one another" LICENSE = "GPL" DEPENDS = "expat virtual/libintl" @@ -18,15 +18,24 @@ INITSCRIPT_PARAMS = "defaults" CONFFILES_${PN} = "${sysconfdir}/dbus-1/system.conf ${sysconfdir}/dbus-1/session.conf" -PACKAGES += "${PN}-lib" - -FILES_${PN} = "${bindir}/dbus-daemon ${bindir}/dbus-launch \ - ${bindir}/dbus-cleanup-sockets ${bindir}/dbus-send \ - ${bindir}/dbus-monitor ${bindir}/dbus-uuidgen \ - ${sysconfdir} ${datadir}/dbus-1/service" -FILES_${PN}-lib = "${libdir}/lib*.so.*" +FILES_${PN} = "${bindir}/dbus-daemon ${bindir}/dbus-launch ${bindir}/dbus-cleanup-sockets ${bindir}/dbus-send ${bindir}/dbus-monitor ${bindir}/dbus-uuidgen ${sysconfdir} ${datadir}/dbus-1/services ${libdir}/lib*.so.*" FILES_${PN}-dev += "${libdir}/dbus-1.0/include" +pkg_postinst_dbus() { +#!/bin/sh + +# can't do adduser stuff offline +if [ "x$D" != "x" ]; then + exit 1 +fi + +MESSAGEUSER=messagebus +MESSAGEHOME=/var/run/dbus + +mkdir -p $MESSAGEHOME || true +chgrp "$MESSAGEUSER" "$MESSAGEHOME" 2>/dev/null || addgroup "$MESSAGEUSER" +chown "$MESSAGEUSER"."$MESSAGEUSER" "$MESSAGEHOME" 2>/dev/null || adduser --system --home "$MESSAGEHOME" --no-create-home --disabled-password --ingroup "$MESSAGEUSER" "$MESSAGEUSER" +} EXTRA_OECONF = "--disable-qt --disable-qt3 --disable-gtk --disable-tests \ --disable-checks --disable-xml-docs --disable-doxygen-docs \ @@ -50,19 +59,3 @@ python populate_packages_prepend () { if (bb.data.getVar('DEBIAN_NAMES', d, 1)): bb.data.setVar('PKG_dbus', 'dbus-1', d) } - -pkg_postinst_dbus() { -#!/bin/sh - -# can't do adduser stuff offline -if [ "x$D" != "x" ]; then - exit 1 -fi - -MESSAGEUSER=messagebus -MESSAGEHOME=/var/run/dbus - -mkdir -p $MESSAGEHOME || true -chgrp "$MESSAGEUSER" "$MESSAGEHOME" 2>/dev/null || addgroup "$MESSAGEUSER" -chown "$MESSAGEUSER"."$MESSAGEUSER" "$MESSAGEHOME" 2>/dev/null || adduser --system --home "$MESSAGEHOME" --no-create-home --disabled-password --ingroup "$MESSAGEUSER" "$MESSAGEUSER" -} |
