Projects
Eulaceura:Factory
dbus-broker
_service:obs_scm:dbus-broker.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:dbus-broker.spec of Package dbus-broker
Name: dbus-broker Version: 35 Release: 3 Summary: Linux D-Bus Message Broker License: Apache-2.0 URL: https://github.com/bus1/dbus-broker Source0: https://github.com/bus1/dbus-broker/releases/download/v%{version}/%{name}-%{version}.tar.xz # Patches from upstream use Patch0001 Patch0001: backport-launch-policy-deallocate-unused-records-during-import.patch Patch0002: backport-launch-policy-prevent-linking-policies-on-invalid-gids.patch Patch0003: backport-dbus-socket-protect-against-no-op-arithmetic-on-NULL-pointers.patch # Patches from openEuler use Patch8001 Patch8001: enable-dbus-broker-to-reexecute.patch Patch8002: add-unit-test-for-dbus-broker.patch BuildRequires: cmake gcc glibc-devel meson python-docutils dbus BuildRequires: pkgconfig(expat) pkgconfig(libsystemd) pkgconfig(libselinux) BuildRequires: pkgconfig(systemd) pkgconfig(audit) pkgconfig(libcap-ng) %description dbus-broker is an implementation of a message bus as defined by the D-Bus specification. Its aim is to provide high performance and reliability, while keeping compatibility to the D-Bus reference implementation. It is exclusively written for Linux systems, and makes use of many modern features provided by recent linux kernel releases. %prep %autosetup -n %{name}-%{version} -p1 %build CONFIGURE_OPTS=( -Daudit=true -Dselinux=true -Ddocs=true -Dsystem-console-users=gdm -Dlinux-4-17=true ) %meson "${CONFIGURE_OPTS[@]}" %meson_build %install %meson_install %check # Enable test-parallel export CRBTREE_TEST_PTRACE=1 %meson_test %pre # Add the "dbus" user and group getent group dbus > /dev/null || groupadd -f -g 81 -r dbus if ! getent passwd dbus > /dev/null ; then if ! getent passwd 81 > /dev/null ; then useradd -r -u 81 -c 'D-Bus' -g dbus -s /sbin/nologin -d %{_localstatedir}/run/dbus dbus else useradd -r -g dbus -c 'D-Bus' -s /sbin/nologin -d %{_localstatedir}/run/dbus dbus fi fi %preun %systemd_user_preun dbus-broker.service # Disable and stop dbus-broker.service after pre uninstalling if [ $1 == 0 ] && [ -x /usr/bin/systemctl ]; then systemctl disable dbus-broker.service &>/dev/null || : systemctl reset-failed dbus-broker.service &>/dev/null || : systemctl stop dbus-broker.service &>/dev/null || : fi %post %systemd_user_post dbus-broker.service # Enable after installing if [ $1 == 1 ] && [ -x /usr/bin/systemctl ]; then systemctl --no-reload enable dbus-broker.service &>/dev/null || : fi # Reexec after upgrading if [ $1 == 2 ]; then dbus-broker-launch --reexec &>/dev/null || : fi %postun %systemd_user_postun dbus-broker.service %files %license AUTHORS %license LICENSE %{_bindir}/dbus-broker* %{_journalcatalogdir}/dbus-broker*.catalog %{_mandir}/man1/dbus-broker*.1* %{_unitdir}/dbus-broker.service %{_userunitdir}/dbus-broker.service %changelog * Tue Sep 10 2024 hongjinghao<hongjinghao@huawei.com> - 35-3 - sync patches from dbus-broker community * Fri May 24 2024 huyubiao<huyubiao@huawei.com> - 35-2 - fix enable-dbus-broker-to-reexecute.patch * Tue Feb 27 2024 hongjinghao<hongjinghao@huawei.com> - 35-1 - upgrade to 35 * Sat Oct 7 2023 hongjinghao<hongjinghao@huawei.com> - 31-6 - Fix buffer leakage * Wed Aug 9 2023 hongjinghao<hongjinghao@huawei.com> - 31-5 - sync patches from dbus-broker community * Sun Jun 25 2023 hongjinghao<hongjinghao@huawei.com> - 31-4 - sync patches from dbus-broker community * Wed Jun 7 2023 hongjinghao<hongjinghao@huawei.com> - 31-3 - Enable dbus-broker to reexecute without disconnection * Fri Dec 02 2022 licunlong<licunlong1@huawei.com> - 31-2 - Optimize installing and removing dbus-broker * Wed Jun 15 2022 dillon chen <dillon.chen@gmail.com> - 31-1 - update to 31 * Fri May 20 2022 liukuo <liukuo@kylinos.cn> - 29-3 - License compliance rectification * Tue Feb 22 2022 licunlong<licunlong1@huawei.com> - 29-2 - Type:bugfix - CVE:NA - SUG:NA - DESC:don't enable/disable dbus.socket when install/uninstall dbus-broker. * Thu Dec 16 2021 licunlong<licunlong1@huawei.com> - 29-1 - Type:enhance - CVE:NA - SUG:NA - DESC:update dbus-broker to v29 * Thu Aug 05 2021 openEuler BuildTeam <buildteam@openeuler.org> - 28-1 - Package Init.
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2