summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-11-13Update packaging to 1.8.2sandbox/lskalski/upgradePatrick Ohly3-3/+11
Change-Id: I8c0bdcaa11802e992c43c629d3f413d21bd9d159
2014-11-13add a small script in /etc/profile.d/dbus.sh to export DBUS_SESSION_BUS_ADDRESSStephane Desneux2-1/+18
If the dbus session address is not defined, this small script will try to pick the address from the environment of the systemd --user process for the current user. Typically, this allows to log on a target through ssh, then run su - <user> and have the same environment as the shells inside the user session. Change-Id: Id6133077bf9943c4203f7d993b8942dc1455bef5 Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
2014-11-13Make dbus-1 dependency provided by dbusJacek Bukarewicz2-1/+1
dbus-1 was originally provided by dbus package. Commit 8eeae5fd70 fixed circular dependency between dbus and systemd. It also moved dbus-1 provision from dbus to dbus-devel probably by mistake. Certain packages like gumd or polkit have explicit dependency on dbus-1 which makes them install dbus-devel unnecessarily. Change-Id: I77a6561eff6f8c6ce84d849df936dda2c290a4d2 Signed-off-by: Jacek Bukarewicz <j.bukarewicz@samsung.com>
2014-11-13dbus-x11 should not try to build into a pure wayland platform.Ronan Le Martret1-0/+6
This package is designed for an X server platform. In a system released, based exclusively on Wayland platform, it should be in a excluded status. Tizen devel | Tizen release _____________|______________ succeeded | succeeded excluded | excluded broken | failed | unresolvable | blocked | locked | note: - The disabled status is only allowed for OBS administration. Change-Id: I1495b66a2e32b580223229ead6bc66426ff680a6 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-11-13libdbus:build-require pkg-configAdrian Negreanu1-0/+1
otherwise, configure fails to find libsmack, which happens to be the first lib searched with pkg-config checking for _NSGetEnviron... no checking for LIBSMACK... configure: error: libsmack is required to enable smack support error: Bad exit status from /var/tmp/rpm-tmp.VUiY9N Change-Id: Ibf01a52ae6274503e2490f835fbd686e985807e8 Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
2014-11-13packaging: enable Smack supportPatrick McCarty4-3/+14
Change-Id: Ib400feec8193bb5c98347b778e0aa92a30d954c3 Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
2014-11-13Install dbus directoriesChengwei Yang1-0/+7
At previous, these directories owned by libdbus. However, the previous commit 8eeae5f split libdbus into a separate .spec and doesn't install these directoris. These directoris are critical to dbus, for example, without /etc/dbus-1/{system.d,session.d}, the dbus-daemon system bus and session bus can not launch. Change-Id: Ia98bd56171492c90e4a078b39adf08cc802cb955
2014-11-13fix systemd->dbus->systemd circular dependencyAdrian Negreanu2-58/+124
extract libdbus and dbus-devel as separate packages Change-Id: Ia097a2b3fee2911ee89000dd2d5762a112bf17f6 Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
2014-11-13updating changelogMichael Leibowitz1-0/+5
2014-11-13Enforce smack policy from conf fileBrian McGillion5-19/+278
2014-11-13Enable checking of smack context from DBus interfaceBrian McGillion7-1/+198
Conflicts: bus/driver.c cmake/CMakeLists.txt Change-Id: Ibc9d1ccb86c3b28d8df3a4becf33ba30234832d8
2014-11-13Delete .gbs.confJacek Bukarewicz1-3/+0
As a result upstream/<version> will be used as the upstream commit tag when doing gbs build. Change-Id: I189203541132110f2852f7afa49d23377b3ef7f2 Signed-off-by: Jacek Bukarewicz <j.bukarewicz@samsung.com>
2014-11-13resetting manifest requested domain to floorAlexandru Cornea2-0/+8
2014-11-13Update to dbus 1.6.12Anas Nashif4-6/+8
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2014-11-13update changelogSimon McVittie1-0/+4
- TZPC-3044, CVE-2013-2168: fix local denial of service (backport from 1.6.12) - TZPC-1971: make libdbus thread-safe by default (backport from 1.7.4/1.7.6)
2014-11-13packaging: ensure ownership for /var/lib/dbusPatrick McCarty2-4/+7
For x86_64 builds, %{_localstatedir}%{_libdir}/dbus expands to /var/usr/lib64/dbus, which is incorrect. This commit fixes the path in the spec to make sure the intended directory, /var/lib/dbus, is created and owned by this package. Change-Id: I60947c4e2c221ad2f83d01bd87dc76fc8f5e4433
2014-11-13Update to 1.6.10Anas Nashif1-0/+3
2014-11-13update to 1.6.10Anas Nashif2-3/+3
2014-11-13Adapt for rebase onto upstream dbus-1.6.8 git tagSimon McVittie2-0/+5
When building from git we need a BuildRequires on xmlto, since we can no longer rely on the pre-generated HTML documentation from the tarball. That pulls in libxslt-tools, which means dbus.devhelp is generated, so the build fails because we weren't accounting for that; so explicitly require libxslt-tools too (dbus uses it both via xmlto, and directly), and package dbus.devhelp. Change-Id: I7505fc6fd1e7c4fc23a53f349a4fdd18d88237ec
2014-11-13Cleanup lib name in specAnas Nashif1-0/+3
2014-11-13use libname directlyAnas Nashif1-7/+6
2014-11-13Fixed package groupsAnas Nashif4-7/+9
2014-11-13No OOMScoreAdjust for user sessionAnas Nashif2-2/+3
2014-11-13add user session unitsAnas Nashif1-1/+3
2014-11-13add user session unitsAnas Nashif4-3/+35
2014-11-13initial changelogSimon McVittie1-0/+5
2014-11-13regenerate packaging/dbus-x11.spec with ( cd packaging && sh pre_checkin.sh )Simon McVittie1-5/+1
Otherwise, local builds with 'gbs build' try to apply the nonexistent patch 0001-fix-sba-for-dbus-activation.patch, and fail.
2014-11-13fixed splittingAnas Nashif1-1/+1
2014-11-13fixed splittingAnas Nashif1-1/+1
2014-11-13fixed splittingAnas Nashif1-1/+1
2014-11-13Fixed package splittingAnas Nashif4-36/+18
split dbus-x11 correctly
2014-11-13spec cleanup and removed patchesAnas Nashif1-27/+1
2014-11-13add packagingAnas Nashif7-0/+564
2014-04-301.8.2dbus-1.8.2sandbox/pohly/upstreamSimon McVittie2-3/+8
2014-04-30Handle 0x0d0a EOLs in spawn_dbus_daemon()Руслан Ижбулатов2-0/+4
On W32 dbus daemon will print output in text mode, with 0x0d0a EOLs instead of just 0x0a. Be able to handle that. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=75863 Reviewed-by: Simon McVittie
2014-04-30NEWSSimon McVittie1-0/+3
2014-04-30Avoid killing all available processes if an X error arrives early onРоман Донченко1-1/+7
The timeline of events in dbus-launch's main process goes something like this: * do initial X calls [1] * do some other stuff * fork (child process starts doing some other stuff) * return "intermediate parent" pid from fork() * obtain bus daemon pid from bus_pid_to_launcher_pipe [2] * do things that might include X11 calls or killing the dbus-daemon Meanwhile, the "babysitter" child goes like this: * return 0 from fork() [3] * obtain bus daemon pid from parent process via bus_pid_to_babysitter_pipe [4] * do things that might include X11 calls or killing the bus daemon Before [1] or [3], the right thing to do about an X error is to just exit. The current implementation called kill(-1) first, which is undesirable: it kills unrelated processes. With this change, we just exit. After [2] or [4], the right thing to do is to kill the dbus-daemon, and that's what the existing code did. Between [1] and [2], or between [3] and [4], there is no correct thing that we can do immediately: we would have to wait for the end of the "critical section", *then* kill the dbus-daemon. This has not yet been implemented, so this patch relies for its correctness on the fact that there are no libX11 calls between those points, so we cannot receive an X error between them. dbus-launch deserves more comments, or a reimplementation that is easier to understand, but this change is certainly better than nothing. [Commit message added, summarizing reviewers' comments -smcv] Bug: https://bugs.freedesktop.org/show_bug.cgi?id=74698 Reviewed-by: Simon McVittie Reviewed-by: Thiago Macieira
2014-04-28NEWS for 1.8Simon McVittie1-0/+6
2014-04-28Add "Documentation=man:dbus-daemon(1)" line to systemd serviceCameron Norman1-0/+1
Enhances usability under systemd by making the documentation available with systemctl status or systemctl help. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77447 Reviewed-by: Simon McVittie
2014-04-28Try to read /etc/machine-id before inventing a new /var/lib/dbus/machine-idSimon McVittie1-2/+21
It's least confusing if the two files have the same contents. systemd already knows how to pick up our /var/lib/dbus/machine-id if it exists and /etc/machine-id doesn't, but the converse is not currently true. We should make it true, so that it doesn't matter what order systemd-machine-id-setup and "dbus-uuidgen --ensure" were invoked in. In Debian, systemd currently Recommends dbus, so "dbus-uuidgen --ensure" will *usually* - but not always! - run first, and the two files will match. However, if you install systemd without dbus, and then install dbus later, there will be a mismatch. With this change, it doesn't matter which one is installed first: whichever one happens to come first, it will generate the machine ID, and then the other one will copy it. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77941 Reviewed-by: Lennart Poettering
2014-04-28_dbus_write_uuid_file: factor out function to write a known UUIDSimon McVittie2-7/+18
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77941 Reviewed-by: Lennart Poettering
2014-03-13Update email-address for David Zeuthen.David Zeuthen1-2/+1
I no longer have the email address davidz@redhat.com so update it to my current address. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=75288
2014-03-06Update .gitignore filesLukasz Skalski2-0/+7
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=75833 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2014-03-03NEWS for dbus-1.8Simon McVittie1-1/+10
2014-01-27Fix of 'dbus-daemon can only handle 64 simultaneous connections on Windows'.Cristian Onet3-0/+9
[Slightly modified by -rh] Bug: https://bugs.freedesktop.org/show_bug.cgi?id=71297 Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2014-01-21Give cmake users some hints/requirements when cross compiling for Windows on ↵Ralf Habacker2-0/+31
Linux. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=41252 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2014-01-201.8.1Simon McVittie2-1/+6
2014-01-20D-Bus 1.8.0Simon McVittie2-7/+37
2014-01-20Revert "start spec 0.24"Simon McVittie1-10/+2
It hasn't otherwise changed since 1.7.10. This reverts commit fb16f80d457a66610f615b44158330bf7ba68697.
2014-01-17Let cmake 'make check' run test applications as test group.Ralf Habacker1-11/+1
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=73495 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>