68 Commits

Author SHA1 Message Date
Gyorgy Sarvari
75fad30c62
dbus-broker: rework EXTRA_OEMESON opts to PACKAGECONFIG
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-28 13:44:01 -08:00
Gyorgy Sarvari
05230420ab
dbus-broker: add ptest support
It takes less than 30 seconds to execute.

Add a backported patch that fixes a broken test.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-28 13:44:01 -08:00
Gyorgy Sarvari
c7812d7f9f
dbus-broker: upgrade 36->37
Changelog:
- Add `/etc` and `/run` to the search-paths for system services. This
  change is aligned with recent changes to the reference
  implementation.
- Support systemd's `notify-reload` to trigger a reload operation.
  This replaces the old `busctl call ...ReloadConfig` operation.
- Extend `org.freedesktop.DBus.Debug.Stats.GetStats` with all the
  fields defined by the specification.
- Fix a bug in match-rule processing which caused argument processing
  to fail for any but the first message argument.
- Fix a memory leak in configuration processing when parsing invalid
  user or group IDs.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-28 13:44:01 -08:00
Peter Kjellerstedt
964b42d7de
dbus-broker: Add a runtime dependency on dbus-tools
This matches dbus' runtime dependencies and is needed for the
dbus-broker package to be a drop-in replacement for the dbus package.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-24 14:17:44 -07:00
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Niko Mauno
86c0c57ddd
dbus-broker: Declare runtime conflict with dbus
The user should now be able to choose the preferred runtime D-Bus
implementation with VIRTUAL-RUNTIME_dbus variable. In order to avoid
situation where both Freedesktop.org's dbus and dbus-broker are pulled
into the same root filesystem, add conflict declaration which will help
to detect the problem already during the Yocto build.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-24 18:43:18 -07:00
J. S.
d2f631c763
Drop unnecessary SRC_URI md5sum from the recipes in meta-oe.
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 19:19:22 -08:00
Niko Mauno
1f72f49027
dbus-broker: Add missing systemd user symlink
meta/recipes-core/systemd/systemd-systemctl/systemctl seems to care
only about "system" units, so create an Alias link for "user" unit
manually to avoid errors which are indicated by following entries
in the systemd journal:

  systemd[381]: dbus.socket: Socket service dbus.service not loaded, refusing.
  systemd[381]: Failed to listen on D-Bus User Message Bus Socket.

which take place for example when DISTRO_FEATURES contains 'pam'.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-21 20:54:48 -07:00
Niko Mauno
60f7f94409
dbus-broker: Cosmetic: Recipe style fixes
Improve recipe content mostly by applying some ordering suggestions
from oe-stylize.py script, and mitigate also few other minor issues.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-21 20:54:48 -07:00
Luca Boccassi
b230d576bc
dbus-broker: upgrade 32 -> 36
Full changelogs:

https://github.com/bus1/dbus-broker/releases/tag/v33
https://github.com/bus1/dbus-broker/releases/tag/v34
https://github.com/bus1/dbus-broker/releases/tag/v35
https://github.com/bus1/dbus-broker/releases/tag/v36

Signed-off-by: Luca Boccassi <bluca@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-10 15:57:55 -07:00
Alexandre Truong
fdbe7f7ded
dbus-daemon-proxy: include UPSTREAM_CHECK_COMMITS to fix UNKNOWN_BROKEN status
When performing devtool check-upgrade-status, UNKNOWN_BROKEN status appears.
On the upstream source repository, releases are not identified by tags. So,
UPSTREAM_CHECK_COMMITS is set to 1, to find the latest upstream update.

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-09 14:25:07 -07:00
Alexandre Truong
4669b1a5dd
libdbus-c++: include UPSTREAM_CHECK_* to fix UNKNOWN_BROKEN status
Adding UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX fix
UNKNOWN_BROKEN status from running devtool check-upgrade-status.

The next version of the package can be found from upstream
sources.

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
2024-07-24 08:56:37 -07:00
Yoann Congal
70e03c1cf3
dbus-broker: update UPSTREAM_CHECK_* variables to fix devtool upgrades
Update UPSTREAM_CHECK_* variables to fix UNKNOWN_BROKEN status with devtool
check-upgrade-status.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Alexandre Truong <alexandre.truong@smile.fr>
2024-07-24 08:56:32 -07:00
Martin Jansa
e722be5fac
recipes: Drop remaining PR values from recipes
* as oe-core did in:
  https://git.openembedded.org/openembedded-core/commit/?id=d4c346e8ab

