diff options
author | Koen Kooi <koen@openembedded.org> | 2006-12-14 12:51:47 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2006-12-14 12:51:47 +0000 |
commit | ef3c576b2ca6dc3ee5c850dab9e6c5f642d5f675 (patch) | |
tree | b9601f1f49d8eabfd53aaf0d9116d9e9b0984c0c | |
parent | 2cae38214637979a90bdab0462a4d03d50c430e6 (diff) |
dbus.inc: revert granularity change till someone comes up with something that doesn't break every dbus using app
-rw-r--r-- | packages/dbus/dbus.inc | 42 |
1 files changed, 17 insertions, 25 deletions
diff --git a/packages/dbus/dbus.inc b/packages/dbus/dbus.inc index bbe482a829..8baf8d9feb 100644 --- a/packages/dbus/dbus.inc +++ b/packages/dbus/dbus.inc @@ -1,9 +1,8 @@ -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" -RRECOMMENDS_${PN}-lib = "${PN}" SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ file://tmpdir.patch;patch=1 \ @@ -19,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 \ @@ -51,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" -} |