summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/dbus
Commit message (Collapse)AuthorAgeFilesLines
* dbus: add message-bus PACKAGECONFIGRoss Burton4 days1-34/+26
| | | | | | | | | | | | | | | | | | | | | | There's no need to build an actual message bus in native or nativesdk environments, as if DBus is needed in those environments then it will be used to connect to the existing session or system bus. Add a PACKAGECONFIG for the message bus, and wrap the packaging logic with a PACKAGECONFIG check. Expat is only needed by the bus, so this reduces the mandatory build dependencies in the native case. This means we can merge the overridden do_install appends, as native and nativesdk don't have the message bus enabled so they don't install dbus-launch. (From OE-Core rev: dc674bf44fc757a4ffe7577a4d106ae729048013) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: use the systemd class to handle the unit filesRoss Burton4 days1-24/+8
| | | | | | | | | | | | | | | | | | | | | | | | Originally, the dbus recipe couldn't use the systemd class because there was a circular dependency between systemd and dbus. However, since systemd v209 in 2014[1] systemd hasn't needed libdbus, as it has it's own implementation of the client library. DBus does not use the systemd libraries, so there is no circular dependency. The dbus build was already was installing the service and socket files, so we are installing them again. Remove the installation of the units. Manually mask dbus-1.service by simply creating a symlink, instead of depending on systemctl and using an postinstall script. (From OE-Core rev: a296b0623eb23300751b8c571ad804884d1fbd4f) Signed-off-by: Ross Burton <ross.burton@arm.com> [1] dbus: 718db96199 ("core: convert PID 1 to libsystemd-bus") Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: glib is only used in the test suiteRoss Burton4 days1-3/+2
| | | | | | | | | | | | | | | | | | | | | The glib/gio libraries are only used in a few of the tests: $ grep use_glib meson.build:use_glib = glib.found() and gio.found() test/meson.build:if use_glib test/meson.build:if message_bus and tools and platform_unix and use_glib test/meson.build:if use_glib test/meson.build:if message_bus and tools and platform_unix and use_glib So there's no need to depend on glib if we're not building the tests. Explicitly enable/disable the modular tests option to ensure that when the tests are not being installed we don't still need glib to build them. (From OE-Core rev: f8908b147d888426811356d7ccd7547f3519fe29) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-glib: remove no-examples.patchRoss Burton4 days2-26/+1
| | | | | | | | | | | | | | | | This patch has been in OpenEmbedded since 2006 with no explanation[1]. Possibly the intention was to reduce build time slightly or remove some breakage, but it's useful to link the library we're building against a test binary. [1] oe-classic cc5c376f17 ("dbus: add 0.90, dbus-glib and dbus-python bindings 0.70") (From OE-Core rev: a2041b1a2fd2ed508ab891e909c8ade1d31e3654) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-glib: remove unused packaging of testsRoss Burton4 days2-68/+1
| | | | | | | | | | | | | | | We're carrying a patch to install the tests, but we don't actually install them by default or have any ptest infrastructure to run them. As this is complicating the recipe for no reason, remove it all. If someone in the future wants to run the tests they can do it with ptest so they're exercised correctly. (From OE-Core rev: bbb68c3b333e4da7141f0d17f9195dd0c8b80267) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-glib: package the binding tool into PN-tools, enable nativesdkRoss Burton4 days1-4/+7
| | | | | | | | | | | | In a SDK environment we need a nativesdk build of dbus-glib for the dbus-binding-tool binary. Add a nativesdk variation and put the tool into a -tools subpackage so it can be installed if needed. (From OE-Core rev: bce011ebc21b402cc83c3b17063d2277b6347a68) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: remove autoconf-archive-native DEPENDSRoss Burton4 days1-1/+1
| | | | | | | | | | | This recipe uses Meson to build now, so it doesn't need autoconf-archive anymore. (From OE-Core rev: a310fc7520d057079d7a771aaa93fc7678eabb72) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: remove obsolete cleanupsRoss Burton6 days1-6/+0
| | | | | | | | | | | | | | The removal of the Red Hat initscript has been redundant since 2017[1]. The test directory is not installed, so there's no need to remove it. (From OE-Core rev: 904b6967ad4730ae32aad785d6b53ca3f5af2cd4) Signed-off-by: Ross Burton <ross.burton@arm.com> [1] dbus: 708a44d0 ("Remove distribution-specific init-scripts") Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: add traditional-activation PACKAGECONFIGWeisser, Pascal.ext14 days1-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | Add traditional-activation PACKAGECONFIG to DBus recipe in order to allow users to enable or disable traditional DBus service activation. DBus service activation refers to automatically starting an application when a DBus message is sent to a service provided by that application. Traditionally, this is done by the DBus-daemon, thus, the term traditional here. On systems using systemd, systemd can do this, instead. On some systems it might be of interest to disable the traditional service activation in order to ensure that services are always started via systemd. Per default, traditional service activation is enabled for DBus. Thus, the traditional-activation PACKAGECONFIG is added to the default PACKAGECONFIG. Otherwise, we might introduce a breaking change here. The binary dbus-daemon-launch-helper isn't created in case DBus is built with traditional service activation disabled, so we change its attributes only when traditional service activation is turned on. (From OE-Core rev: 272aafbf0a2a1a158fdff42b6ce295fe861f1327) Signed-off-by: Weisser, Pascal <pascal.weisser.ext@karlstorz.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove consecutive blank linesAlexander Kanavin2025-06-201-1/+0
| | | | | | | | | | | | | | | | | Some of them were introduced by mass-removal of S = WORKDIR/git assignments; rather than try to fix up (or redo) just these, I've run this sed command over the whole tree: sed -i -z -E 's/([ \t\f\v\r]*\n){3,}/\n\n/g' `find . -name *.bb -o -name *.inc` The rationale is that more than one empty line is wasting vertical screen space, and does nothing for readability. (From OE-Core rev: cedc4ff7c9bcfb22a20e43e47f9759f4007a4f1a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Remove 'dbus-x11' from RPROVIDESNiko Mauno2025-04-291-7/+0
| | | | | | | | | | | Since runtime dependencies to the old 'dbus-x11' compatibility label are now no longer used in either poky or meta-openembedded provided layers, we can remove it. (From OE-Core rev: 2639ab4fd8855ada4ae8e2093868d7978220e783) Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-glib: Revise RDEPENDS:${PN}-tests assignmentNiko Mauno2025-04-031-1/+1
| | | | | | | | | | | | | Since this recipe has 'dbus' in DEPENDS, assigning dbus-glib-tests runtime dependency to '${PN}' instead of 'dbus' will induce pulling the preferred runtime D-Bus package to rootfs, thanks to libdbus' runtime recommendation of ${VIRTUAL-RUNTIME_dbus}. Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org> (From OE-Core rev: cd74093b8aaedb6086247e5562433c2218fc6455) Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Allow using dbus-lib with alternative D-BusNiko Mauno2025-04-011-0/+1
| | | | | | | | | | | | In order to facilitate oe-core users who wish to use e.g. dbus-broker as their runtime D-Bus implementation, declare the target specific dbus-lib runtime recommendation so that it will honor the new VIRTUAL-RUNTIME_dbus variable. (From OE-Core rev: 1d26191c71d4b19fe45ced52698d4130e8d8305e) Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-glib: Upgrade 0.112 -> 0.114Richard Purdie2025-03-193-18/+30
| | | | | | | | | | | | | | | | License-Update: Upstream added SPDX tags and more license information. The main license is AFL-2.1 | GPL-2.0-or-later however some files are LGPL-2.1-or-later or MIT licensed. The bash completiion plugin is GPL-2.0-or-later only. Therefore: * Add checksums for the separated license files * Update the main LICENSE * Specify the correct license for the bash completion plugin (From OE-Core rev: 82f2675ad3821398a849ced303b6f637f14723d1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-glib: depend on dbus, not dbus-x11Ross Burton2025-03-181-1/+1
| | | | | | | | | | | | dbus-x11 hasn't existed as a package since 2012[1] and is just a RPROVIDES in dbus, so depend on dbus directly instead. [1] oe-core c02364f36e228835ea5d7fd4e1d347fd451f8544 (From OE-Core rev: 0de78341ddc3740891daf957d6d3a61b7af20167) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: upgrade 1.16.0 -> 1.16.2Wang Mingyu2025-03-061-1/+1
| | | | | | | | | | | | | | | Changelog: =========== - The branch used for development releases has been renamed to 'main'. - On Linux, fix build regression with libselinux >= 3.8 and verbose mode enabled - Documentation updates (From OE-Core rev: 2329ff73279299c3243f9773641bdbe9ccf19799) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: explictly set the path to systemctlRoss Burton2025-02-101-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The dbus.socket user unit file calls systemctl, and the meson.build uses find_program() to find the path, falling back to a hardcoded value if it cannot be found. On the initial build the sysroot doesn't contain systemctl (as it is not in the target systemd sysroot), however after the do_package_write_* tasks have completed there is a systemd-systemctl-native recipe in the sysroot which will be found and result in host paths being in the target packages, specifically in /usr/lib/systemd/user/dbus.socket: ExecStartPost=-/work/ross/build/tmp/work/core2-64-poky-linux/dbus/1.16.0/recipe-sysroot-native/usr/bin/systemctl This can be replicated by forcing a rebuild after a forced packaging: $ bitbake dbus -C do_package_write_ipk $ bitbake dbus -C configure ERROR: dbus-1.16.0-r0 do_package_qa: QA Issue: File /usr/lib/systemd/user/dbus.socket in package dbus-common contains reference to TMPDIR [buildpaths] We could do the unit mask manually instead of using systemctl (as it's just a symlink) but the hardcoded path is still wrong, so write a small Meson cross file to specify where the binary is. (From OE-Core rev: 2ebfe3d8df809f6cf057ac7b56cdbc265f05b37a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: update 1.14.10 -> 1.16.0Alexander Kanavin2025-01-202-76/+27
| | | | | | | | | | | | | Convert from autotools to meson. Drop tmpdir.patch (replaced by -Dtest_socket_dir=/tmp --Dsession_socket_dir=/tmp). License-Update: license texts split into separate files, SPDX ids added. (From OE-Core rev: b0241aa9b1ecc38be1ca016f36075552a2eba48a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Update WORKDIR references to UNPACKDIRRichard Purdie2024-05-021-2/+2
| | | | | | | | | | Since we want to be able to stop unpacking to WORKDIR, correct the WORKDIR references in recipe do_compile/do_install tasks to use UNPACKDIR in the appropraite places instead. (From OE-Core rev: d73595df69667fe9d12ecd407b77a0b8dae2109c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: disable assertions and enable only modular testsAlexander Kanavin2024-02-211-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | There was a report that enabling assertions and all tests results in notices in log.do_configure: NOTE: building with unit tests increases the size of the installed library and renders it insecure. NOTE: building with assertions increases library size and decreases performance. This was overlooked when dbus and dbus-tests recipes were merged; enabling all tests and assertions still requires a special, separate build of dbus. If those tests are useful this could be revisited. Until then, we should use productions settings for the main recipe. Buildhistory-diff: packages/core2-64-poky-linux/dbus/dbus-dbg: PKGSIZE changed from 9958176 to 8627824 (-13%) packages/core2-64-poky-linux/dbus/dbus-lib: PKGSIZE changed from 544347 to 346339 (-36%) packages/core2-64-poky-linux/dbus/dbus-ptest: PKGSIZE changed from 3524983 to 3116951 (-12%) packages/core2-64-poky-linux/dbus/dbus-ptest: FILELIST: removed "/usr/share/installed-tests/dbus/test-dbus-launch-eval.sh_with_config.test /usr/share/installed-tests/dbus/test-counter_with_config.test /usr/libexec/installed-tests/dbus/test-dbus-launch-eval.sh /usr/libexec/installed-tests/dbus/test-dbus-launch-x11.sh /usr/share/installed-tests/dbus/test-counter.test /usr/libexec/installed-tests/dbus/test-counter /usr/share/installed-tests/dbus/test-dbus-launch-x11.sh.test /usr/share/installed-tests/dbus/test-dbus-launch-x11.sh_with_config.test /usr/share/installed-tests/dbus/test-dbus-launch-eval.sh.test" packages/core2-64-poky-linux/dbus/dbus: PKGSIZE changed from 510939 to 350331 (-31%) (From OE-Core rev: 054ce01ae84eb10e055a41ec8dd85ebce9ea23c8) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: upgrade 1.14.8 -> 1.14.10Wang Mingyu2023-09-141-1/+1
| | | | | | | | | | | | | | | | | Changelog: =========== • Avoid a dbus-daemon crash if re-creating a connection's policy fails. • If getting the groups from a user ID fails, report the error correctly, instead of logging "(null)" • Return the primary group ID in GetConnectionCredentials()' UnixGroupIDs field for processes with a valid-but-empty supplementary group list (From OE-Core rev: aeabd6dd4e65e5cc31f4c2acc5cc46ea03737bed) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: add additional entries to CVE_PRODUCTEmil Kronborg Andersen2023-09-071-1/+1
| | | | | | | (From OE-Core rev: d50b395ceff3f30c30a10dba94fb340a547e434f) Signed-off-by: Emil Kronborg Andersen <emkan@prevas.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: upgrade 1.14.6 -> 1.14.8Xiangyu Chen2023-06-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update dbus to 1.14.8 to fix CVE-2023-34969 and serveral bugs changes: https://gitlab.freedesktop.org/dbus/dbus/-/blob/f90d4f16933ee5153fe02c405eb883c9cb8f0ad5/NEWS commits: 55d11f57 doc/dbus-api-design: fix wrong closing tag a96f417f CI: Run a detached pipeline for merge requests 9e0477fc CI: Only run for pushes to dbus 077f7e43 CI: Remove an obsolete workaround 07fe44f4 CI: Update Windows runners ec708d55 CI: Avoid using a no-op download location that gives a 403 error 45e6e93e dbus_message_iter_get_signature: Fix two memory leaks on OOM 0bb1942e dbus-internals: use `_DBUS_FUNCTION_NAME` in `_dbus_verbose()` 8df1b8be dbus-sysdeps-win: do not log function name twice 5c3a4e81 dbus-spawn-win: use `_DBUS_FUNCTION_NAME` instead of `__FUNCTION__` 8e457296 Update NEWS e1ffce17 Revert "CI: Remove an obsolete workaround" 40c0802f monitor test: Log the messages that we monitored a70c8f2f bus: Assign a serial number for messages from the driver 39b5c617 monitor test: Reproduce #457 f99e5de1 Update NEWS 21414587 AUTHORS: Update f90d4f16 Release v1.14.8 (From OE-Core rev: 9ddfd320acbc9f24b765897b7bdda6bc794fe350) Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: depend on autoconf-archive-native, not autoconf-archiveRoss Burton2023-05-221-1/+1
| | | | | | | | | | | | | | | | | | autoconf-archive is a collection of m4 autoconf macros needed at build-time, and autoconf-archive-native is a suitable provider as there is nothing in the recipe that needs to be cross-compiled. Also if we use DEPENDS=autoconf-archive then the recipe's -dev package ends up RDEPENDing on autoconf-archive, which isn't correct. Universally change any DEPENDS on autoconf-archive to the -native form, and add any missing dependencies that were implicit before. (From OE-Core rev: 571132415ea7fe2d91c62948f2b6aa553eafa83d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: upgrade 1.14.4 -> 1.14.6Alexander Kanavin2023-02-202-45/+2
| | | | | | | | (From OE-Core rev: 31245df3061c1a913bffe5e11ad6ac7fa9c83915) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Use Alignof when using C11 or newer standardKhem Raj2023-01-182-0/+43
| | | | | | | | | | Fixes an UB found with with clang (From OE-Core rev: e1f2d23f1049222fd5aab6189710e89a550ba911) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Add missing CVE product nameMathieu Dubois-Briand2022-12-111-0/+2
| | | | | | | | (From OE-Core rev: 67b2db202834f1213bed3580badda2a67655ab7d) Signed-off-by: Mathieu Dubois-Briand <mbriand@witekio.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: upgrade 1.14.0 -> 1.14.4wangmy2022-10-261-3/+4
| | | | | | | | | | License-Update: D-Bus changed to dbus. (From OE-Core rev: 8c2ab4c014807e2d8ad0fded4188578aa05e8c55) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Specify runstatedir configure optionPavel Zhukov2022-06-111-1/+2
| | | | | | | | | | | Without specifing runstatedir tmpfiles.d is configured to use /var/run for dbus and this causes deprecation warnings in system logs. (From OE-Core rev: 4df1a16e5c38d0fb724f63d37cc032aa37fa122f) Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: update 1.12.22 -> 1.14.0Alexander Kanavin2022-03-154-293/+4
| | | | | | | | | | | | | | | | | Drop patches: clear-guid_from_server-if-send_negotiate_unix_f.patch stop_using_selinux_set_mapping.patch (both merged upstream) python-config.patch (patched code removed upstream) License-Update: whitespace fixes (From OE-Core rev: 4513e4369973afb71f40625da058a3eaf6ccd4c4) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: merge dbus.inc into the recipeAlexander Kanavin2022-03-152-40/+39
| | | | | | | | | The content is unchanged. (From OE-Core rev: f4da7532b726c3661e71f90e79f6641f903fdc74) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-test: merge into main dbus recipeAlexander Kanavin2022-03-154-106/+10
| | | | | | | | | | | | | | | | | | | | | | The reason it was separate is that there is a peculiar circular dependency: dbus tests require glib, while some of glib's gdbus tests require dbus. So dbus was built with tests disabled and without glib dependency, then glib was built with dbus dependency, then dbus was built again with glib dependency and tests enabled, only for the purpose of installing those tests. I find that brittle and hacky, so this removes dbus dependecy from glib (the fallout is that some gdbus tests are no longer being executed), and dbus and its tests are built once, after glib. Conversely, dbus is now dependent on glib for the purpose of building the tests. Also, dbus ptest installation is no longer using custom code, and dbus run-ptest simply uses standard installed tests execution mechanism from gnome. (From OE-Core rev: cfecef4e6925865961858d0fe5ffc7794c71cd3b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: upgrade 1.12.20 -> 1.12.22wangmy2022-03-023-2/+1
| | | | | | | (From OE-Core rev: 1fb8ea03cf6c4df4d8c2cc9329dfe80c83a37e2d) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie2022-02-202-2/+2
| | | | | | | | | | | | | license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. (From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus_%.bbappend: stop using selinux_set_mappingNisha Parrakat2021-08-132-0/+149
| | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.freedesktop.org/dbus/dbus/-/issues/198 https://gitlab.freedesktop.org/dbus/dbus/-/commit/6072f8b24153d844a3033108a17bcd0c1a967816 Currently, if the "dbus" security class or the associated AV doesn't exist, dbus-daemon fails to initialize and exits immediately. Also the security classes or access vector cannot be reordered in the policy. This can be a problem for people developing their own policy or trying to access a machine where, for some reasons, there is not policy defined at all. The code here copy the behaviour of the selinux_check_access() function. We cannot use this function here as it doesn't allow us to define the AVC entry reference. See the discussion at https://marc.info/?l=selinux&m=152163374332372&w=2 (From OE-Core rev: 0441b53d55a919b5ac42e997f4092053b017b553) Signed-off-by: Nisha Parrakat <nishaparrakat@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: add PACKAGECONFIG for audit and selinuxYi Zhao2021-08-131-2/+2
| | | | | | | | | | | Add PACKAGECONFIG for audit and selinux rather than disable them directly. This is useful for selinux distro feature. (From OE-Core rev: 139e9a0fe59413fc98f1fb6112765a7a40192a4f) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: use new override syntax in commentsChen Qi2021-08-121-1/+1
| | | | | | | (From OE-Core rev: 572e7db6e8831227911ff3e52bde3a4aa6df1c91) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-024-36/+36
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove redundant ${libdir}/cmake from FILES_${PN}-devRoss Burton2021-07-191-1/+1
| | | | | | | | | | | | Since oe-core 543e39ad "bitbake.conf: handle cmake -dev files packaging with default rules" (June 2018) there's no need for recipes to add ${libdir}/cmake or ${datadir}/cmake to FILES_${PN}-dev themselves. (From OE-Core rev: e6f62b8e639a79626d95568c070a410c24bce25e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-glib: upgrade 0.110 -> 0.112wangmy2021-04-181-4/+4
| | | | | | | | | | License-Update:add the following information of license SPDX-License-Identifier: AFL-2.1 OR GPL-2.0-or-later (From OE-Core rev: fbc9e6f5c2a45ff917b7c255487616d922bdeb7a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Clean up various class-native* RDEPENDS overridesRichard Purdie2021-01-291-2/+0
| | | | | | | | | | | | | | | | | | | | | | With PACKAGES functioning more correctly for native recipes combined with classextend improvements over the years, there are various overrides of RDEPENDS which look unecessary now, clean them up. There some some minor changes in dependencies, specifically: "python3-numpy-native.do_populate_sysroot" -> "python3-native.do_populate_sysroot" "python3-mako-native.do_populate_sysroot" -> "python3-native.do_populate_sysroot" "itstool-native.do_populate_sysroot" -> "libxml2-native.do_populate_sysroot" however there are already: XXX-native.do_prepare_recipe_ssysroot -> YYY-native.do_populate_sysroot mappings from DEPENDS so this is effectively a null op. (From OE-Core rev: 2edd826531d79744d7b2114c5f24296966d51781) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: move messagebus user to dbus-common packageLuca Boccassi2020-12-031-6/+6
| | | | | | | | | dbus-broker also uses the messagebus user, so move it over from dbus to dbus-common (From OE-Core rev: ec391a0eccf84b1effe8e7f03ca196cf65b48adc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: split -common and -tools out of main packageLuca Boccassi2020-11-161-14/+22
| | | | | | | | | | | | | | | | | | | | | | Certain config files and units are shared between dbus-daemon and dbus-broker (available in meta-openembedded), so split them out to allow installing dbus-broker without pulling in dbus-daemon and its dependencies. Stand-alone command line tools can also be used regardless of whether the buses are provided by dbus-daemon or dbus-broker, so split them out into dbus-tools. Finally, move the XML schema files out of the main package and into the development package. All these changes follow the same pattern used by Fedora, which was one of the first distro to switch to dbus-broker by default: https://src.fedoraproject.org/rpms/dbus/blob/master/f/dbus.spec (From OE-Core rev: cdabc65298f58b3d0ae0de187a7114dd0c445846) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: upgrade 1.12.18 -> 1.12.20Wang Mingyu2020-07-123-2/+2
| | | | | | | (From OE-Core rev: bfaef91e77cd54e4f642e966903aac3f3291c325) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus,dbus-test: Move common parts to dbus.incOvidiu Panait2020-06-233-64/+47
| | | | | | | | | | | | | | | | | | dbus and dbus-test share the same source code and base configuration options, so factor out the common parts into dbus.inc. This way we can eliminate the need to keep the two recipes in sync. When they are not properly in sync (e.g. when dbus recipe has extra patches/config options that are not duplicated in dbus-test) ptest testsuite will actually test a slightly different codebase. This is due to the fact that dbus-test does not run the testsuite against the system libdbus library, but instead it generates a local libdbus.so that needs to configured/compiled as close as possible to the system one. (From OE-Core rev: 1cde2935526d2eec7d6b17a6c622647b0c132439) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-test: Remove EXTRA_OECONF_X configsOvidiu Panait2020-06-231-4/+0
| | | | | | | | | | | | | | | X specific configs are already handled through PACKAGECONFIG: PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)}" ... PACKAGECONFIG[x11] = "--with-x --enable-x11-autolaunch,--without-x --disable-x11-autolaunch, virtual/libx11 libsm" Remove duplicated EXTRA_OECONF_X args. (From OE-Core rev: 7dc107b05a29f8a3e8903d73f84ef8069f68af6f) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-test: upgrade 1.12.16 -> 1.12.18Wang Mingyu2020-06-041-2/+2
| | | | | | | (From OE-Core rev: 839695e0c1b0c0fcfbb924c2b174c4a638067a32) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: upgrade 1.12.16 -> 1.12.18Wang Mingyu2020-06-041-2/+2
| | | | | | | (From OE-Core rev: 8d33a2a4e4b6ff8f831523e5b1b16ead6b29cc79) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: fix failing ptest (by disabling as it needs X)Alexander Kanavin2020-01-161-1/+3
| | | | | | | (From OE-Core rev: ffa360990fb392a617cac100d95d2dc2712c4100) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: change SRC_URI to use httpsStefan Müller-Klieser2019-12-062-4/+4
| | | | | | | | | Change all recipes to https where we get an http 301 permanent redirect. (From OE-Core rev: e514acda9e12bccde6d3974e0fd1a37b3837191a) Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>