commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2024-09-25 21:52:47 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.29891 (New) Package is "bluez" Wed Sep 25 21:52:47 2024 rev:208 rq:1202919 version:5.78 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2024-09-13 14:31:55.649830439 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.29891/bluez.changes 2024-09-25 21:52:50.383154888 +0200 @@ -1,0 +2,6 @@ +Wed Sep 18 08:35:40 UTC 2024 - pallas wept + +- add Fix-crash-after-bt_uhid_unregister_all.patch to fix crashes + when devices disconnect or go to sleep + +--- New: Fix-crash-after-bt_uhid_unregister_all.patch BETA DEBUG BEGIN: New: - add Fix-crash-after-bt_uhid_unregister_all.patch to fix crashes when devices disconnect or go to sleep BETA DEBUG END: Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.uF17do/_old 2024-09-25 21:52:51.187188330 +0200 +++ /var/tmp/diff_new_pack.uF17do/_new 2024-09-25 21:52:51.195188663 +0200 @@ -62,6 +62,8 @@ Patch15:hcidump-Fix-memory-leak-with-malformed-packet.patch # bsc#1013712 CVE-2016-9798 Patch16:hcidump-Fixed-malformed-segment-frame-length.patch +# Fix crash when devices disconnect or go to sleep. Upstream issue 952 +Patch17:Fix-crash-after-bt_uhid_unregister_all.patch # Upstream suggests to use btmon instead of hcidump and does not want those patches # => PATCH-FIX-OPENSUSE for those two :-) # fix some memory leak with malformed packet (reported upstream but not yet fixed) ++ Fix-crash-after-bt_uhid_unregister_all.patch ++ >From 9a6a84a8a2b9336c2cdb943146207cb8a5a5260c Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 16 Sep 2024 16:00:31 -0400 Subject: [PATCH] shared/uhid: Fix crash after bt_uhid_unregister_all This fixes the following crash which happens when bt_uhid_unregister_all is called from a notification callback: Invalid read of size 8 at 0x1D9EFF: queue_foreach (queue.c:206) by 0x1DEE58: uhid_read_handler (uhid.c:164) Address 0x51286d8 is 8 bytes inside a block of size 16 free'd at 0x48478EF: free (vg_replace_malloc.c:989) by 0x1DA08D: queue_remove_if (queue.c:292) by 0x1DA12F: queue_remove_all (queue.c:321) by 0x1DE592: bt_uhid_unregister_all (uhid.c:300) Fixes: https://github.com/bluez/bluez/issues/952 --- src/shared/uhid.c | 47 --- 1 file changed, 44 insertions(+), 3 deletions(-) diff --git a/src/shared/uhid.c b/src/shared/uhid.c index ed21e1399..20bd26781 100644 --- a/src/shared/uhid.c +++ b/src/shared/uhid.c @@ -42,6 +42,7 @@ struct bt_uhid { int ref_count; struct io *io; unsigned int notify_id; + bool notifying; struct queue *notify_list; struct queue *input; uint8_t type; @@ -56,6 +57,7 @@ struct uhid_notify { uint32_t event; bt_uhid_callback_t func; void *user_data; + bool removed; }; static void uhid_replay_free(struct uhid_replay *replay) @@ -134,6 +136,28 @@ static int bt_uhid_record(struct bt_uhid *uhid, bool input, return 0; } +static bool match_removed(const void *a, const void *b) +{ + const struct uhid_notify *notify = a; + + return notify->removed; +} + +static void uhid_notify(struct bt_uhid *uhid, struct uhid_event *ev) +{ + /* Add a reference to the uhid to ensure it doesn't get freed while at +* notify_handler. +*/ + bt_uhid_ref(uhid); + + uhid->notifying = true; + queue_foreach(uhid->notify_list, notify_handler, ev); + uhid->notifying = false; + queue_remove_all(uhid->notify_list, match_removed, NULL, free); + + bt_uhid_unref(uhid); +} + static bool uhid_read_handler(struct io *io, void *user_data) { struct bt_uhid *uhid = user_data; @@ -161,7 +185,7 @@ static bool uhid_read_handler(struct io *io, void *user_data) break; } - queue_foreach(uhid->notify_list, notify_handler, &ev); + uhid_notify(uhid, &ev); return true; } @@ -292,13 +316,30 @@ static bool match_not_id(const void *a, const void *b) return notify->id != id; } +static void uhid_notify_removed(void *data, void *user_data) +{ + struct uhid_notify *notify = data; + struct bt_uhid *uhid = user_data; + + /* Skip marking start_id as removed since that is not removed with +* unregister all. +*/ + if (notify->id == uhid->start_id) + return; + + notify->removed =
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2024-09-13 14:29:35 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.29891 (New) Package is "bluez" Fri Sep 13 14:29:35 2024 rev:207 rq:1200649 version:5.78 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2024-08-22 18:10:30.374764639 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.29891/bluez.changes 2024-09-13 14:31:55.649830439 +0200 @@ -1,0 +2,19 @@ +Thu Sep 12 12:46:33 UTC 2024 - Martin Schreiner + +- Mark the configuration files as 'noreplace'. + +--- +Thu Sep 12 04:40:31 UTC 2024 - Martin Schreiner + +- Update to 5.78: + * Fix issue with handling notification of scanned BISes to BASS + * Fix issue with handling checking BIS caps against peer caps. + * Fix issue with handling MGMT Set Device Flags overwrites. + * Fix issue with handling ASE notification order. + * Fix issue with handling BIG Info report events. + * Fix issue with handling PACS Server role. + * Fix issue with registering UHID_START multiple times. + * Fix issue with pairing method not setting auto-connect. +- Fix 3 rpmlint warnings, some configuration files were not marked as so. + +--- Old: bluez-5.77.tar.xz New: bluez-5.78.tar.xz Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.aF87iG/_old 2024-09-13 14:31:56.649872127 +0200 +++ /var/tmp/diff_new_pack.aF87iG/_new 2024-09-13 14:31:56.649872127 +0200 @@ -35,7 +35,7 @@ %endif Name: bluez -Version:5.77 +Version:5.78 Release:0 Summary:Bluetooth Stack for Linux License:GPL-2.0-or-later @@ -422,6 +422,7 @@ %{_mandir}/man1/bluetoothctl-player.1%{?ext_man} %{_mandir}/man1/bluetoothctl-scan.1%{?ext_man} %{_mandir}/man1/bluetoothctl-transport.1%{?ext_man} +%{_mandir}/man1/bluetoothctl-assistant.1%{?ext_man} %{_mandir}/man1/btmgmt.1%{?ext_man} %{_mandir}/man5/org.bluez.*.5%{?ext_man} %{_datadir}/dbus-1/system.d/bluetooth.conf @@ -437,9 +438,9 @@ %{_datadir}/dbus-1/system-services/org.bluez.service # not packaged, boo#1151518 ###%%{_datadir}/dbus-1/system-services/org.bluez.mesh.service -%{_sysconfdir}/bluetooth/input.conf -%{_sysconfdir}/bluetooth/mesh-main.conf -%{_sysconfdir}/bluetooth/network.conf +%config(noreplace) %{_sysconfdir}/bluetooth/input.conf +%config(noreplace) %{_sysconfdir}/bluetooth/mesh-main.conf +%config(noreplace) %{_sysconfdir}/bluetooth/network.conf %files obexd %{_libexecdir}/bluetooth/obexd ++ bluez-5.77.tar.xz -> bluez-5.78.tar.xz ++ 12588 lines of diff (skipped)
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2024-06-12 15:37:46 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.19518 (New) Package is "bluez" Wed Jun 12 15:37:46 2024 rev:205 rq:1180053 version:5.71 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2024-03-01 23:34:19.046664155 +0100 +++ /work/SRC/openSUSE:Factory/.bluez.new.19518/bluez.changes 2024-06-12 15:38:48.835210828 +0200 @@ -1,0 +2,5 @@ +Tue Jun 11 09:15:31 UTC 2024 - Daniel Garcia + +- Fix python3 shebang from test files (bsc#1212476) + +--- Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.F1s8ap/_old 2024-06-12 15:38:49.747244339 +0200 +++ /var/tmp/diff_new_pack.F1s8ap/_new 2024-06-12 15:38:49.751244486 +0200 @@ -236,8 +236,8 @@ # for auto-enable subpackage sed -i '/^#AutoEnable=false/aAutoEnable=true' src/main.conf -# 2to3 does not fix the #! line -sed -i '1s#/usr/bin/python$#/usr/bin/python3#' test/* +# Fix shebangs in test files +%{?python3_fix_shebang_path:%python3_fix_shebang_path test/*} %build %if 0%{?suse_version} < 1550 @@ -308,9 +308,6 @@ cd %{buildroot}%{_libdir}/bluez/test chmod 0644 *.py *.xml *.dtd -# fix python shebang -sed -i -e '1s/env p/p/' %{buildroot}%{_libdir}/bluez/test/{example-gatt-{client,server},test-mesh} - mkdir -p %{buildroot}%{_defaultdocdir}/%{name} cp %{SOURCE9} %{buildroot}%{_defaultdocdir}/%{name} %if %{with mesh}
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2024-03-01 23:34:11 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.1770 (New) Package is "bluez" Fri Mar 1 23:34:11 2024 rev:204 rq:1153085 version:5.71 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2024-01-04 15:56:59.155616811 +0100 +++ /work/SRC/openSUSE:Factory/.bluez.new.1770/bluez.changes2024-03-01 23:34:19.046664155 +0100 @@ -1,0 +2,8 @@ +Wed Feb 28 08:07:28 UTC 2024 - Yifan Jiang + +- Add necessary Supplements (gnome-bluetooth, blueman, bluedevil5) + to bluez-obexd, so that file transfer features of the applications + can be used by default (bsc#1209153). +- Update the description of bluez-obexd. + +--- Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.YajmXS/_old 2024-03-01 23:34:19.746689471 +0100 +++ /var/tmp/diff_new_pack.YajmXS/_new 2024-03-01 23:34:19.746689471 +0100 @@ -204,13 +204,18 @@ %endif %package obexd -Summary:Object Exchange daemon for sharing content +Summary:Object Exchange daemon for sharing binary objects License:GPL-2.0-or-later Group: Hardware/Mobile Requires: bluez = %{version} +Supplements:bluedevil5 +Supplements:blueman +Supplements:gnome-bluetooth %description obexd -Object Exchange daemon for sharing content. +This is an object exchange daemon for binary objects transferring between +devices. obexd is necessary to install for sharing files, contacts +etc. through bluetooth. %package zsh-completion Summary:Zsh completion for bluez
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2024-01-04 15:55:46 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.28375 (New) Package is "bluez" Thu Jan 4 15:55:46 2024 rev:203 rq:1136648 version:5.71 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2023-12-28 22:55:26.401233898 +0100 +++ /work/SRC/openSUSE:Factory/.bluez.new.28375/bluez.changes 2024-01-04 15:56:59.155616811 +0100 @@ -1,0 +2,7 @@ +Wed Jan 3 17:35:25 UTC 2024 - Dirk Müller + +- add fix-link-key-address-type.patch - thanks to + pallaswept for identifying the right patch for the pairing + regression + +--- New: fix-link-key-address-type.patch BETA DEBUG BEGIN: New: - add fix-link-key-address-type.patch - thanks to pallaswept for identifying the right patch for the pairing BETA DEBUG END: Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.fk3QfW/_old 2024-01-04 15:56:59.919644722 +0100 +++ /var/tmp/diff_new_pack.fk3QfW/_new 2024-01-04 15:56:59.923644868 +0100 @@ -1,7 +1,7 @@ # # spec file for package bluez # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2010-2020 B1 Systems GmbH, Vohburg, Germany # # All modifications and additions to the file contributed by third parties @@ -54,6 +54,8 @@ Patch3: bluez-cups-libexec.patch # workaround for broken tests (reported upstream but not yet fixed) Patch4: bluez-disable-broken-tests.diff +# PATCH-FIX-UPSTREAM: taken from https://github.com/bluez/bluez/commit/7ad5669402c9acff8e4cc808edc12a41df36654e -- Fix for broken pairing in 5.71 +Patch5: fix-link-key-address-type.patch # disable tests for bypass boo#1078285 Patch12:disable_some_obex_tests.patch # get rid of python2. WARNING: this is autogenerated by 2to3 and might not work ++ fix-link-key-address-type.patch ++ >From 7ad5669402c9acff8e4cc808edc12a41df36654e Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 20 Dec 2023 12:20:03 -0500 Subject: [PATCH] adapter: Fix link key address type for old kernels On old kernels only BDADDR_BREDR is supported so this attempts to detect that and retry. Fixes: https://github.com/bluez/bluez/issues/686 --- src/adapter.c | 59 ++- 1 file changed, 44 insertions(+), 15 deletions(-) diff --git a/src/adapter.c b/src/adapter.c index ee70b00d2..022390f0d 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -311,6 +311,7 @@ struct btd_adapter { bool pincode_requested; /* PIN requested during last bonding */ GSList *connections;/* Connected devices */ GSList *devices;/* Devices structure pointers */ + GSList *load_keys; /* Devices keys to be loaded */ GSList *connect_list; /* Devices to connect when found */ struct btd_device *connect_le; /* LE device waiting to be connected */ sdp_list_t *services; /* Services associated to adapter */ @@ -4284,6 +4285,9 @@ static int set_privacy(struct btd_adapter *adapter, uint8_t privacy) return -1; } +static void load_link_keys(struct btd_adapter *adapter, bool debug_keys, + bool retry); + static void load_link_keys_complete(uint8_t status, uint16_t length, const void *param, void *user_data) { @@ -4293,18 +4297,31 @@ static void load_link_keys_complete(uint8_t status, uint16_t length, btd_error(adapter->dev_id, "Failed to load link keys for hci%u: %s (0x%02x)", adapter->dev_id, mgmt_errstr(status), status); + + if (status == MGMT_STATUS_INVALID_PARAMS) { + load_link_keys(adapter, btd_opts.debug_keys, true); + /* Release keys after retry since we shall only retry +* once. +*/ + goto done; + } + return; } DBG("link keys loaded for hci%u", adapter->dev_id); + +done: + g_slist_free_full(adapter->load_keys, g_free); + adapter->load_keys = NULL; } -static void load_link_keys(struct btd_adapter *adapter, GSList *keys, - bool debug_keys) +static void load_link_keys(struct btd_adapter *adapter, bool debug_keys, + bool retry) { struct mgm
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2023-12-28 22:55:14 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.28375 (New) Package is "bluez" Thu Dec 28 22:55:14 2023 rev:202 rq:1135433 version:5.71 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2023-12-14 22:02:28.058611058 +0100 +++ /work/SRC/openSUSE:Factory/.bluez.new.28375/bluez.changes 2023-12-28 22:55:26.401233898 +0100 @@ -1,0 +2,12 @@ +Wed Dec 20 23:28:42 UTC 2023 - Dirk Müller + +- update to 5.71: + * Fix issue with not registering CSIS service. + * Fix issue with registering pairing callbacks. + * Fix issue with corruption during discovery filter parsing. + +- drop CVE-2023-45866.patch, + Fix-.device_probe-failing-if-SDP-record-is-not.patch: upstream +- update bluez-disable-broken-tests.diff: disable failing vcp test + +--- Old: CVE-2023-45866.patch Fix-.device_probe-failing-if-SDP-record-is-not.patch bluez-5.70.tar.xz New: bluez-5.71.tar.xz BETA DEBUG BEGIN: Old: - drop CVE-2023-45866.patch, Fix-.device_probe-failing-if-SDP-record-is-not.patch: upstream Old:- drop CVE-2023-45866.patch, Fix-.device_probe-failing-if-SDP-record-is-not.patch: upstream - update bluez-disable-broken-tests.diff: disable failing vcp test BETA DEBUG END: Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.LGIRGL/_old 2023-12-28 22:55:27.197262958 +0100 +++ /var/tmp/diff_new_pack.LGIRGL/_new 2023-12-28 22:55:27.201263104 +0100 @@ -35,12 +35,12 @@ %endif Name: bluez -Version:5.70 +Version:5.71 Release:0 Summary:Bluetooth Stack for Linux License:GPL-2.0-or-later Group: Hardware/Mobile -URL:http://www.bluez.org +URL:https://www.bluez.org Source: https://www.kernel.org/pub/linux/bluetooth/bluez-%{version}.tar.xz # we still want debuginfo #KEEP NOSOURCE DEBUGINFO @@ -54,8 +54,6 @@ Patch3: bluez-cups-libexec.patch # workaround for broken tests (reported upstream but not yet fixed) Patch4: bluez-disable-broken-tests.diff -# PATCH-FIX-UPSTREAM: fix regression in pairing gamepads -- https://github.com/bluez/bluez/issues/614 -Patch5: Fix-.device_probe-failing-if-SDP-record-is-not.patch # disable tests for bypass boo#1078285 Patch12:disable_some_obex_tests.patch # get rid of python2. WARNING: this is autogenerated by 2to3 and might not work @@ -66,8 +64,6 @@ Patch15:hcidump-Fix-memory-leak-with-malformed-packet.patch # bsc#1013712 CVE-2016-9798 Patch16:hcidump-Fixed-malformed-segment-frame-length.patch -# PATCH-FIX-UPSTREAM: https://git.kernel.org/pub/scm/bluetooth/bluez.git/patch/?id=25a471a83e02e1effb15d5a488b3f0085eaeb675 -Patch17:CVE-2023-45866.patch # Upstream suggests to use btmon instead of hcidump and does not want those patches # => PATCH-FIX-OPENSUSE for those two :-) # fix some memory leak with malformed packet (reported upstream but not yet fixed) @@ -418,7 +414,15 @@ %{_mandir}/man1/rctest.1%{?ext_man} %{_mandir}/man1/bluetoothctl-mgmt.1%{?ext_man} %{_mandir}/man1/bluetoothctl-monitor.1%{?ext_man} +%{_mandir}/man1/bluetoothctl-admin.1%{?ext_man} +%{_mandir}/man1/bluetoothctl-advertise.1%{?ext_man} +%{_mandir}/man1/bluetoothctl-endpoint.1%{?ext_man} +%{_mandir}/man1/bluetoothctl-gatt.1%{?ext_man} +%{_mandir}/man1/bluetoothctl-player.1%{?ext_man} +%{_mandir}/man1/bluetoothctl-scan.1%{?ext_man} +%{_mandir}/man1/bluetoothctl-transport.1%{?ext_man} %{_mandir}/man1/btmgmt.1%{?ext_man} +%{_mandir}/man5/org.bluez.*.5%{?ext_man} %{_datadir}/dbus-1/system.d/bluetooth.conf # not packaged, boo#1151518 ###%%{_datadir}/dbus-1/system.d/bluetooth-mesh.conf ++ 0001-rpi3-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch ++ --- /var/tmp/diff_new_pack.LGIRGL/_old 2023-12-28 22:55:27.217263688 +0100 +++ /var/tmp/diff_new_pack.LGIRGL/_new 2023-12-28 22:55:27.221263834 +0100 @@ -8,11 +8,11 @@ tools/hciattach_bcm43xx.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) -Index: bluez-5.60/tools/hciattach_bcm43xx.c +Index: bluez-5.71/tools/hciattach_bcm43xx.c === bluez-5.60.orig/tools/hciattach_bcm43xx.c -+++ bluez-5.60/tools/hciattach_bcm43xx.c -@@ -354,11 +354,8 @@ int bcm43xx_init(int fd, int def_speed, +--- bluez-5.71.orig/tools/hciattach_bcm43xx.c bluez-5.71/tools/hciattach_bcm43xx.c +@@ -350,11 +350,8 @@ int bcm43xx_init(int fd, int def_speed, return -1;
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2023-11-07 21:25:06 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.17445 (New) Package is "bluez" Tue Nov 7 21:25:06 2023 rev:200 rq:1123685 version:5.70 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2023-10-06 21:11:47.282099458 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.17445/bluez.changes 2023-11-07 21:25:07.576791128 +0100 @@ -1,0 +2,11 @@ +Mon Nov 6 21:20:03 UTC 2023 - Dirk Müller + +- update to 5.70: + * Fix issue with not sending GATT confirmations. + * Fix issue with not handling initiator properly. + * Fix issue with not checking PBAP counter length. + * Add support for MICP profile and MICS service. +- add Fix-.device_probe-failing-if-SDP-record-is-not.patch to fix + regression when pairing game controllers + +--- Old: bluez-5.69.tar.xz New: Fix-.device_probe-failing-if-SDP-record-is-not.patch bluez-5.70.tar.xz BETA DEBUG BEGIN: New: * Add support for MICP profile and MICS service. - add Fix-.device_probe-failing-if-SDP-record-is-not.patch to fix regression when pairing game controllers BETA DEBUG END: Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.UQjQ7Q/_old 2023-11-07 21:25:08.532826333 +0100 +++ /var/tmp/diff_new_pack.UQjQ7Q/_new 2023-11-07 21:25:08.536826480 +0100 @@ -35,7 +35,7 @@ %endif Name: bluez -Version:5.69 +Version:5.70 Release:0 Summary:Bluetooth Stack for Linux License:GPL-2.0-or-later @@ -54,6 +54,8 @@ Patch3: bluez-cups-libexec.patch # workaround for broken tests (reported upstream but not yet fixed) Patch4: bluez-disable-broken-tests.diff +# PATCH-FIX-UPSTREAM: fix regression in pairing gamepads -- https://github.com/bluez/bluez/issues/614 +Patch5: Fix-.device_probe-failing-if-SDP-record-is-not.patch # disable tests for bypass boo#1078285 Patch12:disable_some_obex_tests.patch # get rid of python2. WARNING: this is autogenerated by 2to3 and might not work ++ Fix-.device_probe-failing-if-SDP-record-is-not.patch ++ >From 3a9c637010f8dc1ba3e8382abe01065761d4f5bb Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 10 Oct 2023 12:38:29 -0700 Subject: [PATCH] input: Fix .device_probe failing if SDP record is not found Due to changes introduced by 67a26abe53bf ("profile: Add probe_on_discover flag") profiles may get probed when their profile UUID are discovered, rather than resolved, which means the SDP record may not be available. Fixes: https://github.com/bluez/bluez/issues/614 --- profiles/input/device.c | 182 +++- 1 file changed, 84 insertions(+), 98 deletions(-) diff --git a/profiles/input/device.c b/profiles/input/device.c index e2ac6ea60..4a50ea992 100644 --- a/profiles/input/device.c +++ b/profiles/input/device.c @@ -60,7 +60,7 @@ struct input_device { char*path; bdaddr_tsrc; bdaddr_tdst; - uint32_thandle; + const sdp_record_t *rec; GIOChannel *ctrl_io; GIOChannel *intr_io; guint ctrl_watch; @@ -754,7 +754,8 @@ static void epox_endian_quirk(unsigned char *data, int size) } } -static int create_hid_dev_name(sdp_record_t *rec, struct hidp_connadd_req *req) +static int create_hid_dev_name(const sdp_record_t *rec, + struct hidp_connadd_req *req) { char sdesc[sizeof(req->name) / 2]; @@ -776,7 +777,7 @@ static int create_hid_dev_name(sdp_record_t *rec, struct hidp_connadd_req *req) /* See HID profile specification v1.0, "7.11.6 HIDDescriptorList" for details * on the attribute format. */ -static int extract_hid_desc_data(sdp_record_t *rec, +static int extract_hid_desc_data(const sdp_record_t *rec, struct hidp_connadd_req *req) { sdp_data_t *d; @@ -817,36 +818,40 @@ invalid_desc: return -EINVAL; } -static int extract_hid_record(sdp_record_t *rec, struct hidp_connadd_req *req) +static int extract_hid_record(struct input_device *idev, + struct hidp_connadd_req *req) { sdp_data_t *pdlist; uint8_t attr_val; int err; - err = create_hid_dev_name(rec, req); + if (!idev->rec) + return -ENOENT; + + err = create_hid_dev_name(idev->rec, req); if (er
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2023-10-06 21:11:46 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.28202 (New) Package is "bluez" Fri Oct 6 21:11:46 2023 rev:199 rq:1115664 version:5.69 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2023-09-06 18:56:00.778895318 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.28202/bluez.changes 2023-10-06 21:11:47.282099458 +0200 @@ -1,0 +2,5 @@ +Wed Oct 4 09:51:22 UTC 2023 - Joey Lee + +- Moved btmgmt to main rpm of bluez. (jsc#PED-6216) + +--- Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.bvYt59/_old 2023-10-06 21:11:49.334173595 +0200 +++ /var/tmp/diff_new_pack.bvYt59/_new 2023-10-06 21:11:49.334173595 +0200 @@ -383,6 +383,7 @@ %license COPYING %{_bindir}/bluemoon %{_bindir}/btattach +%{_bindir}/btmgmt %{_bindir}/l2ping %{_bindir}/hex2hcd %{_bindir}/isotest @@ -473,7 +474,6 @@ %{_bindir}/l2test %{_bindir}/rctest %{_bindir}/btgatt-client -%{_bindir}/btmgmt %dir %{_libdir}/bluez %{_libdir}/bluez/test
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2023-09-06 18:55:35 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.1766 (New) Package is "bluez" Wed Sep 6 18:55:35 2023 rev:198 rq:1108795 version:5.69 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2023-08-22 08:55:11.066449136 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.1766/bluez.changes2023-09-06 18:56:00.778895318 +0200 @@ -1,0 +2,11 @@ +Tue Aug 29 05:37:54 UTC 2023 - Timo Jyrinki + +- update to 5.69 + * Fix issue with BAP enabling state correctly when resuming. + * Fix issue with detaching source ASEs only after Stop Ready. + * Fix issue with handling VCP audio location and descriptor. + * Fix issue with generating IRK for adapter with privacy enabled. + * Add support for BAP broadcast sink. +- Add three new man pages + +--- Old: bluez-5.68.tar.xz New: bluez-5.69.tar.xz Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.7hq8ld/_old 2023-09-06 18:56:02.890970609 +0200 +++ /var/tmp/diff_new_pack.7hq8ld/_new 2023-09-06 18:56:02.894970752 +0200 @@ -35,7 +35,7 @@ %endif Name: bluez -Version:5.68 +Version:5.69 Release:0 Summary:Bluetooth Stack for Linux License:GPL-2.0-or-later @@ -411,6 +411,9 @@ %{_mandir}/man1/hid2hci.1%{?ext_man} %{_mandir}/man1/l2ping.1%{?ext_man} %{_mandir}/man1/rctest.1%{?ext_man} +%{_mandir}/man1/bluetoothctl-mgmt.1%{?ext_man} +%{_mandir}/man1/bluetoothctl-monitor.1%{?ext_man} +%{_mandir}/man1/btmgmt.1%{?ext_man} %{_datadir}/dbus-1/system.d/bluetooth.conf # not packaged, boo#1151518 ###%%{_datadir}/dbus-1/system.d/bluetooth-mesh.conf ++ bluez-5.68.tar.xz -> bluez-5.69.tar.xz ++ 23436 lines of diff (skipped)
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2023-08-22 08:55:08 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.1766 (New) Package is "bluez" Tue Aug 22 08:55:08 2023 rev:197 rq:1104969 version:5.68 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2023-08-18 19:27:56.923271740 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.1766/bluez.changes2023-08-22 08:55:11.066449136 +0200 @@ -1,0 +2,5 @@ +Sat Aug 19 13:42:08 UTC 2023 - Callum Farmer + +- Use %_firmwaredir + +--- Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.oaMNrL/_old 2023-08-22 08:55:13.242453270 +0200 +++ /var/tmp/diff_new_pack.oaMNrL/_new 2023-08-22 08:55:13.250453286 +0200 @@ -30,6 +30,10 @@ %endif %global modprobe_d_files 50-bluetooth.conf +%if %{undefined _firmwaredir} +%define _firmwaredir /lib/firmware +%endif + Name: bluez Version:5.68 Release:0 @@ -235,7 +239,7 @@ %endif # header file has "#ifndef FIRMWARE_DIR...#define FIRMWARE_DIR /etc/firmare" # instead of patching, just supply FIRMWARE_DIR on compiler's command line -export CPPFLAGS="$CPPFLAGS -DFIRMWARE_DIR='\"/lib/firmware\"'" +export CPPFLAGS="$CPPFLAGS -DFIRMWARE_DIR='\"%{_firmwaredir}\"'" # because of patch4... autoreconf -fi # --enable-experimental is needed or btattach does not build (bug?)
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2023-08-18 19:27:47 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.1766 (New) Package is "bluez" Fri Aug 18 19:27:47 2023 rev:196 rq:1104098 version:5.68 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2023-08-15 16:39:18.906704247 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.1766/bluez.changes2023-08-18 19:27:56.923271740 +0200 @@ -1,0 +2,13 @@ +Wed Aug 16 01:56:45 UTC 2023 - Joey Lee + +- For pushing bluez 5.68 to 15-SP6 (bluez-5.65), sync change log: + (jsc#PED-5599) +- RPi-Move-the-43xx-firmware-into-lib-firmware.patch be removed + by Stefan Seyfried since updating to bluez-5.66. (bsc#995059)(bsc#1094902) + + Because the header file has "#ifndef FIRMWARE_DIR...#define FIRMWARE_DIR /etc/firmare" + instead of patching. So we just supply FIRMWARE_DIR on compiler's + command line in bluez.spec: + export CPPFLAGS="$CPPFLAGS -DFIRMWARE_DIR='\"/lib/firmware\"' + +--- Other differences: -- ++ bluez.changes.sle ++ --- /var/tmp/diff_new_pack.cXIzml/_old 2023-08-18 19:27:58.215274057 +0200 +++ /var/tmp/diff_new_pack.cXIzml/_new 2023-08-18 19:27:58.219274064 +0200 @@ -1,4 +1,11 @@ --- +Tue Jun 13 07:03:41 UTC 2023 - Joey Lee + +- Add avrcp-Fix-crash-while-handling-unsupported-events.patch + avrcp: Fix crash while handling unsupported events + (bsc#1210398)(CVE-2023-27349) + +--- Wed Oct 26 07:18:39 UTC 2022 - Joey Lee - This bluez.changes.sle be copied from SLE15-SP5/bluez.changes and
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2023-08-15 16:39:14 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.11712 (New) Package is "bluez" Tue Aug 15 16:39:14 2023 rev:195 rq:1103991 version:5.68 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2023-08-12 15:05:55.682401232 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.11712/bluez.changes 2023-08-15 16:39:18.906704247 +0200 @@ -1,0 +2,8 @@ +Tue Aug 15 07:40:10 UTC 2023 - Joey Lee + +- For pushing bluez 5.68 to 15-SP6 (bluez-5.65), sync change log: + (jsc#PED-5599) +- The avrcp-Fix-crash-while-handling-unsupported-events.patch + be merged to bluez-5.67 since 2023. (bsc#1210398)(CVE-2023-27349) + +--- Other differences: --
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2023-08-12 15:05:53 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.11712 (New) Package is "bluez" Sat Aug 12 15:05:53 2023 rev:194 rq:1103450 version:5.68 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2022-11-17 17:24:25.833041967 +0100 +++ /work/SRC/openSUSE:Factory/.bluez.new.11712/bluez.changes 2023-08-12 15:05:55.682401232 +0200 @@ -1,0 +2,32 @@ +Fri Aug 11 07:11:10 UTC 2023 - Joey Lee + +- 0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch be + removed by Timo Jyrinki when updating to 5.68. I saw some reasons: +- Upstream didn't take this patch: + https://www.spinics.net/lists/linux-bluetooth/msg40136.html +- Fedora also marked this patch in bluez.spec since bluez-5.68-2.fc39 + https://src.fedoraproject.org/rpms/bluez/blob/2b133d795f4f823c8b22ef5a07569792ad7ce6aa/f/bluez.spec + We didn't put any bug number of this patch when it be introduced + to bluez.spec since Nov 23, 2021. So, let's remove this patch unless + upstream or Fedora add it back. + +--- +Thu Aug 10 10:14:31 UTC 2023 - Timo Jyrinki + +- update to 5.68 + * Fix issue with A2DP and handling of Transport.Acquire. + * Fix issue with BAP and initiating QoS and Enable procedures. + * Fix issue with BAP and detaching streams when PAC is removed. + * Fix issue with BAP and reading all instances of PAC. + * Fix issue with BAP and not being able to reconfigure. + * Fix issue with BAP and transport configuration changes. + * Fix issue with BAP and handling unexpected disconnect. + * Fix issue with GATT and not removing pending services. + * Fix issue with GATT and client ready handling. + * Fix issue with handling fallback to transient hostname. + * Add support for SecureConnections configuration option. + * Add support for Mesh Remove Provisioning. + * Add support for Mesh Private Beacons. +- Remove patches that are not needed with the new upstream. + +--- Old: 0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch bluez-5.66.tar.xz New: bluez-5.68.tar.xz Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.tM2MWb/_old 2023-08-12 15:05:57.750414592 +0200 +++ /var/tmp/diff_new_pack.tM2MWb/_new 2023-08-12 15:05:57.754414618 +0200 @@ -1,7 +1,7 @@ # # spec file for package bluez # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2010-2020 B1 Systems GmbH, Vohburg, Germany # # All modifications and additions to the file contributed by third parties @@ -31,7 +31,7 @@ %global modprobe_d_files 50-bluetooth.conf Name: bluez -Version:5.66 +Version:5.68 Release:0 Summary:Bluetooth Stack for Linux License:GPL-2.0-or-later @@ -50,9 +50,6 @@ Patch3: bluez-cups-libexec.patch # workaround for broken tests (reported upstream but not yet fixed) Patch4: bluez-disable-broken-tests.diff -# -# PATCH-FIX-UPSTREAM 0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch -- obex: Use GLib helper function to manipulate paths -Patch11: https://src.fedoraproject.org/rpms/bluez/raw/rawhide/f/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch # disable tests for bypass boo#1078285 Patch12:disable_some_obex_tests.patch # get rid of python2. WARNING: this is autogenerated by 2to3 and might not work ++ bluez-5.66.tar.xz -> bluez-5.68.tar.xz ++ 41206 lines of diff (skipped) ++ bluez-disable-broken-tests.diff ++ --- /var/tmp/diff_new_pack.tM2MWb/_old 2023-08-12 15:05:58.586419993 +0200 +++ /var/tmp/diff_new_pack.tM2MWb/_new 2023-08-12 15:05:58.586419993 +0200 @@ -2,26 +2,6 @@ === --- bluez-5.65.orig/Makefile.am +++ bluez-5.65/Makefile.am -@@ -532,7 +532,8 @@ unit_test_lib_SOURCES = unit/test-lib.c - unit_test_lib_LDADD = src/libshared-glib.la \ - lib/libbluetooth-internal.la $(GLIB_LIBS) - --unit_tests += unit/test-gatt -+# hangs forever in OBS where AF_ALG is not supported. -+#unit_tests += unit/test-gatt - - unit_test_gatt_SOURCES = unit/test-gatt.c - unit_test_gatt_LDADD = src/libshared-glib.la \ -@@ -562,7 +563,8 @@ unit_test_gattrib_LDADD = lib/libbluetoo - $(GLIB_LIBS) $(DBUS_LIBS) -ldl -lrt - - if MIDI --unit_tests += unit/test-midi -+# fails on i386??? or just random? -+#unit_tests += unit/test-midi - unit_test_mid
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2022-11-17 17:24:21 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.1597 (New) Package is "bluez" Thu Nov 17 17:24:21 2022 rev:193 rq:1036253 version:5.66 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2022-10-27 13:54:45.588747306 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.1597/bluez.changes2022-11-17 17:24:25.833041967 +0100 @@ -1,0 +2,13 @@ +Wed Nov 16 12:41:37 UTC 2022 - Stefan Seyfried + +- update to 5.66: + * Fix issue with A2DP and transport connection collisions. + * Fix issue with allowing application specific error codes. + * Fix issue with not setting initiator flag correctly. + * Fix issue with HoG Report MAP size handling. + * Add initial support for Basic Audio Profile. + * Add initial support for Volume Control Profile. +- remove RPi-Move-the-43xx-firmware-into-lib-firmware.patch (does + not apply anymore), replace with CPPFLAGS define + +--- Old: RPi-Move-the-43xx-firmware-into-lib-firmware.patch bluez-5.65.tar.xz New: bluez-5.66.tar.xz Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.gM1fsG/_old 2022-11-17 17:24:27.053048421 +0100 +++ /var/tmp/diff_new_pack.gM1fsG/_new 2022-11-17 17:24:27.077048549 +0100 @@ -31,7 +31,7 @@ %global modprobe_d_files 50-bluetooth.conf Name: bluez -Version:5.65 +Version:5.66 Release:0 Summary:Bluetooth Stack for Linux License:GPL-2.0-or-later @@ -51,9 +51,6 @@ # workaround for broken tests (reported upstream but not yet fixed) Patch4: bluez-disable-broken-tests.diff # -# Move 43xx firmware path for RPi3 bluetooth support bsc#1140688 -Patch10:RPi-Move-the-43xx-firmware-into-lib-firmware.patch -# # PATCH-FIX-UPSTREAM 0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch -- obex: Use GLib helper function to manipulate paths Patch11: https://src.fedoraproject.org/rpms/bluez/raw/rawhide/f/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch # disable tests for bypass boo#1078285 @@ -239,6 +236,9 @@ echo 0%{?suse_version} export CC=gcc-8 %endif +# header file has "#ifndef FIRMWARE_DIR...#define FIRMWARE_DIR /etc/firmare" +# instead of patching, just supply FIRMWARE_DIR on compiler's command line +export CPPFLAGS="$CPPFLAGS -DFIRMWARE_DIR='\"/lib/firmware\"'" # because of patch4... autoreconf -fi # --enable-experimental is needed or btattach does not build (bug?) ++ bluez-5.65.tar.xz -> bluez-5.66.tar.xz ++ 26268 lines of diff (skipped)
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2022-10-27 13:54:06 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.2275 (New) Package is "bluez" Thu Oct 27 13:54:06 2022 rev:192 rq:1031278 version:5.65 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2022-10-11 18:03:53.521924013 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.2275/bluez.changes2022-10-27 13:54:45.588747306 +0200 @@ -1,0 +2,36 @@ +Wed Oct 26 07:18:39 UTC 2022 - Joey Lee + +- For pushing bluez 5.65 to 15-SP5 (bluez-5.62), sync more change log: + (jsc#PED-1407) +- The hcidump-Fix-set_ext_ctrl-global-buffer-overflow.patch + be merged to bluez-5.51 in 2018. (bsc#1013732)(CVE-2016-9801) +- The following btmon patches are merged to bluez-5.51 and later: + 0001-btmon-fix-segfault-caused-by-buffer-over-read.patch + 0002-btmon-fix-segfault-caused-by-buffer-over-read.patch + 0003-btmon-fix-segfault-caused-by-buffer-over-read.patch + 0004-btmon-Fix-crash-caused-by-integer-underflow.patch + 0005-btmon-fix-stack-buffer-overflow.patch + 0006-btmon-fix-multiple-segfaults.patch + 0007-btmon-fix-segfault-caused-by-integer-underflow.patch + 0008-btmon-fix-segfault-caused-by-integer-undeflow.patch + 0009-btmon-fix-segfault-caused-by-buffer-over-read.patch + 0010-btmon-fix-segfault-caused-by-buffer-overflow.patch + 0011-btmon-fix-segfault-caused-by-integer-underflow.patch + 0012-btmon-fix-segfault-caused-by-buffer-over-read.patch + (bsc#1015173)(CVE-2016-9918)(bsc#1013893)(CVE-2016-9802) +- The shared-gatt-server-Fix-not-properly-checking-for-sec.patch + be merged to bluez-5.57 in 2021. + (bsc#1186463 CVE-2021-0129 CVE-2020-26558) +- The gatt-Fix-potential-buffer-out-of-bound.patch be merged to + bluez-5.56 in 2021. (bsc#1187165 CVE-2021-3588) +- The shared-gatt-db-Introduce-gatt_db_attribute_set_fixed.patch + be merged to bluez-5.56 in 2021. (bsc#1187165 CVE-2021-3588) +- The gatt-Make-use-of-gatt_db_attribute_set_fixed_length.patch + be merged to bluez-5.56 in 2021. (bsc#1187165 CVE-2021-3588) +- Add JIRA-SLE-18497 number to 5.60, 5.61 and 5.62 update log + to sync with bluez.changes in SLE15-SP5. +- Install modprobe.conf files to %_modprobedir + This change already in bluez.sepc in openSUSE:Factory/bluez. + Sync the change log here. (bsc#1196275, jsc#SLE-20639) + +--- @@ -83,0 +120 @@ + (PATCH-FIX-UPSTREAM)(bsc#1013721)(CVE-2016-9800) @@ -110 +147 @@ - openSUSE TW. + openSUSE TW. (bsc#995059)(bsc#1094902) @@ -202 +239 @@ -- update to version 5.62: +- update to version 5.62 (JIRA-SLE-18497): @@ -215 +252 @@ -- update to version 5.61: +- update to version 5.61 (JIRA-SLE-18497): @@ -246 +283 @@ -- update to 5.60: +- update to 5.60 (JIRA-SLE-18497): @@ -479 +516 @@ - * 0001-tools-Fix-build-after-y2038-changes-in-glibc.patch + * 0001-tools-Fix-build-after-y2038-changes-in-glibc.patch (bsc#1156544) @@ -503 +540 @@ - build after y2038 changes in glibc + build after y2038 changes in glibc (bsc#1156544) @@ -595 +632 @@ -- add 0001-core-Fixes-order-InterfaceAdded.patch (boo#1076898) +- add 0001-core-Fixes-order-InterfaceAdded.patch (boo#1076898)(boo#1101119) Other differences: -- ++ bluez.changes.sle ++ --- /var/tmp/diff_new_pack.HSvVHS/_old 2022-10-27 13:54:46.452751712 +0200 +++ /var/tmp/diff_new_pack.HSvVHS/_new 2022-10-27 13:54:46.456751733 +0200 @@ -1,4 +1,13 @@ --- +Wed Oct 26 07:18:39 UTC 2022 - Joey Lee + +- This bluez.changes.sle be copied from SLE15-SP5/bluez.changes and + stop maintenance because we sync the change between openSUSE:Factory/bluez + with SLE15-SP5/bluez. + In the future we will keep the bluez sync between openSUSE:Factory + with SLE. (jsc#PED-1407) + +--- Wed Sep 7 09:45:24 UTC 2022 - Joey Lee - Add shared-gatt-server-Fix-heap-overflow-when-appending-.patch
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2022-10-11 18:01:27 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.2275 (New) Package is "bluez" Tue Oct 11 18:01:27 2022 rev:191 rq:1007778 version:5.65 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2022-09-20 19:23:06.154391251 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.2275/bluez.changes2022-10-11 18:03:53.521924013 +0200 @@ -1,0 +2,76 @@ +Tue Oct 4 03:20:40 UTC 2022 - Joey Lee + +- For pushing bluez 5.65 to 15-SP5 (bluez-5.62), sync the spec file and + log: (jsc#PED-1407) +- SLE15-SP5 will direct use bluez.changes for openSUSE TW. + So keep the contents of SLE bluez.changes to bluez.changes.sle file. +- Put to /usr/share/doc/packages/bluez/bluez.changes.sle in package. + +--- +Mon Oct 3 05:21:03 UTC 2022 - Joey Lee + +- For pushing bluez 5.65 to 15-SP5 (bluez-5.62), sync the spec file and + log: (jsc#PED-1407) +- SLE15-SP5 will use the bluez.spec from openSUSE TW. The following + are changes in bluez.spec of SLE15-SP5: + - Obsoletes: bluez-utils <= 3.36 + to + Obsoletes: bluez-utils < 3.36 + - Obsoletes: bluez-audio <= 3.36 + to + Obsoletes: bluez-audio < 3.36 + - In %package -n libbluetooth3: + Obsoletes: bluez-libs <= 3.36 + to + Obsoletes: bluez-libs < 3.36 + - In %package cups, add the following statements + Requires: %{name} + Requires: cups + Supplements:(%{name} and cups) + - In %package test + Requires: python3-gobject2 + to + Requires: python3-gobject + - In %package auto-enable-devices package, add + Requires(post): systemd + - Add %package obexd and %package zsh-completion + and their %description + - In %prep + - Removed + %setup -q + - Removed + # FIXME: Change the dbus service to be a real service, not systemd launched + sed -i "s:Exec=/bin/false:Exec=%{_libexecdir}/bluetooth/obexd:g" obexd/src/org.bluez.obex.service + sed -i "/SystemdService=.*/d" obexd/src/org.bluez.obex.service + # END FIXME + - In %build, add + --with-dbusconfdir=%{_datadir} \ + - In %install + - Removed + # FIXME: Do not delete the systemd service once we support systemd user/session services + rm %{buildroot}%{_userunitdir}/obex.service + # end FIXME + - org.bluez.mesh.service to %{_sysconfdir}/dbus-1/system-services/, + to + org.bluez.mesh.service to %{_datadir}/dbus-1/system-services/, + - In %files + - Add + %{_bindir}/isotest + %{_libexecdir}/bluetooth/obexd + %{_mandir}/man1/isotest.1%{?ext_man} + - %config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf + to + %{_datadir}/dbus-1/system.d/bluetooth.conf +- Removed + %{_datadir}/dbus-1/services/org.bluez.obex.service +- Removed + %{_datadir}/zsh/site-functions/_bluetoothctl + - Add %files zsh-completion +- SLE15-SP5 will direct use bluez.changes for openSUSE TW. + So keep the contents of SLE bluez.changes to bluez.changes.sle file. +- Removed shared-gatt-server-Fix-heap-overflow-when-appending-.patch in + SLE15-SP5 bluez because 5.65 bluez already includes it. + - The code shall check if the prepare writes would append more the +allowed maximum attribute length. (bsc#1194704 CVE-2022-0204) + +--- New: bluez.changes.sle Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.w8tuqZ/_old 2022-10-11 18:03:54.233925164 +0200 +++ /var/tmp/diff_new_pack.w8tuqZ/_new 2022-10-11 18:03:54.237925170 +0200 @@ -42,6 +42,7 @@ #KEEP NOSOURCE DEBUGINFO Source5:baselibs.conf Source7:bluetooth.modprobe +Source9:bluez.changes.sle # fix some logitech HID devices, bnc#681049, bnc#850478 --seife+...@b1-systems.com Patch1: bluez-5.11-logitech-hid2hci.patch Patch2: bluez-sdp-unix-path.patch @@ -302,9 +303,10 @@ # fix python shebang sed -i -e '1s/env p/p/' %{buildroot}%{_libdir}/bluez/test/{example-gatt-{client,server},test-mesh} +mkdir -p %{buildroot}%{_defaultdoc
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2022-09-20 19:23:04 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.2083 (New) Package is "bluez" Tue Sep 20 19:23:04 2022 rev:190 rq:1004575 version:5.65 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2022-08-24 15:10:26.204450922 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.2083/bluez.changes2022-09-20 19:23:06.154391251 +0200 @@ -1,0 +2,35 @@ +Wed Sep 14 07:56:19 UTC 2022 - Joey Lee + +- For pushing bluez 5.65 to 15-SP5 (bluez-5.62), sync the patches and + log: (jsc#PED-1407) +- hcidump-fixed-hci-frame-dump-stack-buffer-overflow.patch patch + be merged to 5.51 mainline. So 5.65 bluez already includes it. +- Add the following patches from the bluez-5.62 of 15-SP5: +- disable_some_obex_tests.patch +- disable tests for bypass boo#1078285 +- hcidump-Add-assoc-dump-function-assoc-date-length-ch.patch +- bsc#1013708 CVE-2016-9797 +- Al Cho has sent it to upstream but it not be merged: + https://lore.kernel.org/all/20181031081508.25927-1-a...@suse.com/T/ +- hcidump-Fix-memory-leak-with-malformed-packet.patch +- bsc#1015171 CVE-2016-9917 +- Al Cho has sent it to upstream but it not be merged: + https://www.spinics.net/lists/linux-bluetooth/msg79852.html +- hcidump-Fixed-malformed-segment-frame-length.patch +- bsc#1013712 CVE-2016-9798 +- Did not send to upstream. +- 0001-rpi3-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch +- Move 43xx firmware path for RPi3 bluetooth support bsc#1140688 bsc#995059 bsc#1094902 +- From https://www.yoctoproject.org/pipermail/yocto/2016-April/029424.html +- Respin the following patches +- bluez-test-2to3.diff +- Removed some parts of patch because those codes be included + in a1939bd51e0faba9a8550eea2590d99cb63a33c1 since 5.65. +- The following patches are the same between SLE15-SP5 with openSUSE TW: +- bluez-5.45-disable-broken-tests.diff in 15-SP5 matchs with + bluez-disable-broken-tests.diff in openSUSE TW. +- 0002-rpi3-Move-the-43xx-firmware-into-lib-firmware.patch in 15-SP5 + matchs with RPi-Move-the-43xx-firmware-into-lib-firmware.patch in + openSUSE TW. + +--- New: 0001-rpi3-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch bluez-test-2to3.diff disable_some_obex_tests.patch hcidump-Add-assoc-dump-function-assoc-date-length-ch.patch hcidump-Fix-memory-leak-with-malformed-packet.patch hcidump-Fixed-malformed-segment-frame-length.patch Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.vkDnMX/_old 2022-09-20 19:23:06.970393591 +0200 +++ /var/tmp/diff_new_pack.vkDnMX/_new 2022-09-20 19:23:06.974393603 +0200 @@ -55,11 +55,23 @@ # # PATCH-FIX-UPSTREAM 0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch -- obex: Use GLib helper function to manipulate paths Patch11: https://src.fedoraproject.org/rpms/bluez/raw/rawhide/f/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch +# disable tests for bypass boo#1078285 +Patch12:disable_some_obex_tests.patch +# get rid of python2. WARNING: this is autogenerated by 2to3 and might not work +Patch13:bluez-test-2to3.diff +# bsc#1013708 CVE-2016-9797 +Patch14:hcidump-Add-assoc-dump-function-assoc-date-length-ch.patch +# bsc#1015171 CVE-2016-9917 +Patch15:hcidump-Fix-memory-leak-with-malformed-packet.patch +# bsc#1013712 CVE-2016-9798 +Patch16:hcidump-Fixed-malformed-segment-frame-length.patch # Upstream suggests to use btmon instead of hcidump and does not want those patches # => PATCH-FIX-OPENSUSE for those two :-) # fix some memory leak with malformed packet (reported upstream but not yet fixed) Patch101: CVE-2016-9800-tool-hcidump-Fix-memory-leak-with-malformed-packet.patch Patch102: CVE-2016-9804-tool-hcidump-Fix-memory-leak-with-malformed-packet.patch +# Move 43xx firmware path for RPi3 bluetooth support bsc#1140688 bsc#995059 bsc#1094902 +Patch201: 0001-rpi3-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch # mesh-cfgtest only compiles with gcc8 or newer, Leap 15 has gcc7.5.0 as default %if 0%{?suse_version} < 1550 BuildRequires: gcc8 ++ 0001-rpi3-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch ++ >From 4de2871675d3b039b5797e77cc1d6ce4070e86b2 Mon Sep
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2022-08-24 15:10:23 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.2083 (New) Package is "bluez" Wed Aug 24 15:10:23 2022 rev:189 rq:998704 version:5.65 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2022-05-19 22:48:53.406301830 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.2083/bluez.changes2022-08-24 15:10:26.204450922 +0200 @@ -1,0 +2,20 @@ +Wed Aug 17 20:26:50 UTC 2022 - Dirk M??ller + +- update to 5.65: + * Fix issue with A2DP cache invalidation handling. + * Fix issue with A2DP and not initialized SEP codec. + * Fix issue with A2DP and multiple SetConfiguration to same SEP + * Fix issue with AVRCP and not properly initialized volume. + * Fix issue with SDP records when operating in LE only mode. + * Fix issue with HoG and not reading report map of instances. + * Fix issue with GATT server crashing while disconnecting. + * Fix issue with not removing connected devices. + * Fix issue with enabling wake support without RPA Resolution. + * Fix issue with pairing failed due to the error of Already Paired. + * Add support for CONFIGURATION_DIRECTORY environment variable. + * Add support for STATE_DIRECTORY environment variable. + * Add support for "Bonded" property with Device API. + * Add experimental support for ISO socket. +- drop bluez-test-2to3.diff (obsolete/upstream) + +--- Old: bluez-5.64.tar.xz bluez-test-2to3.diff New: bluez-5.65.tar.xz Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.XbhiDo/_old 2022-08-24 15:10:26.872452425 +0200 +++ /var/tmp/diff_new_pack.XbhiDo/_new 2022-08-24 15:10:26.880452443 +0200 @@ -31,13 +31,13 @@ %global modprobe_d_files 50-bluetooth.conf Name: bluez -Version:5.64 +Version:5.65 Release:0 Summary:Bluetooth Stack for Linux License:GPL-2.0-or-later Group: Hardware/Mobile URL:http://www.bluez.org -Source: http://www.kernel.org/pub/linux/bluetooth/bluez-%{version}.tar.xz +Source: https://www.kernel.org/pub/linux/bluetooth/bluez-%{version}.tar.xz # we still want debuginfo #KEEP NOSOURCE DEBUGINFO Source5:baselibs.conf @@ -49,8 +49,6 @@ Patch3: bluez-cups-libexec.patch # workaround for broken tests (reported upstream but not yet fixed) Patch4: bluez-disable-broken-tests.diff -# get rid of python2. WARNING: this is autogenerated by 2to3 and might not work -Patch5: bluez-test-2to3.diff # # Move 43xx firmware path for RPi3 bluetooth support bsc#1140688 Patch10:RPi-Move-the-43xx-firmware-into-lib-firmware.patch @@ -139,8 +137,8 @@ Summary:CUPS Driver for Bluetooth Printers License:GPL-2.0-or-later Group: Hardware/Printing -Requires: cups Requires: %{name} +Requires: cups Supplements:(%{name} and cups) %description cups @@ -204,8 +202,8 @@ %package zsh-completion Summary:Zsh completion for bluez Group: System/Management -Requires: zsh Requires: %{name} +Requires: zsh Supplements:(%{name} and zsh) BuildArch: noarch @@ -213,8 +211,7 @@ This package contain the zsh completion command for the Bluetooth Stack for Linux. %prep -%setup -q -%autopatch -p1 +%autosetup -p1 mkdir dbus-apis cp -a doc/*.txt dbus-apis/ @@ -373,6 +370,7 @@ %{_bindir}/btattach %{_bindir}/l2ping %{_bindir}/hex2hcd +%{_bindir}/isotest %{_bindir}/mpris-proxy %dir %{_libdir}/bluetooth %dir %{_libdir}/bluetooth/plugins @@ -393,6 +391,7 @@ %{_prefix}/lib/udev/ %{_mandir}/man1/btattach.1%{?ext_man} %{_mandir}/man1/btmon.1%{?ext_man} +%{_mandir}/man1/isotest.1%{?ext_man} %{_mandir}/man8/bluetoothd.8%{?ext_man} %{_mandir}/man1/hid2hci.1%{?ext_man} %{_mandir}/man1/l2ping.1%{?ext_man} ++ CVE-2016-9800-tool-hcidump-Fix-memory-leak-with-malformed-packet.patch ++ --- /var/tmp/diff_new_pack.XbhiDo/_old 2022-08-24 15:10:26.900452488 +0200 +++ /var/tmp/diff_new_pack.XbhiDo/_new 2022-08-24 15:10:26.904452497 +0200 @@ -12,11 +12,11 @@ tools/parser/hci.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) -Index: bluez-5.55/tools/parser/hci.c +Index: bluez-5.65/tools/parser/hci.c === bluez-5.55.orig/tools/parser/hci.c -+++ bluez-5.55/tools/parser/hci.c -@@ -989,8 +989,14 @@ static inline void pin_code_reply_dump(i +--- bluez-5.65.orig/tools/parser/hci.c bluez-5.65/tools/parser/hci.c
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2022-05-19 22:48:52 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.1538 (New) Package is "bluez" Thu May 19 22:48:52 2022 rev:188 rq:975698 version:5.64 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2022-05-05 23:04:41.097429352 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.1538/bluez.changes2022-05-19 22:48:53.406301830 +0200 @@ -1,0 +2,16 @@ +Sun May 8 16:12:30 UTC 2022 - Ben Greiner + +- Upgrade bluez-test requirement of PyGObject from ancient version + 2 to current version. (bluez/test is at least able to use it + since 2014) + +--- +Wed May 4 11:23:32 UTC 2022 - Callum Farmer + +- Move the dbus-1 system.d file to /usr (bsc#1199207) +- Fix self-obsoletion issues +- Add supplements to cups subpackage +- Split zsh completion into subpackage +- Don't tell the user to write to /usr (in README-mesh.SUSE) + +--- Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.UH1p5Q/_old 2022-05-19 22:48:54.290302963 +0200 +++ /var/tmp/diff_new_pack.UH1p5Q/_new 2022-05-19 22:48:54.294302967 +0200 @@ -89,9 +89,9 @@ Requires(post): systemd Recommends: sbc Provides: bluez-utils = 3.36 -Obsoletes: bluez-utils <= 3.36 +Obsoletes: bluez-utils < 3.36 Provides: bluez-audio = 3.36 -Obsoletes: bluez-audio <= 3.36 +Obsoletes: bluez-audio < 3.36 Obsoletes: bluez-hcidump < 5.0 Provides: bluez-hcidump = %{version} Obsoletes: obexd-client < 5.0 @@ -123,7 +123,7 @@ License:GPL-2.0-or-later Group: System/Libraries Provides: bluez-libs = 3.36 -Obsoletes: bluez-libs <= 3.36 +Obsoletes: bluez-libs < 3.36 %description -n libbluetooth3 BlueZ provides support for the core Bluetooth layers and protocols. @@ -139,6 +139,9 @@ Summary:CUPS Driver for Bluetooth Printers License:GPL-2.0-or-later Group: Hardware/Printing +Requires: cups +Requires: %{name} +Supplements:(%{name} and cups) %description cups Contains the files required by CUPS for printing to Bluetooth-connected @@ -149,7 +152,7 @@ License:GPL-2.0-or-later AND MIT Group: Development/Tools/Debuggers Requires: python3-dbus-python -Requires: python3-gobject2 +Requires: python3-gobject %description test Contains a few tools for testing various bluetooth functions. The @@ -198,6 +201,17 @@ %description obexd Object Exchange daemon for sharing content. +%package zsh-completion +Summary:Zsh completion for bluez +Group: System/Management +Requires: zsh +Requires: %{name} +Supplements:(%{name} and zsh) +BuildArch: noarch + +%description zsh-completion +This package contain the zsh completion command for the Bluetooth Stack for Linux. + %prep %setup -q %autopatch -p1 @@ -237,6 +251,7 @@ %endif --enable-datafiles \ --enable-sixaxis\ + --with-dbusconfdir=%{_datadir} \ %if 0%{?suse_version} >= 1550 --enable-external-ell \ %endif @@ -281,7 +296,7 @@ %if %{with mesh} # boo#1151518 mkdir -p %{buildroot}%{_defaultdocdir}/%{name} -mv %{buildroot}%{_sysconfdir}/dbus-1/system.d/bluetooth-mesh.conf %{buildroot}%{_defaultdocdir}/%{name} +mv %{buildroot}%{_datadir}/dbus-1/system.d/bluetooth-mesh.conf %{buildroot}%{_defaultdocdir}/%{name} mv %{buildroot}%{_datadir}/dbus-1/system-services/org.bluez.mesh.service %{buildroot}%{_defaultdocdir}/%{name} cat > %{buildroot}%{_defaultdocdir}/%{name}/README-mesh.SUSE << EOF The bluetooth-mesh dbus system config has been disabled due to security @@ -290,7 +305,7 @@ If you want to use this feature anyway, copy bluetooth-mesh.conf to %{_sysconfdir}/dbus-1/systemd.d/ and -org.bluez.mesh.service to %{_datadir}/dbus-1/system-services/, +org.bluez.mesh.service to %{_sysconfdir}/dbus-1/system-services/, then reboot. EOF touch -r %{SOURCE0} %{buildroot}%{_defaultdocdir}/%{name}/README-mesh.SUSE @@ -382,9 +397,9 @@ %{_mandir}/man1/hid2hci.1%{?ext_man} %{_mandir}/man1/l2ping.1%{?ext_man} %{_mandir}/man1/rctest.1%{?ext_man} -%config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf +%{_datadir}/dbus-1/system.d/bluetooth.conf # not packaged, boo#1151518 -###%%config %%{_sysconfdir}/dbus-1/system.d/bluetooth-mesh.conf +###%%{_datadir}/dbus-1/system.d/bluetooth-mesh.conf %dir %{_localstatedir}/lib/bluetooth %dir %{_modprobedir} %{_modprobedir}/50-bluetooth.conf @@ -395,7 +410
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2022-05-05 23:04:35 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.1538 (New) Package is "bluez" Thu May 5 23:04:35 2022 rev:187 rq:974761 version:5.64 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2022-03-29 18:14:16.959065426 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.1538/bluez.changes2022-05-05 23:04:41.097429352 +0200 @@ -1,0 +2,6 @@ +Tue Apr 26 17:24:48 UTC 2022 - Giacomo Comes + +- add Requires(post): systemd for bluez-auto-enable-devices + * fixes boo#1198906 + +--- Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.3FUApm/_old 2022-05-05 23:04:42.181430706 +0200 +++ /var/tmp/diff_new_pack.3FUApm/_new 2022-05-05 23:04:42.185430711 +0200 @@ -160,6 +160,7 @@ License:GPL-2.0-or-later Group: Hardware/Mobile BuildArch: noarch +Requires(post): systemd %description auto-enable-devices Contains configuration that automatically enables all bluetooth devices
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2022-03-29 18:14:05 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.1900 (New) Package is "bluez" Tue Mar 29 18:14:05 2022 rev:186 rq:965184 version:5.64 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2022-03-15 19:04:53.552947000 +0100 +++ /work/SRC/openSUSE:Factory/.bluez.new.1900/bluez.changes2022-03-29 18:14:16.959065426 +0200 @@ -1,0 +2,12 @@ +Sun Mar 20 10:22:08 UTC 2022 - Stefan Seyfried + +- update to version 5.64: + This is another release mostly with bug fixes on HOG, GATT, A2DP, + Media, AVDTP, AVRCP, and scanning failure. + This release includes a fix for building with old glibc (< 2.25) + and other minor issues found with the static code analyzing tool. + ISO packet support is added to the emulator as a part of LE Audio + development. +- removed obsoleted 0002-Use-g_memdup2-everywhere.patch + +--- Old: 0002-Use-g_memdup2-everywhere.patch bluez-5.63.tar.xz New: bluez-5.64.tar.xz Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.DCVuCU/_old 2022-03-29 18:14:17.651066063 +0200 +++ /var/tmp/diff_new_pack.DCVuCU/_new 2022-03-29 18:14:17.659066071 +0200 @@ -31,7 +31,7 @@ %global modprobe_d_files 50-bluetooth.conf Name: bluez -Version:5.63 +Version:5.64 Release:0 Summary:Bluetooth Stack for Linux License:GPL-2.0-or-later @@ -52,11 +52,6 @@ # get rid of python2. WARNING: this is autogenerated by 2to3 and might not work Patch5: bluez-test-2to3.diff # -# patches boorrowed from fedora's package, for compatibility with newer glib and glibc -%if 0%{?suse_version} >= 1550 -Patch6: 0002-Use-g_memdup2-everywhere.patch -%endif -# # Move 43xx firmware path for RPi3 bluetooth support bsc#1140688 Patch10:RPi-Move-the-43xx-firmware-into-lib-firmware.patch # ++ bluez-5.63.tar.xz -> bluez-5.64.tar.xz ++ 12540 lines of diff (skipped)
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2022-03-15 19:04:16 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.25692 (New) Package is "bluez" Tue Mar 15 19:04:16 2022 rev:185 rq:961724 version:5.63 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2022-03-01 17:03:04.256325533 +0100 +++ /work/SRC/openSUSE:Factory/.bluez.new.25692/bluez.changes 2022-03-15 19:04:53.552947000 +0100 @@ -1,0 +2,15 @@ +Sun Mar 6 20:53:09 UTC 2022 - Martin Wilck + +- Add code to restore user modifications for modprobe.d %config files + after moving the files to %_modprobedir +- Use %_modprobedir (jsc#SLE-20639) + +--- +Sat Mar 5 09:07:00 UTC 2022 - Stefan Seyfried + +- update to version 5.63: + * Fix issue with storing IRK causing invalid read access. + * Fix issue with disconnecting due to GattCharacteristic1.MTU. + * Add support for Device{Found,Lost} of advertising monitoring. + +--- Old: bluez-5.62.tar.xz New: bluez-5.63.tar.xz Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.93kd2u/_old 2022-03-15 19:04:54.868947892 +0100 +++ /var/tmp/diff_new_pack.93kd2u/_new 2022-03-15 19:04:54.872947895 +0100 @@ -1,7 +1,7 @@ # # spec file for package bluez # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2010-2020 B1 Systems GmbH, Vohburg, Germany # # All modifications and additions to the file contributed by third parties @@ -23,9 +23,15 @@ %bcond_withmesh %endif %bcond_without bluez_deprecated -# + +%if 0%{?suse_version} < 1550 && 0%{?sle_version} <= 150300 +# systemd-rpm-macros is wrong in 15.3 and below +%global _modprobedir /lib/modprobe.d +%endif +%global modprobe_d_files 50-bluetooth.conf + Name: bluez -Version:5.62 +Version:5.63 Release:0 Summary:Bluetooth Stack for Linux License:GPL-2.0-or-later @@ -246,7 +252,7 @@ %install %make_install find %{buildroot} -type f -name "*.la" -delete -print -install --mode=0644 -D %{SOURCE7} %{buildroot}/%{_sysconfdir}/modprobe.d/50-bluetooth.conf +install --mode=0644 -D %{SOURCE7} %{buildroot}/%{_modprobedir}/50-bluetooth.conf # no idea why this is suddenly necessary... install --mode 0755 -d %{buildroot}%{_localstatedir}/lib/bluetooth @@ -303,6 +309,11 @@ %pre %service_add_pre bluetooth.service bluetooth-mesh.service +# Avoid restoring outdated stuff in posttrans +for _f in %{?modprobe_d_files}; do +[ ! -f "/etc/modprobe.d/${_f}.rpmsave" ] || \ + mv -f "/etc/modprobe.d/${_f}.rpmsave" "/etc/modprobe.d/${_f}.rpmsave.old" || : +done %post %{?udev_rules_update:%udev_rules_update} @@ -319,6 +330,13 @@ %postun %service_del_postun bluetooth.service bluetooth-mesh.service +%posttrans +# Migration of modprobe.conf files to _modprobedir +for _f in %{?modprobe_d_files}; do +[ ! -f "/etc/modprobe.d/${_f}.rpmsave" ] || \ + mv -fv "/etc/modprobe.d/${_f}.rpmsave" "/etc/modprobe.d/${_f}" || : +done + %post -n libbluetooth3 -p /sbin/ldconfig %postun -n libbluetooth3 -p /sbin/ldconfig @@ -372,8 +390,8 @@ # not packaged, boo#1151518 ###%%config %%{_sysconfdir}/dbus-1/system.d/bluetooth-mesh.conf %dir %{_localstatedir}/lib/bluetooth -%dir %{_sysconfdir}/modprobe.d -%config(noreplace) %{_sysconfdir}/modprobe.d/50-bluetooth.conf +%dir %{_modprobedir} +%{_modprobedir}/50-bluetooth.conf %{_unitdir}/bluetooth.service %if %{with mesh} %{_unitdir}/bluetooth-mesh.service ++ bluez-5.62.tar.xz -> bluez-5.63.tar.xz ++ 16084 lines of diff (skipped)
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2022-03-01 17:03:00 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.1958 (New) Package is "bluez" Tue Mar 1 17:03:00 2022 rev:184 rq:957910 version:5.62 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2021-12-02 02:10:31.663527587 +0100 +++ /work/SRC/openSUSE:Factory/.bluez.new.1958/bluez.changes2022-03-01 17:03:04.256325533 +0100 @@ -1,0 +2,5 @@ +Sat Feb 26 18:20:25 UTC 2022 - Callum Farmer + +- Fixes for %_libexecdir changing to /usr/libexec (bsc#1174075) + +--- Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.iIsEtk/_old 2022-03-01 17:03:05.028325738 +0100 +++ /var/tmp/diff_new_pack.iIsEtk/_new 2022-03-01 17:03:05.032325739 +0100 @@ -418,9 +418,9 @@ %license COPYING %files cups -%dir %{_libexecdir}/cups -%dir %{_libexecdir}/cups/backend -%{_libexecdir}/cups/backend/bluetooth +%dir %{_prefix}/lib/cups +%dir %{_prefix}/lib/cups/backend +%{_prefix}/lib/cups/backend/bluetooth %files test %{_bindir}/avinfo ++ bluez-cups-libexec.patch ++ --- /var/tmp/diff_new_pack.iIsEtk/_old 2022-03-01 17:03:05.092325754 +0100 +++ /var/tmp/diff_new_pack.iIsEtk/_new 2022-03-01 17:03:05.092325754 +0100 @@ -7,7 +7,7 @@ @DEPRECATED_TRUE@@READLINE_TRUE@ src/libshared-glib.la $(GLIB_LIBS) -lreadline -@CUPS_TRUE@cupsdir = $(libdir)/cups/backend -+@CUPS_TRUE@cupsdir = $(libexecdir)/cups/backend ++@CUPS_TRUE@cupsdir = $(prefix)/lib/cups/backend @CUPS_TRUE@profiles_cups_bluetooth_SOURCES = profiles/cups/main.c \ @CUPS_TRUE@ profiles/cups/cups.h \ @CUPS_TRUE@ profiles/cups/sdp.c \ @@ -20,7 +20,7 @@ if CUPS -cupsdir = $(libdir)/cups/backend -+cupsdir = $(libexecdir)/cups/backend ++cupsdir = $(prefix)/lib/cups/backend cups_PROGRAMS = profiles/cups/bluetooth
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2021-12-01 20:46:21 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.31177 (New) Package is "bluez" Wed Dec 1 20:46:21 2021 rev:183 rq:934690 version:5.62 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2021-10-30 23:13:09.763027761 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.31177/bluez.changes 2021-12-02 02:10:31.663527587 +0100 @@ -1,0 +2,13 @@ +Tue Nov 23 09:52:32 UTC 2021 - Bj??rn Lie + +- Stop nuking the obex service, we support user systemd services + just fine now. Following this, no longer hack the dbus service, + leave it as a systemd service as upstream intended. +- Split out obex in own package with it's needed enabledment as a + systemd user service. +- Add 0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch: + obex: Use GLib helper function to manipulate paths. Instead of + trying to do it by hand. This also makes sure that relative paths + aren't used by the agent. Patch from fedora. + +--- New: 0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.tfWu3v/_old 2021-12-02 02:10:32.275525721 +0100 +++ /var/tmp/diff_new_pack.tfWu3v/_new 2021-12-02 02:10:32.279525708 +0100 @@ -53,6 +53,9 @@ # # Move 43xx firmware path for RPi3 bluetooth support bsc#1140688 Patch10:RPi-Move-the-43xx-firmware-into-lib-firmware.patch +# +# PATCH-FIX-UPSTREAM 0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch -- obex: Use GLib helper function to manipulate paths +Patch11: https://src.fedoraproject.org/rpms/bluez/raw/rawhide/f/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch # Upstream suggests to use btmon instead of hcidump and does not want those patches # => PATCH-FIX-OPENSUSE for those two :-) # fix some memory leak with malformed packet (reported upstream but not yet fixed) @@ -184,15 +187,20 @@ to use the modern tools instead. %endif +%package obexd +Summary:Object Exchange daemon for sharing content +License:GPL-2.0-or-later +Group: Hardware/Mobile +Requires: bluez = %{version} + +%description obexd +Object Exchange daemon for sharing content. + %prep %setup -q %autopatch -p1 mkdir dbus-apis cp -a doc/*.txt dbus-apis/ -# FIXME: Change the dbus service to be a real service, not systemd launched -sed -i "s:Exec=/bin/false:Exec=%{_libexecdir}/bluetooth/obexd:g" obexd/src/org.bluez.obex.service -sed -i "/SystemdService=.*/d" obexd/src/org.bluez.obex.service -# END FIXME # for auto-enable subpackage sed -i '/^#AutoEnable=false/aAutoEnable=true' src/main.conf @@ -242,10 +250,6 @@ # no idea why this is suddenly necessary... install --mode 0755 -d %{buildroot}%{_localstatedir}/lib/bluetooth -# FIXME: Do not delete the systemd service once we support systemd user/session services -rm %{buildroot}%{_userunitdir}/obex.service -# end FIXME - ## same as in fedora... # "make install" fails to install gatttool, used with Bluetooth Low Energy # boo#970628 @@ -318,6 +322,18 @@ %post -n libbluetooth3 -p /sbin/ldconfig %postun -n libbluetooth3 -p /sbin/ldconfig +%pre obexd +%systemd_user_pre obex.service + +%post obexd +%systemd_user_post obex.service + +%preun obexd +%systemd_user_preun obex.service + +%postun obexd +%systemd_user_postun obex.service + %files %doc AUTHORS ChangeLog README dbus-apis src/main.conf %if %{with mesh} @@ -339,7 +355,6 @@ %{_bindir}/mesh-cfgtest %{_mandir}/man8/bluetooth-meshd.8%{?ext_man} %endif -%{_libexecdir}/bluetooth/obexd %{_bindir}/bluetoothctl %{_bindir}/btmon %if %{with mesh} @@ -364,11 +379,15 @@ %{_unitdir}/bluetooth-mesh.service %endif %{_datadir}/dbus-1/system-services/org.bluez.service -%{_datadir}/dbus-1/services/org.bluez.obex.service # not packaged, boo#1151518 ###%%{_datadir}/dbus-1/system-services/org.bluez.mesh.service %{_datadir}/zsh/site-functions/_bluetoothctl +%files obexd +%{_libexecdir}/bluetooth/obexd +%{_datadir}/dbus-1/services/org.bluez.obex.service +%{_userunitdir}/obex.service + %if %{with bluez_deprecated} %files deprecated %{_bindir}/gatttool ++ 0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch ++ >From 90b72b787a6ae6b9b0bf8ece238e108e8607a433 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Sat, 9 Nov 2013 18:13:43 +0100 Subject: [PATCH 1/2] obex: Use GLib helper function to manipulate paths Instead of trying to do it by hand. This also makes sure that relative paths aren't used by the agent. ---
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2021-10-30 23:13:04 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.1890 (New) Package is "bluez" Sat Oct 30 23:13:04 2021 rev:182 rq:927172 version:5.62 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2021-09-02 23:20:07.304539040 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.1890/bluez.changes2021-10-30 23:13:09.763027761 +0200 @@ -1,0 +2,13 @@ +Sun Oct 17 07:39:24 UTC 2021 - Stefan Seyfried + +- update to version 5.62: + * Fix issue with handling truncation when loading LTKs. + * Fix issue with accepting Exchange MTU on EATT bearer. + * Fix issue with clearing DeviceLost timers on power down. + * Fix issue with AVCTP browsing channel and missing ERTM. + * Fix issue with AVDTP and local SEID pool for each adapter. + * Add support for BR/EDR and LE connection failure reasons. +- drop obsoleted patch + 0005-media-rename-local-function-conflicting-with-pause-2.patch + +--- Old: 0005-media-rename-local-function-conflicting-with-pause-2.patch bluez-5.61.tar.xz New: bluez-5.62.tar.xz Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.2xl6PS/_old 2021-10-30 23:13:10.471028331 +0200 +++ /var/tmp/diff_new_pack.2xl6PS/_new 2021-10-30 23:13:10.471028331 +0200 @@ -25,7 +25,7 @@ %bcond_without bluez_deprecated # Name: bluez -Version:5.61 +Version:5.62 Release:0 Summary:Bluetooth Stack for Linux License:GPL-2.0-or-later @@ -50,7 +50,6 @@ %if 0%{?suse_version} >= 1550 Patch6: 0002-Use-g_memdup2-everywhere.patch %endif -Patch7: 0005-media-rename-local-function-conflicting-with-pause-2.patch # # Move 43xx firmware path for RPi3 bluetooth support bsc#1140688 Patch10:RPi-Move-the-43xx-firmware-into-lib-firmware.patch ++ bluez-5.61.tar.xz -> bluez-5.62.tar.xz ++ 15377 lines of diff (skipped)
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2021-09-02 23:20:05 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.1899 (New) Package is "bluez" Thu Sep 2 23:20:05 2021 rev:181 rq:915199 version:5.61 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2021-08-26 23:14:29.372264022 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.1899/bluez.changes2021-09-02 23:20:07.304539040 +0200 @@ -1,0 +2,11 @@ +Tue Aug 24 06:57:14 UTC 2021 - Stefan Seyfried + +- update to version 5.61: + * Fix issue with A2DP while waiting for command response. + * Fix issue with A2DP when SetConfiguration fails. + * Fix issue with device removal handling. + * Fix issue with storing discoverable setting. + * Add support for Central Address Resolution characteristic. + * Add support for admin policy plugin. + +--- Old: bluez-5.60.tar.xz New: bluez-5.61.tar.xz Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.ryT3zW/_old 2021-09-02 23:20:08.100540032 +0200 +++ /var/tmp/diff_new_pack.ryT3zW/_new 2021-09-02 23:20:08.104540037 +0200 @@ -25,7 +25,7 @@ %bcond_without bluez_deprecated # Name: bluez -Version:5.60 +Version:5.61 Release:0 Summary:Bluetooth Stack for Linux License:GPL-2.0-or-later @@ -47,7 +47,9 @@ Patch5: bluez-test-2to3.diff # # patches boorrowed from fedora's package, for compatibility with newer glib and glibc +%if 0%{?suse_version} >= 1550 Patch6: 0002-Use-g_memdup2-everywhere.patch +%endif Patch7: 0005-media-rename-local-function-conflicting-with-pause-2.patch # # Move 43xx firmware path for RPi3 bluetooth support bsc#1140688 @@ -214,6 +216,7 @@ --enable-tools \ --enable-cups \ --enable-hid2hci\ + --enable-admin \ %if %{with mesh} --enable-mesh \ %endif ++ bluez-5.60.tar.xz -> bluez-5.61.tar.xz ++ 7575 lines of diff (skipped)
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2021-08-26 23:14:17 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.1899 (New) Package is "bluez" Thu Aug 26 23:14:17 2021 rev:180 rq:913951 version:5.60 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2021-08-12 09:02:10.782101871 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.1899/bluez.changes2021-08-26 23:14:29.372264022 +0200 @@ -1,0 +2,7 @@ +Tue Aug 10 09:49:45 UTC 2021 - Stefan Seyfried + +- add fedora's patches 0002-Use-g_memdup2-everywhere.patch and + 0005-media-rename-local-function-conflicting-with-pause-2.patch + to fix compatibility problems with newer glib and glibc + +--- New: 0002-Use-g_memdup2-everywhere.patch 0005-media-rename-local-function-conflicting-with-pause-2.patch Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.D2tqlf/_old 2021-08-26 23:14:30.168263317 +0200 +++ /var/tmp/diff_new_pack.D2tqlf/_new 2021-08-26 23:14:30.172263314 +0200 @@ -45,6 +45,11 @@ Patch4: bluez-disable-broken-tests.diff # get rid of python2. WARNING: this is autogenerated by 2to3 and might not work Patch5: bluez-test-2to3.diff +# +# patches boorrowed from fedora's package, for compatibility with newer glib and glibc +Patch6: 0002-Use-g_memdup2-everywhere.patch +Patch7: 0005-media-rename-local-function-conflicting-with-pause-2.patch +# # Move 43xx firmware path for RPi3 bluetooth support bsc#1140688 Patch10:RPi-Move-the-43xx-firmware-into-lib-firmware.patch # Upstream suggests to use btmon instead of hcidump and does not want those patches ++ 0002-Use-g_memdup2-everywhere.patch ++ 997 lines (skipped) ++ 0005-media-rename-local-function-conflicting-with-pause-2.patch ++ >From 124dee151746b4a8a2e8a7194af78f2c82f75d79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 3 Mar 2021 08:57:36 +0100 Subject: [PATCH] media: rename local function conflicting with pause(2) profiles/audio/media.c:1284:13: error: conflicting types for 'pause'; have '_Bool(void *)' 1284 | static bool pause(void *user_data) | ^ In file included from /usr/include/bits/sigstksz.h:24, from /usr/include/signal.h:315, from /usr/include/glib-2.0/glib/gbacktrace.h:36, from /usr/include/glib-2.0/glib.h:34, from profiles/audio/media.c:21: /usr/include/unistd.h:478:12: note: previous declaration of 'pause' with type 'int(void)' 478 | extern int pause (void); |^ --- profiles/audio/media.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/audio/media.c b/profiles/audio/media.c index c84bbe22dc..3d8c4b69c3 100644 --- a/profiles/audio/media.c +++ b/profiles/audio/media.c @@ -1281,7 +1281,7 @@ static bool stop(void *user_data) return media_player_send(mp, "Stop"); } -static bool pause(void *user_data) +static bool pause_play(void *user_data) { struct media_player *mp = user_data; @@ -1331,7 +1331,7 @@ static struct avrcp_player_cb player_cb = { .set_volume = set_volume, .play = play, .stop = stop, - .pause = pause, + .pause = pause_play, .next = next, .previous = previous, };
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2021-08-12 09:01:19 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.1899 (New) Package is "bluez" Thu Aug 12 09:01:19 2021 rev:179 rq:911193 version:5.60 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2021-07-29 21:31:31.920802983 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.1899/bluez.changes2021-08-12 09:02:10.782101871 +0200 @@ -1,0 +2,5 @@ +Mon Aug 2 18:27:38 UTC 2021 - Stefan Seyfried + +- fix bluez-auto-enable-devices subpackage (boo#1177845) + +--- Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.qTv7Kk/_old 2021-08-12 09:02:11.358100953 +0200 +++ /var/tmp/diff_new_pack.qTv7Kk/_new 2021-08-12 09:02:11.362100946 +0200 @@ -189,7 +189,7 @@ # END FIXME # for auto-enable subpackage -echo AutoEnable=true >> src/main.conf +sed -i '/^#AutoEnable=false/aAutoEnable=true' src/main.conf # 2to3 does not fix the #! line sed -i '1s#/usr/bin/python$#/usr/bin/python3#' test/*
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2021-07-29 21:31:03 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.1899 (New) Package is "bluez" Thu Jul 29 21:31:03 2021 rev:178 rq:908361 version:5.60 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2021-07-13 22:36:55.802372628 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.1899/bluez.changes2021-07-29 21:31:31.920802983 +0200 @@ -1,0 +2,8 @@ +Mon Jul 12 12:35:06 UTC 2021 - Stefan Seyfried + +- remove notification message from bluez-deprecated package. + I'm not going to remove it, and another maintainer can still + restart the removal process :-) + also boo#1188660 + +--- Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.XuMO9G/_old 2021-07-29 21:31:33.712800776 +0200 +++ /var/tmp/diff_new_pack.XuMO9G/_new 2021-07-29 21:31:33.716800771 +0200 @@ -283,23 +283,6 @@ touch -r %{SOURCE0} %{buildroot}%{_defaultdocdir}/%{name}/README-mesh.SUSE %endif -%if %{with bluez_deprecated} -mkdir -p %{buildroot}%{_localstatedir}/adm/update-messages -UM=%{buildroot}%{_localstatedir}/adm/update-messages/bluez-deprecated-%{version}-%{release}-1 -cat >> $UM << EOF -WARNING: -The bluez-deprecated package contains tools that are considered obsolete by -bluez upstream. They may contain serious issues, even unfixed security bugs. -Use at your own risk. - -Note that this package will go away before end of 2020, so fix your code to -use the modern tools instead!. - -Have a lot of fun... -EOF -touch -r %{SOURCE0} $UM -%endif - %check %if ! 0%{?qemu_user_space_build} ##make %%{?_smp_mflags} check @@ -396,7 +379,6 @@ %{_mandir}/man1/sdptool.1%{?ext_man} %{_mandir}/man1/ciptool.1%{?ext_man} %{_mandir}/man1/rfcomm.1%{?ext_man} -%{_localstatedir}/adm/update-messages/bluez-deprecated-%{version}-%{release}-1 %endif %files devel
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2021-07-13 22:36:52 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.2625 (New) Package is "bluez" Tue Jul 13 22:36:52 2021 rev:177 rq:905316 version:5.60 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2021-07-07 18:29:36.975397477 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.2625/bluez.changes2021-07-13 22:36:55.802372628 +0200 @@ -1,0 +2,12 @@ +Thu Jul 8 07:39:55 UTC 2021 - Stefan Seyfried + +- update to 5.60: + * Fix issue with reading from RFKILL device node. + * Fix issue with AVDTP and parsing capabilities. + * Fix issue with UnregisterApplication handling. + * Fix issue with RegisterProfile if UUID already exists. + * Fix issue with GATT client attribute read with offset. + * Fix issue with non-discoverable device and advertising monitor. +- remove bluez-5.59-0388794dc5fdb73a4ea.diff (included upstream) + +--- Old: bluez-5.59-0388794dc5fdb73a4ea.diff bluez-5.59.tar.xz New: bluez-5.60.tar.xz Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.aicjNX/_old 2021-07-13 22:36:56.882363931 +0200 +++ /var/tmp/diff_new_pack.aicjNX/_new 2021-07-13 22:36:56.882363931 +0200 @@ -25,7 +25,7 @@ %bcond_without bluez_deprecated # Name: bluez -Version:5.59 +Version:5.60 Release:0 Summary:Bluetooth Stack for Linux License:GPL-2.0-or-later @@ -45,8 +45,6 @@ Patch4: bluez-disable-broken-tests.diff # get rid of python2. WARNING: this is autogenerated by 2to3 and might not work Patch5: bluez-test-2to3.diff -# PATCH-FIX-UPSTREAM: upstream commit until bluez-5.60 is out, https://github.com/bluez/bluez/issues/157 -Patch6: bluez-5.59-0388794dc5fdb73a4ea.diff # Move 43xx firmware path for RPi3 bluetooth support bsc#1140688 Patch10:RPi-Move-the-43xx-firmware-into-lib-firmware.patch # Upstream suggests to use btmon instead of hcidump and does not want those patches ++ bluez-5.59.tar.xz -> bluez-5.60.tar.xz ++ 1712 lines of diff (skipped)
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2021-07-07 18:29:34 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.2625 (New) Package is "bluez" Wed Jul 7 18:29:34 2021 rev:176 rq:903983 version:5.59 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2021-04-08 22:13:05.433533880 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.2625/bluez.changes2021-07-07 18:29:36.975397477 +0200 @@ -1,0 +2,18 @@ +Sun Jul 4 19:14:36 UTC 2021 - Stefan Seyfried + +- add bluez-5.59-0388794dc5fdb73a4ea.diff, fixes a2dp on newly + paired devices, https://github.com/bluez/bluez/issues/157 + +--- +Thu Jun 17 13:45:19 UTC 2021 - Stefan Seyfried + +- update to 5.59: + * Fix issue with string to UUID-32 conversion. + * Fix issue with connect request if SDP search failed. + * Fix issue with accepting invalid AVDTP capabilities. + * Fix issue with unregister handling of AVRCP player. +- new tool: mesh-cfgtest +- new manpages: btmon.1, bluetooth-meshd.8 +- rebased bluez-test-2to3.diff + +--- Old: bluez-5.58.tar.xz New: bluez-5.59-0388794dc5fdb73a4ea.diff bluez-5.59.tar.xz Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.XMTeHm/_old 2021-07-07 18:29:37.643392235 +0200 +++ /var/tmp/diff_new_pack.XMTeHm/_new 2021-07-07 18:29:37.643392235 +0200 @@ -23,11 +23,9 @@ %bcond_withmesh %endif %bcond_without bluez_deprecated -# maintained at https://github.com/seifes-opensuse-packages/bluez.git -# contributions via pull requests are welcome! # Name: bluez -Version:5.58 +Version:5.59 Release:0 Summary:Bluetooth Stack for Linux License:GPL-2.0-or-later @@ -47,6 +45,8 @@ Patch4: bluez-disable-broken-tests.diff # get rid of python2. WARNING: this is autogenerated by 2to3 and might not work Patch5: bluez-test-2to3.diff +# PATCH-FIX-UPSTREAM: upstream commit until bluez-5.60 is out, https://github.com/bluez/bluez/issues/157 +Patch6: bluez-5.59-0388794dc5fdb73a4ea.diff # Move 43xx firmware path for RPi3 bluetooth support bsc#1140688 Patch10:RPi-Move-the-43xx-firmware-into-lib-firmware.patch # Upstream suggests to use btmon instead of hcidump and does not want those patches @@ -54,6 +54,10 @@ # fix some memory leak with malformed packet (reported upstream but not yet fixed) Patch101: CVE-2016-9800-tool-hcidump-Fix-memory-leak-with-malformed-packet.patch Patch102: CVE-2016-9804-tool-hcidump-Fix-memory-leak-with-malformed-packet.patch +# mesh-cfgtest only compiles with gcc8 or newer, Leap 15 has gcc7.5.0 as default +%if 0%{?suse_version} < 1550 +BuildRequires: gcc8 +%endif BuildRequires: automake BuildRequires: flex BuildRequires: libtool @@ -69,6 +73,8 @@ BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(sndfile) BuildRequires: pkgconfig(udev) +# for rst2man +BuildRequires: python3-docutils # libgio-2_0-0 has a runtime dependency on shared-mime-info, which is not # required for building here, but causes a build loop #!BuildIgnore: shared-mime-info @@ -191,6 +197,10 @@ sed -i '1s#/usr/bin/python$#/usr/bin/python3#' test/* %build +%if 0%{?suse_version} < 1550 +echo 0%{?suse_version} +export CC=gcc-8 +%endif # because of patch4... autoreconf -fi # --enable-experimental is needed or btattach does not build (bug?) @@ -338,6 +348,8 @@ %{_libexecdir}/bluetooth/bluetoothd %if %{with mesh} %{_libexecdir}/bluetooth/bluetooth-meshd +%{_bindir}/mesh-cfgtest +%{_mandir}/man8/bluetooth-meshd.8%{?ext_man} %endif %{_libexecdir}/bluetooth/obexd %{_bindir}/bluetoothctl @@ -348,6 +360,7 @@ %endif %{_prefix}/lib/udev/ %{_mandir}/man1/btattach.1%{?ext_man} +%{_mandir}/man1/btmon.1%{?ext_man} %{_mandir}/man8/bluetoothd.8%{?ext_man} %{_mandir}/man1/hid2hci.1%{?ext_man} %{_mandir}/man1/l2ping.1%{?ext_man} ++ bluez-5.59-0388794dc5fdb73a4ea.diff ++ >From 0388794dc5fdb73a4ea88bcf148de0a12b4364d4 Mon Sep 17 00:00:00 2001 From: Archie Pusaka Date: Thu, 17 Jun 2021 08:53:34 +0800 Subject: avdtp: Fix parsing capabilities This patch fixes size comparison and variable misassignment. Reviewed-by: Alain Michaud Reviewed-by: Michael Sun --- profiles/audio/avdtp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/audio/avdtp.c b/profiles/audio/avdtp.c index c7bf99f42..5d13104c1 100644 --- a/profiles/audio/avdtp.c +++ b/profiles/audio/avdtp.c @@ -1323,7 +1323,7 @@ static GSList *caps_to_list(uint8_t *d
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2021-04-08 22:13:02 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.2401 (New) Package is "bluez" Thu Apr 8 22:13:02 2021 rev:175 rq:883537 version:5.58 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2021-03-02 12:25:33.699322087 +0100 +++ /work/SRC/openSUSE:Factory/.bluez.new.2401/bluez.changes2021-04-08 22:13:05.433533880 +0200 @@ -1,0 +2,18 @@ +Wed Apr 7 07:49:44 UTC 2021 - Stefan Seyfried + +- update to 5.58: + * Fix issue with usage of deprecated GLib functions. +- version 5.57: + * Fix issue with handling GATT notification PDU parsing. + * Fix issue with registering DIS without a valid source. + * Fix issue with removing remote SEPs when loading from cache. +- remove upstreamed + bluez-avdtp-Fix-removing-all-remote-SEPs-when-loading-from.patch + +--- +Thu Apr 1 04:27:37 UTC 2021 - Al Cho + +- add bluez-avdtp-Fix-removing-all-remote-SEPs-when-loading-from.patch + Fix Bluetooth headphones disconnect periodically(bsc#1183821) + +--- Old: bluez-5.56.tar.xz New: bluez-5.58.tar.xz Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.ut3XWw/_old 2021-04-08 22:13:06.025534462 +0200 +++ /var/tmp/diff_new_pack.ut3XWw/_new 2021-04-08 22:13:06.029534466 +0200 @@ -27,7 +27,7 @@ # contributions via pull requests are welcome! # Name: bluez -Version:5.56 +Version:5.58 Release:0 Summary:Bluetooth Stack for Linux License:GPL-2.0-or-later @@ -84,7 +84,7 @@ Provides: obexd-client = %{version} %{?systemd_requires} %if 0%{?suse_version} >= 1550 -BuildRequires: pkgconfig(ell) >= 0.28 +BuildRequires: pkgconfig(ell) >= 0.39 %endif %if %{with mesh} # json-c is needed for --enable-mesh ++ bluez-5.56.tar.xz -> bluez-5.58.tar.xz ++ 7049 lines of diff (skipped)
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2021-03-02 12:25:31 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.2378 (New) Package is "bluez" Tue Mar 2 12:25:31 2021 rev:174 rq:874931 version:5.56 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2021-01-29 14:57:02.397504348 +0100 +++ /work/SRC/openSUSE:Factory/.bluez.new.2378/bluez.changes2021-03-02 12:25:33.699322087 +0100 @@ -1,0 +2,16 @@ +Wed Feb 24 20:25:23 UTC 2021 - Stefan Seyfried + +- update to 5.56: + * Fix issue with setting AVDTP disconnect timer. + * Fix issue with AVDTP not sending GetCapabilities. + * Fix issue with AVDTP connecting using streaming mode. + * Fix issue with handling A2DP and remote SEP disappearing. + * Fix issue with handling session of A2DP channels. + * Fix issue with GATT and handling device removal. + * Fix issue with GATT not accepting multiple requests. + * Fix issue with HID report value callback registration. + * Add support for new advertising management command. + * Add support for battery D-Bus interface. + * removed obsolete bccmd + +--- Old: bluez-5.55.tar.xz New: bluez-5.56.tar.xz Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.R1grV8/_old 2021-03-02 12:25:34.455322799 +0100 +++ /var/tmp/diff_new_pack.R1grV8/_new 2021-03-02 12:25:34.459322803 +0100 @@ -27,7 +27,7 @@ # contributions via pull requests are welcome! # Name: bluez -Version:5.55 +Version:5.56 Release:0 Summary:Bluetooth Stack for Linux License:GPL-2.0-or-later @@ -346,11 +346,9 @@ %{_bindir}/meshctl %{_bindir}/mesh-cfgclient %endif -%{_bindir}/bccmd %{_prefix}/lib/udev/ %{_mandir}/man1/btattach.1%{?ext_man} %{_mandir}/man8/bluetoothd.8%{?ext_man} -%{_mandir}/man1/bccmd.1%{?ext_man} %{_mandir}/man1/hid2hci.1%{?ext_man} %{_mandir}/man1/l2ping.1%{?ext_man} %{_mandir}/man1/rctest.1%{?ext_man} ++ bluez-5.55.tar.xz -> bluez-5.56.tar.xz ++ 60329 lines of diff (skipped)
commit bluez for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2021-01-29 14:56:45 Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.28504 (New) Package is "bluez" Fri Jan 29 14:56:45 2021 rev:173 rq:867146 version:5.55 Changes: --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2020-09-29 18:58:54.129562028 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.28504/bluez.changes 2021-01-29 14:57:02.397504348 +0100 @@ -1,0 +2,5 @@ +Wed Jan 27 08:48:16 UTC 2021 - Stefan Seyfried + +- add bluez-test-2to3.diff to get rid of python2 dependency + +--- New: bluez-test-2to3.diff Other differences: -- ++ bluez.spec ++ --- /var/tmp/diff_new_pack.MRxR5I/_old 2021-01-29 14:57:03.777506378 +0100 +++ /var/tmp/diff_new_pack.MRxR5I/_new 2021-01-29 14:57:03.781506385 +0100 @@ -1,7 +1,7 @@ # # spec file for package bluez # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2010-2020 B1 Systems GmbH, Vohburg, Germany # # All modifications and additions to the file contributed by third parties @@ -45,6 +45,8 @@ Patch3: bluez-cups-libexec.patch # workaround for broken tests (reported upstream but not yet fixed) Patch4: bluez-disable-broken-tests.diff +# get rid of python2. WARNING: this is autogenerated by 2to3 and might not work +Patch5: bluez-test-2to3.diff # Move 43xx firmware path for RPi3 bluetooth support bsc#1140688 Patch10:RPi-Move-the-43xx-firmware-into-lib-firmware.patch # Upstream suggests to use btmon instead of hcidump and does not want those patches @@ -185,6 +187,9 @@ # for auto-enable subpackage echo AutoEnable=true >> src/main.conf +# 2to3 does not fix the #! line +sed -i '1s#/usr/bin/python$#/usr/bin/python3#' test/* + %build # because of patch4... autoreconf -fi ++ bluez-test-2to3.diff ++ 747 lines (skipped)