* when people are have to maintain own PRs for recipes in oe-core, they
  might add them for meta-oe recipes at the same time when upgrading
  to next LTS

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-17 13:10:10 -07:00
Martin Jansa
d3d099bda6
recipes: drop remaining +gitr cases
: drop 'r' from gitr and ${SRCPV}

* +git is preferred over +gitr since 2012:
  https://lists.openembedded.org/g/openembedded-core/topic/72154716#16837
  some recipes still use +gitr, because updating it would cause PV going backwards
  but without share PRservice the version-going-backwards QA issues are quite
  common and most people probably cannot depend on always-increasing version number
  already

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
2024-02-09 09:52:12 -08:00
Martin Jansa
21f956598d
recipes: drop ${SRCPV} usage
* Drop SRCPV similarly like oe-core did in:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=843f82a246a535c353e08072f252d1dc78217872

* SRCPV is deferred now from PV to PKGV since:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=a8e7b0f932b9ea69b3a218fca18041676c65aba0

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
2024-02-09 09:52:12 -08:00
Martin Jansa
be8c765c7c *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

5 (26%) 	meta-xfce
6 (50%) 	meta-perl
15 (42%)        meta-webserver
21 (36%)        meta-gnome
25 (57%)        meta-filesystems
26 (43%)        meta-initramfs
45 (45%)        meta-python
47 (55%)        meta-multimedia
312 (63%)       meta-networking
756 (61%)       meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 09:15:20 -07:00
Luca Boccassi
5a02e200ff dbus-broker: update to v32
https://github.com/bus1/dbus-broker/releases/tag/v32
2022-09-06 08:43:34 -07:00
Luca Boccassi
962e3a3c13 dbus-broker: update 29 -> 31
Full changelogs:

https://github.com/bus1/dbus-broker/releases/tag/v30
https://github.com/bus1/dbus-broker/releases/tag/v31

Signed-off-by: Luca Boccassi <bluca@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-24 08:39:45 -07:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Leif Middelschulte
77479e1c9b dbus-daemon-proxy: add missing return statement
The missing `return` statement leads to a `SIGABRT`.

Signed-off-by: Leif Middelschulte <Leif.Middelschulte@klsmartin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-11 17:51:55 -08:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Luca Boccassi
b72de343a9 dbus-broker: enforce required versions of libselinux and libaudit
v29 requires libselinux >= 3.2 and libaudit >= 3.0, set them as such
in DEPENDS

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-09 12:19:23 -07:00
Luca Boccassi
a65570945c dbus-broker: remove deprecated linux-4-17 option
Removed in v29

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-09 12:19:23 -07:00
Andreas Müller
ff7265aeab dbus-broker: upgrade 28 -> 29
* Improve SELinux audit messages. This requires the new libselinux-3.2
      and libaudit-3.0 releases. If audit/selinux support is enabled, those
      are now the minimum required versions.
    * Make linux-4.17 a hard-requirements. Older kernels are no longer
      supported.
    * Fix startup failures when at-console users have consecutive uids.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-03 16:58:41 -07:00
Luca Boccassi
d19ffdf625 dbus-broker: upgrade 27 -> 28
See full changelog https://github.com/bus1/dbus-broker/releases/tag/v28

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-18 11:26:33 -07:00
Luca Boccassi
a9ca1577a4 dbus-broker: upgrade 26 -> 27
See full changelog https://github.com/bus1/dbus-broker/releases/tag/v27

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-15 11:48:21 -07:00
Luca Boccassi
3c9ced9c02 dbus-broker: update to v26
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-21 00:26:41 -08:00
Luca Boccassi
67631e5ac7 dbus-broker: enable SO_PEERSEC usage by default
Linux 4.17 is quite old at the moment, the last 3 LTS kernels are all newver,
so it should be safe to enable a better security option by default.

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-11 09:51:22 -08:00
Luca Boccassi
ca5977699e dbus-broker: upgrade 24 -> 25
See full changelog https://github.com/bus1/dbus-broker/releases/tag/v25

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-03 14:49:27 -08:00
Luca Boccassi
c5245640b5 dbus-brocker: upgrade 23 -> 24
See full changelog https://github.com/bus1/dbus-broker/releases/tag/v24

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-30 11:40:31 -08:00
Luca Boccassi
12166b96ba dbus-broker: rdepend on dbus-common
The dbus package in oe-core was split, and the common configuration
files that are also required by dbus-broker are now shipped in
dbus-common, to avoid having to pull in the entire dbus-daemon.

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-30 11:40:31 -08:00
Pierre-Jean Texier
2104648cc9 dbus-brocker: upgrade 22 -> 23
See full changelog https://github.com/bus1/dbus-broker/releases/tag/v23

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-03 15:15:42 -07:00
Pierre-Jean Texier
ad371d63ca dbus-broker: upgrade 21 -> 22
See full changelog https://github.com/bus1/dbus-broker/releases/tag/v22

