dbus.spec revision 15322
97c432334e93e63a5ac12ea4403e29017312235cAutomatic Updater# spec file for package dbus
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# Copyright 2008 Sun Microsystems, Inc.
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater# This file and all modifications and additions to the pristine
1633838b8255282d10af15c5c84cee5a51466712Bob Halley# package are under the same license as the package itself.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# Owner: yippi
2cf81a3d8a8a12e81a762a0bc3d46e0b117733bfAutomatic UpdaterSummary: Simple IPC library based on messages
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid LawrenceSource: http://dbus.freedesktop.org/releases/dbus/%{name}-%{version}.tar.gz
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael GraffURL: http://www.freedesktop.org/wiki/Software_2fdbus
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael Graff#owner:yippi date:2007-09-06 type:feature
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael GraffBuildRoot: %{_tmppath}/%{name}-%{version}-build
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael GraffBuildRequires: libxml2-devel >= %libxml2_version
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael Graff# FIXME: get python rpm: BuildRequires: python >= %python_version
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael GraffD-Bus is a message bus system, a simple way for applications to talk to one
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael GraffD-Bus supplies both a system daemon (for events such as "new hardware device
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael Graffadded" or "printer queue changed") and a per-user-login-session daemon (for
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael Graffgeneral IPC needs among user applications). Also, the message bus is built on
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael Grafftop of a general one-to-one message passing framework, which can be used by
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austeinany two apps to communicate directly (without going through the message bus
ab023a65562e62b85a824509d829b6fad87e00b1Rob AusteinD-Bus is a message bus system, a simple way for applications to talk to one
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael GraffD-Bus supplies both a system daemon (for events such as "new hardware device
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael Graffadded" or "printer queue changed") and a per-user-login-session daemon (for
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael Graffgeneral IPC needs among user applications). Also, the message bus is built on
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael Grafftop of a general one-to-one message passing framework, which can be used by
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael Graffany two apps to communicate directly (without going through the message bus
4556681e191b7c1654639895ce719d98f2822ee2Michael Graff CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
81231fc4c34b7fb8613ce7ee449866edab2e3c80Michael Graff pyexecdir=%{_libdir}/python%{python_version}/vendor-packages
3740b569ae76295b941d57a724a43beb75b533baBob Halley pyexecdir=%{_libdir}/python%{python_version}/vendor-packages
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austeinmkdir -p $RPM_BUILD_ROOT%{_datadir}/dbus-1/services
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austeinfind $RPM_BUILD_ROOT%{_libdir} -type f -name "*.la" -exec rm -f {} ';'
81231fc4c34b7fb8613ce7ee449866edab2e3c80Michael Grafffind $RPM_BUILD_ROOT%{_libdir} -type f -name "*.a" -exec rm -f {} ';'
bb039bc91ef7d5b82cdba64e0a8a965790e06700Michael Grafffind $RPM_BUILD_ROOT%{_libdir} -type f -name "*.pyo" -exec rm -f {} ';'
231c2cf6142186dd8def2764af29ab60c57eb240Michael Graff# Disable system services.
231c2cf6142186dd8def2764af29ab60c57eb240Michael Graffrm $RPM_BUILD_ROOT%{_libexecdir}/dbus-daemon-launch-helper
d524cd03ece72a4db67ec414992c486838732114Michael Graff- Bump to 1.2.3. Remove upstream dbus-02-getauditsessiondata.diff patch.
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael Graff- Add patch 02-getauditsessiondata.diff to add a interface
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael Graff "GetAdtAuditSessionData", getting audit data from socket connection.
7251d776466396a2a8f2769c8fa0c13e4db8ef9cMichael Graff- Add -D_REENTRANT to CFLAGS. It was removed from SUNW spec file on Sep 28.
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein- delete some env variable settings forgotten in the previous commit
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein- Add patch dbus-04-nosystemservice.diff and do not ship
7251d776466396a2a8f2769c8fa0c13e4db8ef9cMichael Graff dbus-daemon-launch-helper to disable D-Bus system services completely.
7251d776466396a2a8f2769c8fa0c13e4db8ef9cMichael Graff Nothing in Solaris currently needs the D-Bus system service. The Linux
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein solution specifies that --with-dbus-user is "messagebus". The idea is
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein that the system daemon runs as this user and uses the root setgid
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein script dbus-daemon-launch-helper to gain privilege when needed. It is
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein likely that Sun would instead want to use a more secure least-privilege
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein RBAC style solution for doing this, if we ever need to add this feature
1f7f8d5c07b5c49c8c33c7ea8d602e3f4310dcc9Brian Wellington- Remove dbus-01-dbus-launch.diff since it is no longer needed now
1f7f8d5c07b5c49c8c33c7ea8d602e3f4310dcc9Brian Wellington that we've reworked the SUNWdtlogin-integration package to call
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein dbus-launch from /usr/dt/config/Xsession.jds instead of Xinitrc.jds.
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein* Sun Apr 1 2007 - laca@sun.com
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein- add missing aclocal calls
1f7f8d5c07b5c49c8c33c7ea8d602e3f4310dcc9Brian Wellington* Wed Mar 15 2007 - dougs@truemail.co.th
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff- Removed CC64 and CC32. They are not needed anymore
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff* Sun Feb 25 2007 - dougs@truemail.co.th
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff- updated to include 64-bit build RFE: #6480511
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff- patch to stop Sun Studio compiling GCC asm specific code
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff* Wed Dec 13 2006 - damien.carbery@sun.com
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff- Bump to 1.0.2.
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff* Thu Nov 27 2006 - brian.cameron@sun.com
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff- Minor cleanup. Remove python build dependancy since now python bindings
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael Graff are built in separate module.
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael Graff* Thu Nov 23 2006 - damien.carbery@sun.com
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael Graff- Removed upstream patches, 01, 02, 04, 05 and 06. Renumber remainder.
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael Graff* Wed Nov 22 2006 - damien.carbery@sun.com
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael Graff- Bump to 1.0.1.
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael Graff* Fri Nov 17 2006 - ghee.teo@sun.com
6d05b41aaef2a56d8d806b2cbf3ab08a1b4990e6Michael Graff- Added patch dbus-06-proxy-change-owner-crash.diff. This patch is only
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff for 0.6x release of dbus, when dbus 1.0 is incorporated, this patch
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff can be dropped.
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff* Fri Oct 13 2006 - damien.carbery@sun.com
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff- Delete .a and .la files.
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff* Wed Aug 30 2006 - damien.carbery@sun.com
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff- Add --datadir to configure call so that path in session.conf is expanded.
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff* Thu Aug 03 2006 - padraig.obriain@sun.com
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff- Updated dbus-03-dbus-launch.diff to avoid chewing idle CPU.
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff* Wed Aug 02 2006 - brian.cameron@sun.com
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff- Rewrote libexec patch based on Havoc's comments. Now pass in
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff- add patch priv.spec (from Artem Kachitchkine), makes dbus run as user
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff- Add patch to move dbus-daemon to /usr/lib, required by ARC.
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff- add patch console.diff that allows D-Bus to authenticate console user
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff- move python stuff to vendor-packages, remove .pyo and *.la
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff- Remove upstream patch, 01-auth-external. Renumber remaining.
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff- Remove patch3 as an include dir under _libdir is okay. Bump to 0.50. Disable
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff python bindings as they fail. Bug 4878 files at freedesktop.org.
e6c3041c28cd3c5a55c986f311a8086a3406e4c3Michael Graff- Add python >= 2.4 dependency. Reformat description text.