Also remove patches applied upstream

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-10 18:21:23 -07:00
Pierre-Jean Texier
18b434594c dbus-broker: fix upstream version check
Fixes:

INFO: Skip package dbus-broker (status = UNKNOWN_BROKEN, current version = 21, next version = N/A)

After this commit:

INFO: dbus-broker, 21, 22, None, N/A

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-03-05 07:11:50 -08:00
Luca Boccassi
dda2962584 dbus-broker: backport patches to fix policy with SELinux nodes
Backport from master: https://github.com/bus1/dbus-broker/pull/213

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-06 07:20:04 -08:00
Khem Raj
dc961487c4 dbus-broker: Use nonarch_libdir for systemd catalog files
Fixes
ERROR: dbus-broker-21-r0 do_package: QA Issue: dbus-broker: Files/directories were installed but not shipped in any package:
/usr/lib/systemd/catalog
/usr/lib/systemd/catalog/dbus-broker.catalog
/usr/lib/systemd/catalog/dbus-broker-launch.catalog

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-20 16:07:50 -08:00
Denys Dmytriyenko
4c00e5fed9 recipes: rename distro_features_check to features_check
Avoid warning due to the class rename in OE-Core.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-21 17:51:37 -08:00
Luca Boccassi
b70b263add dbus-broker: build with libaudit if selinux is enabled
There is no DISTRO_FEATURE for audit, so most packages enable it
if selinux is enabled.

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-01 17:22:52 -07:00
Luca Boccassi
71af733347 dbus-broker: add patch to fix build with musl libc
Forwarded upstream: https://github.com/bus1/dbus-broker/pull/214

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-28 15:26:42 -07:00
Luca Boccassi
9ac1df048a dbus-broker: build with SELinux if it's enabled via DISTRO_FEATURES
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-28 15:26:42 -07:00
Luca Boccassi
c12bca1e7a dbus-broker: backport patches from master
These patches fix issues found in Fedora 30, which switched from
dbus-daemon to dbus-broker.
These backports align meta-oe to Fedora 30.

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-28 15:26:42 -07:00
Luca Boccassi
65cf98b5a4 dbus-broker: 19 -> 21
Add /lib/systemd/catalog to the package, as snippets for the journal are
now shipped.

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-28 15:26:42 -07:00
William A. Kennington III via Openembedded-devel
3e46ebea6d dbus-broker: 18 -> 19
Drops the musl compat patch which is upstream in version 19

Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-28 21:07:41 -07:00
William A. Kennington III via Openembedded-devel
e8e80ea28e dbus-broker: 16 -> 18
Also brings in a patch to fix up building against a musl libc that is
not in a released build yet.

This change cleans up a number of things about the build
 - Upstream no longer depends on glib
 - We dont ever runtime depend on reference dbus
 - Docs are disabled by default so we don't need to specify the option
 - There is no native tooling so we shouldn't need a native bbclass
 - No longer depend on gitsm since upstream provides release tarballs

Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-28 09:48:30 -07:00
Brad Bishop
fd23b9c95c dbus-broker: fetch submodules too
dbus-broker depends on a number of submodules.  Make sure to
recursively fetch those as well.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-02 10:05:06 -07:00
William A. Kennington III via Openembedded-devel
e4baf298cd dbus-broker: update to 16
Dropped the patches for version 13 as they are now included in the
upstream dbus-broker codebase.

Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-11 13:35:19 -07:00
Khem Raj
3e2d529c34 dbus-broker: Upgrade to latest and fix build on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-28 08:09:32 -07:00
Armin Kuster
c3e3cbe8fa dbus-broker: include only if systemd is DISTO_FEATURE
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-13 12:43:46 -07:00