commit 54808e9c76352be6e5ec6f570883d98982148e6cd29d9675bf98449957f2ae02 Author: Adrian Schröter Date: Fri May 3 11:21:07 2024 +0200 Sync from SUSE:SLFO:Main bluez revision 3521e5c4f30afecaa07905fe0121fd7a diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/0001-rpi3-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch b/0001-rpi3-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch new file mode 100644 index 0000000..e88c920 --- /dev/null +++ b/0001-rpi3-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch @@ -0,0 +1,35 @@ +From 4de2871675d3b039b5797e77cc1d6ce4070e86b2 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Tue, 16 Feb 2016 16:39:09 +0000 +Subject: [PATCH] bcm43xx: The UART speed must be reset after the firmware + download + +--- + tools/hciattach_bcm43xx.c | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +Index: bluez-5.60/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, + return -1; + + if (bcm43xx_locate_patch(FIRMWARE_DIR, chip_name, fw_path)) { +- fprintf(stderr, "Patch not found, continue anyway\n"); ++ fprintf(stderr, "Patch not found for %s, continue anyway\n", chip_name); + } else { +- if (bcm43xx_set_speed(fd, ti, speed)) +- return -1; +- + if (bcm43xx_load_firmware(fd, fw_path)) + return -1; + +@@ -368,6 +365,7 @@ int bcm43xx_init(int fd, int def_speed, + return -1; + } + ++ sleep(1); + if (bcm43xx_reset(fd)) + return -1; + } diff --git a/CVE-2016-9800-tool-hcidump-Fix-memory-leak-with-malformed-packet.patch b/CVE-2016-9800-tool-hcidump-Fix-memory-leak-with-malformed-packet.patch new file mode 100644 index 0000000..acae51f --- /dev/null +++ b/CVE-2016-9800-tool-hcidump-Fix-memory-leak-with-malformed-packet.patch @@ -0,0 +1,34 @@ +# 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) + +From 5ca9510314d15d562e9ef5515a5483be5f28258d Mon Sep 17 00:00:00 2001 +From: "Cho, Yu-Chen" +Date: Wed, 21 Mar 2018 17:32:45 +0800 +Subject: [PATCH BlueZ] tool/hcidump: Fix memory leak with malformed packet + +Do not allow to read more then buffer size. +--- + tools/parser/hci.c | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +Index: bluez-5.65/tools/parser/hci.c +=================================================================== +--- bluez-5.65.orig/tools/parser/hci.c ++++ bluez-5.65/tools/parser/hci.c +@@ -976,8 +976,14 @@ static inline void pin_code_reply_dump(i + memset(pin, 0, sizeof(pin)); + if (parser.flags & DUMP_NOVENDOR) + memset(pin, '*', cp->pin_len); +- else ++ else { ++ if (cp->pin_len > sizeof(pin)){ ++ perror("Read failed"); ++ exit(1); ++ } ++ + memcpy(pin, cp->pin_code, cp->pin_len); ++ } + printf("bdaddr %s len %d pin \'%s\'\n", addr, cp->pin_len, pin); + } + diff --git a/CVE-2016-9804-tool-hcidump-Fix-memory-leak-with-malformed-packet.patch b/CVE-2016-9804-tool-hcidump-Fix-memory-leak-with-malformed-packet.patch new file mode 100644 index 0000000..b632d4e --- /dev/null +++ b/CVE-2016-9804-tool-hcidump-Fix-memory-leak-with-malformed-packet.patch @@ -0,0 +1,31 @@ +# 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) + +From 00f50518f232c758855ac9884a841f707f41a301 Mon Sep 17 00:00:00 2001 +From: "Cho, Yu-Chen" +Date: Thu, 3 May 2018 18:52:19 +0800 +Subject: [PATCH BlueZ] tool/hcidump: Fix memory leak with malformed packet + +The Supported Commands is a 64 octet bit field. +Do not allow to read more then the size. +--- + tools/parser/csr.c | 5 +++++ + 1 file changed, 5 insertions(+) + +Index: bluez-5.65/tools/parser/csr.c +=================================================================== +--- bluez-5.65.orig/tools/parser/csr.c ++++ bluez-5.65/tools/parser/csr.c +@@ -133,6 +133,11 @@ static inline void commands_dump(int lev + unsigned char commands[64]; + unsigned int i; + ++ if (frm->len > 64) { ++ perror("Read failed"); ++ exit(1); ++ } ++ + memcpy(commands, frm->ptr, frm->len); + + p_indent(level, frm); diff --git a/Fix-.device_probe-failing-if-SDP-record-is-not.patch b/Fix-.device_probe-failing-if-SDP-record-is-not.patch new file mode 100644 index 0000000..12bd723 --- /dev/null +++ b/Fix-.device_probe-failing-if-SDP-record-is-not.patch @@ -0,0 +1,310 @@ +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_t src; + bdaddr_t dst; +- uint32_t handle; ++ 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 (err < 0) + DBG("No valid Service Name or Service Description found"); + +- pdlist = sdp_data_get(rec, SDP_ATTR_HID_PARSER_VERSION); ++ pdlist = sdp_data_get(idev->rec, SDP_ATTR_HID_PARSER_VERSION); + req->parser = pdlist ? pdlist->val.uint16 : 0x0100; + +- pdlist = sdp_data_get(rec, SDP_ATTR_HID_DEVICE_SUBCLASS); ++ pdlist = sdp_data_get(idev->rec, SDP_ATTR_HID_DEVICE_SUBCLASS); + req->subclass = pdlist ? pdlist->val.uint8 : 0; + +- pdlist = sdp_data_get(rec, SDP_ATTR_HID_COUNTRY_CODE); ++ pdlist = sdp_data_get(idev->rec, SDP_ATTR_HID_COUNTRY_CODE); + req->country = pdlist ? pdlist->val.uint8 : 0; + +- pdlist = sdp_data_get(rec, SDP_ATTR_HID_VIRTUAL_CABLE); ++ pdlist = sdp_data_get(idev->rec, SDP_ATTR_HID_VIRTUAL_CABLE); + attr_val = pdlist ? pdlist->val.uint8 : 0; + if (attr_val) + req->flags |= (1 << HIDP_VIRTUAL_CABLE_UNPLUG); + +- pdlist = sdp_data_get(rec, SDP_ATTR_HID_BOOT_DEVICE); ++ pdlist = sdp_data_get(idev->rec, SDP_ATTR_HID_BOOT_DEVICE); + attr_val = pdlist ? pdlist->val.uint8 : 0; + if (attr_val) + req->flags |= (1 << HIDP_BOOT_PROTOCOL_MODE); + +- err = extract_hid_desc_data(rec, req); ++ err = extract_hid_desc_data(idev->rec, req); + if (err < 0) + return err; + +@@ -1035,11 +1040,6 @@ static gboolean encrypt_notify(GIOChannel *io, GIOCondition condition, + static int hidp_add_connection(struct input_device *idev) + { + struct hidp_connadd_req *req; +- sdp_record_t *rec; +- char src_addr[18], dst_addr[18]; +- char filename[PATH_MAX]; +- GKeyFile *key_file; +- char handle[11], *str; + GError *gerr = NULL; + int err; + +@@ -1049,33 +1049,7 @@ static int hidp_add_connection(struct input_device *idev) + req->flags = 0; + req->idle_to = idle_timeout; + +- ba2str(&idev->src, src_addr); +- ba2str(&idev->dst, dst_addr); +- +- snprintf(filename, PATH_MAX, STORAGEDIR "/%s/cache/%s", src_addr, +- dst_addr); +- sprintf(handle, "0x%8.8X", idev->handle); +- +- key_file = g_key_file_new(); +- if (!g_key_file_load_from_file(key_file, filename, 0, &gerr)) { +- error("Unable to load key file from %s: (%s)", filename, +- gerr->message); +- g_clear_error(&gerr); +- } +- str = g_key_file_get_string(key_file, "ServiceRecords", handle, NULL); +- g_key_file_free(key_file); +- +- if (!str) { +- error("Rejected connection from unknown device %s", dst_addr); +- err = -EPERM; +- goto cleanup; +- } +- +- rec = record_from_string(str); +- g_free(str); +- +- err = extract_hid_record(rec, req); +- sdp_record_free(rec); ++ err = extract_hid_record(idev, req); + if (err < 0) { + error("Could not parse HID SDP record: %s (%d)", strerror(-err), + -err); +@@ -1091,7 +1065,7 @@ static int hidp_add_connection(struct input_device *idev) + + /* Make sure the device is bonded if required */ + if (classic_bonded_only && !input_device_bonded(idev)) { +- error("Rejected connection from !bonded device %s", dst_addr); ++ error("Rejected connection from !bonded device %s", idev->path); + goto cleanup; + } + +@@ -1161,6 +1135,68 @@ static int connection_disconnect(struct input_device *idev, uint32_t flags) + return ioctl_disconnect(idev, flags); + } + ++static bool is_device_sdp_disable(const sdp_record_t *rec) ++{ ++ sdp_data_t *data; ++ ++ data = sdp_data_get(rec, SDP_ATTR_HID_SDP_DISABLE); ++ ++ return data && data->val.uint8; ++} ++ ++static enum reconnect_mode_t hid_reconnection_mode(bool reconnect_initiate, ++ bool normally_connectable) ++{ ++ if (!reconnect_initiate && !normally_connectable) ++ return RECONNECT_NONE; ++ else if (!reconnect_initiate && normally_connectable) ++ return RECONNECT_HOST; ++ else if (reconnect_initiate && !normally_connectable) ++ return RECONNECT_DEVICE; ++ else /* (reconnect_initiate && normally_connectable) */ ++ return RECONNECT_ANY; ++} ++ ++static void extract_hid_props(struct input_device *idev, ++ const sdp_record_t *rec) ++{ ++ /* Extract HID connectability */ ++ bool reconnect_initiate, normally_connectable; ++ sdp_data_t *pdlist; ++ ++ /* HIDNormallyConnectable is optional and assumed FALSE if not ++ * present. ++ */ ++ pdlist = sdp_data_get(rec, SDP_ATTR_HID_RECONNECT_INITIATE); ++ reconnect_initiate = pdlist ? pdlist->val.uint8 : TRUE; ++ ++ pdlist = sdp_data_get(rec, SDP_ATTR_HID_NORMALLY_CONNECTABLE); ++ normally_connectable = pdlist ? pdlist->val.uint8 : FALSE; ++ ++ /* Update local values */ ++ idev->reconnect_mode = ++ hid_reconnection_mode(reconnect_initiate, normally_connectable); ++} ++ ++static void input_device_update_rec(struct input_device *idev) ++{ ++ struct btd_profile *p = btd_service_get_profile(idev->service); ++ const sdp_record_t *rec; ++ ++ rec = btd_device_get_record(idev->device, p->remote_uuid); ++ if (!rec || idev->rec == rec) ++ return; ++ ++ idev->rec = rec; ++ idev->disable_sdp = is_device_sdp_disable(rec); ++ ++ /* Initialize device properties */ ++ extract_hid_props(idev, rec); ++ ++ if (idev->disable_sdp) ++ device_set_refresh_discovery(idev->device, false); ++} ++ + static int input_device_connected(struct input_device *idev) + { + int err; +@@ -1168,6 +1204,9 @@ static int input_device_connected(struct input_device *idev) + if (idev->intr_io == NULL || idev->ctrl_io == NULL) + return -ENOTCONN; + ++ /* Attempt to update SDP record if it had changed */ ++ input_device_update_rec(idev); ++ + err = hidp_add_connection(idev); + if (err < 0) + return err; +@@ -1411,74 +1450,21 @@ int input_device_disconnect(struct btd_service *service) + return 0; + } + +-static bool is_device_sdp_disable(const sdp_record_t *rec) +-{ +- sdp_data_t *data; +- +- data = sdp_data_get(rec, SDP_ATTR_HID_SDP_DISABLE); +- +- return data && data->val.uint8; +-} +- +-static enum reconnect_mode_t hid_reconnection_mode(bool reconnect_initiate, +- bool normally_connectable) +-{ +- if (!reconnect_initiate && !normally_connectable) +- return RECONNECT_NONE; +- else if (!reconnect_initiate && normally_connectable) +- return RECONNECT_HOST; +- else if (reconnect_initiate && !normally_connectable) +- return RECONNECT_DEVICE; +- else /* (reconnect_initiate && normally_connectable) */ +- return RECONNECT_ANY; +-} +- +-static void extract_hid_props(struct input_device *idev, +- const sdp_record_t *rec) +-{ +- /* Extract HID connectability */ +- bool reconnect_initiate, normally_connectable; +- sdp_data_t *pdlist; +- +- /* HIDNormallyConnectable is optional and assumed FALSE +- * if not present. */ +- pdlist = sdp_data_get(rec, SDP_ATTR_HID_RECONNECT_INITIATE); +- reconnect_initiate = pdlist ? pdlist->val.uint8 : TRUE; +- +- pdlist = sdp_data_get(rec, SDP_ATTR_HID_NORMALLY_CONNECTABLE); +- normally_connectable = pdlist ? pdlist->val.uint8 : FALSE; +- +- /* Update local values */ +- idev->reconnect_mode = +- hid_reconnection_mode(reconnect_initiate, normally_connectable); +-} +- + static struct input_device *input_device_new(struct btd_service *service) + { + struct btd_device *device = btd_service_get_device(service); +- struct btd_profile *p = btd_service_get_profile(service); + const char *path = device_get_path(device); +- const sdp_record_t *rec = btd_device_get_record(device, p->remote_uuid); + struct btd_adapter *adapter = device_get_adapter(device); + struct input_device *idev; + +- if (!rec) +- return NULL; +- + idev = g_new0(struct input_device, 1); + bacpy(&idev->src, btd_adapter_get_address(adapter)); + bacpy(&idev->dst, device_get_address(device)); + idev->service = btd_service_ref(service); + idev->device = btd_device_ref(device); + idev->path = g_strdup(path); +- idev->handle = rec->handle; +- idev->disable_sdp = is_device_sdp_disable(rec); +- +- /* Initialize device properties */ +- extract_hid_props(idev, rec); + +- if (idev->disable_sdp) +- device_set_refresh_discovery(device, false); ++ input_device_update_rec(idev); + + return idev; + } +-- +2.42.0 + diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..6184d83 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,4 @@ +libbluetooth3 +bluez-devel + requires -bluez- + requires "libbluetooth3- = " diff --git a/bluetooth.modprobe b/bluetooth.modprobe new file mode 100644 index 0000000..e6c8294 --- /dev/null +++ b/bluetooth.modprobe @@ -0,0 +1,3 @@ +# use "reset=1" as default, since it should be safe for recent devices and +# solves all kind of problems. +options btusb reset=1 diff --git a/bluez-5.11-logitech-hid2hci.patch b/bluez-5.11-logitech-hid2hci.patch new file mode 100644 index 0000000..e3edc6d --- /dev/null +++ b/bluez-5.11-logitech-hid2hci.patch @@ -0,0 +1,25 @@ +# fix some logitech HID devices, bnc#681049, bnc#850478 --seife+obs@b1-systems.com + +Apparently some Logitech devices need different rules. +https://bugzilla.novell.com/show_bug.cgi?id=681049 +https://bugzilla.novell.com/show_bug.cgi?id=850478 + +Index: b/tools/hid2hci.rules +=================================================================== +--- a/tools/hid2hci.rules ++++ b/tools/hid2hci.rules +@@ -9,11 +9,13 @@ SUBSYSTEM!="usb*", GOTO="hid2hci_end" + ATTR{bInterfaceClass}=="03", ATTR{bInterfaceSubClass}=="01", ATTR{bInterfaceProtocol}=="02", \ + ATTRS{bDeviceClass}=="00", ATTRS{idVendor}=="413c", ATTRS{bmAttributes}=="e0", \ + RUN+="hid2hci --method=dell --devpath=%p", ENV{HID2HCI_SWITCH}="1" + + # Logitech devices +-KERNEL=="hiddev*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[345abce]|c71[34bc]", \ ++KERNEL=="hiddev*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[5e]", \ ++ RUN+="hid2hci --method=logitech-hid --devpath=%p" ++KERNEL=="hidraw*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[34abc]|c71[34bc]", \ + RUN+="hid2hci --method=logitech-hid --devpath=%p" + + ENV{DEVTYPE}!="usb_device", GOTO="hid2hci_end" + + # When a Dell device recovers from S3, the mouse child needs to be repoked diff --git a/bluez-5.70.tar.xz b/bluez-5.70.tar.xz new file mode 100644 index 0000000..ccbf3c7 --- /dev/null +++ b/bluez-5.70.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37e372e916955e144cb882f888e4be40898f10ae3b7c213ddcdd55ee9c009278 +size 2339844 diff --git a/bluez-cups-libexec.patch b/bluez-cups-libexec.patch new file mode 100644 index 0000000..d7b0554 --- /dev/null +++ b/bluez-cups-libexec.patch @@ -0,0 +1,26 @@ +Index: bluez-5.65/Makefile.in +=================================================================== +--- bluez-5.65.orig/Makefile.in ++++ bluez-5.65/Makefile.in +@@ -3871,7 +3871,7 @@ unit_tests = $(am__append_55) unit/test- + @DEPRECATED_TRUE@@READLINE_TRUE@attrib_gatttool_LDADD = lib/libbluetooth-internal.la \ + @DEPRECATED_TRUE@@READLINE_TRUE@ src/libshared-glib.la $(GLIB_LIBS) -lreadline + +-@CUPS_TRUE@cupsdir = $(libdir)/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 \ +Index: bluez-5.65/Makefile.tools +=================================================================== +--- bluez-5.65.orig/Makefile.tools ++++ bluez-5.65/Makefile.tools +@@ -499,7 +499,7 @@ endif + endif + + if CUPS +-cupsdir = $(libdir)/cups/backend ++cupsdir = $(prefix)/lib/cups/backend + + cups_PROGRAMS = profiles/cups/bluetooth + diff --git a/bluez-disable-broken-tests.diff b/bluez-disable-broken-tests.diff new file mode 100644 index 0000000..69bd8ed --- /dev/null +++ b/bluez-disable-broken-tests.diff @@ -0,0 +1,13 @@ +Index: bluez-5.65/Makefile.am +=================================================================== +--- bluez-5.65.orig/Makefile.am ++++ bluez-5.65/Makefile.am +@@ -572,7 +574,7 @@ unit_test_midi_LDADD = src/libshared-gli + endif + + if MESH +-unit_tests += unit/test-mesh-crypto ++#unit_tests += unit/test-mesh-crypto + unit_test_mesh_crypto_CPPFLAGS = $(ell_cflags) + unit_test_mesh_crypto_SOURCES = unit/test-mesh-crypto.c \ + mesh/crypto.h ell/internal ell/ell.h diff --git a/bluez-sdp-unix-path.patch b/bluez-sdp-unix-path.patch new file mode 100644 index 0000000..55b21e1 --- /dev/null +++ b/bluez-sdp-unix-path.patch @@ -0,0 +1,13 @@ +Index: bluez-5.65/lib/sdp.h +=================================================================== +--- bluez-5.65.orig/lib/sdp.h ++++ bluez-5.65/lib/sdp.h +@@ -21,7 +21,7 @@ extern "C" { + #include + #include + +-#define SDP_UNIX_PATH "/var/run/sdp" ++#define SDP_UNIX_PATH "/run/sdp" + #define SDP_RESPONSE_TIMEOUT 20 + #define SDP_REQ_BUFFER_SIZE 2048 + #define SDP_RSP_BUFFER_SIZE 65535 diff --git a/bluez-test-2to3.diff b/bluez-test-2to3.diff new file mode 100644 index 0000000..e92c1c2 --- /dev/null +++ b/bluez-test-2to3.diff @@ -0,0 +1,601 @@ +Index: bluez-5.65/test/bluezutils.py +=================================================================== +--- bluez-5.65.orig/test/bluezutils.py ++++ bluez-5.65/test/bluezutils.py +@@ -17,7 +17,7 @@ def find_adapter(pattern=None): + + def find_adapter_in_objects(objects, pattern=None): + bus = dbus.SystemBus() +- for path, ifaces in objects.items(): ++ for path, ifaces in list(objects.items()): + adapter = ifaces.get(ADAPTER_INTERFACE) + if adapter is None: + continue +@@ -37,7 +37,7 @@ def find_device_in_objects(objects, devi + if adapter_pattern: + adapter = find_adapter_in_objects(objects, adapter_pattern) + path_prefix = adapter.object_path +- for path, ifaces in objects.items(): ++ for path, ifaces in list(objects.items()): + device = ifaces.get(DEVICE_INTERFACE) + if device is None: + continue +Index: bluez-5.65/test/example-advertisement +=================================================================== +--- bluez-5.65.orig/test/example-advertisement ++++ bluez-5.65/test/example-advertisement +@@ -164,7 +164,7 @@ def find_adapter(bus): + DBUS_OM_IFACE) + objects = remote_om.GetManagedObjects() + +- for o, props in objects.items(): ++ for o, props in list(objects.items()): + if LE_ADVERTISING_MANAGER_IFACE in props: + return o + +Index: bluez-5.65/test/example-gatt-client +=================================================================== +--- bluez-5.65.orig/test/example-gatt-client ++++ bluez-5.65/test/example-gatt-client +@@ -33,7 +33,7 @@ hr_ctrl_pt_chrc = None + + + def generic_error_cb(error): +- print('D-Bus call failed: ' + str(error)) ++ print(('D-Bus call failed: ' + str(error))) + mainloop.quit() + + +@@ -69,10 +69,10 @@ def sensor_contact_val_to_str(val): + + def body_sensor_val_cb(value): + if len(value) != 1: +- print('Invalid body sensor location value: ' + repr(value)) ++ print(('Invalid body sensor location value: ' + repr(value))) + return + +- print('Body sensor location value: ' + body_sensor_val_to_str(value[0])) ++ print(('Body sensor location value: ' + body_sensor_val_to_str(value[0]))) + + + def hr_msrmt_start_notify_cb(): +@@ -104,12 +104,12 @@ def hr_msrmt_changed_cb(iface, changed_p + hr_msrmt = value[1] | (value[2] << 8) + next_ind = 3 + +- print('\tHR: ' + str(int(hr_msrmt))) +- print('\tSensor Contact status: ' + +- sensor_contact_val_to_str(sc_status)) ++ print(('\tHR: ' + str(int(hr_msrmt)))) ++ print(('\tSensor Contact status: ' + ++ sensor_contact_val_to_str(sc_status))) + + if ee_status: +- print('\tEnergy Expended: ' + str(int(value[next_ind]))) ++ print(('\tEnergy Expended: ' + str(int(value[next_ind])))) + + + def start_client(): +@@ -147,7 +147,7 @@ def process_chrc(chrc_path): + global hr_ctrl_pt_chrc + hr_ctrl_pt_chrc = (chrc, chrc_props) + else: +- print('Unrecognized characteristic: ' + uuid) ++ print(('Unrecognized characteristic: ' + uuid)) + + return True + +@@ -162,7 +162,7 @@ def process_hr_service(service_path, chr + if uuid != HR_SVC_UUID: + return False + +- print('Heart Rate Service found: ' + service_path) ++ print(('Heart Rate Service found: ' + service_path)) + + # Process the characteristics. + for chrc_path in chrc_paths: +@@ -199,14 +199,14 @@ def main(): + chrcs = [] + + # List characteristics found +- for path, interfaces in objects.items(): +- if GATT_CHRC_IFACE not in interfaces.keys(): ++ for path, interfaces in list(objects.items()): ++ if GATT_CHRC_IFACE not in list(interfaces.keys()): + continue + chrcs.append(path) + + # List sevices found +- for path, interfaces in objects.items(): +- if GATT_SERVICE_IFACE not in interfaces.keys(): ++ for path, interfaces in list(objects.items()): ++ if GATT_SERVICE_IFACE not in list(interfaces.keys()): + continue + + chrc_paths = [d for d in chrcs if d.startswith(path + "/")] +Index: bluez-5.65/test/example-gatt-server +=================================================================== +--- bluez-5.65.orig/test/example-gatt-server ++++ bluez-5.65/test/example-gatt-server +@@ -293,7 +293,7 @@ class HeartRateMeasurementChrc(Character + min(0xffff, self.service.energy_expended + 1) + self.hr_ee_count += 1 + +- print('Updating value: ' + repr(value)) ++ print(('Updating value: ' + repr(value))) + + self.PropertiesChanged(GATT_CHRC_IFACE, { 'Value': value }, []) + +@@ -355,7 +355,7 @@ class HeartRateControlPointChrc(Characte + raise InvalidValueLengthException() + + byte = value[0] +- print('Control Point value: ' + repr(byte)) ++ print(('Control Point value: ' + repr(byte))) + + if byte != 1: + raise FailedException("0x80") +@@ -408,12 +408,12 @@ class BatteryLevelCharacteristic(Charact + self.battery_lvl -= 2 + if self.battery_lvl < 0: + self.battery_lvl = 0 +- print('Battery Level drained: ' + repr(self.battery_lvl)) ++ print(('Battery Level drained: ' + repr(self.battery_lvl))) + self.notify_battery_level() + return True + + def ReadValue(self, options): +- print('Battery Level read: ' + repr(self.battery_lvl)) ++ print(('Battery Level read: ' + repr(self.battery_lvl))) + return [dbus.Byte(self.battery_lvl)] + + def StartNotify(self): +@@ -466,11 +466,11 @@ class TestCharacteristic(Characteristic) + CharacteristicUserDescriptionDescriptor(bus, 1, self)) + + def ReadValue(self, options): +- print('TestCharacteristic Read: ' + repr(self.value)) ++ print(('TestCharacteristic Read: ' + repr(self.value))) + return self.value + + def WriteValue(self, value, options): +- print('TestCharacteristic Write: ' + repr(value)) ++ print(('TestCharacteristic Write: ' + repr(value))) + self.value = value + + +@@ -538,11 +538,11 @@ class TestEncryptCharacteristic(Characte + CharacteristicUserDescriptionDescriptor(bus, 3, self)) + + def ReadValue(self, options): +- print('TestEncryptCharacteristic Read: ' + repr(self.value)) ++ print(('TestEncryptCharacteristic Read: ' + repr(self.value))) + return self.value + + def WriteValue(self, value, options): +- print('TestEncryptCharacteristic Write: ' + repr(value)) ++ print(('TestEncryptCharacteristic Write: ' + repr(value))) + self.value = value + + class TestEncryptDescriptor(Descriptor): +@@ -584,11 +584,11 @@ class TestSecureCharacteristic(Character + CharacteristicUserDescriptionDescriptor(bus, 3, self)) + + def ReadValue(self, options): +- print('TestSecureCharacteristic Read: ' + repr(self.value)) ++ print(('TestSecureCharacteristic Read: ' + repr(self.value))) + return self.value + + def WriteValue(self, value, options): +- print('TestSecureCharacteristic Write: ' + repr(value)) ++ print(('TestSecureCharacteristic Write: ' + repr(value))) + self.value = value + + +@@ -616,7 +616,7 @@ def register_app_cb(): + + + def register_app_error_cb(error): +- print('Failed to register application: ' + str(error)) ++ print(('Failed to register application: ' + str(error))) + mainloop.quit() + + +@@ -625,8 +625,8 @@ def find_adapter(bus): + DBUS_OM_IFACE) + objects = remote_om.GetManagedObjects() + +- for o, props in objects.items(): +- if GATT_MANAGER_IFACE in props.keys(): ++ for o, props in list(objects.items()): ++ if GATT_MANAGER_IFACE in list(props.keys()): + return o + + return None +Index: bluez-5.65/test/list-devices +=================================================================== +--- bluez-5.65.orig/test/list-devices ++++ bluez-5.65/test/list-devices +@@ -33,16 +33,16 @@ def extract_uuids(uuid_list): + objects = manager.GetManagedObjects() + + all_devices = (str(path) for path, interfaces in objects.items() if +- "org.bluez.Device1" in interfaces.keys()) ++ "org.bluez.Device1" in list(interfaces.keys())) + + for path, interfaces in objects.items(): +- if "org.bluez.Adapter1" not in interfaces.keys(): ++ if "org.bluez.Adapter1" not in list(interfaces.keys()): + continue + + print("[ " + path + " ]") + + properties = interfaces["org.bluez.Adapter1"] +- for key in properties.keys(): ++ for key in list(properties.keys()): + value = properties[key] + if (key == "UUIDs"): + list = extract_uuids(value) +@@ -58,7 +58,7 @@ for path, interfaces in objects.items(): + dev = objects[dev_path] + properties = dev["org.bluez.Device1"] + +- for key in properties.keys(): ++ for key in list(properties.keys()): + value = properties[key] + if (key == "UUIDs"): + list = extract_uuids(value) +Index: bluez-5.65/test/pbap-client +=================================================================== +--- bluez-5.65.orig/test/pbap-client ++++ bluez-5.65/test/pbap-client +@@ -135,11 +135,11 @@ if __name__ == '__main__': + print(header) + for line in lines: + print(line), +- print ++ print() + + def test_paths(paths): + if len(paths) == 0: +- print ++ print() + print("FINISHED") + mainloop.quit() + return +Index: bluez-5.65/test/sap_client.py +=================================================================== +--- bluez-5.65.orig/test/sap_client.py ++++ bluez-5.65/test/sap_client.py +@@ -165,7 +165,7 @@ class SAPParam_ConnectionStatus(SAPParam + + def __validate(self): + if self.value is not None and self.value not in (0x00, 0x01, 0x02, 0x03, 0x04): +- print "Warning. ConnectionStatus value in reserved range (0x%x)" % self.value ++ print("Warning. ConnectionStatus value in reserved range (0x%x)" % self.value) + + def deserialize(self, buf): + ret = SAPParam.deserialize(self, buf) +@@ -183,7 +183,7 @@ class SAPParam_ResultCode(SAPParam): + + def __validate(self): + if self.value is not None and self.value not in (0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07): +- print "Warning. ResultCode value in reserved range (0x%x)" % self.value ++ print("Warning. ResultCode value in reserved range (0x%x)" % self.value) + + def deserialize(self, buf): + ret = SAPParam.deserialize(self, buf) +@@ -201,7 +201,7 @@ class SAPParam_DisconnectionType(SAPPara + + def __validate(self): + if self.value is not None and self.value not in (0x00, 0x01): +- print "Warning. DisconnectionType value in reserved range (0x%x)" % self.value ++ print("Warning. DisconnectionType value in reserved range (0x%x)" % self.value) + + def deserialize(self, buf): + ret = SAPParam.deserialize(self, buf) +@@ -227,7 +227,7 @@ class SAPParam_StatusChange(SAPParam): + + def __validate(self): + if self.value is not None and self.value not in (0x00, 0x01, 0x02, 0x03, 0x04, 0x05): +- print "Warning. StatusChange value in reserved range (0x%x)" % self.value ++ print("Warning. StatusChange value in reserved range (0x%x)" % self.value) + + def deserialize(self, buf): + ret = SAPParam.deserialize(self, buf) +@@ -245,7 +245,7 @@ class SAPParam_TransportProtocol(SAPPara + + def __validate(self): + if self.value is not None and self.value not in (0x00, 0x01): +- print "Warning. TransportProtoco value in reserved range (0x%x)" % self.value ++ print("Warning. TransportProtoco value in reserved range (0x%x)" % self.value) + + def deserialize(self, buf): + ret = SAPParam.deserialize(self, buf) +@@ -728,7 +728,7 @@ class SAPClient: + self.port = first_match["port"] + self.host = first_match["host"] + +- print "SAP Service found on %s(%s)" % first_match["name"] % self.host ++ print("SAP Service found on %s(%s)" % first_match["name"] % self.host) + + def __connectRFCOMM(self): + self.sock=BluetoothSocket( RFCOMM ) +@@ -739,19 +739,19 @@ class SAPClient: + def __sendMsg(self, msg): + if isinstance(msg, SAPMessage): + s = msg.serialize() +- print "\tTX: " + msg.getContent() ++ print("\tTX: " + msg.getContent()) + return self.sock.send(s.tostring()) + + def __rcvMsg(self, msg): + if isinstance(msg, SAPMessage): +- print "\tRX Wait: %s(id = 0x%.2x)" % (msg.name, msg.id) ++ print("\tRX Wait: %s(id = 0x%.2x)" % (msg.name, msg.id)) + data = self.sock.recv(self.bufsize) + if data: + if msg.deserialize(array('B',data)): +- print "\tRX: len(%d) %s" % (len(data), msg.getContent()) ++ print("\tRX: len(%d) %s" % (len(data), msg.getContent())) + return msg + else: +- print "msg: %s" % array('B',data) ++ print("msg: %s" % array('B',data)) + raise BluetoothError ("Message deserialization failed.") + else: + raise BluetoothError ("Timeout. No data received.") +@@ -797,8 +797,8 @@ class SAPClient: + return False + else: + return False +- except BluetoothError , e: +- print "Error. " +str(e) ++ except BluetoothError as e: ++ print("Error. " +str(e)) + return False + + def proc_disconnectByClient(self, timeout=0): +@@ -808,8 +808,8 @@ class SAPClient: + time.sleep(timeout) # let srv to close rfcomm + self.__disconnectRFCOMM() + return True +- except BluetoothError , e: +- print "Error. " +str(e) ++ except BluetoothError as e: ++ print("Error. " +str(e)) + return False + + def proc_disconnectByServer(self, timeout=0): +@@ -823,8 +823,8 @@ class SAPClient: + + return self.proc_disconnectByClient(timeout) + +- except BluetoothError , e: +- print "Error. " +str(e) ++ except BluetoothError as e: ++ print("Error. " +str(e)) + return False + + def proc_transferAPDU(self, apdu = "Sample APDU command"): +@@ -832,8 +832,8 @@ class SAPClient: + self.__sendMsg(SAPMessage_TRANSFER_APDU_REQ(apdu)) + params = self.__rcvMsg(SAPMessage_TRANSFER_APDU_RESP()).getParams() + return True +- except BluetoothError , e: +- print "Error. " +str(e) ++ except BluetoothError as e: ++ print("Error. " +str(e)) + return False + + def proc_transferATR(self): +@@ -841,8 +841,8 @@ class SAPClient: + self.__sendMsg(SAPMessage_TRANSFER_ATR_REQ()) + params = self.__rcvMsg(SAPMessage_TRANSFER_ATR_RESP()).getParams() + return True +- except BluetoothError , e: +- print "Error. " +str(e) ++ except BluetoothError as e: ++ print("Error. " +str(e)) + return False + + def proc_powerSimOff(self): +@@ -850,8 +850,8 @@ class SAPClient: + self.__sendMsg(SAPMessage_POWER_SIM_OFF_REQ()) + params = self.__rcvMsg(SAPMessage_POWER_SIM_OFF_RESP()).getParams() + return True +- except BluetoothError , e: +- print "Error. " +str(e) ++ except BluetoothError as e: ++ print("Error. " +str(e)) + return False + + def proc_powerSimOn(self): +@@ -862,8 +862,8 @@ class SAPClient: + return self.proc_transferATR() + + return True +- except BluetoothError , e: +- print "Error. " +str(e) ++ except BluetoothError as e: ++ print("Error. " +str(e)) + return False + + def proc_resetSim(self): +@@ -874,23 +874,23 @@ class SAPClient: + return self.proc_transferATR() + + return True +- except BluetoothError , e: +- print "Error. " +str(e) ++ except BluetoothError as e: ++ print("Error. " +str(e)) + return False + + def proc_reportStatus(self): + try: + params = self.__rcvMsg(SAPMessage_STATUS_IND()).getParams() +- except BluetoothError , e: +- print "Error. " +str(e) ++ except BluetoothError as e: ++ print("Error. " +str(e)) + return False + + def proc_transferCardReaderStatus(self): + try: + self.__sendMsg(SAPMessage_TRANSFER_CARD_READER_STATUS_REQ()) + params = self.__rcvMsg(SAPMessage_TRANSFER_CARD_READER_STATUS_RESP()).getParams() +- except BluetoothError , e: +- print "Error. " +str(e) ++ except BluetoothError as e: ++ print("Error. " +str(e)) + return False + + def proc_errorResponse(self): +@@ -899,8 +899,8 @@ class SAPClient: + self.__sendMsg(SAPMessage_CONNECT_REQ()) + + params = self.__rcvMsg(SAPMessage_ERROR_RESP()).getParams() +- except BluetoothError , e: +- print "Error. " +str(e) ++ except BluetoothError as e: ++ print("Error. " +str(e)) + return False + + def proc_setTransportProtocol(self, protocol = 0): +@@ -922,8 +922,8 @@ class SAPClient: + else: + return False + +- except BluetoothError , e: +- print "Error. " +str(e) ++ except BluetoothError as e: ++ print("Error. " +str(e)) + return False + + if __name__ == "__main__": +Index: bluez-5.65/test/simple-agent +=================================================================== +--- bluez-5.65.orig/test/simple-agent ++++ bluez-5.65/test/simple-agent +@@ -24,9 +24,9 @@ dev_path = None + + def ask(prompt): + try: +- return raw_input(prompt) +- except: + return input(prompt) ++ except: ++ return eval(input(prompt)) + + def set_trusted(path): + props = dbus.Interface(bus.get_object("org.bluez", path), +Index: bluez-5.65/test/simple-player +=================================================================== +--- bluez-5.65.orig/test/simple-player ++++ bluez-5.65/test/simple-player +@@ -119,7 +119,7 @@ class InputHandler: + return True + + try: +- exec "self.player.%s" % s ++ exec("self.player.%s" % s) + except Exception as e: + print(e) + pass +Index: bluez-5.65/test/test-adapter +=================================================================== +--- bluez-5.65.orig/test/test-adapter ++++ bluez-5.65/test/test-adapter +@@ -69,7 +69,7 @@ if (args[0] == "list"): + + props = interfaces["org.bluez.Adapter1"] + +- for (key, value) in props.items(): ++ for (key, value) in list(props.items()): + if (key == "Class"): + print(" %s = 0x%06x" % (key, value)) + else: +Index: bluez-5.65/test/test-discovery +=================================================================== +--- bluez-5.65.orig/test/test-discovery ++++ bluez-5.65/test/test-discovery +@@ -39,10 +39,10 @@ def print_compact(address, properties): + def print_normal(address, properties): + print("[ " + address + " ]") + +- for key in properties.keys(): ++ for key in list(properties.keys()): + value = properties[key] + if type(value) is dbus.String: +- value = unicode(value).encode('ascii', 'replace') ++ value = str(value).encode('ascii', 'replace') + if (key == "Class"): + print(" %s = 0x%06x" % (key, value)) + else: +@@ -71,7 +71,7 @@ def interfaces_added(path, interfaces): + + if compact and skip_dev(dev, properties): + return +- devices[path] = dict(devices[path].items() + properties.items()) ++ devices[path] = dict(list(devices[path].items()) + list(properties.items())) + else: + devices[path] = properties + +@@ -94,7 +94,7 @@ def properties_changed(interface, change + + if compact and skip_dev(dev, changed): + return +- devices[path] = dict(devices[path].items() + changed.items()) ++ devices[path] = dict(list(devices[path].items()) + list(changed.items())) + else: + devices[path] = changed + +Index: bluez-5.65/test/test-hfp +=================================================================== +--- bluez-5.65.orig/test/test-hfp ++++ bluez-5.65/test/test-hfp +@@ -186,7 +186,7 @@ class HfpProfile(dbus.service.Object): + version = 0x0105 + features = 0 + print("NewConnection(%s, %d)" % (path, fd)) +- for key in properties.keys(): ++ for key in list(properties.keys()): + if key == "Version": + version = properties[key] + elif key == "Features": +Index: bluez-5.65/test/test-profile +=================================================================== +--- bluez-5.65.orig/test/test-profile ++++ bluez-5.65/test/test-profile +@@ -34,7 +34,7 @@ class Profile(dbus.service.Object): + def NewConnection(self, path, fd, properties): + self.fd = fd.take() + print("NewConnection(%s, %d)" % (path, self.fd)) +- for key in properties.keys(): ++ for key in list(properties.keys()): + if key == "Version" or key == "Features": + print(" %s = 0x%04x" % (key, properties[key])) + else: +Index: bluez-5.65/test/map-client +=================================================================== +--- bluez-5.65.orig/test/map-client ++++ bluez-5.65/test/map-client +@@ -27,7 +27,7 @@ def unwrap(x): + printed. Taken from d-feet """ + + if isinstance(x, list): +- return map(unwrap, x) ++ return list(map(unwrap, x)) + + if isinstance(x, tuple): + return tuple(map(unwrap, x)) +@@ -35,7 +35,7 @@ def unwrap(x): + if isinstance(x, dict): + return dict([(unwrap(k), unwrap(v)) for k, v in x.items()]) + +- for t in [unicode, str, long, int, float, bool]: ++ for t in [str, str, int, int, float, bool]: + if isinstance(x, t): + return t(x) + diff --git a/bluez.changes b/bluez.changes new file mode 100644 index 0000000..4a32bec --- /dev/null +++ b/bluez.changes @@ -0,0 +1,2881 @@ +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +Wed Oct 4 09:51:22 UTC 2023 - Joey Lee + +- Moved btmgmt to main rpm of bluez. (jsc#PED-6216) + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +Sat Aug 19 13:42:08 UTC 2023 - Callum Farmer + +- Use %_firmwaredir + +------------------------------------------------------------------- +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\"' + +------------------------------------------------------------------- +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) + +------------------------------------------------------------------- +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. + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +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) + +------------------------------------------------------------------- +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) + +------------------------------------------------------------------- +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. + (PATCH-FIX-UPSTREAM)(bsc#1013721)(CVE-2016-9800) + - 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-acho@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. (bsc#995059)(bsc#1094902) + +------------------------------------------------------------------- +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) + +------------------------------------------------------------------- +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) + +------------------------------------------------------------------- +Tue Apr 26 17:24:48 UTC 2022 - Giacomo Comes + +- add Requires(post): systemd for bluez-auto-enable-devices + * fixes boo#1198906 + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +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. + +------------------------------------------------------------------- +Sat Feb 26 18:20:25 UTC 2022 - Callum Farmer + +- Fixes for %_libexecdir changing to /usr/libexec (bsc#1174075) + +------------------------------------------------------------------- +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. + +------------------------------------------------------------------- +Sun Oct 17 07:39:24 UTC 2021 - Stefan Seyfried + +- update to version 5.62 (JIRA-SLE-18497): + * 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 + +------------------------------------------------------------------- +Tue Aug 24 06:57:14 UTC 2021 - Stefan Seyfried + +- update to version 5.61 (JIRA-SLE-18497): + * 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. + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +Mon Aug 2 18:27:38 UTC 2021 - Stefan Seyfried + +- fix bluez-auto-enable-devices subpackage (boo#1177845) + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +Thu Jul 8 07:39:55 UTC 2021 - Stefan Seyfried + +- update to 5.60 (JIRA-SLE-18497): + * 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) + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +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) + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +Wed Jan 27 08:48:16 UTC 2021 - Stefan Seyfried + +- add bluez-test-2to3.diff to get rid of python2 dependency + +------------------------------------------------------------------- +Thu Sep 17 15:41:31 UTC 2020 - Stefan Seyfried + +- Packaging: remove _service and accompanying README.md, + maintenance in git did not work out as well as intended. + +------------------------------------------------------------------- +Thu Sep 10 06:20:53 UTC 2020 - Dirk Mueller + +- update to 5.55: + * Fix issue with handling security level for HoG. + * Fix issue with handling HIDSDPDisable attribute. + * Fix issue with handling HID virtual cable unplug. + * Fix issue with handling HID channel disconnect order. + * Fix issue with handling AVDTP delay reporting states. + * Fix issue with handling AVRCP notification events. + * Fix issue with handling AVRCP list player attributes. + * Fix issue with handling AVRCP category 1 player settings. + * Fix issue with handling AVRCP media player passthrough bitmask. + * Fix issue with handling HFP 1.7 default features. + * Fix issue with handling GATT disconnecting handling. + * Fix issue with handling GATT database hash. + * Fix issue with handling service changed characteristic. + * Fix issue with handling read of multiple characteristic values. + * Fix issue with handling Just-Works auto-accept pairing. + * Fix issue with handling authentication of bonded devices. + * Fix issue with handling L2CAP streaming mode for AVDTP. + * Fix issue with handling SysEx parser for MIDI support. + * Fix issue with handling configured scan parameter values. + * Fix issue with handling temporary devices removal. + * Fix issue with handling advertising flags. +- remove input-hog-Attempt-to-set-security-level-if-not-bonde.patch, + input-Add-LEAutoSecurity-setting-to-input.conf.patch: upstream +- use autopatch, spec-cleaner + +------------------------------------------------------------------- +Mon Jun 15 15:37:48 UTC 2020 - Jan Engelhardt + +- Add --enable-external-ell to actually make use of pkgconfig(ell). + +------------------------------------------------------------------- +Thu Apr 16 17:14:06 UTC 2020 - Tomáš Chvátal + +- Pull in python3 packages, the tests are py3 based so it does not + make sense to pull in py2 packages. + +------------------------------------------------------------------- +Fri Mar 20 17:04:10 UTC 2020 - Stefan Seyfried + +- update to bluez-5.54: + * Fix issue with HOGP to accept data only from bonded devices. + * Fix issue with A2DP sessions being connected at the same time. + * Fix issue with class UUID matches before connecting profile. + * Add support for handling MTU auto-tuning option for AVDTP. + * Add support for new policy for Just-Works repairing. + * Add support for Enhanced ATT bearer (EATT). +- bluez-5.53: + * Fix issue with handling unregistration for advertisment. + * Fix issue with A2DP and handling recovering process. + * Fix issue with udpating input device information. + * Add support for loading blocked keys. +- remove obsolete upstreamed patches: + * HOGP-must-only-accept-data-from-bonded-devices.patch + * HID-accepts-bonded-device-connections-only.patch +- refresh other patches + +------------------------------------------------------------------- +Wed Mar 18 08:29:49 UTC 2020 - Al Cho + +- Add + HOGP-must-only-accept-data-from-bonded-devices.patch + HOGP 1.0 Section 6.1 establishes that the HOGP must require + bonding.(bsc#1166751)(CVE-2020-0556) + HID-accepts-bonded-device-connections-only.patch + This change adds a configuration for platforms to choose a more + secure posture for the HID profile.(bsc#1166751)(CVE-2020-0556) + input-hog-Attempt-to-set-security-level-if-not-bonde.patch + Attempt to set security level if not bonded. + (bsc#1166751)(CVE-2020-0556) + input-Add-LEAutoSecurity-setting-to-input.conf.patch + Add LEAutoSecurity setting to input.conf. + (bsc#1166751)(CVE-2020-0556) + +------------------------------------------------------------------- +Mon Feb 10 10:05:33 UTC 2020 - Ismail Dönmez + +- Fix path to systemctl in %post script + +------------------------------------------------------------------- +Mon Dec 16 14:27:14 UTC 2019 - Stefan Seyfried + +- add NoSource tag for omitting README.md from src.rpm + +------------------------------------------------------------------- +Thu Dec 5 09:58:03 UTC 2019 - Stefan Seyfried + +- move all deprecated tools into bluez-deprecated package which can + be disabled by prjconf in OBS. +- bluez-deprecated will go away before end of 2020 in Tumbleweed! + +------------------------------------------------------------------- +Thu Nov 21 16:51:16 UTC 2019 - Stefan Brüns + +- BuildIgnore shared-mime-info, pulled in by libgio-2_0-0, not + required for building, but causes a build loop. +- Add bcond for mesh, also enable mesh on Leap 15.2/SLE15SP2. +- Properly conditionalize all files which are only built with enabled + mesh functionality, fixes build on Leap 15.1 and earlier. + +------------------------------------------------------------------- +Thu Nov 7 11:14:13 UTC 2019 - Stefan Seyfried + +- fix udev directory from %_libexecdir to %_prefix/lib + +------------------------------------------------------------------- +Mon Nov 4 21:22:20 UTC 2019 - Stefan Seyfried + +- update to version 5.52: + * Fix issue with AVDTP session disconnect timeout handling. + * Mark media endpoint APIs as stable interfaces. +- remove obsolete 0001-mesh-Fix-segmentation-fault-on-Join-call.patch +- disable one more segfaulting patch + +------------------------------------------------------------------- +Mon Oct 7 14:56:28 UTC 2019 - Stefan Seyfried + +- add 0001-mesh-Fix-segmentation-fault-on-Join-call.patch + (boo#1152672) + +------------------------------------------------------------------- +Sun Oct 6 13:24:51 UTC 2019 - Stefan Seyfried + +- add _service to use github.com/seifes-obs-packages/bluez.git + as source for the package + +------------------------------------------------------------------- +Fri Oct 4 10:50:15 UTC 2019 - Jan Engelhardt + +- Combine multiple %service_* to reduce generated boilerplate. + +------------------------------------------------------------------- +Wed Oct 2 08:33:56 UTC 2019 - Stefan Seyfried + +- disable mesh service due to security concerns, see boo#1151518 +- add README-mesh.SUSE to explain the issue +- remove no longer necessary temporary-rpmlintrc + +------------------------------------------------------------------- +Fri Sep 20 19:32:43 UTC 2019 - Stefan Seyfried + +- update to version 5.51: + * Fix issue with first agent not being registered as default. + * Fix issue with loading devices without Service Changed CCC. + * Fix issue with GATT client and extended property reading. + * Fix issue with handling GATT client invalid read behavior. + * Fix issue with handling GATT disconnect handler removal. + * Fix issue with missing GATT/GAP service records for SDP. + * Fix issue with checking SDP continuation state length. + * Fix issue with HID device removal on HoG disconnect. + * Fix issue with AVDTP and session destroy handling. + * Fix issue with AVCTP and output MTU accounting. + * Fix issue with AVRCP and creating media items. + * Add support for GATT database caching feature. + * Add experimental support for Bluetooth Mesh Profile. +- removed obsoleted patches: + * 0001-obexd-use-AM_LDFLAGS-for-linking.patch + * 0001-policy-Add-logic-to-connect-a-Sink.patch + * 0001-tools-Fix-build-after-y2038-changes-in-glibc.patch (bsc#1156544) + * bluez-5.50-a2dp-backports.patch + * bluez-5.50-gcc9.patch + * disable_some_obex_tests.patch + * bluez-5.45-disable-broken-tests.diff +- add bluez-disable-broken-tests.diff +- add temporary rpmlintrc until security team approves + +------------------------------------------------------------------- +Sun Aug 18 18:11:08 UTC 2019 - Antoine Belvire + +- Fix build with GCC 9 (boo#1121404, bko#202213): + * Add bluez-5.50-gcc9.patch. + +------------------------------------------------------------------- +Thu Jul 11 04:29:46 UTC 2019 - Al Cho + +- Fix 43xx firmware path for RPi3 bluetooth support (bsc#1140688) + - Add RPi-Move-the-43xx-firmware-into-lib-firmware.patch + +------------------------------------------------------------------- +Wed Jul 10 06:02:54 UTC 2019 - Jiri Slaby + +- Add 0001-tools-Fix-build-after-y2038-changes-in-glibc.patch: Fix + build after y2038 changes in glibc (bsc#1156544) + +------------------------------------------------------------------- +Tue Jun 25 13:19:30 UTC 2019 - Frederic Crozat + +- Add avinfo to bluez-test, useful for debugging. +- Only BuildRequires pkgconfig(ell) on Tumbleweed. +- Add bluez-5.50-a2dp-backports.patch: A2DP fixes for newer codecs + (upstream backport). + +------------------------------------------------------------------- +Wed Apr 24 17:43:18 UTC 2019 - Michal Suchanek + +- Connect Sink profile which HSP profile connects (boo#1131772). + - Add 0001-policy-Add-logic-to-connect-a-Sink.patch + +------------------------------------------------------------------- +Mon Apr 8 14:14:21 UTC 2019 - Ludwig Nussel + +- install bluetoothd sample config file as %doc for reference + +------------------------------------------------------------------- +Wed Feb 20 20:22:38 UTC 2019 - Stefan Seyfried + +- use gcc8 for now to work around boo#1121404 + +------------------------------------------------------------------- +Sat Feb 2 13:35:50 UTC 2019 - Stefan Seyfried + +- add btmgmt to bluez-test + +------------------------------------------------------------------- +Tue Jan 15 09:05:19 UTC 2019 - seife+obs@b1-systems.com + +- add btgatt-client to bluez-test + +------------------------------------------------------------------- +Mon Jun 4 19:15:59 UTC 2018 - seife+obs@b1-systems.com + +- update to version 5.50: + - Fix issue with GATT and reading long values. + - Fix issue with GATT and reading multiple includes. + - Fix issue with GATT and service changes when offline. + - Fix issue with handling secondary service discovery. + - Fix issue with handling persistency of CCC values. + - Fix issue with handling Mesh session on disconnection. + - Fix issue with handling Mesh proxy PDU SAR message length. + - Fix issue with handling Mesh default heartbeat TTL value. + - Add support for Mesh node-reset operation handling. + - Add support for GATT authorization request handling. + - Add support for GATT minimum key size requirements. + - Add support for GATT server and included services. + - Add support for handling additional advertising data. + - Add support for handling separate discoverable state. + - Add support for enabling HFP version 1.7 features. + - Add support for dedicated Bluetooth logging daemon. +- remove 0001-Don-t-refresh-adv_manager-for-non-LE-devices.patch, + fixed upstream + +------------------------------------------------------------------- +Fri May 11 07:14:16 UTC 2018 - acho@suse.com + +- Add + CVE-2016-9800-tool-hcidump-Fix-memory-leak-with-malformed-packet.patch + * Fix hcidump memory leak in pin_code_reply_dump(). + (bsc#1013721)(CVE-2016-9800) + CVE-2016-9804-tool-hcidump-Fix-memory-leak-with-malformed-packet.patch + * Fix hcidump buffer overflow in commands_dump(). + (bsc#1013877)(CVE-2016-9804) + +------------------------------------------------------------------- +Mon Mar 26 06:04:01 UTC 2018 - seife+obs@b1-systems.com + +- add 0001-Don-t-refresh-adv_manager-for-non-LE-devices.patch + (boo#1086731) + +------------------------------------------------------------------- +Mon Mar 12 17:44:33 UTC 2018 - seife+obs@b1-systems.com + +- update to version 5.49: + This is mostly a bug fix release, with fixes to features such as + AVCTP, OBEX, GATT and Mesh. There are however some notable new + features also, such as improved heartbeat management support in + meshctl as well as a new experimental ConnectDevice D-Bus method + on the Adapter interface, which can be used for quick device + object creation for testing purpose or when information about the + device has been received over some Out-of-Band channel. +- remove 0001-core-Fixes-order-InterfaceAdded.patch (upstream) + +------------------------------------------------------------------- +Sun Feb 11 21:12:36 UTC 2018 - seife+obs@b1-systems.com + +- add 0001-core-Fixes-order-InterfaceAdded.patch (boo#1076898)(boo#1101119) +- fix python shebang rpmlint warning for bluez-test + +------------------------------------------------------------------- +Tue Jan 30 16:05:52 UTC 2018 - normand@linux.vnet.ibm.com + +- Add disable_some_obex_tests.patch bypass boo#1078285 for PowerPC + +------------------------------------------------------------------- +Fri Dec 29 17:21:34 UTC 2017 - seife+obs@b1-systems.com + +- update to version 5.48: + This release brings many fixes and feature enhancements. + Some notable enhancements include support for devices with the + BLE battery service, as well as improved Mesh support in the + meshctl tool. Several previously experimental D-Bus APIs have now + been marked as stable, notably the Advertising Manager API as + well as the AquireWrite & AquireNotify GATT APIs. + As far as fixes go, these can be found in many areas of the stack, + including A2DP, AVCTP, device discovery, Mesh, and GATT. + +------------------------------------------------------------------- +Tue Dec 12 08:23:07 UTC 2017 - seife+obs@b1-systems.com + +- add 0001-obexd-use-AM_LDFLAGS-for-linking.patch +- document systemd dependency during %post + +------------------------------------------------------------------- +Sun Sep 17 22:34:07 UTC 2017 - seife+obs@b1-systems.com + +- update to version 5.47: + This release contains various fixes to GATT, A2DP and BR/EDR vs + LE bearer handling. There’s also a notable SDP fix for CVE-2017- + 1000250 (part of the recently announced BlueBorne vulnerabilities). + Feature-wise, there’s now support for adding the appearance and + local name to advertising data through the Advertising D-Bus + interface. The btmon tool is now also able to better decode most + Bluetooth 5.0 HCI commands and events. + The Bluetooth Mesh Profile specification was released recently, + and this BlueZ release comes with initial support for it in the + form of a new meshctl tool. Using this tool it’s possible to + provision mesh devices through the GATT Provisioning Bearer + (PB-GATT), as well as communicate with them (e.g. configure them) + using the GATT Proxy protocol. + +------------------------------------------------------------------- +Sat Jul 15 07:14:55 UTC 2017 - seife+obs@b1-systems.com + +- update to version 5.46: + * Fix issue with handling ATT over BR/EDR connections. + * Fix issue with SDP browsing cleanup after connection. + * Fix issue with pointer dereference and OPP Put request. + * Fix issue with identity address updates during pairing. + * Fix issue with not removing services that had disappeared. + * Add support for improved discovery of included services. + * Add support for simplified characteristics discovery. + * Add support for GATT caching configuration option. + * Add experimental support for AcquireWrite and AcquireNotify. + +------------------------------------------------------------------- +Fri Jul 7 19:17:20 UTC 2017 - seife+obs@b1-systems.com + +- enable sixaxis plugin + +------------------------------------------------------------------- +Sun Jun 25 11:53:02 UTC 2017 - msuchanek@suse.com + +- Add %post/%postun to bluez-auto-enable-devices so the settings + change takes effect (boo#1039476) + +------------------------------------------------------------------- +Thu Jun 8 06:54:26 UTC 2017 - seife+obs@b1-systems.com + +- add bluez-auto-enable-devices subpackage with main.conf which + auto-enables all devices (boo#1039476) + +------------------------------------------------------------------- +Fri May 26 13:16:07 UTC 2017 - seife+obs@b1-systems.com + +- add bluez-5.45-disable-broken-tests.diff to disable two broken + tests (reported upstream but not yet fixed) + +------------------------------------------------------------------- +Sat May 6 18:59:55 UTC 2017 - seife+obs@b1-systems.com + +- update to version 5.45: + This is mostly a bugfix release with fixes in ATT, GATT, OBEX + and AVDTP. + Feature-wise there are some new things as well, such as btmon + support decoding Bluetooth 5.0 HCI commands and events. + +------------------------------------------------------------------- +Fri Mar 3 09:16:29 UTC 2017 - seife+obs@b1-systems.com + +- make testsuite run non-parallel (it has problems with running + parallel checks) and quiet + +------------------------------------------------------------------- +Wed Mar 1 21:22:42 UTC 2017 - seife+obs@b1-systems.com + +- update to version 5.44: + Most fixes are LE (specifically GATT) related, however some other + areas are affected as well. + Feature-wise, there’s a new MIDI plugin and support for using + single-mode (LE-only) controllers that lack a public address. + E.g. any nRF5x controller running a MyNewt or Zephyr based + firmware falls into this category. +- packaging: add "--enable-midi", "--enable-deprecated" + TODO: package deprecated tools into separate package to prepare + removal some time in the future +- rebase bluez-cups-libexec.patch + +------------------------------------------------------------------- +Wed Mar 1 11:39:56 UTC 2017 - tchvatal@suse.com + +- Set the cupsdir directly with patch instead of mv and seds: + * bluez-cups-libexec.patch +- Replace requirements by the pkgconfig counterparts + * this should solve out the problem with builcycle on Factory +- Ran over with spec-cleaner + +------------------------------------------------------------------- +Sat Oct 29 09:23:59 UTC 2016 - seife+obs@b1-systems.com + +- update to version 5.43: + This is almost purely a bug-fix release with fixes to HoG, ATT + and PAN. There’s also a fix for a regression in 5.42 that caused + connection failures for external profiles like OBEX. + Feature-wise there’s one notable addition: LE privacy. By + enabling this in main.conf it’s now possible to make BlueZ + generate a local Identity Resolving Key (IRK) and use Resolvable + Private Addresses (RPAs) for itself. + +------------------------------------------------------------------- +Mon Sep 26 17:41:20 UTC 2016 - seife+obs@b1-systems.com + +- update to version 5.42: + The major API change with this release is that the GATT D-Bus API + is no longer marked as experimental.This should hopefully + encourage the creation of more applications using it. Feature- + wise, btmon received support for decoding full mgmt message + traces - a feature that is available in the bluetooth-next kernel + tree, i.e. on its way to the 4.9 kernel release. In addition to + these changes, this release contains also fixes in areas such as + PBAP, transport selection (BR/EDR vs LE), ATT and A2DP. + +------------------------------------------------------------------- +Sun Jul 31 21:42:27 UTC 2016 - jengelh@inai.de + +- Update descriptions a bit. Adjust RPM groups for what is used + in openSUSE normally. Drop archaic %clean section. + Drop --with-pic which is only for (unbuilt) static libs. + +------------------------------------------------------------------- +Wed Jul 20 22:32:18 UTC 2016 - seife+obs@b1-systems.com + +- update to version 5.41: + BlueZ 5.41 is purely a bug-fix release targeting areas such as + GATT, AVRCP, OBEX and device discovery filters. The GATT D-Bus + API is now starting to be stable enough that this will likely be + the last release where it is flagged as experimental. +- fix build with older distributions that don't have %_userunitdir + ins systemd-rpm-macros + +------------------------------------------------------------------- +Tue Jun 7 13:17:48 UTC 2016 - fbui@suse.com + +- Don't require systemd-devel but systemd-rpm-macros (bsc#983167) + Bluez simply needs to know where the systemd default paths are, at + build time. For that there's no need to build-require systemd or + systemd-devel (and pull all theirs dependencies). Instead + build-require systemd-rpm-macros, which has much less dependencies. + +------------------------------------------------------------------- +Sat May 28 07:33:16 UTC 2016 - seife+obs@b1-systems.com + +- update to version 5.40: + This is mostly a bug fix release fixing issues with GATT, paired + devices and connection handling (particularly for accepting + connections through the Profile D-Bus interface). + One new feature is the ability to use btmon for reading HCI logs + from a TTY device. Right now the creation of this kind of logs is + available with Zephyr in the + form of a special console logging mode (more information + available here + https://www.zephyrproject.org/doc/board/arduino_101_ble.html#getting-hci-traces>). + The format of the protocol is a slight modification of what btmon + normally receives from the kernel monitor sockets, and is + documented in doc/btsnoop.txt). + +------------------------------------------------------------------- +Sun Apr 10 09:37:14 UTC 2016 - seife+obs@b1-systems.com + +- update to version 5.39: + This is almost entirely a bug fix release with important fixes to + GATT, HoG, AVRCP & A2DP. +- install gatttool, needed for bluetooth 4.0 devices (boo#970628) + +------------------------------------------------------------------- +Fri Mar 18 14:22:39 UTC 2016 - seife+obs@b1-systems.com + +- update to version 5.38: + This release has lots of updates and fixes to the GATT D-Bus API. + It should be working considerably better now. A key change to the + GATT D-Bus API is that it is now fully conforming to the word of + the D-Bus Object Manager specification. Instead of registering + each service individually with an Object Manager interface per + service path, all application services are now grouped together + through a single RegisterApplication call. The details can be + found in gatt-api.txt. Besides the D-Bus API change there are + also numerous fixes to GATT functionality in general. + Other areas that received fixes in this release are OBEX, AVRCP + and 128-bit UUID handling. Feature-wise there isn’t anything + groundbreaking, but a notable update is support for the Start + Limited Discovery command in the btmgmt tool (this feature + debuted with the 4.5 kernel release). + * Fix issue with stack overflow and UUID handling. + * Fix issue with ObjectManager interface and GATT. + * Fix issue with GATT database and error handling. + * Fix issue with GATT client notifications. + * Fix issue with GATT object ordering. + * Fix issue with GATT default MTU exchange. + * Fix issue with device attribute clearing. + * Fix issue with AVRCP capabilities request. + +------------------------------------------------------------------- +Mon Dec 28 08:27:37 UTC 2015 - seife+obs@b1-systems.com + +- update to version 5.37: + * Fix issue with registering external profiles. + * Fix issue with connecting external profiles. + * Fix issue with GATT service changed handling. + * Fix issue with not emitting GattServices update. + * Convert to unified HID over GATT profile support. + * Convert to KeyboardDisplay as default IO capability. + * Install btattach utility by default. + +------------------------------------------------------------------- +Fri Oct 30 08:11:30 UTC 2015 - seife+obs@b1-systems.com + +- update to version 5.36: + This release consists for the most part of bug fixes that target + areas such as PBAP, AVRCP and GATT. + Feature-wise a notable change is btmon support for vendor + diagnostic messages which will be debuting with the 4.4 Linux + kernel release. This feature will allow e.g. LMP tracing with + specific controllers. For now there is preliminary support for + Intel and Broadcom based controllers. +- update dbus-devel buildrequires from configure.ac +- remove obsolete bluez-no-duplicate-test-names.patch + +------------------------------------------------------------------- +Mon Sep 28 19:02:15 UTC 2015 - seife+obs@b1-systems.com + +- update to version 5.35: + This release contains bugfixes to areas such as GATT, OBEX, HoG + and AVRCP. From now on bluetoothd will cache more information of + remote GATT databases and thereby avoid unnecessary rediscovery + of remote services. + A noteworthy new feature is the ability to configure bluetoothd + to automatically enable (power on) all new adapters. One use of + this is to replace unreliable "hciconfig hci0 up" commands that + some distributions use in their init/udev scripts. The feature + can be enabled by having "AutoEnable=true" under the "[Policy]" + section of /etc/bluetooth/main.conf + +------------------------------------------------------------------- +Thu Sep 10 13:24:58 UTC 2015 - dimstar@opensuse.org + +- Add bluez-no-duplicate-test-names.patch: Fix test suite when + running against GLIB 2.45.x (test names are not to be used + duplicated). + +------------------------------------------------------------------- +Fri Sep 4 10:39:32 UTC 2015 - seife+obs@b1-systems.com + +- update to version 5.34: + This release fixes a fairly important bug for the GATT D-Bus + interface where automatic reconnections would not always occur + for the client role. There’s also a fix for a missing attribute + in PBAP & MAP SDP records as well as a couple of audio related + fixes. A new feature in this release is Media Player Selection + support for the Target role of AVRCP (the Controller role already + had this). + +------------------------------------------------------------------- +Fri Jul 31 12:24:09 UTC 2015 - seife+obs@b1-systems.com + +- update to version 5.33: + This release contains mostly bugfixes, particularly in areas such + as the audio plugin, GATT and OBEX. The main feature additions + are in the the emulator code which received improvelents to LE + features. There’s also a new tool for testing the recently + released Eddystone protocol from Google. + +------------------------------------------------------------------- +Tue Jul 7 21:22:05 UTC 2015 - seife+obs@b1-systems.com + +- update to version 5.32: + This is mostly a bug fix release rather than including many new + features. The fixes fall in several different areas, including + OPP, ATT and advertising (instance number handling in + particular). There’s also a fix for handling a sudden disconnect + when a connection setup process hasn’t yet completed. The one + notable feature this release has is the ability to select between + letting the stack handle ATT security elevation or doing the + respective error handling in higher layers. + +------------------------------------------------------------------- +Tue Jun 16 05:39:22 UTC 2015 - seife+obs@b1-systems.com + +- update to version 5.31 + Fixes to many different areas, including networking, GATT, HID, + A2DP and AVRCP. Feature-wise we’ve got support for security flags + for the GATT database, allowing fine-grained security level + control for D-Bus clients using the GATT D-Bus API. We’ve also + got a new experimental device discovery filter interface which + allows filtering for a specific remote service, RSSI threshold + or transport (LE vs. BR/EDR). Another new experimental interface + is for LE advertising, which also brings the LE peripheral role + closer to feature completion on a D-Bus level +- remove obsolete bluez-5.30-disable-broken-tests.diff + +------------------------------------------------------------------- +Wed Apr 1 10:35:59 UTC 2015 - seife+obs@b1-systems.com + +- update to version 5.30 + The highlight of this release is the completion of the GATT D-Bus + APIs. We’ve now got both the client and server functionality in + place, however it’s still behind the -E (--experimental) command + line switch. The API is documented in doc/gatt-api.txt and there + are several test tools for it in the tree (even bluetoothctl has + support for it). Another new (and still experimental) D-Bus API + that debuts with this release is one for managing LE Advertising, + i.e. acting in peripheral role. The API is documented in + doc/advertising-api.txt. + Besides the new features, there are several fixes to AVCTP, AVDTP + & AVRCP. There’s also a fix for C++ compiler compatibility with + the library headers as well as a fix for device information not + being stored in certain corner cases. +- add bluez-5.30-disable-broken-tests.diff to fix test suite +- remove -fstack-reuse=none workaround +- remove 20150312-PATCH_BlueZ_shared_gatt-client_Fix_invalid_read-56974.patch + +------------------------------------------------------------------- +Mon Mar 23 14:41:38 UTC 2015 - rguenther@suse.com + +- Build the testsuite with -fstack-reuse=none to workaround broken + test setup. [bnc#923768] + +------------------------------------------------------------------- +Thu Mar 12 12:03:30 UTC 2015 - seife+obs@b1-systems.com + +- update to version 5.29 + This is a comparatively large release with over a month and 475 + commits since 5.28. There have been lots of fixes to the Android + side. Our internal GATT library (used both by ‘normal’ BlueZ as + well as the Android version) received lots of updates for this + release. Other notable changes are a fix for AVCTP key repeat + timeout as well as added support for the Multi Profile + Specification (MPS). +- add 20150312-PATCH_BlueZ_shared_gatt-client_Fix_invalid_read-56974.patch + from bluez-devel for fixing test case failure (will be included in + next bluez release) + +------------------------------------------------------------------- +Tue Feb 3 10:45:20 UTC 2015 - seife+obs@b1-systems.com + +- update to version 5.28 + Here’s the first BlueZ release in 2015. Most of the changes since + the last one are bug fixes, but there’s actually quite many of + them this time, including: + * Fixes to GATT service discovery & probing + * Fix for bearer selection with dual-mode devices + * Fix potential crash when removing devices + * Fix issue with incomplete names in EIR data + * Fix parsing GATT name characteristics + * Fix AVCTP long press & key repetition handling + * Fixes for GATT notification handling + Besides bug fixes we’ve now also got more extensive unit tests + for new GATT code as well as better HCI decoders in btmon for + some less used 4.1 and 4.2 features. The hid2hci tool gained + support for CSR 8510 A10 devices and the hex2hcd tool received a + complete rewrite with better command handling. + +------------------------------------------------------------------- +Sat Dec 27 02:14:49 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.27 + Here comes the traditional x-mas release! + BlueZ 5.27 consists mostly of bug fixes to areas such as GATT + and mgmt (the interface through which bluetoothd talks to the + kernel). The emulation framework has also received many new + features, paving the way for more extensive test automation. + +------------------------------------------------------------------- +Sun Dec 14 21:56:58 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.26 + This release is for the most part a bug-fix release with fixes in + A2DP and OBEX related functionality, but there’s also an added + features for get/set reports for HID over GATT as well as + Phonebook Access Profile 1.2 support + The Bluetooth 4.2 specification went public in early December and + BlueZ 5.26 is the first release with support for its features. + Perhaps the most notable one of these is Low Energy Secure + Connections which will require a 3.19 or newer kernel. This + feature brings LE pairing to the same level of security as it has + been for BR/EDR. LE SC also brings along with it so-called + cross-transport pairing, which means that you only need to pair + once over LE or BR/EDR to get the necessary keys for both + transports between two dual-mode devices. + +------------------------------------------------------------------- +Mon Nov 10 08:22:31 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.25 + This release contains various improvements to MAP and PBAP + support. There are also various GATT related fixes. We’ve also + got a fix for a race condition which could occasionally cause LE + connection/pairing failures. The fix will work for kernels from + 3.13 onward (for older kernels a proper fix isn’t really feasible). +- packaging: remove obsolete README.SUSE and README.packagers + +------------------------------------------------------------------- +Mon Oct 6 10:02:59 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.24 + This release consists for the most part of cleanups and minor + fixes, however there are some new additions too in the form of + Phonebook Access Profile 1.2 and Message Access Profile 1.2 + features. +- packaging: mcaptest tool added to bluez-test package + +------------------------------------------------------------------- +Tue Sep 9 06:28:53 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.23 + This is mostly a bug-fix release with fixes for concurrent + authorization attempts (for untrusted devices), HID, uHID, OBEX, + MAP and AVRCP. We now also have better support for AVCTP/AVRCP + decoding with btmon. + (no other packaging changes besides version bump) + +------------------------------------------------------------------- +Fri Aug 8 06:43:18 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.22 + This release contains several fixes to HID over GATT (HoG) as + well as for AVRCP. Feature-wise there are a couple of notable + additions debuting with the Linux kernel 3.17 release: + * BR/EDR whitelist support. Starting with Linux kernel 3.17 + bluetoothd will no-longer set adapters to connectable by + default. Instead, all configured remote devices are added to + the kernel whitelist after which the kernel will enable page + scanning but only accept connect requests from the whitelist. + This effectively reduces the attack surface for unknown + devices. When whitelist support is available the general + connectable state now follows the discoverable state, meaning + discoverable must be enabled for previously unknown devices to + be able to connect to us. + * Proper LE passive scanning support. For kernels before 3.17 + bluetoothd will use the Start/Stop Discovery commands to + perform LE background scanning. This however uses LE active + scanning which is both wasteful (causing unneeded Scan + Requests) and can cause reconnection issues with devices using + direct advertising (e.g. most LE mice). From kernel version + 3.17 onward bluetoothd will use proper kernel-side passive + scanning, making the background scanning both efficient and + more interoperable. The kernel will even use the + controller-side whitelist during scanning (if no Resolvable + Private Addresses are present), saving even more power. + +------------------------------------------------------------------- +Sun Jul 6 11:47:10 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.21 + Bugfixes and improvements throughout the tree. Fixes to + bluetoothctl to allow using it for scripting. + An important detail of this release is that it supports several + new features that are on their way to the 3.17 kernel. Perhaps + the most important one of these is LE passive scanning. When + run on a kernel that supports it, instead of doing a kind of + "fake" background scanning using the Start Discovery command, + bluetoothd will now tell the kernel the relevant information and + the kernel will then commence passive scanning for devices. +- remove bluez-5.20-fix-queue.patch (fixed upstream) + +------------------------------------------------------------------- +Fri Jun 27 10:56:22 UTC 2014 - seife+obs@b1-systems.com + +- add bluez-5.20-fix-queue.patch to fix test case failure + +------------------------------------------------------------------- +Sat Jun 21 21:30:12 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.20 + For non-Android related parts this is mostly a bug-fix release + with minor fixes here and there as well as improved handling of + PS3 controllers. + +------------------------------------------------------------------- +Tue May 20 06:24:05 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.19 + The release contains fixes to OBEX, AVRCP browsing, HID over GATT + and handling of device unpaired events for dual-mode devices. + There is also a fix to cleanly handle tools like bluetoothctl + taking over the default agent role. Since there is no indication + to the "normal" system default agent this would previously simply + rob this property away without any way to know that this + happened. From 5.19 onward bluetoothd maintains a stack of agents + that have requested to be the default and will hand back the + property to the next item in the stack when bluetoothctl (or some + other tool) exits. + Besides these fixes we’ve got some new additions too: + * User space based HID host implementation (for BR/EDR), to + complement the kernel-side implementation + * A reconnect-upon-linkloss policy for those profiles that need, + such as HFP HF or an A2DP Sink. The list of remote UUIDs to try + to reconnect to is also configurable through main.conf. +- removed bluez-glib2.40.patch, included upstream + +------------------------------------------------------------------- +Tue Apr 29 18:16:11 UTC 2014 - dimstar@opensuse.org + +- Add bluez-glib2.40.patch: Fix build with GLib 2.40: Since GLib + 2.39 calling g_source_remove on already removed source is causing + critical warning. + +------------------------------------------------------------------- +Sun Apr 13 10:46:02 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.18 + "This is mostly a bug fix release with issues fixed regarding LE + single mode device detection and incorrect getpeername() calls + which could have caused incorrect SDP records for profiles + (mainly those using the Profile D-Bus interface with RFCOMM + channel auto-allocation). + On the OBEX side we now have full OBEX authentication support, + which is a fairly useless feature in practice but a mandatory + one for qualification of some OBEX profiles." + +------------------------------------------------------------------- +Wed Mar 26 12:51:17 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.17 + "This is mostly a bug fix release with issues fixed in OBEX, + dual-mode device pairing, and LE related areas." + * Fix issue with not resetting OBEX SRM setup. + * Fix issue with BR/EDR devices and auto-connect list. + * Fix issue with bonding complete detection as peripheral. + * Fix issue with not updating bearer timestamp of connections. + * Fix issue with paired property for multiple bearers. + +------------------------------------------------------------------- +Tue Mar 11 22:24:22 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.16: + * Fix issue with missing paired property notification. + * Fix issue with endianess of long term key storage. + "People using 5.15 are strongly recommended to upgrade because + of these fixes." + * Fix issue with HID over GATT physical location. + * Fix issue with HID over GATT unique identifier. + * Add support for storing signature resolving keys. + +------------------------------------------------------------------- +Sat Feb 22 10:31:52 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.15: + * Fix issue with LE enabling and background scanning. + * Fix issue with HID over GATT input device name. + * Fix issue with storage of slave long term keys. + * Add support for handling identity resolving keys. + * various android features (not relevant for us) +- minor specfile tweaks to avoid some rpmlint warnings +- permissions of some bluez-test files changes to please rpmlint + +------------------------------------------------------------------- +Thu Jan 23 10:43:53 UTC 2014 - seife+obs@b1-systems.com + +- Update to version 5.14: + * Fix issue with marking PS3 controllers as trusted. + * Fix issue with authorization of PS3 controllers. + * Add support for DualShock 4 controller detection. + * Add support for legacy pairing emulation. + * Add support for secure simple pairing emulation. + * Add support for automated pairing testing. + * Add support for RFCOMM protocol testing. + * Add support for HCI controller testing. +- Add "bluemoon" configuration tool + +------------------------------------------------------------------- +Mon Dec 30 15:46:01 UTC 2013 - hrvoje.senjan@gmail.com + +- Update to version 5.13: + * Fix issue with PS3 controller detection. + * Add support for data transfers to L2CAP testing tool. + * Add support for delay reporting to AVDTP testing tool. + * Add support for Android Bluetooth Core interface. + * Add support for Android Bluetooth Socket interface. + * Add support for Android Bluetooth HID Host interface. + * Add support for Android Bluetooth PAN interface. +Changes since 5.12: + * Fix issue with missing reply to DisconnectProfile. + * Fix issue with icon property and class of device changes. + * Fix issue with HID devices when SDP record is not available. + * Fix issue with handling auto-pairing of printers. + * Fix issue with agent authorization handling. + * Add support for PS3 controller setup and pairing. + * Add support for LE L2CAP CoC test capabilities. + * Add support for AVDTP qualification test cases. + * Add support for SMP cryptographic test cases. + +------------------------------------------------------------------- +Wed Dec 4 13:44:23 UTC 2013 - seife+obs@b1-systems.com + +- add bluez-5.11-logitech-hid2hci.patch, (bnc#681049; bnc#850478) + +------------------------------------------------------------------- +Sun Nov 24 16:43:28 UTC 2013 - crrodriguez@opensuse.org + +- run %uev_rules_update in %post if such macro is defined + +------------------------------------------------------------------- +Mon Nov 18 08:11:54 UTC 2013 - seife+obs@b1-systems.com + +- update to bluez-5.11: + * Fix issue with connection attempt when not powered. + * Fix issue with assigning player to AVRCP target role. + * Fix issue with OBEX default cache directory. + * Fix issue with SDP search error handling. + * Fix issue with processing of SDP records. + * Fix issue with HID to HCI switching utility. + * Fix issue with mgmt end-to-end testing tool. + * Fix issue with L2CAP end-to-end testing tool. + * Add support for SMP end-to-end testing tool. + * Add support for more Wii controllers. + +------------------------------------------------------------------- +Sat Oct 19 08:36:07 UTC 2013 - seife+obs@b1-systems.com + +- remove libnl BuildRequires, it is not needed + +------------------------------------------------------------------- +Wed Oct 16 14:31:38 UTC 2013 - seife+obs@b1-systems.com + +- update to bluez-5.10, changelog from source: + ver 5.10: + * Fix issue with discoverable timeout handling. + * Fix issue with MAP messages and record version. + * Fix issue with MAP messages and status events. + * Fix issue with MAP messages and relative folders. + * Fix issue with MAP messages and type property signals. + * Fix issue with transfer size for OBEX GET operations. + * Fix issue with AVRCP service class identifier. + * Fix issue with AVRCP tracking seeked signal. + * Add support for OBEX command line client. + ver 5.9: + * Fix issue with network service and adapter removal. + * Fix issue with misleading OBEX error messages. + * Fix issue with OBEX transport reference handling. + * Fix issue with memory leak with MAP event handler. + * Fix issue with missing MAP property changed signal. + * Fix issue with message type property values. + * Fix issue with empty UUID list for devices. + * Fix issue with profile agent cancel method. + * Remove dependency on USB library. +- removed bluez-5.4-compilerwarning.diff, is obsolete + +------------------------------------------------------------------- +Tue Oct 8 08:24:15 UTC 2013 - dimstar@opensuse.org + +- Do not package systemd user session service file. +- Change DBus user service to be self-contained, and not rely on + Systemd activation (bnc#842688). + +------------------------------------------------------------------- +Sat Sep 14 08:01:17 UTC 2013 - crrodriguez@opensuse.org + +- place socket in /run , not /var/run (bluez-sdp-unix-path.patch) + +------------------------------------------------------------------- +Fri Aug 16 18:43:49 UTC 2013 - seife+obs@b1-systems.com + +- update to bluez-5.8 + * changelog is in the package + +------------------------------------------------------------------- +Thu Aug 15 06:36:45 UTC 2013 - seife+obs@b1-systems.com + +- update to bluez-5.4 + Huge, incompatible update. Some points: + * hcidump merged + * obexd merged + * no unix socket anymore (only d-bus) + * libbluetooth and bluez-devel is *deprecated* and will be + removed. Only included for now to keep the breakage smaller. +- dropped patches (no longer needed): + * 0001-network-fix-network-Connect-method-parameters.patch + * bluez-4.101-new-automake.diff +- new patch to suppress a stupid compiler warning: + * bluez-5.4-compilerwarning.diff + +------------------------------------------------------------------- +Wed Aug 14 14:00:39 UTC 2013 - guillaume@opensuse.org + +- Disable check when building with qemu (fix armv6) + +------------------------------------------------------------------- +Thu Mar 21 08:07:45 UTC 2013 - mmeister@suse.com + +- Added url as source. + Please see http://en.opensuse.org/SourceUrls + +------------------------------------------------------------------- +Thu Feb 28 14:45:10 UTC 2013 - seife+obs@b1-systems.com + +- add bluez-4.101-new-automake.diff, fix build with automake-1.13.1 + +------------------------------------------------------------------- +Fri Jan 25 08:05:27 UTC 2013 - seife+obs@b1-systems.com + +- also run spec-cleaner on bluez-gstreamer.spec, add README for + packagers, fix bluez-gstreamer changelog + +------------------------------------------------------------------- +Mon Jan 21 11:16:34 UTC 2013 - dimstar@opensuse.org + +- Unconditionally enable the systemd bluetooth service (actual + activation of bluez is triggered by udev) (bnc#796671). +- Run spec-cleaner. + +------------------------------------------------------------------- +Fri Jan 11 14:38:03 UTC 2013 - crrodriguez@opensuse.org + +- Add changelog entry for older change so factory-auto wont reject this. +- This requests removes sbc building and packaging from bluez. +SBC recently gets its own package and sources are even stripped out ot +Bluez in current git master (future 5.0). +On top of that current bluez-devel package conflicts with sbc-devel. +Note: This change may broke packages which use sbc from bluez-devel +as new sbc-devel package use different include path. +This change is required to properly build PulseAudio 3.0 + +------------------------------------------------------------------- +Wed Oct 31 14:50:01 UTC 2012 - crrodriguez@opensuse.org + +- bluez-coldplug init script is forced but it s not needed + when using systemd with dbus activation. + +------------------------------------------------------------------- +Wed Oct 17 11:44:49 UTC 2012 - seife+obs@b1-systems.com + +- remove unused 001-remove-rule-dell-mouse.patch + +------------------------------------------------------------------- +Wed Oct 17 09:18:47 UTC 2012 - fcrozat@suse.com + +- Fix build with new systemd / udev location. + +------------------------------------------------------------------- +Wed Oct 17 08:52:03 UTC 2012 - fcrozat@suse.com + +- Change udev rules location with udev > 190 + +------------------------------------------------------------------- +Tue Aug 28 09:37:12 UTC 2012 - seife+obs@b1-systems.com + +- enable bluetooth.service on install (bnc#772455) + +------------------------------------------------------------------- +Sat Jul 28 13:00:59 UTC 2012 - seife+obs@b1-systems.com + +- remove unused service file (now in upstream tarball) + +------------------------------------------------------------------- +Fri Jul 20 14:58:35 UTC 2012 - seife+obs@b1-systems.com + +- add patch from upstream git to fix bluez networking + +------------------------------------------------------------------- +Wed Jul 11 14:04:54 UTC 2012 - seife+obs@b1-systems.com + +- remove unused bluetooth.sh, bluez-4.75-udev-use-helperscript.diff + +------------------------------------------------------------------- +Wed Jun 27 20:39:52 UTC 2012 - seife+obs@b1-systems.com + +- ver 4.101: + - Fix issue with missing BlueZ service file. + - Fix issue with aborting A2DP setup during AVDTP start. + - Fix issue with handling of multiple A2DP indication. + - Fix issue with handling AVDTP abort with invalid SEID. + - Fix issue with rejecting AVDTP abort commands. + - Add support for handling AVDTP command collision. +- our bluez-4.100 patches are applied upstream +- apitest was removed and is thus no longer in bluez-test + +------------------------------------------------------------------- +Thu Jun 21 08:57:47 UTC 2012 - seife+obs@b1-systems.com + +- remove obsolete configure options +- fix LDFLAGS / "-pie" acinclude.m4 bug + +------------------------------------------------------------------- +Wed Jun 20 11:17:53 UTC 2012 - seife+obs@b1-systems.com + +- update to bluez-4.100: + * Fix issue with crashing when SCO connection fails. + * Fix issue with HFP gateway failing on first GSM connection. + * Fix issue with AVRCP and handling of vendor commands. + * Fix issue with handling AVRCP subunit info command. + * Fix issue with missing capability for AVRCP track reached end. + * Fix issue with AVDTP signaling and GStreamer SBC NULL check. + * Fix issue with AVDTP Reconfigure Reject message. + * Fix issue with incorrect EIR length parsing. + * Fix issue with SDP disconnect for HIDSDPDisable. + * Fix issue with SDP interoperability with Mac OS X Lion. + * Fix issue with reverse SDP discovery with some devices. + * Fix issue with discovering state during power off operation. + * Add support for AVRCP Volume Changed notifications. + * Add support for AVRCP Set Absolute Volume handling. + * Add support for display legacy PIN code agent method. + * Add support for multiple media transports per endpoint. + * Add support for discovering device information characteristics. + * Add support for vendor source for Device ID setting. + * Add support for immediate alert server. + * Add support for link loss server. +- Notes: + * This version requires D-Bus 1.4 or later. + * This version requires GLib 2.28 or later. + +------------------------------------------------------------------- +Thu Apr 26 15:04:58 UTC 2012 - seife+obs@b1-systems.com + +- fix mysterious build failure by creating /var/lib/bluetooth + +------------------------------------------------------------------- +Wed Apr 18 22:09:48 UTC 2012 - jeffm@suse.com + +- Make libsbc installable; Required by update to Opal. + +------------------------------------------------------------------- +Thu Mar 8 21:06:29 UTC 2012 - seife+obs@b1-systems.com + +- update to bluez-4.99: + - Fix issue with missing retries for BNEP connection setup. + - Fix issue with not showing name if first EIR has no details. + - Fix issue with running SDP discovery for LE devices. + - Add support for GATT using 128-bit Bluetooth UUIDs. + - Add support for retrieving key size information. + - Add support for storing Long Term Keys. + - Add support for Proximity Reporter API. + - Add support for KeyboardDisplay IO capability. + - Add support for version 1.0 of management API. + - Add support for monitoring interface. + +------------------------------------------------------------------- +Mon Jan 23 15:23:43 UTC 2012 - seife+obs@b1-systems.com + +- update to bluez-4.98: + - Fix issue with adapter list upon initialization failure. + - Fix issue with missing legacy property for Low Energy. + - Fix issue with missing EIR information handling. + - Fix issue with device address type tracking. + - Fix issue with alert level characteristic. + - Fix issue with headset shutdown handling. + - Fix issue with Wiimote address handling. + - Add support for advanced l2test options. + - Add support for attribute protocol and multiple adapters. + +------------------------------------------------------------------- +Tue Dec 27 11:01:18 UTC 2011 - seife+obs@b1-systems.com + +- update to bluez-4.97: + - Update support for proximity profile. + - Fix issue with SBC audio decoding quality. + - Fix multiple issues with HFP support. + - Fix multiple issues with A2DP support. + - Fix multiple issues with AVDTP support. + - Fix multiple issues with AVRCP support. + - Add support for AVRCP meta-data transfer. + - Add support for Bluetooth based thermometers. +- add %check section to .spec - there is now a unittest + +------------------------------------------------------------------- +Tue Dec 20 19:46:07 UTC 2011 - crrodriguez@opensuse.org + +- kernel.org currently lacks of bluez tarballs +- Fix build failures due to lack of autotools + +------------------------------------------------------------------- +Fri Dec 16 03:22:40 UTC 2011 - crrodriguez@opensuse.org + +- Fix systemd units installation. + +------------------------------------------------------------------- +Wed Nov 16 11:29:07 UTC 2011 - seife+obs@b1-systems.com + +- require pkgconfig(libnl-1) instead of libnl-1_1-devel + +------------------------------------------------------------------- +Fri Sep 16 12:02:37 UTC 2011 - jengelh@medozas.de + +- Select libnl-1_1-devel +- Fix baselibs.conf to produce right package + +------------------------------------------------------------------- +Thu Aug 4 18:51:02 UTC 2011 - seife+obs@b1-systems.com + +- update to bluez-4.96: + - Fix issue with race condition in AVDTP stream start. + - Fix issue with global adapter offline switching. + - Fix issue with pairing and No Bonding devices. + - Add support for Nintendo Wii Remote pairing. +- enable proximity, wiimote, thermometer plugins + +------------------------------------------------------------------- +Tue Jul 5 07:29:57 UTC 2011 - seife+obs@b1-systems.com + +- update to bluez-4.95: + - Fix issue with AVCTP replies with invalid PID. + - Fix issue with AVRCP and unknown packet types. + - Fix issue with AVRCP not using NOT_IMPLEMENTED correctly. + - Fix issue with AVDTP discovery if all endpoints are in use. + - Fix issue with invalid memory writes and media support. + - Fix issue with not removing device alias and unbonding. + - Fix issue with device disconnects and offline mode handling. + - Add support for setting adapter name based on machine-info. + - Add support for systemd service configuration. +- add systemd .service file (systemd support needs more work still) + +------------------------------------------------------------------- +Wed Jun 22 16:02:15 CEST 2011 - meissner@suse.de + +- added baselibs.conf bnc#700840 + +------------------------------------------------------------------- +Tue Jun 14 06:49:35 UTC 2011 - seife+obs@b1-systems.com + +- remove workaround for rpmlint stupidity now that libusb is in / + +------------------------------------------------------------------- +Wed Jun 1 09:46:16 UTC 2011 - seife+obs@b1-systems.com + +- update to bluez-4.94: + - Fix issue with invalid read of memory in various modules. + - Fix issue with buffer overflow when sending AVDTP commands. + - Fix issue with response to vendor dependent AVRCP commands. + - Fix issue with headset when not able to reply with ERROR. + - Fix issue with crash when creating a device from storage. + - Fix issue with handling non UTF-8 devices names. + - Add support for improved discovery procedure. + +------------------------------------------------------------------- +Wed May 4 20:39:21 UTC 2011 - seife+obs@b1-systems.com + +- update to bluez-4.93: + - Fix issue with property type and Health Main channel. + - Fix issue with crash when removing devices. + - Add support for hid2hci and udev integration. +- disable 001-remove-rule-dell-mouse.patch for now + +------------------------------------------------------------------- +Tue Apr 26 07:48:45 UTC 2011 - seife+obs@b1-systems.com + +- update to bluez-4.92: + - Fix issue with handling of A2DP suspend response. + - Fix issue with crashing when acquiring A2DP stream. + - Fix issue with missing check for valid SCO before shutdown. + - Fix issue with waiting for POLLERR when disconnecting SCO. + - Fix issue with disconnect after primary service discovery. + - Fix issue with attribute interface registration. + - Add support for primary services over BR/EDR. + - Add support for flushable packets of A2DP media. + +------------------------------------------------------------------- +Wed Mar 30 07:12:13 UTC 2011 - seife+obs@b1-systems.com + +- update to bluez-4.91: + - Fix issue with LMP version string and hciconfig. + - Fix issue with missing discovery signal when scanning. + - Fix issue with wrong state and canceling name resolving. + - Fix issue with missing check during adapter initialization. + - Fix issue with missing protocol not supported error and A2DP. + - Fix issue with crash during driver unregistering and A2DP. + - Fix issue with crash when receiving AVDTP close command. + - Fix issue with remote SEP handling when A2DP codec changes. + - Fix issue with SCO hangup handling and state changes. + - Fix issue with security level and MCAP instances. + - Fix issue with memory leak and HDP data channels. + - Add support for discover characteristics by UUID to gatttool. + - Add initial support for Out-of-Band association model. + - Add initial support for SIM Access Profile. + +------------------------------------------------------------------- +Fri Mar 18 10:23:18 UTC 2011 - seife+obs@b1-systems.com + +- update to bluez-4.90: + - Fix issue with setting of global mode property. + - Fix issue with handling of RequestSession responses. + - Fix issue with TP_BNEP_CTRL_BV_01_C qualification test. + - Fix issue with too short AVDTP request timeout. + - Add support for SIM Access Profile manager. + - Add support for new UUID utility functions. + - Add support for attribute server notifications. + - Add support for client characteristic configuration. + - Update support for interactive GATT utility. + +------------------------------------------------------------------- +Mon Feb 21 07:56:00 UTC 2011 - seife+obs@b1-systems.com + +- update to bluez-4.89: + - Fix issue with name resolving when discovery is suspended. + - Fix issue with parsing flags of advertising report. + - Fix issue with SEP handling if interface is disabled. + - Fix issue with device object creation on disconnect event. + - Fix issue with indicators whenever the driver is initialized. + - Fix issue with call indicator when parsing call info reply. + - Fix issue with crash and allowed GATT MTU was too large. + - Add support for SDP record of Primary GATT services. + - Add support for interactive mode for GATT utility. +- gattool requires libreadline for its interactive mode now, so + add readline-devel to BuildRequires + +------------------------------------------------------------------- +Mon Feb 14 09:48:26 UTC 2011 - seife+obs@b1-systems.com + +- update to bluez-4.88: + - Fix issue with HID channel reference count handling. + - Fix issue with daemon exit on badly formatted AT+VTS. + - Fix issue with crash while parsing of endpoint properties. + - Fix issue with possible crash on AVDTP Suspend request timeout. + - Fix issue with stopping inquiry before adapter is initialized. + - Fix issue with creating device object when connection fails. + - Fix issue with sending HCIDEVUP when adapter is already up. + - Fix issue with handling bonding IO channel closing. + - Fix agent cancellation in security mode 3 situations. + - Update pairing code to support management interface. +- requires glib2 2.16 or newer + +------------------------------------------------------------------- +Wed Jan 26 12:43:23 UTC 2011 - seife@opensuse.org + +- update to bluez-4.87 + - Fix issue with initialization when adapter is already up. + - Fix issue with attribute server MTU and incoming connections. + - Fix issue with duplicate characteristics after discovery. + +------------------------------------------------------------------- +Thu Jan 20 13:41:53 UTC 2011 - seife@opensuse.org + +- update to bluez-4.86: + - Revert wrong fix for SDP PDU size error response. + - Fix various memory leaks in A2DP and AVDTP support. + - Add Routing property to MediaTransport interface + - Add proper tracking mechanism to NREC status. + - Add READ_BLOB_REQUEST support to attribute server. + +------------------------------------------------------------------- +Tue Jan 11 19:47:49 UTC 2011 - seife@opensuse.org + +- update to bluez-4.85: + - Fix issue with event mask setting for older adapters. + - Fix issue with device creation and pairing failures. + - Add support for telephony support via oFono. + - Add support for characteristic security level. + - Update support for service registration. + +------------------------------------------------------------------- +Tue Dec 28 22:11:32 UTC 2010 - seife@opensuse.org + +- update to bluez-4.84: + - Fix issue with wrong parameters and device found signals. + - Fix issue with leaking EIR data if RSSI does not change. + - Fix issue with adapter initialization state. + - Fix issue with closing of SDP server sockets. + +------------------------------------------------------------------- +Mon Dec 27 00:09:46 UTC 2010 - seife@opensuse.org + +- update to bluez-4.83: + - Fix issue with already connected HFP/HSP endpoints. + - Fix missing reply when create device is canceled. + - Fix memory leak within the attribute server. + - Fix memory leak with unused extended inquiry name. + - Fix setting paired state when device->authr is false. + - Fix clearing authentication request for renewed keys. + - Add support for storing link keys in runtime memory. + - Update support for primary service discovery. + +------------------------------------------------------------------- +Sat Dec 18 21:57:40 UTC 2010 - seife@opensuse.org + +- update to bluez-4.82: + - Fix crash with mmap of files with multiples of page size. + - Fix HFP response and hold (AT+BTRH) command response. + - Fix device creation error response when powered off. + - Fix device removal when connecting/browsing fails. + - Add initial attribute permission implementation. + - Add AVDTP SRC stream send buffer size verification. + - Add support for setting link policy based on features. + +------------------------------------------------------------------- +Tue Nov 30 21:52:31 UTC 2010 - seife@opensuse.org + +- update to bluez-4.81: + - Fix issue with telephony driver initialization. + - Fix issue with adapter services list initialization. + - Fix crash after simultaneous authentication requests. + - Add support for primary service search on device creation. + +------------------------------------------------------------------- +Sun Nov 21 22:28:54 UTC 2010 - seife@opensuse.org + +- update to bluez-4.80: + - Fix legacy link key storing for some buggy adapters. + - Fix invalid memory access when EIR field length is zero. + - Fix adapter initialization to wait for kernel HCI commands. + - Fix initialization of adapters which are already up. + - Fix possible race condition when initializing adapters. + - Fix possible crashes when attempting to connect AVDTP. + - Fix not aborting sink stream configuration on disconnect. + - Fix not indicating disconnected state when connecting to AVDTP. + - Fix not dropping AVDTP session when canceling stream setup. + - Fix AVDTP abort not being send when the state is idle. + - Fix regression with Low Energy and interleave discovery. + - Add a new configuration option to disable Low Energy support. + - Update support for GATT Primary Service Discovery. + - Update MCAP and HDP support. +- disable silent buildrules + +------------------------------------------------------------------- +Tue Nov 9 21:36:56 UTC 2010 - seife@opensuse.org + +- update to bluez-4.79: + - Fix issue with adapter initialization race condition. + - Update new Bluetooth Management interface support. + +------------------------------------------------------------------- +Mon Nov 8 09:32:16 UTC 2010 - seife@opensuse.org + +- patch to current git to fix race condition in hciops causing + adapter detection to fail + +------------------------------------------------------------------- +Sun Nov 7 09:32:52 UTC 2010 - seife@opensuse.org + +- update to bluez-4.78: + - Fix various issues with AVDTP timer handling. + - Fix various issues with handling of mode changes. + - Fix issue with audio disconnect watch in connecting state. + - Fix issue with handling call waiting indicators in telephony. + - Fix issue with handling UUID parameter and RegisterEndpoint. + - Add initial support for Bluetooth Management interface. + - Add support for Application property to HealthChannel. + +------------------------------------------------------------------- +Sun Oct 31 12:37:02 UTC 2010 - jengelh@medozas.de + +- Use %_smp_mflags + +------------------------------------------------------------------- +Wed Oct 27 07:31:04 UTC 2010 - seife@opensuse.org + +- update to bluez-4.77: + - Fix issue with device name and accessing already freed memory. + - Fix issue with handling CHLD=0 command for handsfree. + - Fix issue with manager properties and no adapters. + - Fix issue with properties and broken service records. + - Fix issue with A2DP playback and sample rate changes. + - Update MCAP and HDP support. + +------------------------------------------------------------------- +Fri Oct 15 18:21:57 UTC 2010 - seife@opensuse.org + +- update to bluez-4.76: + - Fix issue in telephony driver with hanging up held call. + - Fix issue in telephony driver with notifications when on hold. + - Fix issue with blocking on setconf confirmation callback. + - Fix issue with not always signaling new streams as sinks. + - Fix issue with errors in case of endpoint request timeout. + - Fix issue with HFP/HSP microphone and speaker gain values. + - Add source if the device attempt to configure local sink stream. + - Add PSM option for GATT/ATT over BR/EDR on gatttool. + - Add support for GATT/ATT Attribute Write Request. + - Update MCAP and HDP support. + +------------------------------------------------------------------- +Tue Oct 5 16:38:28 UTC 2010 - seife@opensuse.org + +- de-fuzz udev rule patch + +------------------------------------------------------------------- +Tue Oct 5 16:23:33 UTC 2010 - seife@opensuse.org + +- update to bluez-4.75: + - Fix use of uninitialized variable on legacy pairing. + - Fix mismatch of attribute protocol opcode. +- bluez-4.74: + - Fix regression for Legacy Pairing. + - Fix wrong PSM value for attribute protocol. + - Fix issue with RSSI field in advertising reports. + - Add support for Add BR/EDR and LE interleaved discovery. + - Add support for GATT write characteristic value option. + - Add support for specifying download address for AR300x. +- bluez-4.73: + - Fix problem with EIR data when setting the name. + - Fix reading local name from command complete event. + - Fix registering local endpoints with disabled socket interface. + - Add support for more HCI operations using ops infrastructure. + - Add support for GATT characteristic hierarchy. + - Add support for GATT indications. + +------------------------------------------------------------------- +Sat Sep 25 18:15:38 UTC 2010 - seife@opensuse.org + +- disable libcap-ng for < 11.3, it is not available there +- fix up bluez-gstreamer.spec to build with the same options as + bluez.spec + +------------------------------------------------------------------- +Thu Sep 23 18:00:27 UTC 2010 - cristian.rodriguez@opensuse.org + +- enable libcap-ng support so the deamon can drop root + privileges + +------------------------------------------------------------------- +Wed Sep 22 13:18:14 UTC 2010 - seife@opensuse.org + +- update to bluez-4.72: + - Fix memory leak while connecting BTIO channels. + - Fix crash with GStreamer plugin if SBC is not supported. + - Fix issue with GATT server stop sending notifications. + - Fix issue with GATT and dealing with the minimum MTU size. + - Fix issue with file descriptor leak in GATT client. + - Add support for UUID 128-bit handling in attribute client. + - Add support for encoders/decoders for MTU Exchange. + - Add support for the MTU Exchange procedure to the server. + - Add support for a per channel MTU to the ATT server. + - Add support for Characteristic interface. + - Add support for new Media API and framework. + - Add initial support for HDP plugin. + +------------------------------------------------------------------- +Thu Sep 9 20:17:38 UTC 2010 - seife@opensuse.org + +- update to bluez-4.71: + - Fix crash with RequestSession and application disconnects. + - Fix memory leak and possible crash when removing audio device. + - Fix issue with closing stream of locked sep when reconfiguring. + - Fix issue where discovery could interfere with bonding. + - Fix issue with Connected status when PS3 BD remote connects. + - Fix issue with lifetime of fake input devices. + - Add support for compile time option of oui.txt path. + - Add support for printing IEEE1284 device ID for CUPS. + - Add plugin for setting adapter class via DMI. + - Add more features for attribute protocol and profile. + - Add initial support for MCAP. + +------------------------------------------------------------------- +Thu Aug 26 07:31:32 UTC 2010 - seife@opensuse.org + +- update to bluez-4.70: + - Fix incoming call indication handling when in WAITING state. + - Fix various SDP related qualification test case issues. + - Fix logic to write EIR when SDP records are changed. + - Fix UTF-8 validity check for remote names in EIR. + - Add support for UUID-128 extended inquiry response. + - Add service UUIDs from EIR to the DeviceFound signal. + - Add fast connectable feature for Handsfree profile. + - Add HCI command and event definitions for AMP support. + - Add firmware download support for Qualcommh devices. + - Add host level support for Atheros AR300x device. + - Add initial support of ATT and GATT for basic rate. +- ALSA config file moved from /etc/alsa/ to /usr/share/alsa/ + +------------------------------------------------------------------- +Wed Jul 14 06:14:38 UTC 2010 - seife@opensuse.org + +- update to bluez-4.69: + - Fix issue with calling g_option_context_free() twice. + - Fix inconsistencies with initial LE commands and events. + - Add support for telephony ClearLastNumber method. + - Add support for network server interface. + +------------------------------------------------------------------- +Tue Jul 13 08:12:57 UTC 2010 - seife@opensuse.org + +- fix instant segfault of bluetoothd (upstream commit + 86b16d8a63d8d6191533418dd1c38ce35c3fbf0a) + +------------------------------------------------------------------- +Tue Jul 13 06:19:00 UTC 2010 - seife@opensuse.org + +- update to bluez-4.68: + - Fix initialization of adapters in RAW mode. + - Add initial set of LE commands and events definitions. + - Add mode option for L2CAP sockets to the BtIO API. + +------------------------------------------------------------------- +Sat Jul 3 14:59:44 UTC 2010 - seife@opensuse.org + +- update to bluez-4.67: + - Fix issue with authentication reply when bonding already completed. + - Fix issue with not canceling authentication when bonding fails. + - Fix issue with changed combination keys and temporary storage. + - Fix issue with sdp_get_supp_feat library function. + - Fix issue with missing unblock on device removal. + - Fix issue with not waiting for mode change completion. + - Add ARMv6 optimized version of analysis filter for SBC encoder. + +------------------------------------------------------------------- +Sun Jun 13 09:27:22 UTC 2010 - seife@opensuse.org + +- update to bluez-4.66: + - Fix regression with full debug enabling via SIGUSR2. + - Fix redundant speaker/microphone gains being sent. + - Fix not emitting PropertyChanged for SpeakerGain/MicrophoneGain. + - Fix issue with storage usage when a record is not found in memory. + - Fix issue with DiscoverServices not retrieving any records. + - Fix audio profile disconnection order to match whitepaper. + - Fix auto-accept confirmation when local agent has NoInputNoOutput. + - Fix remote just-works SSP when MITM protection is required. + - Fix performing dedicated bonding without MITM requirement. + - Add support for storing debug link keys in runtime memory. + +------------------------------------------------------------------- +Mon May 24 20:22:03 UTC 2010 - seife@opensuse.org + +- update to bluez-4.65: + - Fix issues with general bonding being default setting now. + - Fix driver removal upon device removal. + - Add new "Blocked" property to device objects. + - Add hciconfig support for blacklisting. + - Add support for dynamic debug feature. + +------------------------------------------------------------------- +Wed May 5 10:55:39 UTC 2010 - seife@opensuse.org + +- fix coldplug script for udev > 151 (bnc#602773) + +------------------------------------------------------------------- +Thu Apr 29 09:58:04 UTC 2010 - seife@opensuse.org + +- update to bluez-4.64: + - Fix invalid memory access in headset_get_nrec function. + - Fix issue with disconnect event on higher protocol layers. + - Fix issue with list parsing in sdp_set_supp_features function. + - Fix device object reference counting for SDP browse requests. + - Add missing memory checks whenever memory is allocated for SDP. + - Add support for exporting local services via D-Bus. + - Add more L2CAP Enhanced Retransmission test options. +- remove unused "--enable-manpages" configure option + +------------------------------------------------------------------- +Wed Apr 14 15:32:51 CEST 2010 - jsmeix@suse.de + +- In openSUSE 11.3 there is upstream compliant CUPS 1.4 + which means to have a fixed "/usr/lib/cups/" directory + on all platforms (see Novell/Suse Bugzilla bnc#575544). + +------------------------------------------------------------------- +Fri Mar 26 07:20:13 UTC 2010 - seife@opensuse.org + +- update to bluez-4.63: + - Fix avdtp_abort not canceling pending requests. + - Fix stale connection when abort gets rejected. + +------------------------------------------------------------------- +Sun Mar 7 22:32:11 UTC 2010 - seife@opensuse.org + +- update to bluez-4.62: + - Fix accidental symbol breakage with inquiry transmit power. + - Fix using invalid data from previous headset connection. + - Fix double free on AVDTP Abort response. + - Fix possible crash while verifying AVDTP version. + - Fix missing inuse flag when AVDTP stream is configured. + - Add support for Bluetooth controller types. + +------------------------------------------------------------------- +Sat Feb 13 22:38:31 UTC 2010 - seife@opensuse.org + +- update to bluez-4.61: + - Fix issues with Read Inquiry Response Transmit Power Level. + - Fix possible invalid read when removing a temporary device. + - Fix mode restoration when remember_powered is false. + - Fix conference call releasing in telephony-maemo. + - Fix segmentation fault with authorization during headset disconnects. + - Add support for handling unanswered AVDTP request on disconnect. + - Add support for handling Inquiry Response Transmit Power Level. + - Add support for caching of remote host features. + - Add preliminary voice dialing support for HSP. + +------------------------------------------------------------------- +Mon Jan 11 09:47:47 UTC 2010 - seife@opensuse.org + +- update to bluez-4.60: + * Fix voice mailbox number reading from SIM. + * Fix some races with D-Bus mainloop integration. + * Add helpers for D-Bus signal watches. + +------------------------------------------------------------------- +Tue Dec 29 10:14:59 UTC 2009 - seife@opensuse.org + +- update to bluez-4.59: + - Add values for Bluetooth 4.0 specification. + - Add SDP functions for HDP support. + - Add test scripts for input and audio. + - Fix missing close on BtIO create_io function. + - Fix sending incorrect AVDTP commands after timeout occurs. + - Fix timer removal when device disconnects unexpectedly. + - Fix Extended Inquiry Response record for Device ID. +- silence rpmlint warning on bluez-coldplug init script + +------------------------------------------------------------------- +Mon Nov 16 09:02:00 CET 2009 - seife@opensuse.org + +- update to bluez-4.58: + - Fix crash when adapter agent exists during authentication. + - Fix CK-20W quirks for play and pause events. + +------------------------------------------------------------------- +Mon Nov 2 21:51:12 CET 2009 - seife@opensuse.org + +- update to bluez-4.57: + - Fix unloading of drivers for uninitialized adapters. + - Fix debug message to use requested and not opened SEID. + - Fix codec selection for GStreamer plugin. + - Fix deleting of SDP records during service updates. + - Fix deleting of SDP records when a device is removed. + - Fix handling when the SDP record is modified on remote device. + - Fix potential buffer overflow by using snprintf instead of sprintf. + - Fix const declarations for some storage function parameters. + +------------------------------------------------------------------- +Mon Oct 19 10:39:02 CEST 2009 - vlado@suse.cz + +- 001-remove-rule-dell-mouse.patch added to disable udev action + for dell mouse; bnc#522287 + +------------------------------------------------------------------- +Sat Oct 10 23:26:37 CEST 2009 - seife@opensuse.org + +- update to bluez-4.56: + - Add missing values from Bluetooth 3.0 specification. + - Add proper tracking of device paired status. + - Fix tracking of devices without permanently stored link key. + - Fix issue with link key removal after connection failures. + - Fix legacy pairing information based on remote host features. + - Fix off-by-one issue with AVDTP capability parsing. + - Fix AVRCP, AVCTP, AVDTP, A2DP and HFP version numbers. + - Fix agent canceling before calling agent_destroy. + - Fix service record parsing with an empty UUID list. + - Fix various SDP related memory leaks. + +------------------------------------------------------------------- +Sun Oct 4 22:06:46 CEST 2009 - seife@opensuse.org + +- fix reading of config file in udev helper script +- update to bluez-4.55: + - Add support for POSIX capabilities dropping. + - Add special quirk for the Nokia CK-20W car kit. + - Fix error code handling for AVDTP SetConfiguration response. + - Fix updating out of range list when RSSI hasn't changed. + - Fix various memory leaks and unnecessary error checks. + ver 4.54: + - Add introspection interface to output of introspection calls. + - Fix stream handling when media transport disconnects prematurely. + - Fix command timeout handling when there's no stream. + - Fix headset_suspend_stream behavior for invalid states + - Fix issue with AVDTP ABORTING state transition. + - Fix issue with AVDTP suspend while closing. + ver 4.53: + - Fix issue with telephony connection state notifications. + - Fix AVDTP stream leak for invalid media transport config. + - Fix audio connection authorization handling with timeouts. + - Fix race condition in authorizing audio connections. + - Fix device authorized setting for AVRCP-only connections. + - Fix duplicate attempts from device to connect signal channel. + ver 4.52: + - Add AVCTP support to test utility. + - Fix AVDTP Abort when transport closes before response. + - Fix authorization when the audio profiles are slow to connect. + - Fix potential AVDTP reference leaks. + +------------------------------------------------------------------- +Thu Sep 3 14:38:59 CEST 2009 - seife@suse.de + +- update to bluez-4.51: + - Add utility for basic AVDTP testing. + - Add support for configuring L2CAP FCS option. + - Fix discovery mode for CUPS 1.4.x and later. + - Fix global state tracking of audio service. + - Fix last issues with the new build system. + +------------------------------------------------------------------- +Tue Aug 25 07:35:04 CEST 2009 - seife@suse.de + +- update to bluez-4.50: + - Fix various build issues + +------------------------------------------------------------------- +Mon Aug 24 14:57:50 CEST 2009 - seife@suse.de + +- update to bluez-4.49: + - Add simple test program for basic GAP testing. + - Add support for confirmation requests to agent example. + - Add support for full non-recursive build. + - Add five millisecond delay for Simple Pairing auto-accept. + - Fix Class of Device setting when InitiallyPowered=false. + +------------------------------------------------------------------- +Sun Aug 23 00:46:19 CEST 2009 - seife@suse.de + +- fix init script LSB tags + +------------------------------------------------------------------- +Thu Aug 20 18:07:48 CEST 2009 - seife@suse.de + +- try to fix enablement of the coldplug init script + +------------------------------------------------------------------- +Wed Aug 19 15:32:37 CEST 2009 - seife@suse.de + +- add init script so that coldplugging works again (bnc#527856) + +------------------------------------------------------------------- +Mon Aug 17 09:00:05 CEST 2009 - seife@suse.de + +- update to bluez-4.48: + - Add library function for comparing UUID values. + - Add support for creating all plugins as builtins. + - Add support for async handling of service class changes. + - Add support for source interface to audio IPC. + - Fix device name settings when device is off or down. + - Fix issue with enabled SCO server when not necessary. + - Fix missing D-Bus access policy for CUPS backend. + - Fix discovery results of CUPS backend. + - Fix initialization handling of Maemo telephony. + +------------------------------------------------------------------- +Mon Aug 3 09:32:48 CEST 2009 - seife@suse.de + +- update to bluez-4.47: + - Add support for RFKILL unblock handling. + - Add support for serial proxy configurations. + - Add support for caching service class updates. + - Fix issues with updating SDP service records. + - Fix usage of limited discoverable mode. + - Remove deprecated methods and signals for AudioSource. +- bluez-4.46: + - Add support for A2DP sink role. + - Fix clearing svc_cache before the adapter is up. + - Fix various pointer after free usages. + - Fix various memory leaks. + +------------------------------------------------------------------- +Thu Jul 9 11:08:28 CEST 2009 - seife@suse.de + +- packaging: remove unused bluetooth.rules file (thanks darix!) + +------------------------------------------------------------------- +Wed Jul 8 00:00:30 CEST 2009 - seife@suse.de + +- update to bluez-4.45: + - Fix UDEV_DATADIR fallback if pkg-config fails. + - Fix adapter cleanup and setup prototypes. + - Fix double-free with out-of-range devices. + - Fix inband ring setting to be per-headset. + - Fix handling of Maemo CSD startup. + +------------------------------------------------------------------- +Tue Jul 7 10:24:05 CEST 2009 - seife@suse.de + +- update to bluez-4.44: + - Add some missing manual pages. + - Fix three-way calling indicator order. + - Fix downgrade/upgrade of callheld indicator. + - Fix +CIEV sending when indicator value changes. + - Fix signal handling for Maemo telephony driver. + - Fix parsing issues with messages from Maemo CSD. + - Fix issue with duplicate active calls. +- udev rules moved to /lib/udev/rules.d + +------------------------------------------------------------------- +Fri Jul 3 23:27:46 CEST 2009 - seife@suse.de + +- update to bluez-4.43: + - Add support for udev based on-demand startup. + - Fix verbose error reporting of CUPS backend. + - Fix various string length issues. + - Fix issues with Maemo telephony driver. + - Fix another device setup and temporary flag issue. + - Fix and update example agent implementation. +- remove init scripts and D-Bus activation, instead bluetoothd is + now started by udev. Update README.SUSE accordingly. + +------------------------------------------------------------------- +Mon Jun 22 12:49:35 CEST 2009 - cmorve69@yahoo.es + +- fixed build with --as-needed + +------------------------------------------------------------------- +Sun Jun 21 19:11:20 CEST 2009 - seife@suse.de + +- update to bluez-4.42: + This is the release that should contain fixes found during + interoperability testing: + - Add TI WL1271 to Texas Instruments chip list. + - Add special udev mode to bluetoothd. + - Fix regression when there is no agent registered. + - Fix error return when bonding socket hang up. + - Fix SCO server socket for HFP handsfree role. + - Fix shutdown on SCO socket before closing. + - Fix shutdown on A2DP audio stream channel before closing. + - Fix issue with asserting on AVDTP reference count bugs. + - Fix authorization denied issue with certain headsets. + - Fix AVRCP UNITINFO and SUBUNIT INFO responses. + - Fix discovery cancel issues in case SDP discovery fails. + +------------------------------------------------------------------- +Sun Jun 7 19:32:51 CEST 2009 - seife@suse.de + +- update to bluez-4.41: + - Fix pairing even if the ACL gets dropped before successful SDP. + - Fix regression which caused device to be removed after pairing. + - Fix HSP record fetching when remote device doesn't support it. + - Fix SDP discovery canceling when clearing hs->pending. + - Fix headset never connecting on the first attempt. + - Fix headset state tracking if bt_search_service() fails. + - Fix maximum headset connection count check. + - Fix AVDTP Discover timeout handling. + - Fix also UI_SET_KEYBIT for the new pause and play key codes. +- packaging: + - add simple-agent, simple-service and test-network to bluez-test + +------------------------------------------------------------------- +Wed May 20 19:42:27 CEST 2009 - seife@suse.de + +- update to bluez-4.40: + - Add telephony driver for oFono telephony stack. + - Add support for Dell specific HID proxy switching. + - Add support for running hid2hci from udev. + - Add mapping for AVRCP Play and Pause to dedicated key codes. + - Fix AVRCP keycodes to better match existing X keymap support. + - Fix various quoting issues within telephony support. + - Fix memory allocation issue when generating PDUs for SDP. + - Fix race condition on device removal. + - Fix non-cancelable issue with CreateDevice method. + - Fix non-working CancelDiscovery method call. + +------------------------------------------------------------------- +Mon May 11 19:26:39 CEST 2009 - seife@suse.de + +- update to bluez-4.39: + - Add workaround for dealing with unknown inquiry complete. + - Fix discovering when using software scheduler. + - Fix wrong NoInputNoOutput IO capability string. + - Fix race condition with agent during pairing. + - Fix agent cancellation for security mode 3 acceptor failure. + - Fix temporary flag removal when device creation fails. + - Fix hciattach to use ppoll instead of poll. + - Fix service class update when adapter is down. + - Fix service classes race condition during startup. + - Fix release of audio client before freeing the device. + +------------------------------------------------------------------- +Mon May 4 20:57:33 CEST 2009 - seife@suse.de + +- update to bluez-4.38: + - Add support for builtin plugins. + - Add framework for adapter operations. + - Add constants for Enhanced Retransmission modes. + - Fix HCI socket leak in device_remove_bonding. + - Fix various format string issues. + - Fix crashes with various free functions. + - Fix issues with Headset and A2DP drivers to load again. + - Fix sending AVRCP button released passthrough messages + - Fix bug which prevent input devices to work after restart. + - Fix issue with interpretation of UUID-128 as channel. + +------------------------------------------------------------------- +Thu Apr 23 17:26:37 CEST 2009 - seife@suse.de + +- update to bluez-4.37: + - Add version value for Bluetooth 3.0 devices. + - Add additional L2CAP extended feature mask bits. + - Add support for loading plugins in priority order. + - Add support for more detailed usage of disconnect watches. + - Add support for AVRCP volume control. + - Add saturated clipping of SBC decoder output to 16-bit. + - Fix potentially infinite recursion of adapter_up. + - Fix SCO handling in the case of an incoming call. + - Fix input service to use confirm callback. + - Fix cleanup of temporary device entries from storage. + +------------------------------------------------------------------- +Sun Apr 19 12:21:12 CEST 2009 - seife@suse.de + +- update to bluez-4.36: + - Add proper tracking of AVCTP connect attempts. + - Add support to channel pattern in Serial interface. + - Fix A2DP sink crash if removing device while connecting. + - Fix error handling if HFP indicators aren't initialized. + - Fix segfault while handling an incoming SCO connection. + - Fix Serial.Disconnect to abort connection attempt. + +------------------------------------------------------------------- +Sun Apr 12 05:40:31 CEST 2009 - seife@suse.de + +- update to bluez-4.35: + - Add support for Handsfree profile headset role. + - Add additional checks for open SEIDs from clients. + - Fix device removal while audio IPC client is connected. + - Fix device removal when an authorization request is pending. + - Fix incoming AVDTP connect while authorization in progress. + - Fix disconnection timers for audio support. + - Fix various potential NULL pointer deferences. + - Fix callheld indicator value for multiple calls. + - Fix voice number type usage. + - Fix GDBus watch handling. +- add an explicit requires: for the exact libbluetooth3 version + to the bluez package. Fixes the problem that it was possible to + install a newer bluez package without updating the libraries + +------------------------------------------------------------------- +Tue Mar 31 13:43:03 CEST 2009 - seife@suse.de + +- update to bluez-4.34: + - Add support for version checks of plugins. + - Add support for class property on adapter interface. + - Add support for second SDP attempt after connection reset. + - Add support for more detailed audio states. + - Add support for HFP+A2DP auto connection feature. + - Add support for new and improved audio IPC. + - Add program for testing audio IPC interface. + - Fix various AVDTP qualification related issues. + - Fix broken SDP AttributeIdList parsing. + - Fix invalid memory access of SDP URL handling. + - Fix local class of device race conditions. + - Fix issue with periodic inquiry on startup. + - Fix missing temporary devices in some situations. + - Fix SBC alignment issue for encoding with four subbands. + +------------------------------------------------------------------- +Tue Mar 17 06:47:16 CET 2009 - seife@suse.de + +- update to bluez-4.33: + - Add Paired property to the DeviceFound signals. + - Add support for Headset profile 1.2 version. + - Fix broken network configuration when IPv6 is disabled. + - Fix network regression that caused disconnection. + - Fix SDP truncation of strings with NULL values. + - Fix service discovery handling of CUPS helper. + +------------------------------------------------------------------- +Mon Mar 9 20:51:28 CET 2009 - mmarek@suse.cz + +- renamed modprobe config to /etc/modprobe.d/50-bluetooth.conf + (required by new module-init-tools). + +------------------------------------------------------------------- +Mon Mar 2 18:10:00 CET 2009 - seife@suse.de + +- update to bluez-4.32: + - Fix broken SDP record handling. + - Fix SDP data buffer parsing. + - Fix more SDP memory leaks. + - Fix read scan enable calls. + - Fix A2DP stream handling. + +------------------------------------------------------------------- +Thu Feb 26 13:04:25 CET 2009 - seife@suse.de + +- update to bluez-4.31: + - Add support for new BtIO helper library. + - Fix AVDTP session close issue. + - Fix SDP memory leaks. + - Fix various uninitialized memory issues. + - Fix duplicate signal emissions. + - Fix property changes request handling. + - Fix class of device storage handling. + +------------------------------------------------------------------- +Fri Feb 13 09:30:36 CET 2009 - seife@suse.de + +- update to bluez-4.30: + - Add CID field to L2CAP socket address structure. + - Fix reset of authentication requirements after bonding. + - Fix storing of link keys when using dedicated bonding. + - Fix storing of pre-Bluetooth 2.1 link keys. + - Fix resetting trust settings on every reboot. + - Fix handling of local name changes. + - Fix memory leaks in hciconfig and hcitool + +------------------------------------------------------------------- +Sun Feb 8 15:59:45 CET 2009 - seife@suse.de + +- update to bluez-4.29: + - Use AVRCP version 1.0 for now. + - Decrease AVDTP idle timeout to one second. + - Delay AVRCP connection when remote device connects A2DP. + - Add workaround for AVDTP stream setup with broken headsets. + - Add missing three-way calling feature bit for Handsfree. + - Fix handsfree callheld indicator updating. + - Fix parsing of all AT commands within the buffer. + - Fix authentication replies when disconnected. + - Fix handling of debug combination keys. + - Fix handling of changed combination keys. + - Fix handling of link keys when using no bonding. + - Fix handling of invalid/unknown authentication requirements. + - Fix closing of L2CAP raw socket used for dedicated bonding. + +------------------------------------------------------------------- +Thu Feb 5 18:52:46 CET 2009 - seife@suse.de + +- update to bluez-4.28: + - Add AVDTP signal fragmentation support. + - Add more SBC performance optimizations. + - Add more SBC audio quality improvements. + - Use native byte order for audio plugins. + - Set the adapter alias only after checking the EIR data. + - Fix auto-disconnect issue with explicit A2DP connections. + - Fix invalid memory access of ALSA plugin. + - Fix compilation with -Wsign-compare. +- The ALSA plugin now contains a fix to avoid invalid memory + access. This might break some audio players that make + assumptions on some ALSA API calls that are ambigue. Please + report any problems you might encounter. + +------------------------------------------------------------------- +Fri Jan 23 14:48:38 CET 2009 - coolo@suse.de + +- init script should work with strict /bin/sh too + +------------------------------------------------------------------- +Sun Jan 18 13:10:33 CET 2009 - seife@suse.de + +- update to bluez-4.27: + "This release contains multiple fixes for the Simple Pairing support and + newer kernel versions. It highly improves the interoperability and the + security handling with Bluetooth 2.1 based devices." + - Add more SBC optimization (MMX and ARM NEON). + - Add BT_SECURITY and BT_DEFER_SETUP definitions. + - Add support for deferred connection setup. + - Add support for fragmentation of data packets. + - Add option to trigger dedicated bonding. + - Follow MITM requirements from remote device. + - Require MITM for dedicated bonding if capabilities allow it. + - Fix IO capabilities for non-pairing and pairing cases. + - Fix no-bonding connections in non-bondable mode. + - Fix new pairing detection with SSP. + - Fix bonding with pre-2.1 devices and newer kernels. + - Fix LIAC setting while toggling Pairable property. + - Fix device creation for incoming security mode 3 connects. + - Fix crash within A2DP with bogus pointer. + - Fix issue with sdp_copy_record() function. + - Fix crash with extract_des() if sdp_uuid_extract() fails. + +------------------------------------------------------------------- +Thu Jan 15 17:11:19 CET 2009 - seife@suse.de + +- update to bluez-4.26: + - Use of constant shift in SBC quantization code. + - Add possibility to analyze 4 blocks at once in encoder. + - Fix correct handling of frame sizes in the encoder. + - Fix for big endian problems in SBC codec. + - Fix audio client socket to always be non-blocking. + - Update telephony support for Maemo. +- version 4.25: + - Fix receiving data over the audio control socket. + - Fix subbands selection for joint-stereo in SBC encoder. + - Add new SBC analysis filter function. +- version 4.24: + - Fix signal emissions when removing adapters. + - Fix missing adapter signals on exit. + - Add support for bringing adapters down on exit. + - Add support for RememberPowered option. + - Add support for verbose compiler warnings. + - Add more options to SBC encoder. +- version 4.23: + - Update audio IPC for better codec handling. + - Fix bitstream optimization for SBC encoder. + - Fix length header values of IPC messages. + - Fix multiple coding style violations. + - Fix FindDevice to handle temporary devices. + - Add configuration option for DeviceID. + - Add support for InitiallyPowered option. + - Add missing signals for manager properties. + - Add telephony support for Maemo. + +------------------------------------------------------------------- +Tue Jan 13 12:54:33 CET 2009 - seife@suse.de + +- fix the modprobe.d config syntax (bnc#465643) + +------------------------------------------------------------------- +Thu Jan 8 17:09:02 CET 2009 - seife@suse.de + +- add a modprobe.d config, setting reset=1 for btusb (bnc#461369) + +------------------------------------------------------------------- +Sun Dec 7 22:39:05 CET 2008 - seife@suse.de + +- update to bluez-4.22: + - Add deny statements to D-Bus access policy. + - Add support for LegacyPairing property. + - Add support for global properties. + - Add more commands to telephony testing script. + - Add sender checks for serial and network interfaces. + - Remove deprecated methods and signals from input interface. + - Remove deprecated methods and signals from network interface. + - Remove OffMode option and always use device down. + +------------------------------------------------------------------- +Mon Dec 1 18:16:55 CET 2008 - seife@suse.de + +- update to bluez-4.21: + - Fix adapter initialization logic. + - Fix adapter setup and start security manager early. + - Fix usage issue with first_init variable. + +------------------------------------------------------------------- +Mon Dec 1 00:44:09 CET 2008 - seife@suse.de + +- update to bluez-4.20: + - Cleanup session handling. + - Cleanup mode setting handling, removed deprecated RequestMode, + ReleaseMode and Mode methods. + - Fix issue with concurrent audio clients. + - Fix issue with HFP/HSP suspending. + - Fix AT result code syntax handling. + - Add Handsfree support for AT+NREC. + - Add PairableTimeout adapter property. +- refresh pcmciarules patch + +------------------------------------------------------------------- +Sun Nov 23 01:10:59 CET 2008 - seife@suse.de + +- update to bluez-4.19: + - Fix D-Bus signal emmissions for CreateDevice. + - Fix issues with UUID probing. + - Fix +BSRF syntax issue. + - Add Pairable adapter property. + - Add sdp_copy_record() library function. + +------------------------------------------------------------------- +Tue Nov 11 09:26:41 CET 2008 - seife@suse.de + +- add bluez-compat package, containing pand and dund (bnc#435591) + +------------------------------------------------------------------- +Mon Nov 10 09:14:35 CET 2008 - seife@suse.de + +- add DBus API documentation files to the bluez package + +------------------------------------------------------------------- +Sun Nov 9 20:10:15 CET 2008 - seife@suse.de + +- update to bluez-4.18: + - Fix release before close issue with RFCOMM TTYs. + - Fix Connected property on input interface. + - Fix DeviceFound signals during initial name resolving. + - Fix service discovery handling. + - Fix duplicate UUID detection. + - Fix SBC gain mismatch and decoding handling. + - Add more options to SBC encoder and decoder. + - Add special any adapter object for service interface. + - Add variable prefix to adapter and device object paths. + +------------------------------------------------------------------- +Mon Nov 3 13:03:23 CET 2008 - seife@suse.de + +- fix START_SERVICES=no and wrong "Default:"-comment (bnc#435489) + +------------------------------------------------------------------- +Mon Oct 27 20:48:38 CET 2008 - seife@suse.de + +- update to bluez-4.17: + - Fix SBC encoder not writing last frame. + - Fix missing timer for A2DP suspend. + - Add more supported devices to hid2hci utility. + - Add additional functionality to Handsfree support. + +------------------------------------------------------------------- +Wed Oct 22 10:13:44 CEST 2008 - seife@suse.de + +- update to bluez-4.16: + "This release fixes two potential crashes within bluetoothd. + It is strongly advised to upgrade to this version." + - Fix wrong parameter usage of watch callbacks. + - Fix parameters for callback upon path removal. + - Fix unloading of adapter drivers. + ver 4.15: + - Fix various A2DP state machine issues. + - Fix some issues with the Handsfree error reporting. + - Fix format string warnings with recent GCC versions. + - Remove dependency on GModule. + +------------------------------------------------------------------- +Sat Oct 18 13:20:41 CEST 2008 - seife@suse.de + +- update to bluez-4.14: + - Fix types of property arrays. + - Fix potential crash with input devices. + - Fix PS3 BD remote input event generation. + - Allow dynamic adapter driver registration. + - Update udev rules. + +------------------------------------------------------------------- +Tue Oct 14 15:30:49 CEST 2008 - seife@suse.de + +- split up bluez and bluez-gstreamer to avoid circular dependencies + +------------------------------------------------------------------- +Mon Oct 13 07:35:11 CEST 2008 - seife@suse.de + +- update to bluez-4.13: + - Fix service discovery and UUID handling. + - Fix bonding issues with Simple Pairing. + - Fix file descriptor misuse of SCO connections. + - Fix various memory leaks in the device handling. + - Fix AVCTP disconnect handling. + - Fix GStreamer modes for MP3 encoding. + - Add operator selection to Handsfree support. + +------------------------------------------------------------------- +Mon Oct 6 20:34:13 CEST 2008 - seife@suse.de + +- update to bluez-4.12: + - Fix crash with missing icon value. + - Fix error checks of HAL plugin. + - Fix SCO server socket cleanup on exit. + - Fix memory leaks from DBusPendingCall. + - Fix handling of pending authorization requests. + - Fix missing protocol UUIDs in record pattern. + +------------------------------------------------------------------- +Sun Oct 5 16:24:41 CEST 2008 - seife@suse.de + +- update to bluez-4.11: + - Change SCO server socket into a generic one. Should fix + connection issues with headsets. + - Fix uninitialized reply of multiple GetProperties methods. + +------------------------------------------------------------------- +Sat Oct 4 09:59:32 CEST 2008 - seife@suse.de + +- update to bluez-4.10: + - Fix memory leaks with HAL messages. + - Add more advanced handsfree features. + - Add properties to audio, input and network interfaces. + - Stop device discovery timer on device removal. + +------------------------------------------------------------------- +Mon Sep 29 18:56:15 CEST 2008 - seife@suse.de + +- update to bluez-4.9: + - Fix signals for Powered and Discoverable properties. + - Fix handling of Alias and Icon properties. + - Fix duplicate entries for service UUIDs. + +------------------------------------------------------------------- +Mon Sep2y 09:36:31 CEST 2008 - seife@suse.de + +- update to bluez-4.8: + - fix two bluetoothd crashes during device pairing + - reenable HAL plugin, no need for libhal anymore + - hciconfig and hcitool now show all extended features pages + (important because page 1 indicates simple pairing support) + +------------------------------------------------------------------- +Sat Sep 27 07:04:45 CEST 2008 - seife@suse.de + +- fix a crash when e.g. connecting a new input device + +------------------------------------------------------------------- +Fri Sep 26 12:07:21 CEST 2008 - seife@suse.de + +- update to bluez-4.7: + - Fix pairing and service discovery logic. + - Fix crashes during suspend and resume. + - Fix race condition within devdown mode. + - Add RequestSession and ReleaseSession methods. + - Add Powered and Discoverable properties. + - Add Devices property and deprecate ListDevices. + - Add workaround for a broken carkit from Nokia. +- removed bluez-4.6-fix-bluetoothd-crash-after-suspend.diff + +------------------------------------------------------------------- +Thu Sep 25 09:53:08 CEST 2008 - seife@suse.de + +- fix a bluetoothd crash after resume + +------------------------------------------------------------------- +Wed Sep 24 00:12:45 CEST 2008 - seife@suse.de + +- use /dev/shm instead of /var/run for the coldplug-marker, since + /var/run is cleaned up later in the boot process + +------------------------------------------------------------------- +Tue Sep 23 17:31:19 CEST 2008 - seife@suse.de + +- add more useful stuff to bluez-test +- add dbus-activation of bluetoothd +- use dbus-activation to start on adapter hotplug event +- add bluetooth-coldplug init script to make sure that bluetoothd + is started when adapter is plugged in before DBus is started +- add "Provides: bluez-utils" to bluez, to help the solver + +------------------------------------------------------------------- +Wed Sep 17 17:16:54 CEST 2008 - dmueller@suse.de + +- add missing splitprovides +- fix bluez-utils rename +- remove bogus bluez provide + +------------------------------------------------------------------- +Mon Sep 15 23:41:33 CEST 2008 - seife@suse.de + +- update to bluez-4.6: + * add a smooth upgrade path of configured input devices from + BlueZ 3.x to the 4.x series + * fix a couple of regressions with the adapter initialization and + the input service + Detailed changelog: + version 4.6: + * Fix Device ID record handling. + * Fix service browsing and storage. + * Fix authentication and encryption for input devices. + * Fix adapter name initialization. + version 4.5: + * Fix initialization issue with new adapters. + * Send HID authentication request without blocking. + * Hide the verbose SDP debug behind SDP_DEBUG. + * Add extra UUIDs for service discovery. + * Add SCO server socket listener. + * Add authorization support to service plugin. + +------------------------------------------------------------------- +Mon Sep 15 17:06:46 CEST 2008 - dmueller@suse.de + +- fix devel package requires + +------------------------------------------------------------------- +Tue Sep 9 15:08:23 CEST 2008 - seife@suse.de + +- initial checkin of BlueZ 4 + diff --git a/bluez.changes.sle b/bluez.changes.sle new file mode 100644 index 0000000..b37bac6 --- /dev/null +++ b/bluez.changes.sle @@ -0,0 +1,2476 @@ +------------------------------------------------------------------- +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 + 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 + - The code shall check if the prepare writes would append more the + allowed maximum attribute length. (bsc#1194704 CVE-2022-0204) + +------------------------------------------------------------------- +Fri Mar 4 20:49:20 UTC 2022 - Martin Wilck + +- Install modprobe.conf files to %_modprobedir (bsc#1196275, jsc#SLE-20639) + +------------------------------------------------------------------- +Wed Oct 27 14:39:23 UTC 2021 - Al Cho + +- update to version 5.62 (JIRA-SLE-18497): + * 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. +- refresh patch + hcidump-fixed-hci-frame-dump-stack-buffer-overflow.patch + +------------------------------------------------------------------- +Tue Oct 12 10:34:09 UTC 2021 - Al Cho + +- update to version 5.61 (JIRA-SLE-18497): + * 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. + +- fix bluez-auto-enable-devices subpackage (boo#1177845) +- add bluez-test-2to3.diff to get rid of python2 dependency +- remove notification message from bluez-deprecated package. + also boo#1188660 +- refresh other patches + +------------------------------------------------------------------- +Fri Jul 30 10:25:30 UTC 2021 - Al Cho + +- update to 5.60 (JIRA-SLE-18497): + * 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. +- 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 +- 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. +- 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 +- remove obsolete upstreamed patches: + shared-gatt-server-Fix-not-properly-checking-for-sec.patch + (bsc#1186463 CVE-2021-0129) + gatt-Fix-potential-buffer-out-of-bound.patch + (bsc#1187165 CVE-2021-3588) + shared-gatt-db-Introduce-gatt_db_attribute_set_fixed.patch + (bsc#1187165 CVE-2021-3588) + gatt-Make-use-of-gatt_db_attribute_set_fixed_length.patch + (bsc#1187165 CVE-2021-3588) +- refresh other patches + +------------------------------------------------------------------- +Wed Jul 14 10:55:42 UTC 2021 - Al Cho + +- Add gatt-Fix-potential-buffer-out-of-bound.patch + * When client features is read check if the offset is within the cli_feat + bounds. (bsc#1187165 CVE-2021-3588) +- Add shared-gatt-db-Introduce-gatt_db_attribute_set_fixed.patch + * This enables user to inform if an attribute has a fixed length so it can + automatically perform bounds checking. (bsc#1187165 CVE-2021-3588) +- Add gatt-Make-use-of-gatt_db_attribute_set_fixed_length.patch + * This makes use of gatt_db_attribute_set_fixed_length so the database is + aware of the length of the values and perform bounds checking. + (bsc#1187165 CVE-2021-3588) + +------------------------------------------------------------------- +Fri Jun 11 10:13:10 UTC 2021 - Al Cho + +- Add + shared-gatt-server-Fix-not-properly-checking-for-sec.patch + * Fix not properly checking for secure flags + (bsc#1186463 CVE-2021-0129 CVE-2020-26558) + +------------------------------------------------------------------- +Tue Sep 15 17:11:32 UTC 2020 - Al Cho + +- update to 5.55: + * Fix issue with handling security level for HoG. + * Fix issue with handling HIDSDPDisable attribute. + * Fix issue with handling HID virtual cable unplug. + * Fix issue with handling HID channel disconnect order. + * Fix issue with handling AVDTP delay reporting states. + * Fix issue with handling AVRCP notification events. + * Fix issue with handling AVRCP list player attributes. + * Fix issue with handling AVRCP category 1 player settings. + * Fix issue with handling AVRCP media player passthrough bitmask. + * Fix issue with handling HFP 1.7 default features. + * Fix issue with handling GATT disconnecting handling. + * Fix issue with handling GATT database hash. + * Fix issue with handling service changed characteristic. + * Fix issue with handling read of multiple characteristic values. + * Fix issue with handling Just-Works auto-accept pairing. + * Fix issue with handling authentication of bonded devices. + * Fix issue with handling L2CAP streaming mode for AVDTP. + * Fix issue with handling SysEx parser for MIDI support. + * Fix issue with handling configured scan parameter values. + * Fix issue with handling temporary devices removal. + * Fix issue with handling advertising flags. +- update to bluez-5.54: + * Fix issue with HOGP to accept data only from bonded devices. + * Fix issue with A2DP sessions being connected at the same time. + * Fix issue with class UUID matches before connecting profile. + * Add support for handling MTU auto-tuning option for AVDTP. + * Add support for new policy for Just-Works repairing. + * Add support for Enhanced ATT bearer (EATT). +- update to bluez-5.53: + * Fix issue with handling unregistration for advertisment. + * Fix issue with A2DP and handling recovering process. + * Fix issue with udpating input device information. + * Add support for loading blocked keys. +- update to version 5.52: + * Fix issue with AVDTP session disconnect timeout handling. + * Mark media endpoint APIs as stable interfaces. +- update to version 5.51: + * Fix issue with first agent not being registered as default. + * Fix issue with loading devices without Service Changed CCC. + * Fix issue with GATT client and extended property reading. + * Fix issue with handling GATT client invalid read behavior. + * Fix issue with handling GATT disconnect handler removal. + * Fix issue with missing GATT/GAP service records for SDP. + * Fix issue with checking SDP continuation state length. + * Fix issue with HID device removal on HoG disconnect. + * Fix issue with AVDTP and session destroy handling. + * Fix issue with AVCTP and output MTU accounting. + * Fix issue with AVRCP and creating media items. + * Add support for GATT database caching feature. + * Add experimental support for Bluetooth Mesh Profile. +- update to version 5.50: + - Fix issue with GATT and reading long values. + - Fix issue with GATT and reading multiple includes. + - Fix issue with GATT and service changes when offline. + - Fix issue with handling secondary service discovery. + - Fix issue with handling persistency of CCC values. + - Fix issue with handling Mesh session on disconnection. + - Fix issue with handling Mesh proxy PDU SAR message length. + - Fix issue with handling Mesh default heartbeat TTL value. + - Add support for Mesh node-reset operation handling. + - Add support for GATT authorization request handling. + - Add support for GATT minimum key size requirements. + - Add support for GATT server and included services. + - Add support for handling additional advertising data. + - Add support for handling separate discoverable state. + - Add support for enabling HFP version 1.7 features. + - Add support for dedicated Bluetooth logging daemon. +- update to version 5.49: + This is mostly a bug fix release, with fixes to features such as + AVCTP, OBEX, GATT and Mesh. There are however some notable new + features also, such as improved heartbeat management support in + meshctl as well as a new experimental ConnectDevice D-Bus method + on the Adapter interface, which can be used for quick device + object creation for testing purpose or when information about the + device has been received over some Out-of-Band channel. +- Add --enable-external-ell to actually make use of pkgconfig(ell). +- remove obsolete upstreamed patches: + * 0001-obexd-use-AM_LDFLAGS-for-linking.patch + * 0001-core-Fixes-order-InterfaceAdded.patch + * tools-Fix-build-after-y2038-changes-in-glibc.patch + * hcidump-Fix-set_ext_ctrl-global-buffer-overflow.patch + * 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 +- use autopatch, spec-cleaner +- refresh other patches + +------------------------------------------------------------------- +Thu Dec 5 03:08:47 UTC 2019 - Al Cho + +- Add tools-Fix-build-after-y2038-changes-in-glibc.patch + * The 32-bit SIOCGSTAMP has been deprecated. Use the deprecated + name to fix the build.(bsc#1156544) + +------------------------------------------------------------------- +Tue Oct 15 09:09:39 UTC 2019 - Al Cho + +- Add + hcidump-Fixed-malformed-segment-frame-length.patch + * Ensure the L2CAP SDUs whose length field match the actual frame + length.(bsc#1013712)(CVE-2016-9798) +- Modify bluez.changes: + Remove (bsc#1013712)(CVE-2016-9798) tag from patch + hcidump-Add-assoc-dump-function-assoc-date-length-ch.patch + +------------------------------------------------------------------- +Thu Apr 25 08:49:38 UTC 2019 - Al Cho + +- Add + hcidump-Add-assoc-dump-function-assoc-date-length-ch.patch + * amp_assoc_dump() didn't check the length of amp assoc struct. + (bsc#1013712)(CVE-2016-9798)(bsc#1013708)(CVE-2016-9797) + Add hcidump-Fix-memory-leak-with-malformed-packet.patch + * Do not allow to read more than allocated data buffer size. + (bsc#1015171)(CVE-2016-9917) +- Refresh patches: + patches/bluez-cups-libexec.patch + patches/bluez-5.45-disable-broken-tests.diff +- fix bluez.changes: + add (bsc#1013893)(CVE-2016-9802) tag for last log. + +------------------------------------------------------------------- +Thu Jan 24 10:18:23 UTC 2019 - Al Cho + +- Add:btmon: multiple memory management vulnerabilities fixed + Multiple different memory management vulnerabilities were discovered + in btmon while fuzzing it with American Fuzzy Lop. Purpose of this + fuzzing effort was to find some bugs in btmon, analyse and fix them + but also try to exploit them. Also goal was to prove that fuzzing is + low effort way to find bugs that could end up being severe ones. + Most common weakness appeared to be buffer over-read which was + usually caused by missing boundary checks before accessing array. + Integer underflows were also quite common. Most interesting bug was + simple buffer overflow that was actually discovered already couple + years ago by op7ic: + https://www.spinics.net/lists/linux-bluetooth/msg68898.html + but it was still not fixed. This particular vulnerability ended up + being quite easily exploitable if certain mitigation technics were + disabled.(bsc#1015173)(CVE-2016-9918)(bsc#1013893)(CVE-2016-9802) + 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 + +------------------------------------------------------------------- +Fri Dec 7 03:11:32 UTC 2018 - Al Cho + +- Add hcidump-fixed-hci-frame-dump-stack-buffer-overflow.patch + to replace + CVE-2016-9800-tool-hcidump-Fix-memory-leak-with-malformed-packet.patch + (PATCH-FIX-UPSTREAM)(bsc#1013721)(CVE-2016-9800) + Add hcidump-Fix-set_ext_ctrl-global-buffer-overflow.patch + to fix global buffer overflow (PATCH-FIX-UPSTREAM) + (bsc#1013732)(CVE-2016-9801) +- Fix %ifarch range. + +------------------------------------------------------------------- +Fri Jul 13 09:16:23 UTC 2018 - seife+obs@b1-systems.com + +- add 0001-core-Fixes-order-InterfaceAdded.patch (boo#1101119) + to fix headset connect after suspend/resume + +------------------------------------------------------------------- +Thu Jun 28 10:27:23 UTC 2018 - acho@suse.com + +- Add lost patches for RPi3 bluetooth support (bsc#995059)(bsc#1094902) + 0001-rpi3-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch + 0002-rpi3-Move-the-43xx-firmware-into-lib-firmware.patch + +------------------------------------------------------------------- +Fri May 4 04:20:36 UTC 2018 - acho@suse.com + +- Add + CVE-2016-9800-tool-hcidump-Fix-memory-leak-with-malformed-packet.patch + * Fix hcidump memory leak in pin_code_reply_dump(). + (bsc#1013721)(CVE-2016-9800) + CVE-2016-9804-tool-hcidump-Fix-memory-leak-with-malformed-packet.patch + * Fix hcidump buffer overflow in commands_dump(). + (bsc#1013877)(CVE-2016-9804) + +------------------------------------------------------------------- +Tue Jan 30 16:05:52 UTC 2018 - normand@linux.vnet.ibm.com + +- Add disable_some_obex_tests.patch bypass boo#1078285 for PowerPC + +------------------------------------------------------------------- +Fri Dec 29 17:21:34 UTC 2017 - seife+obs@b1-systems.com + +- update to version 5.48: + This release brings many fixes and feature enhancements. + Some notable enhancements include support for devices with the + BLE battery service, as well as improved Mesh support in the + meshctl tool. Several previously experimental D-Bus APIs have now + been marked as stable, notably the Advertising Manager API as + well as the AquireWrite & AquireNotify GATT APIs. + As far as fixes go, these can be found in many areas of the stack, + including A2DP, AVCTP, device discovery, Mesh, and GATT. + +------------------------------------------------------------------- +Tue Dec 12 08:23:07 UTC 2017 - seife+obs@b1-systems.com + +- add 0001-obexd-use-AM_LDFLAGS-for-linking.patch +- document systemd dependency during %post + +------------------------------------------------------------------- +Sun Sep 17 22:34:07 UTC 2017 - seife+obs@b1-systems.com + +- update to version 5.47: + This release contains various fixes to GATT, A2DP and BR/EDR vs + LE bearer handling. There’s also a notable SDP fix for CVE-2017- + 1000250 (part of the recently announced BlueBorne vulnerabilities). + Feature-wise, there’s now support for adding the appearance and + local name to advertising data through the Advertising D-Bus + interface. The btmon tool is now also able to better decode most + Bluetooth 5.0 HCI commands and events. + The Bluetooth Mesh Profile specification was released recently, + and this BlueZ release comes with initial support for it in the + form of a new meshctl tool. Using this tool it’s possible to + provision mesh devices through the GATT Provisioning Bearer + (PB-GATT), as well as communicate with them (e.g. configure them) + using the GATT Proxy protocol. + +------------------------------------------------------------------- +Sat Jul 15 07:14:55 UTC 2017 - seife+obs@b1-systems.com + +- update to version 5.46: + * Fix issue with handling ATT over BR/EDR connections. + * Fix issue with SDP browsing cleanup after connection. + * Fix issue with pointer dereference and OPP Put request. + * Fix issue with identity address updates during pairing. + * Fix issue with not removing services that had disappeared. + * Add support for improved discovery of included services. + * Add support for simplified characteristics discovery. + * Add support for GATT caching configuration option. + * Add experimental support for AcquireWrite and AcquireNotify. + +------------------------------------------------------------------- +Fri Jul 7 19:17:20 UTC 2017 - seife+obs@b1-systems.com + +- enable sixaxis plugin + +------------------------------------------------------------------- +Sun Jun 25 11:53:02 UTC 2017 - msuchanek@suse.com + +- Add %post/%postun to bluez-auto-enable-devices so the settings + change takes effect (boo#1039476) + +------------------------------------------------------------------- +Thu Jun 8 06:54:26 UTC 2017 - seife+obs@b1-systems.com + +- add bluez-auto-enable-devices subpackage with main.conf which + auto-enables all devices (boo#1039476) + +------------------------------------------------------------------- +Fri May 26 13:16:07 UTC 2017 - seife+obs@b1-systems.com + +- add bluez-5.45-disable-broken-tests.diff to disable two broken + tests (reported upstream but not yet fixed) + +------------------------------------------------------------------- +Sat May 6 18:59:55 UTC 2017 - seife+obs@b1-systems.com + +- update to version 5.45: + This is mostly a bugfix release with fixes in ATT, GATT, OBEX + and AVDTP. + Feature-wise there are some new things as well, such as btmon + support decoding Bluetooth 5.0 HCI commands and events. + +------------------------------------------------------------------- +Fri Mar 3 09:16:29 UTC 2017 - seife+obs@b1-systems.com + +- make testsuite run non-parallel (it has problems with running + parallel checks) and quiet + +------------------------------------------------------------------- +Wed Mar 1 21:22:42 UTC 2017 - seife+obs@b1-systems.com + +- update to version 5.44: + Most fixes are LE (specifically GATT) related, however some other + areas are affected as well. + Feature-wise, there’s a new MIDI plugin and support for using + single-mode (LE-only) controllers that lack a public address. + E.g. any nRF5x controller running a MyNewt or Zephyr based + firmware falls into this category. +- packaging: add "--enable-midi", "--enable-deprecated" + TODO: package deprecated tools into separate package to prepare + removal some time in the future +- rebase bluez-cups-libexec.patch + +------------------------------------------------------------------- +Wed Mar 1 11:39:56 UTC 2017 - tchvatal@suse.com + +- Set the cupsdir directly with patch instead of mv and seds: + * bluez-cups-libexec.patch +- Replace requirements by the pkgconfig counterparts + * this should solve out the problem with builcycle on Factory +- Ran over with spec-cleaner + +------------------------------------------------------------------- +Sat Oct 29 09:23:59 UTC 2016 - seife+obs@b1-systems.com + +- update to version 5.43: + This is almost purely a bug-fix release with fixes to HoG, ATT + and PAN. There’s also a fix for a regression in 5.42 that caused + connection failures for external profiles like OBEX. + Feature-wise there’s one notable addition: LE privacy. By + enabling this in main.conf it’s now possible to make BlueZ + generate a local Identity Resolving Key (IRK) and use Resolvable + Private Addresses (RPAs) for itself. + +------------------------------------------------------------------- +Mon Sep 26 17:41:20 UTC 2016 - seife+obs@b1-systems.com + +- update to version 5.42: + The major API change with this release is that the GATT D-Bus API + is no longer marked as experimental.This should hopefully + encourage the creation of more applications using it. Feature- + wise, btmon received support for decoding full mgmt message + traces - a feature that is available in the bluetooth-next kernel + tree, i.e. on its way to the 4.9 kernel release. In addition to + these changes, this release contains also fixes in areas such as + PBAP, transport selection (BR/EDR vs LE), ATT and A2DP. + +------------------------------------------------------------------- +Sun Jul 31 21:42:27 UTC 2016 - jengelh@inai.de + +- Update descriptions a bit. Adjust RPM groups for what is used + in openSUSE normally. Drop archaic %clean section. + Drop --with-pic which is only for (unbuilt) static libs. + +------------------------------------------------------------------- +Wed Jul 20 22:32:18 UTC 2016 - seife+obs@b1-systems.com + +- update to version 5.41: + BlueZ 5.41 is purely a bug-fix release targeting areas such as + GATT, AVRCP, OBEX and device discovery filters. The GATT D-Bus + API is now starting to be stable enough that this will likely be + the last release where it is flagged as experimental. +- fix build with older distributions that don't have %_userunitdir + ins systemd-rpm-macros + +------------------------------------------------------------------- +Tue Jun 7 13:17:48 UTC 2016 - fbui@suse.com + +- Don't require systemd-devel but systemd-rpm-macros (bsc#983167) + Bluez simply needs to know where the systemd default paths are, at + build time. For that there's no need to build-require systemd or + systemd-devel (and pull all theirs dependencies). Instead + build-require systemd-rpm-macros, which has much less dependencies. + +------------------------------------------------------------------- +Sat May 28 07:33:16 UTC 2016 - seife+obs@b1-systems.com + +- update to version 5.40: + This is mostly a bug fix release fixing issues with GATT, paired + devices and connection handling (particularly for accepting + connections through the Profile D-Bus interface). + One new feature is the ability to use btmon for reading HCI logs + from a TTY device. Right now the creation of this kind of logs is + available with Zephyr in the + form of a special console logging mode (more information + available here + https://www.zephyrproject.org/doc/board/arduino_101_ble.html#getting-hci-traces>). + The format of the protocol is a slight modification of what btmon + normally receives from the kernel monitor sockets, and is + documented in doc/btsnoop.txt). + +------------------------------------------------------------------- +Sun Apr 10 09:37:14 UTC 2016 - seife+obs@b1-systems.com + +- update to version 5.39: + This is almost entirely a bug fix release with important fixes to + GATT, HoG, AVRCP & A2DP. +- install gatttool, needed for bluetooth 4.0 devices (boo#970628) + +------------------------------------------------------------------- +Fri Mar 18 14:22:39 UTC 2016 - seife+obs@b1-systems.com + +- update to version 5.38: + This release has lots of updates and fixes to the GATT D-Bus API. + It should be working considerably better now. A key change to the + GATT D-Bus API is that it is now fully conforming to the word of + the D-Bus Object Manager specification. Instead of registering + each service individually with an Object Manager interface per + service path, all application services are now grouped together + through a single RegisterApplication call. The details can be + found in gatt-api.txt. Besides the D-Bus API change there are + also numerous fixes to GATT functionality in general. + Other areas that received fixes in this release are OBEX, AVRCP + and 128-bit UUID handling. Feature-wise there isn’t anything + groundbreaking, but a notable update is support for the Start + Limited Discovery command in the btmgmt tool (this feature + debuted with the 4.5 kernel release). + * Fix issue with stack overflow and UUID handling. + * Fix issue with ObjectManager interface and GATT. + * Fix issue with GATT database and error handling. + * Fix issue with GATT client notifications. + * Fix issue with GATT object ordering. + * Fix issue with GATT default MTU exchange. + * Fix issue with device attribute clearing. + * Fix issue with AVRCP capabilities request. + +------------------------------------------------------------------- +Mon Dec 28 08:27:37 UTC 2015 - seife+obs@b1-systems.com + +- update to version 5.37: + * Fix issue with registering external profiles. + * Fix issue with connecting external profiles. + * Fix issue with GATT service changed handling. + * Fix issue with not emitting GattServices update. + * Convert to unified HID over GATT profile support. + * Convert to KeyboardDisplay as default IO capability. + * Install btattach utility by default. + +------------------------------------------------------------------- +Fri Oct 30 08:11:30 UTC 2015 - seife+obs@b1-systems.com + +- update to version 5.36: + This release consists for the most part of bug fixes that target + areas such as PBAP, AVRCP and GATT. + Feature-wise a notable change is btmon support for vendor + diagnostic messages which will be debuting with the 4.4 Linux + kernel release. This feature will allow e.g. LMP tracing with + specific controllers. For now there is preliminary support for + Intel and Broadcom based controllers. +- update dbus-devel buildrequires from configure.ac +- remove obsolete bluez-no-duplicate-test-names.patch + +------------------------------------------------------------------- +Mon Sep 28 19:02:15 UTC 2015 - seife+obs@b1-systems.com + +- update to version 5.35: + This release contains bugfixes to areas such as GATT, OBEX, HoG + and AVRCP. From now on bluetoothd will cache more information of + remote GATT databases and thereby avoid unnecessary rediscovery + of remote services. + A noteworthy new feature is the ability to configure bluetoothd + to automatically enable (power on) all new adapters. One use of + this is to replace unreliable "hciconfig hci0 up" commands that + some distributions use in their init/udev scripts. The feature + can be enabled by having "AutoEnable=true" under the "[Policy]" + section of /etc/bluetooth/main.conf + +------------------------------------------------------------------- +Thu Sep 10 13:24:58 UTC 2015 - dimstar@opensuse.org + +- Add bluez-no-duplicate-test-names.patch: Fix test suite when + running against GLIB 2.45.x (test names are not to be used + duplicated). + +------------------------------------------------------------------- +Fri Sep 4 10:39:32 UTC 2015 - seife+obs@b1-systems.com + +- update to version 5.34: + This release fixes a fairly important bug for the GATT D-Bus + interface where automatic reconnections would not always occur + for the client role. There’s also a fix for a missing attribute + in PBAP & MAP SDP records as well as a couple of audio related + fixes. A new feature in this release is Media Player Selection + support for the Target role of AVRCP (the Controller role already + had this). + +------------------------------------------------------------------- +Fri Jul 31 12:24:09 UTC 2015 - seife+obs@b1-systems.com + +- update to version 5.33: + This release contains mostly bugfixes, particularly in areas such + as the audio plugin, GATT and OBEX. The main feature additions + are in the the emulator code which received improvelents to LE + features. There’s also a new tool for testing the recently + released Eddystone protocol from Google. + +------------------------------------------------------------------- +Tue Jul 7 21:22:05 UTC 2015 - seife+obs@b1-systems.com + +- update to version 5.32: + This is mostly a bug fix release rather than including many new + features. The fixes fall in several different areas, including + OPP, ATT and advertising (instance number handling in + particular). There’s also a fix for handling a sudden disconnect + when a connection setup process hasn’t yet completed. The one + notable feature this release has is the ability to select between + letting the stack handle ATT security elevation or doing the + respective error handling in higher layers. + +------------------------------------------------------------------- +Tue Jun 16 05:39:22 UTC 2015 - seife+obs@b1-systems.com + +- update to version 5.31 + Fixes to many different areas, including networking, GATT, HID, + A2DP and AVRCP. Feature-wise we’ve got support for security flags + for the GATT database, allowing fine-grained security level + control for D-Bus clients using the GATT D-Bus API. We’ve also + got a new experimental device discovery filter interface which + allows filtering for a specific remote service, RSSI threshold + or transport (LE vs. BR/EDR). Another new experimental interface + is for LE advertising, which also brings the LE peripheral role + closer to feature completion on a D-Bus level +- remove obsolete bluez-5.30-disable-broken-tests.diff + +------------------------------------------------------------------- +Wed Apr 1 10:35:59 UTC 2015 - seife+obs@b1-systems.com + +- update to version 5.30 + The highlight of this release is the completion of the GATT D-Bus + APIs. We’ve now got both the client and server functionality in + place, however it’s still behind the -E (--experimental) command + line switch. The API is documented in doc/gatt-api.txt and there + are several test tools for it in the tree (even bluetoothctl has + support for it). Another new (and still experimental) D-Bus API + that debuts with this release is one for managing LE Advertising, + i.e. acting in peripheral role. The API is documented in + doc/advertising-api.txt. + Besides the new features, there are several fixes to AVCTP, AVDTP + & AVRCP. There’s also a fix for C++ compiler compatibility with + the library headers as well as a fix for device information not + being stored in certain corner cases. +- add bluez-5.30-disable-broken-tests.diff to fix test suite +- remove -fstack-reuse=none workaround +- remove 20150312-PATCH_BlueZ_shared_gatt-client_Fix_invalid_read-56974.patch + +------------------------------------------------------------------- +Mon Mar 23 14:41:38 UTC 2015 - rguenther@suse.com + +- Build the testsuite with -fstack-reuse=none to workaround broken + test setup. [bnc#923768] + +------------------------------------------------------------------- +Thu Mar 12 12:03:30 UTC 2015 - seife+obs@b1-systems.com + +- update to version 5.29 + This is a comparatively large release with over a month and 475 + commits since 5.28. There have been lots of fixes to the Android + side. Our internal GATT library (used both by ‘normal’ BlueZ as + well as the Android version) received lots of updates for this + release. Other notable changes are a fix for AVCTP key repeat + timeout as well as added support for the Multi Profile + Specification (MPS). +- add 20150312-PATCH_BlueZ_shared_gatt-client_Fix_invalid_read-56974.patch + from bluez-devel for fixing test case failure (will be included in + next bluez release) + +------------------------------------------------------------------- +Tue Feb 3 10:45:20 UTC 2015 - seife+obs@b1-systems.com + +- update to version 5.28 + Here’s the first BlueZ release in 2015. Most of the changes since + the last one are bug fixes, but there’s actually quite many of + them this time, including: + * Fixes to GATT service discovery & probing + * Fix for bearer selection with dual-mode devices + * Fix potential crash when removing devices + * Fix issue with incomplete names in EIR data + * Fix parsing GATT name characteristics + * Fix AVCTP long press & key repetition handling + * Fixes for GATT notification handling + Besides bug fixes we’ve now also got more extensive unit tests + for new GATT code as well as better HCI decoders in btmon for + some less used 4.1 and 4.2 features. The hid2hci tool gained + support for CSR 8510 A10 devices and the hex2hcd tool received a + complete rewrite with better command handling. + +------------------------------------------------------------------- +Sat Dec 27 02:14:49 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.27 + Here comes the traditional x-mas release! + BlueZ 5.27 consists mostly of bug fixes to areas such as GATT + and mgmt (the interface through which bluetoothd talks to the + kernel). The emulation framework has also received many new + features, paving the way for more extensive test automation. + +------------------------------------------------------------------- +Sun Dec 14 21:56:58 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.26 + This release is for the most part a bug-fix release with fixes in + A2DP and OBEX related functionality, but there’s also an added + features for get/set reports for HID over GATT as well as + Phonebook Access Profile 1.2 support + The Bluetooth 4.2 specification went public in early December and + BlueZ 5.26 is the first release with support for its features. + Perhaps the most notable one of these is Low Energy Secure + Connections which will require a 3.19 or newer kernel. This + feature brings LE pairing to the same level of security as it has + been for BR/EDR. LE SC also brings along with it so-called + cross-transport pairing, which means that you only need to pair + once over LE or BR/EDR to get the necessary keys for both + transports between two dual-mode devices. + +------------------------------------------------------------------- +Mon Nov 10 08:22:31 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.25 + This release contains various improvements to MAP and PBAP + support. There are also various GATT related fixes. We’ve also + got a fix for a race condition which could occasionally cause LE + connection/pairing failures. The fix will work for kernels from + 3.13 onward (for older kernels a proper fix isn’t really feasible). +- packaging: remove obsolete README.SUSE and README.packagers + +------------------------------------------------------------------- +Mon Oct 6 10:02:59 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.24 + This release consists for the most part of cleanups and minor + fixes, however there are some new additions too in the form of + Phonebook Access Profile 1.2 and Message Access Profile 1.2 + features. +- packaging: mcaptest tool added to bluez-test package + +------------------------------------------------------------------- +Tue Sep 9 06:28:53 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.23 + This is mostly a bug-fix release with fixes for concurrent + authorization attempts (for untrusted devices), HID, uHID, OBEX, + MAP and AVRCP. We now also have better support for AVCTP/AVRCP + decoding with btmon. + (no other packaging changes besides version bump) + +------------------------------------------------------------------- +Fri Aug 8 06:43:18 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.22 + This release contains several fixes to HID over GATT (HoG) as + well as for AVRCP. Feature-wise there are a couple of notable + additions debuting with the Linux kernel 3.17 release: + * BR/EDR whitelist support. Starting with Linux kernel 3.17 + bluetoothd will no-longer set adapters to connectable by + default. Instead, all configured remote devices are added to + the kernel whitelist after which the kernel will enable page + scanning but only accept connect requests from the whitelist. + This effectively reduces the attack surface for unknown + devices. When whitelist support is available the general + connectable state now follows the discoverable state, meaning + discoverable must be enabled for previously unknown devices to + be able to connect to us. + * Proper LE passive scanning support. For kernels before 3.17 + bluetoothd will use the Start/Stop Discovery commands to + perform LE background scanning. This however uses LE active + scanning which is both wasteful (causing unneeded Scan + Requests) and can cause reconnection issues with devices using + direct advertising (e.g. most LE mice). From kernel version + 3.17 onward bluetoothd will use proper kernel-side passive + scanning, making the background scanning both efficient and + more interoperable. The kernel will even use the + controller-side whitelist during scanning (if no Resolvable + Private Addresses are present), saving even more power. + +------------------------------------------------------------------- +Sun Jul 6 11:47:10 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.21 + Bugfixes and improvements throughout the tree. Fixes to + bluetoothctl to allow using it for scripting. + An important detail of this release is that it supports several + new features that are on their way to the 3.17 kernel. Perhaps + the most important one of these is LE passive scanning. When + run on a kernel that supports it, instead of doing a kind of + "fake" background scanning using the Start Discovery command, + bluetoothd will now tell the kernel the relevant information and + the kernel will then commence passive scanning for devices. +- remove bluez-5.20-fix-queue.patch (fixed upstream) + +------------------------------------------------------------------- +Fri Jun 27 10:56:22 UTC 2014 - seife+obs@b1-systems.com + +- add bluez-5.20-fix-queue.patch to fix test case failure + +------------------------------------------------------------------- +Sat Jun 21 21:30:12 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.20 + For non-Android related parts this is mostly a bug-fix release + with minor fixes here and there as well as improved handling of + PS3 controllers. + +------------------------------------------------------------------- +Tue May 20 06:24:05 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.19 + The release contains fixes to OBEX, AVRCP browsing, HID over GATT + and handling of device unpaired events for dual-mode devices. + There is also a fix to cleanly handle tools like bluetoothctl + taking over the default agent role. Since there is no indication + to the "normal" system default agent this would previously simply + rob this property away without any way to know that this + happened. From 5.19 onward bluetoothd maintains a stack of agents + that have requested to be the default and will hand back the + property to the next item in the stack when bluetoothctl (or some + other tool) exits. + Besides these fixes we’ve got some new additions too: + * User space based HID host implementation (for BR/EDR), to + complement the kernel-side implementation + * A reconnect-upon-linkloss policy for those profiles that need, + such as HFP HF or an A2DP Sink. The list of remote UUIDs to try + to reconnect to is also configurable through main.conf. +- removed bluez-glib2.40.patch, included upstream + +------------------------------------------------------------------- +Tue Apr 29 18:16:11 UTC 2014 - dimstar@opensuse.org + +- Add bluez-glib2.40.patch: Fix build with GLib 2.40: Since GLib + 2.39 calling g_source_remove on already removed source is causing + critical warning. + +------------------------------------------------------------------- +Sun Apr 13 10:46:02 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.18 + "This is mostly a bug fix release with issues fixed regarding LE + single mode device detection and incorrect getpeername() calls + which could have caused incorrect SDP records for profiles + (mainly those using the Profile D-Bus interface with RFCOMM + channel auto-allocation). + On the OBEX side we now have full OBEX authentication support, + which is a fairly useless feature in practice but a mandatory + one for qualification of some OBEX profiles." + +------------------------------------------------------------------- +Wed Mar 26 12:51:17 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.17 + "This is mostly a bug fix release with issues fixed in OBEX, + dual-mode device pairing, and LE related areas." + * Fix issue with not resetting OBEX SRM setup. + * Fix issue with BR/EDR devices and auto-connect list. + * Fix issue with bonding complete detection as peripheral. + * Fix issue with not updating bearer timestamp of connections. + * Fix issue with paired property for multiple bearers. + +------------------------------------------------------------------- +Tue Mar 11 22:24:22 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.16: + * Fix issue with missing paired property notification. + * Fix issue with endianess of long term key storage. + "People using 5.15 are strongly recommended to upgrade because + of these fixes." + * Fix issue with HID over GATT physical location. + * Fix issue with HID over GATT unique identifier. + * Add support for storing signature resolving keys. + +------------------------------------------------------------------- +Sat Feb 22 10:31:52 UTC 2014 - seife+obs@b1-systems.com + +- update to version 5.15: + * Fix issue with LE enabling and background scanning. + * Fix issue with HID over GATT input device name. + * Fix issue with storage of slave long term keys. + * Add support for handling identity resolving keys. + * various android features (not relevant for us) +- minor specfile tweaks to avoid some rpmlint warnings +- permissions of some bluez-test files changes to please rpmlint + +------------------------------------------------------------------- +Thu Jan 23 10:43:53 UTC 2014 - seife+obs@b1-systems.com + +- Update to version 5.14: + * Fix issue with marking PS3 controllers as trusted. + * Fix issue with authorization of PS3 controllers. + * Add support for DualShock 4 controller detection. + * Add support for legacy pairing emulation. + * Add support for secure simple pairing emulation. + * Add support for automated pairing testing. + * Add support for RFCOMM protocol testing. + * Add support for HCI controller testing. +- Add "bluemoon" configuration tool + +------------------------------------------------------------------- +Mon Dec 30 15:46:01 UTC 2013 - hrvoje.senjan@gmail.com + +- Update to version 5.13: + * Fix issue with PS3 controller detection. + * Add support for data transfers to L2CAP testing tool. + * Add support for delay reporting to AVDTP testing tool. + * Add support for Android Bluetooth Core interface. + * Add support for Android Bluetooth Socket interface. + * Add support for Android Bluetooth HID Host interface. + * Add support for Android Bluetooth PAN interface. +Changes since 5.12: + * Fix issue with missing reply to DisconnectProfile. + * Fix issue with icon property and class of device changes. + * Fix issue with HID devices when SDP record is not available. + * Fix issue with handling auto-pairing of printers. + * Fix issue with agent authorization handling. + * Add support for PS3 controller setup and pairing. + * Add support for LE L2CAP CoC test capabilities. + * Add support for AVDTP qualification test cases. + * Add support for SMP cryptographic test cases. + +------------------------------------------------------------------- +Wed Dec 4 13:44:23 UTC 2013 - seife+obs@b1-systems.com + +- add bluez-5.11-logitech-hid2hci.patch, (bnc#681049; bnc#850478) + +------------------------------------------------------------------- +Sun Nov 24 16:43:28 UTC 2013 - crrodriguez@opensuse.org + +- run %uev_rules_update in %post if such macro is defined + +------------------------------------------------------------------- +Mon Nov 18 08:11:54 UTC 2013 - seife+obs@b1-systems.com + +- update to bluez-5.11: + * Fix issue with connection attempt when not powered. + * Fix issue with assigning player to AVRCP target role. + * Fix issue with OBEX default cache directory. + * Fix issue with SDP search error handling. + * Fix issue with processing of SDP records. + * Fix issue with HID to HCI switching utility. + * Fix issue with mgmt end-to-end testing tool. + * Fix issue with L2CAP end-to-end testing tool. + * Add support for SMP end-to-end testing tool. + * Add support for more Wii controllers. + +------------------------------------------------------------------- +Sat Oct 19 08:36:07 UTC 2013 - seife+obs@b1-systems.com + +- remove libnl BuildRequires, it is not needed + +------------------------------------------------------------------- +Wed Oct 16 14:31:38 UTC 2013 - seife+obs@b1-systems.com + +- update to bluez-5.10, changelog from source: + ver 5.10: + * Fix issue with discoverable timeout handling. + * Fix issue with MAP messages and record version. + * Fix issue with MAP messages and status events. + * Fix issue with MAP messages and relative folders. + * Fix issue with MAP messages and type property signals. + * Fix issue with transfer size for OBEX GET operations. + * Fix issue with AVRCP service class identifier. + * Fix issue with AVRCP tracking seeked signal. + * Add support for OBEX command line client. + ver 5.9: + * Fix issue with network service and adapter removal. + * Fix issue with misleading OBEX error messages. + * Fix issue with OBEX transport reference handling. + * Fix issue with memory leak with MAP event handler. + * Fix issue with missing MAP property changed signal. + * Fix issue with message type property values. + * Fix issue with empty UUID list for devices. + * Fix issue with profile agent cancel method. + * Remove dependency on USB library. +- removed bluez-5.4-compilerwarning.diff, is obsolete + +------------------------------------------------------------------- +Tue Oct 8 08:24:15 UTC 2013 - dimstar@opensuse.org + +- Do not package systemd user session service file. +- Change DBus user service to be self-contained, and not rely on + Systemd activation (bnc#842688). + +------------------------------------------------------------------- +Sat Sep 14 08:01:17 UTC 2013 - crrodriguez@opensuse.org + +- place socket in /run , not /var/run (bluez-sdp-unix-path.patch) + +------------------------------------------------------------------- +Fri Aug 16 18:43:49 UTC 2013 - seife+obs@b1-systems.com + +- update to bluez-5.8 + * changelog is in the package + +------------------------------------------------------------------- +Thu Aug 15 06:36:45 UTC 2013 - seife+obs@b1-systems.com + +- update to bluez-5.4 + Huge, incompatible update. Some points: + * hcidump merged + * obexd merged + * no unix socket anymore (only d-bus) + * libbluetooth and bluez-devel is *deprecated* and will be + removed. Only included for now to keep the breakage smaller. +- dropped patches (no longer needed): + * 0001-network-fix-network-Connect-method-parameters.patch + * bluez-4.101-new-automake.diff +- new patch to suppress a stupid compiler warning: + * bluez-5.4-compilerwarning.diff + +------------------------------------------------------------------- +Wed Aug 14 14:00:39 UTC 2013 - guillaume@opensuse.org + +- Disable check when building with qemu (fix armv6) + +------------------------------------------------------------------- +Thu Mar 21 08:07:45 UTC 2013 - mmeister@suse.com + +- Added url as source. + Please see http://en.opensuse.org/SourceUrls + +------------------------------------------------------------------- +Thu Feb 28 14:45:10 UTC 2013 - seife+obs@b1-systems.com + +- add bluez-4.101-new-automake.diff, fix build with automake-1.13.1 + +------------------------------------------------------------------- +Fri Jan 25 08:05:27 UTC 2013 - seife+obs@b1-systems.com + +- also run spec-cleaner on bluez-gstreamer.spec, add README for + packagers, fix bluez-gstreamer changelog + +------------------------------------------------------------------- +Mon Jan 21 11:16:34 UTC 2013 - dimstar@opensuse.org + +- Unconditionally enable the systemd bluetooth service (actual + activation of bluez is triggered by udev) (bnc#796671). +- Run spec-cleaner. + +------------------------------------------------------------------- +Fri Jan 11 14:38:03 UTC 2013 - crrodriguez@opensuse.org + +- Add changelog entry for older change so factory-auto wont reject this. +- This requests removes sbc building and packaging from bluez. +SBC recently gets its own package and sources are even stripped out ot +Bluez in current git master (future 5.0). +On top of that current bluez-devel package conflicts with sbc-devel. +Note: This change may broke packages which use sbc from bluez-devel +as new sbc-devel package use different include path. +This change is required to properly build PulseAudio 3.0 + +------------------------------------------------------------------- +Wed Oct 31 14:50:01 UTC 2012 - crrodriguez@opensuse.org + +- bluez-coldplug init script is forced but it s not needed + when using systemd with dbus activation. + +------------------------------------------------------------------- +Wed Oct 17 11:44:49 UTC 2012 - seife+obs@b1-systems.com + +- remove unused 001-remove-rule-dell-mouse.patch + +------------------------------------------------------------------- +Wed Oct 17 09:18:47 UTC 2012 - fcrozat@suse.com + +- Fix build with new systemd / udev location. + +------------------------------------------------------------------- +Wed Oct 17 08:52:03 UTC 2012 - fcrozat@suse.com + +- Change udev rules location with udev > 190 + +------------------------------------------------------------------- +Tue Aug 28 09:37:12 UTC 2012 - seife+obs@b1-systems.com + +- enable bluetooth.service on install (bnc#772455) + +------------------------------------------------------------------- +Sat Jul 28 13:00:59 UTC 2012 - seife+obs@b1-systems.com + +- remove unused service file (now in upstream tarball) + +------------------------------------------------------------------- +Fri Jul 20 14:58:35 UTC 2012 - seife+obs@b1-systems.com + +- add patch from upstream git to fix bluez networking + +------------------------------------------------------------------- +Wed Jul 11 14:04:54 UTC 2012 - seife+obs@b1-systems.com + +- remove unused bluetooth.sh, bluez-4.75-udev-use-helperscript.diff + +------------------------------------------------------------------- +Wed Jun 27 20:39:52 UTC 2012 - seife+obs@b1-systems.com + +- ver 4.101: + - Fix issue with missing BlueZ service file. + - Fix issue with aborting A2DP setup during AVDTP start. + - Fix issue with handling of multiple A2DP indication. + - Fix issue with handling AVDTP abort with invalid SEID. + - Fix issue with rejecting AVDTP abort commands. + - Add support for handling AVDTP command collision. +- our bluez-4.100 patches are applied upstream +- apitest was removed and is thus no longer in bluez-test + +------------------------------------------------------------------- +Thu Jun 21 08:57:47 UTC 2012 - seife+obs@b1-systems.com + +- remove obsolete configure options +- fix LDFLAGS / "-pie" acinclude.m4 bug + +------------------------------------------------------------------- +Wed Jun 20 11:17:53 UTC 2012 - seife+obs@b1-systems.com + +- update to bluez-4.100: + * Fix issue with crashing when SCO connection fails. + * Fix issue with HFP gateway failing on first GSM connection. + * Fix issue with AVRCP and handling of vendor commands. + * Fix issue with handling AVRCP subunit info command. + * Fix issue with missing capability for AVRCP track reached end. + * Fix issue with AVDTP signaling and GStreamer SBC NULL check. + * Fix issue with AVDTP Reconfigure Reject message. + * Fix issue with incorrect EIR length parsing. + * Fix issue with SDP disconnect for HIDSDPDisable. + * Fix issue with SDP interoperability with Mac OS X Lion. + * Fix issue with reverse SDP discovery with some devices. + * Fix issue with discovering state during power off operation. + * Add support for AVRCP Volume Changed notifications. + * Add support for AVRCP Set Absolute Volume handling. + * Add support for display legacy PIN code agent method. + * Add support for multiple media transports per endpoint. + * Add support for discovering device information characteristics. + * Add support for vendor source for Device ID setting. + * Add support for immediate alert server. + * Add support for link loss server. +- Notes: + * This version requires D-Bus 1.4 or later. + * This version requires GLib 2.28 or later. + +------------------------------------------------------------------- +Thu Apr 26 15:04:58 UTC 2012 - seife+obs@b1-systems.com + +- fix mysterious build failure by creating /var/lib/bluetooth + +------------------------------------------------------------------- +Wed Apr 18 22:09:48 UTC 2012 - jeffm@suse.com + +- Make libsbc installable; Required by update to Opal. + +------------------------------------------------------------------- +Thu Mar 8 21:06:29 UTC 2012 - seife+obs@b1-systems.com + +- update to bluez-4.99: + - Fix issue with missing retries for BNEP connection setup. + - Fix issue with not showing name if first EIR has no details. + - Fix issue with running SDP discovery for LE devices. + - Add support for GATT using 128-bit Bluetooth UUIDs. + - Add support for retrieving key size information. + - Add support for storing Long Term Keys. + - Add support for Proximity Reporter API. + - Add support for KeyboardDisplay IO capability. + - Add support for version 1.0 of management API. + - Add support for monitoring interface. + +------------------------------------------------------------------- +Mon Jan 23 15:23:43 UTC 2012 - seife+obs@b1-systems.com + +- update to bluez-4.98: + - Fix issue with adapter list upon initialization failure. + - Fix issue with missing legacy property for Low Energy. + - Fix issue with missing EIR information handling. + - Fix issue with device address type tracking. + - Fix issue with alert level characteristic. + - Fix issue with headset shutdown handling. + - Fix issue with Wiimote address handling. + - Add support for advanced l2test options. + - Add support for attribute protocol and multiple adapters. + +------------------------------------------------------------------- +Tue Dec 27 11:01:18 UTC 2011 - seife+obs@b1-systems.com + +- update to bluez-4.97: + - Update support for proximity profile. + - Fix issue with SBC audio decoding quality. + - Fix multiple issues with HFP support. + - Fix multiple issues with A2DP support. + - Fix multiple issues with AVDTP support. + - Fix multiple issues with AVRCP support. + - Add support for AVRCP meta-data transfer. + - Add support for Bluetooth based thermometers. +- add %check section to .spec - there is now a unittest + +------------------------------------------------------------------- +Tue Dec 20 19:46:07 UTC 2011 - crrodriguez@opensuse.org + +- kernel.org currently lacks of bluez tarballs +- Fix build failures due to lack of autotools + +------------------------------------------------------------------- +Fri Dec 16 03:22:40 UTC 2011 - crrodriguez@opensuse.org + +- Fix systemd units installation. + +------------------------------------------------------------------- +Wed Nov 16 11:29:07 UTC 2011 - seife+obs@b1-systems.com + +- require pkgconfig(libnl-1) instead of libnl-1_1-devel + +------------------------------------------------------------------- +Fri Sep 16 12:02:37 UTC 2011 - jengelh@medozas.de + +- Select libnl-1_1-devel +- Fix baselibs.conf to produce right package + +------------------------------------------------------------------- +Thu Aug 4 18:51:02 UTC 2011 - seife+obs@b1-systems.com + +- update to bluez-4.96: + - Fix issue with race condition in AVDTP stream start. + - Fix issue with global adapter offline switching. + - Fix issue with pairing and No Bonding devices. + - Add support for Nintendo Wii Remote pairing. +- enable proximity, wiimote, thermometer plugins + +------------------------------------------------------------------- +Tue Jul 5 07:29:57 UTC 2011 - seife+obs@b1-systems.com + +- update to bluez-4.95: + - Fix issue with AVCTP replies with invalid PID. + - Fix issue with AVRCP and unknown packet types. + - Fix issue with AVRCP not using NOT_IMPLEMENTED correctly. + - Fix issue with AVDTP discovery if all endpoints are in use. + - Fix issue with invalid memory writes and media support. + - Fix issue with not removing device alias and unbonding. + - Fix issue with device disconnects and offline mode handling. + - Add support for setting adapter name based on machine-info. + - Add support for systemd service configuration. +- add systemd .service file (systemd support needs more work still) + +------------------------------------------------------------------- +Wed Jun 22 16:02:15 CEST 2011 - meissner@suse.de + +- added baselibs.conf bnc#700840 + +------------------------------------------------------------------- +Tue Jun 14 06:49:35 UTC 2011 - seife+obs@b1-systems.com + +- remove workaround for rpmlint stupidity now that libusb is in / + +------------------------------------------------------------------- +Wed Jun 1 09:46:16 UTC 2011 - seife+obs@b1-systems.com + +- update to bluez-4.94: + - Fix issue with invalid read of memory in various modules. + - Fix issue with buffer overflow when sending AVDTP commands. + - Fix issue with response to vendor dependent AVRCP commands. + - Fix issue with headset when not able to reply with ERROR. + - Fix issue with crash when creating a device from storage. + - Fix issue with handling non UTF-8 devices names. + - Add support for improved discovery procedure. + +------------------------------------------------------------------- +Wed May 4 20:39:21 UTC 2011 - seife+obs@b1-systems.com + +- update to bluez-4.93: + - Fix issue with property type and Health Main channel. + - Fix issue with crash when removing devices. + - Add support for hid2hci and udev integration. +- disable 001-remove-rule-dell-mouse.patch for now + +------------------------------------------------------------------- +Tue Apr 26 07:48:45 UTC 2011 - seife+obs@b1-systems.com + +- update to bluez-4.92: + - Fix issue with handling of A2DP suspend response. + - Fix issue with crashing when acquiring A2DP stream. + - Fix issue with missing check for valid SCO before shutdown. + - Fix issue with waiting for POLLERR when disconnecting SCO. + - Fix issue with disconnect after primary service discovery. + - Fix issue with attribute interface registration. + - Add support for primary services over BR/EDR. + - Add support for flushable packets of A2DP media. + +------------------------------------------------------------------- +Wed Mar 30 07:12:13 UTC 2011 - seife+obs@b1-systems.com + +- update to bluez-4.91: + - Fix issue with LMP version string and hciconfig. + - Fix issue with missing discovery signal when scanning. + - Fix issue with wrong state and canceling name resolving. + - Fix issue with missing check during adapter initialization. + - Fix issue with missing protocol not supported error and A2DP. + - Fix issue with crash during driver unregistering and A2DP. + - Fix issue with crash when receiving AVDTP close command. + - Fix issue with remote SEP handling when A2DP codec changes. + - Fix issue with SCO hangup handling and state changes. + - Fix issue with security level and MCAP instances. + - Fix issue with memory leak and HDP data channels. + - Add support for discover characteristics by UUID to gatttool. + - Add initial support for Out-of-Band association model. + - Add initial support for SIM Access Profile. + +------------------------------------------------------------------- +Fri Mar 18 10:23:18 UTC 2011 - seife+obs@b1-systems.com + +- update to bluez-4.90: + - Fix issue with setting of global mode property. + - Fix issue with handling of RequestSession responses. + - Fix issue with TP_BNEP_CTRL_BV_01_C qualification test. + - Fix issue with too short AVDTP request timeout. + - Add support for SIM Access Profile manager. + - Add support for new UUID utility functions. + - Add support for attribute server notifications. + - Add support for client characteristic configuration. + - Update support for interactive GATT utility. + +------------------------------------------------------------------- +Mon Feb 21 07:56:00 UTC 2011 - seife+obs@b1-systems.com + +- update to bluez-4.89: + - Fix issue with name resolving when discovery is suspended. + - Fix issue with parsing flags of advertising report. + - Fix issue with SEP handling if interface is disabled. + - Fix issue with device object creation on disconnect event. + - Fix issue with indicators whenever the driver is initialized. + - Fix issue with call indicator when parsing call info reply. + - Fix issue with crash and allowed GATT MTU was too large. + - Add support for SDP record of Primary GATT services. + - Add support for interactive mode for GATT utility. +- gattool requires libreadline for its interactive mode now, so + add readline-devel to BuildRequires + +------------------------------------------------------------------- +Mon Feb 14 09:48:26 UTC 2011 - seife+obs@b1-systems.com + +- update to bluez-4.88: + - Fix issue with HID channel reference count handling. + - Fix issue with daemon exit on badly formatted AT+VTS. + - Fix issue with crash while parsing of endpoint properties. + - Fix issue with possible crash on AVDTP Suspend request timeout. + - Fix issue with stopping inquiry before adapter is initialized. + - Fix issue with creating device object when connection fails. + - Fix issue with sending HCIDEVUP when adapter is already up. + - Fix issue with handling bonding IO channel closing. + - Fix agent cancellation in security mode 3 situations. + - Update pairing code to support management interface. +- requires glib2 2.16 or newer + +------------------------------------------------------------------- +Wed Jan 26 12:43:23 UTC 2011 - seife@opensuse.org + +- update to bluez-4.87 + - Fix issue with initialization when adapter is already up. + - Fix issue with attribute server MTU and incoming connections. + - Fix issue with duplicate characteristics after discovery. + +------------------------------------------------------------------- +Thu Jan 20 13:41:53 UTC 2011 - seife@opensuse.org + +- update to bluez-4.86: + - Revert wrong fix for SDP PDU size error response. + - Fix various memory leaks in A2DP and AVDTP support. + - Add Routing property to MediaTransport interface + - Add proper tracking mechanism to NREC status. + - Add READ_BLOB_REQUEST support to attribute server. + +------------------------------------------------------------------- +Tue Jan 11 19:47:49 UTC 2011 - seife@opensuse.org + +- update to bluez-4.85: + - Fix issue with event mask setting for older adapters. + - Fix issue with device creation and pairing failures. + - Add support for telephony support via oFono. + - Add support for characteristic security level. + - Update support for service registration. + +------------------------------------------------------------------- +Tue Dec 28 22:11:32 UTC 2010 - seife@opensuse.org + +- update to bluez-4.84: + - Fix issue with wrong parameters and device found signals. + - Fix issue with leaking EIR data if RSSI does not change. + - Fix issue with adapter initialization state. + - Fix issue with closing of SDP server sockets. + +------------------------------------------------------------------- +Mon Dec 27 00:09:46 UTC 2010 - seife@opensuse.org + +- update to bluez-4.83: + - Fix issue with already connected HFP/HSP endpoints. + - Fix missing reply when create device is canceled. + - Fix memory leak within the attribute server. + - Fix memory leak with unused extended inquiry name. + - Fix setting paired state when device->authr is false. + - Fix clearing authentication request for renewed keys. + - Add support for storing link keys in runtime memory. + - Update support for primary service discovery. + +------------------------------------------------------------------- +Sat Dec 18 21:57:40 UTC 2010 - seife@opensuse.org + +- update to bluez-4.82: + - Fix crash with mmap of files with multiples of page size. + - Fix HFP response and hold (AT+BTRH) command response. + - Fix device creation error response when powered off. + - Fix device removal when connecting/browsing fails. + - Add initial attribute permission implementation. + - Add AVDTP SRC stream send buffer size verification. + - Add support for setting link policy based on features. + +------------------------------------------------------------------- +Tue Nov 30 21:52:31 UTC 2010 - seife@opensuse.org + +- update to bluez-4.81: + - Fix issue with telephony driver initialization. + - Fix issue with adapter services list initialization. + - Fix crash after simultaneous authentication requests. + - Add support for primary service search on device creation. + +------------------------------------------------------------------- +Sun Nov 21 22:28:54 UTC 2010 - seife@opensuse.org + +- update to bluez-4.80: + - Fix legacy link key storing for some buggy adapters. + - Fix invalid memory access when EIR field length is zero. + - Fix adapter initialization to wait for kernel HCI commands. + - Fix initialization of adapters which are already up. + - Fix possible race condition when initializing adapters. + - Fix possible crashes when attempting to connect AVDTP. + - Fix not aborting sink stream configuration on disconnect. + - Fix not indicating disconnected state when connecting to AVDTP. + - Fix not dropping AVDTP session when canceling stream setup. + - Fix AVDTP abort not being send when the state is idle. + - Fix regression with Low Energy and interleave discovery. + - Add a new configuration option to disable Low Energy support. + - Update support for GATT Primary Service Discovery. + - Update MCAP and HDP support. +- disable silent buildrules + +------------------------------------------------------------------- +Tue Nov 9 21:36:56 UTC 2010 - seife@opensuse.org + +- update to bluez-4.79: + - Fix issue with adapter initialization race condition. + - Update new Bluetooth Management interface support. + +------------------------------------------------------------------- +Mon Nov 8 09:32:16 UTC 2010 - seife@opensuse.org + +- patch to current git to fix race condition in hciops causing + adapter detection to fail + +------------------------------------------------------------------- +Sun Nov 7 09:32:52 UTC 2010 - seife@opensuse.org + +- update to bluez-4.78: + - Fix various issues with AVDTP timer handling. + - Fix various issues with handling of mode changes. + - Fix issue with audio disconnect watch in connecting state. + - Fix issue with handling call waiting indicators in telephony. + - Fix issue with handling UUID parameter and RegisterEndpoint. + - Add initial support for Bluetooth Management interface. + - Add support for Application property to HealthChannel. + +------------------------------------------------------------------- +Sun Oct 31 12:37:02 UTC 2010 - jengelh@medozas.de + +- Use %_smp_mflags + +------------------------------------------------------------------- +Wed Oct 27 07:31:04 UTC 2010 - seife@opensuse.org + +- update to bluez-4.77: + - Fix issue with device name and accessing already freed memory. + - Fix issue with handling CHLD=0 command for handsfree. + - Fix issue with manager properties and no adapters. + - Fix issue with properties and broken service records. + - Fix issue with A2DP playback and sample rate changes. + - Update MCAP and HDP support. + +------------------------------------------------------------------- +Fri Oct 15 18:21:57 UTC 2010 - seife@opensuse.org + +- update to bluez-4.76: + - Fix issue in telephony driver with hanging up held call. + - Fix issue in telephony driver with notifications when on hold. + - Fix issue with blocking on setconf confirmation callback. + - Fix issue with not always signaling new streams as sinks. + - Fix issue with errors in case of endpoint request timeout. + - Fix issue with HFP/HSP microphone and speaker gain values. + - Add source if the device attempt to configure local sink stream. + - Add PSM option for GATT/ATT over BR/EDR on gatttool. + - Add support for GATT/ATT Attribute Write Request. + - Update MCAP and HDP support. + +------------------------------------------------------------------- +Tue Oct 5 16:38:28 UTC 2010 - seife@opensuse.org + +- de-fuzz udev rule patch + +------------------------------------------------------------------- +Tue Oct 5 16:23:33 UTC 2010 - seife@opensuse.org + +- update to bluez-4.75: + - Fix use of uninitialized variable on legacy pairing. + - Fix mismatch of attribute protocol opcode. +- bluez-4.74: + - Fix regression for Legacy Pairing. + - Fix wrong PSM value for attribute protocol. + - Fix issue with RSSI field in advertising reports. + - Add support for Add BR/EDR and LE interleaved discovery. + - Add support for GATT write characteristic value option. + - Add support for specifying download address for AR300x. +- bluez-4.73: + - Fix problem with EIR data when setting the name. + - Fix reading local name from command complete event. + - Fix registering local endpoints with disabled socket interface. + - Add support for more HCI operations using ops infrastructure. + - Add support for GATT characteristic hierarchy. + - Add support for GATT indications. + +------------------------------------------------------------------- +Sat Sep 25 18:15:38 UTC 2010 - seife@opensuse.org + +- disable libcap-ng for < 11.3, it is not available there +- fix up bluez-gstreamer.spec to build with the same options as + bluez.spec + +------------------------------------------------------------------- +Thu Sep 23 18:00:27 UTC 2010 - cristian.rodriguez@opensuse.org + +- enable libcap-ng support so the deamon can drop root + privileges + +------------------------------------------------------------------- +Wed Sep 22 13:18:14 UTC 2010 - seife@opensuse.org + +- update to bluez-4.72: + - Fix memory leak while connecting BTIO channels. + - Fix crash with GStreamer plugin if SBC is not supported. + - Fix issue with GATT server stop sending notifications. + - Fix issue with GATT and dealing with the minimum MTU size. + - Fix issue with file descriptor leak in GATT client. + - Add support for UUID 128-bit handling in attribute client. + - Add support for encoders/decoders for MTU Exchange. + - Add support for the MTU Exchange procedure to the server. + - Add support for a per channel MTU to the ATT server. + - Add support for Characteristic interface. + - Add support for new Media API and framework. + - Add initial support for HDP plugin. + +------------------------------------------------------------------- +Thu Sep 9 20:17:38 UTC 2010 - seife@opensuse.org + +- update to bluez-4.71: + - Fix crash with RequestSession and application disconnects. + - Fix memory leak and possible crash when removing audio device. + - Fix issue with closing stream of locked sep when reconfiguring. + - Fix issue where discovery could interfere with bonding. + - Fix issue with Connected status when PS3 BD remote connects. + - Fix issue with lifetime of fake input devices. + - Add support for compile time option of oui.txt path. + - Add support for printing IEEE1284 device ID for CUPS. + - Add plugin for setting adapter class via DMI. + - Add more features for attribute protocol and profile. + - Add initial support for MCAP. + +------------------------------------------------------------------- +Thu Aug 26 07:31:32 UTC 2010 - seife@opensuse.org + +- update to bluez-4.70: + - Fix incoming call indication handling when in WAITING state. + - Fix various SDP related qualification test case issues. + - Fix logic to write EIR when SDP records are changed. + - Fix UTF-8 validity check for remote names in EIR. + - Add support for UUID-128 extended inquiry response. + - Add service UUIDs from EIR to the DeviceFound signal. + - Add fast connectable feature for Handsfree profile. + - Add HCI command and event definitions for AMP support. + - Add firmware download support for Qualcommh devices. + - Add host level support for Atheros AR300x device. + - Add initial support of ATT and GATT for basic rate. +- ALSA config file moved from /etc/alsa/ to /usr/share/alsa/ + +------------------------------------------------------------------- +Wed Jul 14 06:14:38 UTC 2010 - seife@opensuse.org + +- update to bluez-4.69: + - Fix issue with calling g_option_context_free() twice. + - Fix inconsistencies with initial LE commands and events. + - Add support for telephony ClearLastNumber method. + - Add support for network server interface. + +------------------------------------------------------------------- +Tue Jul 13 08:12:57 UTC 2010 - seife@opensuse.org + +- fix instant segfault of bluetoothd (upstream commit + 86b16d8a63d8d6191533418dd1c38ce35c3fbf0a) + +------------------------------------------------------------------- +Tue Jul 13 06:19:00 UTC 2010 - seife@opensuse.org + +- update to bluez-4.68: + - Fix initialization of adapters in RAW mode. + - Add initial set of LE commands and events definitions. + - Add mode option for L2CAP sockets to the BtIO API. + +------------------------------------------------------------------- +Sat Jul 3 14:59:44 UTC 2010 - seife@opensuse.org + +- update to bluez-4.67: + - Fix issue with authentication reply when bonding already completed. + - Fix issue with not canceling authentication when bonding fails. + - Fix issue with changed combination keys and temporary storage. + - Fix issue with sdp_get_supp_feat library function. + - Fix issue with missing unblock on device removal. + - Fix issue with not waiting for mode change completion. + - Add ARMv6 optimized version of analysis filter for SBC encoder. + +------------------------------------------------------------------- +Sun Jun 13 09:27:22 UTC 2010 - seife@opensuse.org + +- update to bluez-4.66: + - Fix regression with full debug enabling via SIGUSR2. + - Fix redundant speaker/microphone gains being sent. + - Fix not emitting PropertyChanged for SpeakerGain/MicrophoneGain. + - Fix issue with storage usage when a record is not found in memory. + - Fix issue with DiscoverServices not retrieving any records. + - Fix audio profile disconnection order to match whitepaper. + - Fix auto-accept confirmation when local agent has NoInputNoOutput. + - Fix remote just-works SSP when MITM protection is required. + - Fix performing dedicated bonding without MITM requirement. + - Add support for storing debug link keys in runtime memory. + +------------------------------------------------------------------- +Mon May 24 20:22:03 UTC 2010 - seife@opensuse.org + +- update to bluez-4.65: + - Fix issues with general bonding being default setting now. + - Fix driver removal upon device removal. + - Add new "Blocked" property to device objects. + - Add hciconfig support for blacklisting. + - Add support for dynamic debug feature. + +------------------------------------------------------------------- +Wed May 5 10:55:39 UTC 2010 - seife@opensuse.org + +- fix coldplug script for udev > 151 (bnc#602773) + +------------------------------------------------------------------- +Thu Apr 29 09:58:04 UTC 2010 - seife@opensuse.org + +- update to bluez-4.64: + - Fix invalid memory access in headset_get_nrec function. + - Fix issue with disconnect event on higher protocol layers. + - Fix issue with list parsing in sdp_set_supp_features function. + - Fix device object reference counting for SDP browse requests. + - Add missing memory checks whenever memory is allocated for SDP. + - Add support for exporting local services via D-Bus. + - Add more L2CAP Enhanced Retransmission test options. +- remove unused "--enable-manpages" configure option + +------------------------------------------------------------------- +Wed Apr 14 15:32:51 CEST 2010 - jsmeix@suse.de + +- In openSUSE 11.3 there is upstream compliant CUPS 1.4 + which means to have a fixed "/usr/lib/cups/" directory + on all platforms (see Novell/Suse Bugzilla bnc#575544). + +------------------------------------------------------------------- +Fri Mar 26 07:20:13 UTC 2010 - seife@opensuse.org + +- update to bluez-4.63: + - Fix avdtp_abort not canceling pending requests. + - Fix stale connection when abort gets rejected. + +------------------------------------------------------------------- +Sun Mar 7 22:32:11 UTC 2010 - seife@opensuse.org + +- update to bluez-4.62: + - Fix accidental symbol breakage with inquiry transmit power. + - Fix using invalid data from previous headset connection. + - Fix double free on AVDTP Abort response. + - Fix possible crash while verifying AVDTP version. + - Fix missing inuse flag when AVDTP stream is configured. + - Add support for Bluetooth controller types. + +------------------------------------------------------------------- +Sat Feb 13 22:38:31 UTC 2010 - seife@opensuse.org + +- update to bluez-4.61: + - Fix issues with Read Inquiry Response Transmit Power Level. + - Fix possible invalid read when removing a temporary device. + - Fix mode restoration when remember_powered is false. + - Fix conference call releasing in telephony-maemo. + - Fix segmentation fault with authorization during headset disconnects. + - Add support for handling unanswered AVDTP request on disconnect. + - Add support for handling Inquiry Response Transmit Power Level. + - Add support for caching of remote host features. + - Add preliminary voice dialing support for HSP. + +------------------------------------------------------------------- +Mon Jan 11 09:47:47 UTC 2010 - seife@opensuse.org + +- update to bluez-4.60: + * Fix voice mailbox number reading from SIM. + * Fix some races with D-Bus mainloop integration. + * Add helpers for D-Bus signal watches. + +------------------------------------------------------------------- +Tue Dec 29 10:14:59 UTC 2009 - seife@opensuse.org + +- update to bluez-4.59: + - Add values for Bluetooth 4.0 specification. + - Add SDP functions for HDP support. + - Add test scripts for input and audio. + - Fix missing close on BtIO create_io function. + - Fix sending incorrect AVDTP commands after timeout occurs. + - Fix timer removal when device disconnects unexpectedly. + - Fix Extended Inquiry Response record for Device ID. +- silence rpmlint warning on bluez-coldplug init script + +------------------------------------------------------------------- +Mon Nov 16 09:02:00 CET 2009 - seife@opensuse.org + +- update to bluez-4.58: + - Fix crash when adapter agent exists during authentication. + - Fix CK-20W quirks for play and pause events. + +------------------------------------------------------------------- +Mon Nov 2 21:51:12 CET 2009 - seife@opensuse.org + +- update to bluez-4.57: + - Fix unloading of drivers for uninitialized adapters. + - Fix debug message to use requested and not opened SEID. + - Fix codec selection for GStreamer plugin. + - Fix deleting of SDP records during service updates. + - Fix deleting of SDP records when a device is removed. + - Fix handling when the SDP record is modified on remote device. + - Fix potential buffer overflow by using snprintf instead of sprintf. + - Fix const declarations for some storage function parameters. + +------------------------------------------------------------------- +Mon Oct 19 10:39:02 CEST 2009 - vlado@suse.cz + +- 001-remove-rule-dell-mouse.patch added to disable udev action + for dell mouse; bnc#522287 + +------------------------------------------------------------------- +Sat Oct 10 23:26:37 CEST 2009 - seife@opensuse.org + +- update to bluez-4.56: + - Add missing values from Bluetooth 3.0 specification. + - Add proper tracking of device paired status. + - Fix tracking of devices without permanently stored link key. + - Fix issue with link key removal after connection failures. + - Fix legacy pairing information based on remote host features. + - Fix off-by-one issue with AVDTP capability parsing. + - Fix AVRCP, AVCTP, AVDTP, A2DP and HFP version numbers. + - Fix agent canceling before calling agent_destroy. + - Fix service record parsing with an empty UUID list. + - Fix various SDP related memory leaks. + +------------------------------------------------------------------- +Sun Oct 4 22:06:46 CEST 2009 - seife@opensuse.org + +- fix reading of config file in udev helper script +- update to bluez-4.55: + - Add support for POSIX capabilities dropping. + - Add special quirk for the Nokia CK-20W car kit. + - Fix error code handling for AVDTP SetConfiguration response. + - Fix updating out of range list when RSSI hasn't changed. + - Fix various memory leaks and unnecessary error checks. + ver 4.54: + - Add introspection interface to output of introspection calls. + - Fix stream handling when media transport disconnects prematurely. + - Fix command timeout handling when there's no stream. + - Fix headset_suspend_stream behavior for invalid states + - Fix issue with AVDTP ABORTING state transition. + - Fix issue with AVDTP suspend while closing. + ver 4.53: + - Fix issue with telephony connection state notifications. + - Fix AVDTP stream leak for invalid media transport config. + - Fix audio connection authorization handling with timeouts. + - Fix race condition in authorizing audio connections. + - Fix device authorized setting for AVRCP-only connections. + - Fix duplicate attempts from device to connect signal channel. + ver 4.52: + - Add AVCTP support to test utility. + - Fix AVDTP Abort when transport closes before response. + - Fix authorization when the audio profiles are slow to connect. + - Fix potential AVDTP reference leaks. + +------------------------------------------------------------------- +Thu Sep 3 14:38:59 CEST 2009 - seife@suse.de + +- update to bluez-4.51: + - Add utility for basic AVDTP testing. + - Add support for configuring L2CAP FCS option. + - Fix discovery mode for CUPS 1.4.x and later. + - Fix global state tracking of audio service. + - Fix last issues with the new build system. + +------------------------------------------------------------------- +Tue Aug 25 07:35:04 CEST 2009 - seife@suse.de + +- update to bluez-4.50: + - Fix various build issues + +------------------------------------------------------------------- +Mon Aug 24 14:57:50 CEST 2009 - seife@suse.de + +- update to bluez-4.49: + - Add simple test program for basic GAP testing. + - Add support for confirmation requests to agent example. + - Add support for full non-recursive build. + - Add five millisecond delay for Simple Pairing auto-accept. + - Fix Class of Device setting when InitiallyPowered=false. + +------------------------------------------------------------------- +Sun Aug 23 00:46:19 CEST 2009 - seife@suse.de + +- fix init script LSB tags + +------------------------------------------------------------------- +Thu Aug 20 18:07:48 CEST 2009 - seife@suse.de + +- try to fix enablement of the coldplug init script + +------------------------------------------------------------------- +Wed Aug 19 15:32:37 CEST 2009 - seife@suse.de + +- add init script so that coldplugging works again (bnc#527856) + +------------------------------------------------------------------- +Mon Aug 17 09:00:05 CEST 2009 - seife@suse.de + +- update to bluez-4.48: + - Add library function for comparing UUID values. + - Add support for creating all plugins as builtins. + - Add support for async handling of service class changes. + - Add support for source interface to audio IPC. + - Fix device name settings when device is off or down. + - Fix issue with enabled SCO server when not necessary. + - Fix missing D-Bus access policy for CUPS backend. + - Fix discovery results of CUPS backend. + - Fix initialization handling of Maemo telephony. + +------------------------------------------------------------------- +Mon Aug 3 09:32:48 CEST 2009 - seife@suse.de + +- update to bluez-4.47: + - Add support for RFKILL unblock handling. + - Add support for serial proxy configurations. + - Add support for caching service class updates. + - Fix issues with updating SDP service records. + - Fix usage of limited discoverable mode. + - Remove deprecated methods and signals for AudioSource. +- bluez-4.46: + - Add support for A2DP sink role. + - Fix clearing svc_cache before the adapter is up. + - Fix various pointer after free usages. + - Fix various memory leaks. + +------------------------------------------------------------------- +Thu Jul 9 11:08:28 CEST 2009 - seife@suse.de + +- packaging: remove unused bluetooth.rules file (thanks darix!) + +------------------------------------------------------------------- +Wed Jul 8 00:00:30 CEST 2009 - seife@suse.de + +- update to bluez-4.45: + - Fix UDEV_DATADIR fallback if pkg-config fails. + - Fix adapter cleanup and setup prototypes. + - Fix double-free with out-of-range devices. + - Fix inband ring setting to be per-headset. + - Fix handling of Maemo CSD startup. + +------------------------------------------------------------------- +Tue Jul 7 10:24:05 CEST 2009 - seife@suse.de + +- update to bluez-4.44: + - Add some missing manual pages. + - Fix three-way calling indicator order. + - Fix downgrade/upgrade of callheld indicator. + - Fix +CIEV sending when indicator value changes. + - Fix signal handling for Maemo telephony driver. + - Fix parsing issues with messages from Maemo CSD. + - Fix issue with duplicate active calls. +- udev rules moved to /lib/udev/rules.d + +------------------------------------------------------------------- +Fri Jul 3 23:27:46 CEST 2009 - seife@suse.de + +- update to bluez-4.43: + - Add support for udev based on-demand startup. + - Fix verbose error reporting of CUPS backend. + - Fix various string length issues. + - Fix issues with Maemo telephony driver. + - Fix another device setup and temporary flag issue. + - Fix and update example agent implementation. +- remove init scripts and D-Bus activation, instead bluetoothd is + now started by udev. Update README.SUSE accordingly. + +------------------------------------------------------------------- +Mon Jun 22 12:49:35 CEST 2009 - cmorve69@yahoo.es + +- fixed build with --as-needed + +------------------------------------------------------------------- +Sun Jun 21 19:11:20 CEST 2009 - seife@suse.de + +- update to bluez-4.42: + This is the release that should contain fixes found during + interoperability testing: + - Add TI WL1271 to Texas Instruments chip list. + - Add special udev mode to bluetoothd. + - Fix regression when there is no agent registered. + - Fix error return when bonding socket hang up. + - Fix SCO server socket for HFP handsfree role. + - Fix shutdown on SCO socket before closing. + - Fix shutdown on A2DP audio stream channel before closing. + - Fix issue with asserting on AVDTP reference count bugs. + - Fix authorization denied issue with certain headsets. + - Fix AVRCP UNITINFO and SUBUNIT INFO responses. + - Fix discovery cancel issues in case SDP discovery fails. + +------------------------------------------------------------------- +Sun Jun 7 19:32:51 CEST 2009 - seife@suse.de + +- update to bluez-4.41: + - Fix pairing even if the ACL gets dropped before successful SDP. + - Fix regression which caused device to be removed after pairing. + - Fix HSP record fetching when remote device doesn't support it. + - Fix SDP discovery canceling when clearing hs->pending. + - Fix headset never connecting on the first attempt. + - Fix headset state tracking if bt_search_service() fails. + - Fix maximum headset connection count check. + - Fix AVDTP Discover timeout handling. + - Fix also UI_SET_KEYBIT for the new pause and play key codes. +- packaging: + - add simple-agent, simple-service and test-network to bluez-test + +------------------------------------------------------------------- +Wed May 20 19:42:27 CEST 2009 - seife@suse.de + +- update to bluez-4.40: + - Add telephony driver for oFono telephony stack. + - Add support for Dell specific HID proxy switching. + - Add support for running hid2hci from udev. + - Add mapping for AVRCP Play and Pause to dedicated key codes. + - Fix AVRCP keycodes to better match existing X keymap support. + - Fix various quoting issues within telephony support. + - Fix memory allocation issue when generating PDUs for SDP. + - Fix race condition on device removal. + - Fix non-cancelable issue with CreateDevice method. + - Fix non-working CancelDiscovery method call. + +------------------------------------------------------------------- +Mon May 11 19:26:39 CEST 2009 - seife@suse.de + +- update to bluez-4.39: + - Add workaround for dealing with unknown inquiry complete. + - Fix discovering when using software scheduler. + - Fix wrong NoInputNoOutput IO capability string. + - Fix race condition with agent during pairing. + - Fix agent cancellation for security mode 3 acceptor failure. + - Fix temporary flag removal when device creation fails. + - Fix hciattach to use ppoll instead of poll. + - Fix service class update when adapter is down. + - Fix service classes race condition during startup. + - Fix release of audio client before freeing the device. + +------------------------------------------------------------------- +Mon May 4 20:57:33 CEST 2009 - seife@suse.de + +- update to bluez-4.38: + - Add support for builtin plugins. + - Add framework for adapter operations. + - Add constants for Enhanced Retransmission modes. + - Fix HCI socket leak in device_remove_bonding. + - Fix various format string issues. + - Fix crashes with various free functions. + - Fix issues with Headset and A2DP drivers to load again. + - Fix sending AVRCP button released passthrough messages + - Fix bug which prevent input devices to work after restart. + - Fix issue with interpretation of UUID-128 as channel. + +------------------------------------------------------------------- +Thu Apr 23 17:26:37 CEST 2009 - seife@suse.de + +- update to bluez-4.37: + - Add version value for Bluetooth 3.0 devices. + - Add additional L2CAP extended feature mask bits. + - Add support for loading plugins in priority order. + - Add support for more detailed usage of disconnect watches. + - Add support for AVRCP volume control. + - Add saturated clipping of SBC decoder output to 16-bit. + - Fix potentially infinite recursion of adapter_up. + - Fix SCO handling in the case of an incoming call. + - Fix input service to use confirm callback. + - Fix cleanup of temporary device entries from storage. + +------------------------------------------------------------------- +Sun Apr 19 12:21:12 CEST 2009 - seife@suse.de + +- update to bluez-4.36: + - Add proper tracking of AVCTP connect attempts. + - Add support to channel pattern in Serial interface. + - Fix A2DP sink crash if removing device while connecting. + - Fix error handling if HFP indicators aren't initialized. + - Fix segfault while handling an incoming SCO connection. + - Fix Serial.Disconnect to abort connection attempt. + +------------------------------------------------------------------- +Sun Apr 12 05:40:31 CEST 2009 - seife@suse.de + +- update to bluez-4.35: + - Add support for Handsfree profile headset role. + - Add additional checks for open SEIDs from clients. + - Fix device removal while audio IPC client is connected. + - Fix device removal when an authorization request is pending. + - Fix incoming AVDTP connect while authorization in progress. + - Fix disconnection timers for audio support. + - Fix various potential NULL pointer deferences. + - Fix callheld indicator value for multiple calls. + - Fix voice number type usage. + - Fix GDBus watch handling. +- add an explicit requires: for the exact libbluetooth3 version + to the bluez package. Fixes the problem that it was possible to + install a newer bluez package without updating the libraries + +------------------------------------------------------------------- +Tue Mar 31 13:43:03 CEST 2009 - seife@suse.de + +- update to bluez-4.34: + - Add support for version checks of plugins. + - Add support for class property on adapter interface. + - Add support for second SDP attempt after connection reset. + - Add support for more detailed audio states. + - Add support for HFP+A2DP auto connection feature. + - Add support for new and improved audio IPC. + - Add program for testing audio IPC interface. + - Fix various AVDTP qualification related issues. + - Fix broken SDP AttributeIdList parsing. + - Fix invalid memory access of SDP URL handling. + - Fix local class of device race conditions. + - Fix issue with periodic inquiry on startup. + - Fix missing temporary devices in some situations. + - Fix SBC alignment issue for encoding with four subbands. + +------------------------------------------------------------------- +Tue Mar 17 06:47:16 CET 2009 - seife@suse.de + +- update to bluez-4.33: + - Add Paired property to the DeviceFound signals. + - Add support for Headset profile 1.2 version. + - Fix broken network configuration when IPv6 is disabled. + - Fix network regression that caused disconnection. + - Fix SDP truncation of strings with NULL values. + - Fix service discovery handling of CUPS helper. + +------------------------------------------------------------------- +Mon Mar 9 20:51:28 CET 2009 - mmarek@suse.cz + +- renamed modprobe config to /etc/modprobe.d/50-bluetooth.conf + (required by new module-init-tools). + +------------------------------------------------------------------- +Mon Mar 2 18:10:00 CET 2009 - seife@suse.de + +- update to bluez-4.32: + - Fix broken SDP record handling. + - Fix SDP data buffer parsing. + - Fix more SDP memory leaks. + - Fix read scan enable calls. + - Fix A2DP stream handling. + +------------------------------------------------------------------- +Thu Feb 26 13:04:25 CET 2009 - seife@suse.de + +- update to bluez-4.31: + - Add support for new BtIO helper library. + - Fix AVDTP session close issue. + - Fix SDP memory leaks. + - Fix various uninitialized memory issues. + - Fix duplicate signal emissions. + - Fix property changes request handling. + - Fix class of device storage handling. + +------------------------------------------------------------------- +Fri Feb 13 09:30:36 CET 2009 - seife@suse.de + +- update to bluez-4.30: + - Add CID field to L2CAP socket address structure. + - Fix reset of authentication requirements after bonding. + - Fix storing of link keys when using dedicated bonding. + - Fix storing of pre-Bluetooth 2.1 link keys. + - Fix resetting trust settings on every reboot. + - Fix handling of local name changes. + - Fix memory leaks in hciconfig and hcitool + +------------------------------------------------------------------- +Sun Feb 8 15:59:45 CET 2009 - seife@suse.de + +- update to bluez-4.29: + - Use AVRCP version 1.0 for now. + - Decrease AVDTP idle timeout to one second. + - Delay AVRCP connection when remote device connects A2DP. + - Add workaround for AVDTP stream setup with broken headsets. + - Add missing three-way calling feature bit for Handsfree. + - Fix handsfree callheld indicator updating. + - Fix parsing of all AT commands within the buffer. + - Fix authentication replies when disconnected. + - Fix handling of debug combination keys. + - Fix handling of changed combination keys. + - Fix handling of link keys when using no bonding. + - Fix handling of invalid/unknown authentication requirements. + - Fix closing of L2CAP raw socket used for dedicated bonding. + +------------------------------------------------------------------- +Thu Feb 5 18:52:46 CET 2009 - seife@suse.de + +- update to bluez-4.28: + - Add AVDTP signal fragmentation support. + - Add more SBC performance optimizations. + - Add more SBC audio quality improvements. + - Use native byte order for audio plugins. + - Set the adapter alias only after checking the EIR data. + - Fix auto-disconnect issue with explicit A2DP connections. + - Fix invalid memory access of ALSA plugin. + - Fix compilation with -Wsign-compare. +- The ALSA plugin now contains a fix to avoid invalid memory + access. This might break some audio players that make + assumptions on some ALSA API calls that are ambigue. Please + report any problems you might encounter. + +------------------------------------------------------------------- +Fri Jan 23 14:48:38 CET 2009 - coolo@suse.de + +- init script should work with strict /bin/sh too + +------------------------------------------------------------------- +Sun Jan 18 13:10:33 CET 2009 - seife@suse.de + +- update to bluez-4.27: + "This release contains multiple fixes for the Simple Pairing support and + newer kernel versions. It highly improves the interoperability and the + security handling with Bluetooth 2.1 based devices." + - Add more SBC optimization (MMX and ARM NEON). + - Add BT_SECURITY and BT_DEFER_SETUP definitions. + - Add support for deferred connection setup. + - Add support for fragmentation of data packets. + - Add option to trigger dedicated bonding. + - Follow MITM requirements from remote device. + - Require MITM for dedicated bonding if capabilities allow it. + - Fix IO capabilities for non-pairing and pairing cases. + - Fix no-bonding connections in non-bondable mode. + - Fix new pairing detection with SSP. + - Fix bonding with pre-2.1 devices and newer kernels. + - Fix LIAC setting while toggling Pairable property. + - Fix device creation for incoming security mode 3 connects. + - Fix crash within A2DP with bogus pointer. + - Fix issue with sdp_copy_record() function. + - Fix crash with extract_des() if sdp_uuid_extract() fails. + +------------------------------------------------------------------- +Thu Jan 15 17:11:19 CET 2009 - seife@suse.de + +- update to bluez-4.26: + - Use of constant shift in SBC quantization code. + - Add possibility to analyze 4 blocks at once in encoder. + - Fix correct handling of frame sizes in the encoder. + - Fix for big endian problems in SBC codec. + - Fix audio client socket to always be non-blocking. + - Update telephony support for Maemo. +- version 4.25: + - Fix receiving data over the audio control socket. + - Fix subbands selection for joint-stereo in SBC encoder. + - Add new SBC analysis filter function. +- version 4.24: + - Fix signal emissions when removing adapters. + - Fix missing adapter signals on exit. + - Add support for bringing adapters down on exit. + - Add support for RememberPowered option. + - Add support for verbose compiler warnings. + - Add more options to SBC encoder. +- version 4.23: + - Update audio IPC for better codec handling. + - Fix bitstream optimization for SBC encoder. + - Fix length header values of IPC messages. + - Fix multiple coding style violations. + - Fix FindDevice to handle temporary devices. + - Add configuration option for DeviceID. + - Add support for InitiallyPowered option. + - Add missing signals for manager properties. + - Add telephony support for Maemo. + +------------------------------------------------------------------- +Tue Jan 13 12:54:33 CET 2009 - seife@suse.de + +- fix the modprobe.d config syntax (bnc#465643) + +------------------------------------------------------------------- +Thu Jan 8 17:09:02 CET 2009 - seife@suse.de + +- add a modprobe.d config, setting reset=1 for btusb (bnc#461369) + +------------------------------------------------------------------- +Sun Dec 7 22:39:05 CET 2008 - seife@suse.de + +- update to bluez-4.22: + - Add deny statements to D-Bus access policy. + - Add support for LegacyPairing property. + - Add support for global properties. + - Add more commands to telephony testing script. + - Add sender checks for serial and network interfaces. + - Remove deprecated methods and signals from input interface. + - Remove deprecated methods and signals from network interface. + - Remove OffMode option and always use device down. + +------------------------------------------------------------------- +Mon Dec 1 18:16:55 CET 2008 - seife@suse.de + +- update to bluez-4.21: + - Fix adapter initialization logic. + - Fix adapter setup and start security manager early. + - Fix usage issue with first_init variable. + +------------------------------------------------------------------- +Mon Dec 1 00:44:09 CET 2008 - seife@suse.de + +- update to bluez-4.20: + - Cleanup session handling. + - Cleanup mode setting handling, removed deprecated RequestMode, + ReleaseMode and Mode methods. + - Fix issue with concurrent audio clients. + - Fix issue with HFP/HSP suspending. + - Fix AT result code syntax handling. + - Add Handsfree support for AT+NREC. + - Add PairableTimeout adapter property. +- refresh pcmciarules patch + +------------------------------------------------------------------- +Sun Nov 23 01:10:59 CET 2008 - seife@suse.de + +- update to bluez-4.19: + - Fix D-Bus signal emmissions for CreateDevice. + - Fix issues with UUID probing. + - Fix +BSRF syntax issue. + - Add Pairable adapter property. + - Add sdp_copy_record() library function. + +------------------------------------------------------------------- +Tue Nov 11 09:26:41 CET 2008 - seife@suse.de + +- add bluez-compat package, containing pand and dund (bnc#435591) + +------------------------------------------------------------------- +Mon Nov 10 09:14:35 CET 2008 - seife@suse.de + +- add DBus API documentation files to the bluez package + +------------------------------------------------------------------- +Sun Nov 9 20:10:15 CET 2008 - seife@suse.de + +- update to bluez-4.18: + - Fix release before close issue with RFCOMM TTYs. + - Fix Connected property on input interface. + - Fix DeviceFound signals during initial name resolving. + - Fix service discovery handling. + - Fix duplicate UUID detection. + - Fix SBC gain mismatch and decoding handling. + - Add more options to SBC encoder and decoder. + - Add special any adapter object for service interface. + - Add variable prefix to adapter and device object paths. + +------------------------------------------------------------------- +Mon Nov 3 13:03:23 CET 2008 - seife@suse.de + +- fix START_SERVICES=no and wrong "Default:"-comment (bnc#435489) + +------------------------------------------------------------------- +Mon Oct 27 20:48:38 CET 2008 - seife@suse.de + +- update to bluez-4.17: + - Fix SBC encoder not writing last frame. + - Fix missing timer for A2DP suspend. + - Add more supported devices to hid2hci utility. + - Add additional functionality to Handsfree support. + +------------------------------------------------------------------- +Wed Oct 22 10:13:44 CEST 2008 - seife@suse.de + +- update to bluez-4.16: + "This release fixes two potential crashes within bluetoothd. + It is strongly advised to upgrade to this version." + - Fix wrong parameter usage of watch callbacks. + - Fix parameters for callback upon path removal. + - Fix unloading of adapter drivers. + ver 4.15: + - Fix various A2DP state machine issues. + - Fix some issues with the Handsfree error reporting. + - Fix format string warnings with recent GCC versions. + - Remove dependency on GModule. + +------------------------------------------------------------------- +Sat Oct 18 13:20:41 CEST 2008 - seife@suse.de + +- update to bluez-4.14: + - Fix types of property arrays. + - Fix potential crash with input devices. + - Fix PS3 BD remote input event generation. + - Allow dynamic adapter driver registration. + - Update udev rules. + +------------------------------------------------------------------- +Tue Oct 14 15:30:49 CEST 2008 - seife@suse.de + +- split up bluez and bluez-gstreamer to avoid circular dependencies + +------------------------------------------------------------------- +Mon Oct 13 07:35:11 CEST 2008 - seife@suse.de + +- update to bluez-4.13: + - Fix service discovery and UUID handling. + - Fix bonding issues with Simple Pairing. + - Fix file descriptor misuse of SCO connections. + - Fix various memory leaks in the device handling. + - Fix AVCTP disconnect handling. + - Fix GStreamer modes for MP3 encoding. + - Add operator selection to Handsfree support. + +------------------------------------------------------------------- +Mon Oct 6 20:34:13 CEST 2008 - seife@suse.de + +- update to bluez-4.12: + - Fix crash with missing icon value. + - Fix error checks of HAL plugin. + - Fix SCO server socket cleanup on exit. + - Fix memory leaks from DBusPendingCall. + - Fix handling of pending authorization requests. + - Fix missing protocol UUIDs in record pattern. + +------------------------------------------------------------------- +Sun Oct 5 16:24:41 CEST 2008 - seife@suse.de + +- update to bluez-4.11: + - Change SCO server socket into a generic one. Should fix + connection issues with headsets. + - Fix uninitialized reply of multiple GetProperties methods. + +------------------------------------------------------------------- +Sat Oct 4 09:59:32 CEST 2008 - seife@suse.de + +- update to bluez-4.10: + - Fix memory leaks with HAL messages. + - Add more advanced handsfree features. + - Add properties to audio, input and network interfaces. + - Stop device discovery timer on device removal. + +------------------------------------------------------------------- +Mon Sep 29 18:56:15 CEST 2008 - seife@suse.de + +- update to bluez-4.9: + - Fix signals for Powered and Discoverable properties. + - Fix handling of Alias and Icon properties. + - Fix duplicate entries for service UUIDs. + +------------------------------------------------------------------- +Mon Sep2y 09:36:31 CEST 2008 - seife@suse.de + +- update to bluez-4.8: + - fix two bluetoothd crashes during device pairing + - reenable HAL plugin, no need for libhal anymore + - hciconfig and hcitool now show all extended features pages + (important because page 1 indicates simple pairing support) + +------------------------------------------------------------------- +Sat Sep 27 07:04:45 CEST 2008 - seife@suse.de + +- fix a crash when e.g. connecting a new input device + +------------------------------------------------------------------- +Fri Sep 26 12:07:21 CEST 2008 - seife@suse.de + +- update to bluez-4.7: + - Fix pairing and service discovery logic. + - Fix crashes during suspend and resume. + - Fix race condition within devdown mode. + - Add RequestSession and ReleaseSession methods. + - Add Powered and Discoverable properties. + - Add Devices property and deprecate ListDevices. + - Add workaround for a broken carkit from Nokia. +- removed bluez-4.6-fix-bluetoothd-crash-after-suspend.diff + +------------------------------------------------------------------- +Thu Sep 25 09:53:08 CEST 2008 - seife@suse.de + +- fix a bluetoothd crash after resume + +------------------------------------------------------------------- +Wed Sep 24 00:12:45 CEST 2008 - seife@suse.de + +- use /dev/shm instead of /var/run for the coldplug-marker, since + /var/run is cleaned up later in the boot process + +------------------------------------------------------------------- +Tue Sep 23 17:31:19 CEST 2008 - seife@suse.de + +- add more useful stuff to bluez-test +- add dbus-activation of bluetoothd +- use dbus-activation to start on adapter hotplug event +- add bluetooth-coldplug init script to make sure that bluetoothd + is started when adapter is plugged in before DBus is started +- add "Provides: bluez-utils" to bluez, to help the solver + +------------------------------------------------------------------- +Wed Sep 17 17:16:54 CEST 2008 - dmueller@suse.de + +- add missing splitprovides +- fix bluez-utils rename +- remove bogus bluez provide + +------------------------------------------------------------------- +Mon Sep 15 23:41:33 CEST 2008 - seife@suse.de + +- update to bluez-4.6: + * add a smooth upgrade path of configured input devices from + BlueZ 3.x to the 4.x series + * fix a couple of regressions with the adapter initialization and + the input service + Detailed changelog: + version 4.6: + * Fix Device ID record handling. + * Fix service browsing and storage. + * Fix authentication and encryption for input devices. + * Fix adapter name initialization. + version 4.5: + * Fix initialization issue with new adapters. + * Send HID authentication request without blocking. + * Hide the verbose SDP debug behind SDP_DEBUG. + * Add extra UUIDs for service discovery. + * Add SCO server socket listener. + * Add authorization support to service plugin. + +------------------------------------------------------------------- +Mon Sep 15 17:06:46 CEST 2008 - dmueller@suse.de + +- fix devel package requires + +------------------------------------------------------------------- +Tue Sep 9 15:08:23 CEST 2008 - seife@suse.de + +- initial checkin of BlueZ 4 + diff --git a/bluez.spec b/bluez.spec new file mode 100644 index 0000000..0eb47b5 --- /dev/null +++ b/bluez.spec @@ -0,0 +1,489 @@ +# +# spec file for package bluez +# +# 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 +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200 +%bcond_without mesh +%else +%bcond_with mesh +%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 + +%if %{undefined _firmwaredir} +%define _firmwaredir /lib/firmware +%endif + +Name: bluez +Version: 5.70 +Release: 0 +Summary: Bluetooth Stack for Linux +License: GPL-2.0-or-later +Group: Hardware/Mobile +URL: http://www.bluez.org +Source: https://www.kernel.org/pub/linux/bluetooth/bluez-%{version}.tar.xz +# we still want debuginfo +#KEEP NOSOURCE DEBUGINFO +Source5: baselibs.conf +Source7: bluetooth.modprobe +Source9: bluez.changes.sle +# fix some logitech HID devices, bnc#681049, bnc#850478 --seife+obs@b1-systems.com +Patch1: bluez-5.11-logitech-hid2hci.patch +Patch2: bluez-sdp-unix-path.patch +# PATCH-FIX-UPSTREAM: find the cups dir in libexec not in libdir +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 +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 +%endif +BuildRequires: automake +BuildRequires: flex +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: readline-devel +BuildRequires: systemd-rpm-macros +BuildRequires: pkgconfig(alsa) +BuildRequires: pkgconfig(check) +BuildRequires: pkgconfig(dbus-1) >= 1.6 +BuildRequires: pkgconfig(glib-2.0) >= 2.28 +BuildRequires: pkgconfig(libcap-ng) +BuildRequires: pkgconfig(libical) +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 +Requires(post): systemd +Recommends: sbc +Provides: bluez-utils = 3.36 +Obsoletes: bluez-utils < 3.36 +Provides: bluez-audio = 3.36 +Obsoletes: bluez-audio < 3.36 +Obsoletes: bluez-hcidump < 5.0 +Provides: bluez-hcidump = %{version} +Obsoletes: obexd-client < 5.0 +Provides: obexd-client = %{version} +%{?systemd_requires} +%if 0%{?suse_version} >= 1550 +BuildRequires: pkgconfig(ell) >= 0.39 +%endif +%if %{with mesh} +# json-c is needed for --enable-mesh +BuildRequires: pkgconfig(json-c) +%endif + +%description +BlueZ provides support for the core Bluetooth layers and protocols. + +%package devel +Summary: Files needed for BlueZ development +License: GPL-2.0-or-later +Group: Development/Languages/C and C++ +Requires: libbluetooth3 = %{version} + +%description devel +Files needed to develop applications for the BlueZ Bluetooth protocol +stack. + +%package -n libbluetooth3 +Summary: Bluetooth Libraries +License: GPL-2.0-or-later +Group: System/Libraries +Provides: bluez-libs = 3.36 +Obsoletes: bluez-libs < 3.36 + +%description -n libbluetooth3 +BlueZ provides support for the core Bluetooth layers and protocols. +It is uses a modular implementation. It has many interesting features: + +* Multithreaded data processing +* Support for multiple Bluetooth devices +* Real hardware abstraction +* Standard socket interface to all layers +* Device and service level security support + +%package cups +Summary: CUPS Driver for Bluetooth Printers +License: GPL-2.0-or-later +Group: Hardware/Printing +Requires: %{name} +Requires: cups +Supplements: (%{name} and cups) + +%description cups +Contains the files required by CUPS for printing to Bluetooth-connected +printers. + +%package test +Summary: Tools for testing of various Bluetooth-functions +License: GPL-2.0-or-later AND MIT +Group: Development/Tools/Debuggers +Requires: python3-dbus-python +Requires: python3-gobject + +%description test +Contains a few tools for testing various bluetooth functions. The +BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A. + +%package auto-enable-devices +Summary: Configuration that automatically enables all bluetooth devices +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 +that are connected to the system if no other tool is handling them (e.g. +desktop specific applets like blueman or GNOME or KDE applets). + +%post auto-enable-devices +{ systemctl status -n0 bluetooth.service > /dev/null && systemctl restart bluetooth.service ; } ||: + +%postun auto-enable-devices +{ systemctl status -n0 bluetooth.service > /dev/null && systemctl restart bluetooth.service ; } ||: + +%if %{with bluez_deprecated} +%package deprecated +Summary: Bluez tools that upstream considers obsolete +License: GPL-2.0-or-later +Group: Hardware/Mobile + +%description deprecated +This package contains tools from the bluez package that are only built +if the "--enable-deprecated" switch is used. These are considered obsolete +by the upstream developers and might contain serious issues, even security +bugs. Use at your own risk. + +Note that this package will go away before end of 2020, change your code +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. + +%package zsh-completion +Summary: Zsh completion for bluez +Group: System/Management +Requires: %{name} +Requires: zsh +Supplements: (%{name} and zsh) +BuildArch: noarch + +%description zsh-completion +This package contain the zsh completion command for the Bluetooth Stack for Linux. + +%prep +%autosetup -p1 +mkdir dbus-apis +cp -a doc/*.txt dbus-apis/ + +# 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/* + +%build +%if 0%{?suse_version} < 1550 +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='\"%{_firmwaredir}\"'" +# because of patch4... +autoreconf -fi +# --enable-experimental is needed or btattach does not build (bug?) +%configure \ + --disable-silent-rules \ + --enable-pie \ + --enable-library \ + --enable-tools \ + --enable-cups \ + --enable-hid2hci \ + --enable-admin \ +%if %{with mesh} + --enable-mesh \ +%endif + --enable-midi \ + --enable-test \ + --enable-experimental \ +%if %{with bluez_deprecated} + --enable-deprecated \ +%endif + --enable-datafiles \ + --enable-sixaxis \ + --with-dbusconfdir=%{_datadir} \ +%if 0%{?suse_version} >= 1550 + --enable-external-ell \ +%endif + --with-systemdsystemunitdir=%{_unitdir} \ + --with-systemduserunitdir=%{_userunitdir} + +%make_build all + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print +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 + +## same as in fedora... +# "make install" fails to install gatttool, used with Bluetooth Low Energy +# boo#970628 +%if %{with bluez_deprecated} +install -m0755 attrib/gatttool %{buildroot}%{_bindir} +%endif + +## install btgatt-client for -test package, see +## https://www.spinics.net/lists/linux-bluetooth/msg63258.html +install -m0755 tools/btgatt-client %{buildroot}%{_bindir} +# btmgmt can be useful +install -m0755 tools/btmgmt %{buildroot}%{_bindir} +# avinfo can be useful for debugging +install -m0755 tools/avinfo %{buildroot}%{_bindir} + +# for auto-enable subpackage +find . -name main.conf +install --mode 0644 -D src/main.conf %{buildroot}/%{_sysconfdir}/bluetooth/main.conf + +# rpmlint warnings... +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} +# boo#1151518 +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 +concerns. See https://bugzilla.opensuse.org/show_bug.cgi?id=1151518 for +details. + +If you want to use this feature anyway, copy +bluetooth-mesh.conf to %{_sysconfdir}/dbus-1/systemd.d/ and +org.bluez.mesh.service to %{_sysconfdir}/dbus-1/system-services/, +then reboot. +EOF +touch -r %{SOURCE0} %{buildroot}%{_defaultdocdir}/%{name}/README-mesh.SUSE +%endif + +%check +%if ! 0%{?qemu_user_space_build} +##make %%{?_smp_mflags} check +# deliberately not running parallel, as the test suite has spurious failures otherwise +%make_build check V=0 +%endif + +%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} +# todo: check if this is still obeyed / needed with systemd +%{fillup_only -n bluetooth} +# We need the bluez systemd service enabled at any time. It won't start up +# on its own, as it is triggered by udev in the end (bnc#796671) +%{_bindir}/systemctl enable bluetooth.service 2>&1 || : +%{_bindir}/systemctl daemon-reload >/dev/null 2>&1 || : + +%preun +%service_del_preun bluetooth.service bluetooth-mesh.service + +%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 + +%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} +%doc %{_defaultdocdir}/%{name}/* +%endif +%license COPYING +%{_bindir}/bluemoon +%{_bindir}/btattach +%{_bindir}/btmgmt +%{_bindir}/l2ping +%{_bindir}/hex2hcd +%{_bindir}/isotest +%{_bindir}/mpris-proxy +%dir %{_libdir}/bluetooth +%dir %{_libdir}/bluetooth/plugins +%{_libdir}/bluetooth/plugins/sixaxis.so +%dir %{_libexecdir}/bluetooth +%{_libexecdir}/bluetooth/bluetoothd +%if %{with mesh} +%{_libexecdir}/bluetooth/bluetooth-meshd +%{_bindir}/mesh-cfgtest +%{_mandir}/man8/bluetooth-meshd.8%{?ext_man} +%endif +%{_bindir}/bluetoothctl +%{_bindir}/btmon +%if %{with mesh} +%{_bindir}/meshctl +%{_bindir}/mesh-cfgclient +%endif +%{_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} +%{_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 +%dir %{_localstatedir}/lib/bluetooth +%dir %{_modprobedir} +%{_modprobedir}/50-bluetooth.conf +%{_unitdir}/bluetooth.service +%if %{with mesh} +%{_unitdir}/bluetooth-mesh.service +%endif +%{_datadir}/dbus-1/system-services/org.bluez.service +# not packaged, boo#1151518 +###%%{_datadir}/dbus-1/system-services/org.bluez.mesh.service + +%files obexd +%{_libexecdir}/bluetooth/obexd +%{_datadir}/dbus-1/services/org.bluez.obex.service +%{_userunitdir}/obex.service + +%if %{with bluez_deprecated} +%files deprecated +%{_bindir}/gatttool +%{_bindir}/hcitool +%{_bindir}/rfcomm +%{_bindir}/sdptool +%{_bindir}/ciptool +%{_bindir}/hciattach +%{_bindir}/hciconfig +%{_bindir}/hcidump +%{_mandir}/man1/hcidump.1%{?ext_man} +%{_mandir}/man1/hciattach.1%{?ext_man} +%{_mandir}/man1/hciconfig.1%{?ext_man} +%{_mandir}/man1/hcitool.1%{?ext_man} +%{_mandir}/man1/sdptool.1%{?ext_man} +%{_mandir}/man1/ciptool.1%{?ext_man} +%{_mandir}/man1/rfcomm.1%{?ext_man} +%endif + +%files devel +%{_includedir}/bluetooth +%{_libdir}/libbluetooth.so +%{_libdir}/pkgconfig/bluez.pc + +%files -n libbluetooth3 +%{_libdir}/libbluetooth.so.* +%doc AUTHORS ChangeLog README +%license COPYING + +%files cups +%dir %{_prefix}/lib/cups +%dir %{_prefix}/lib/cups/backend +%{_prefix}/lib/cups/backend/bluetooth + +%files test +%{_bindir}/avinfo +#{_bindir}/hciemu +%{_bindir}/l2test +%{_bindir}/rctest +%{_bindir}/btgatt-client +%dir %{_libdir}/bluez +%{_libdir}/bluez/test + +%files auto-enable-devices +%dir %{_sysconfdir}/bluetooth +%config(noreplace) %{_sysconfdir}/bluetooth/main.conf + +%files zsh-completion +%{_datadir}/zsh/site-functions/_bluetoothctl + +%changelog diff --git a/disable_some_obex_tests.patch b/disable_some_obex_tests.patch new file mode 100644 index 0000000..b432a6c --- /dev/null +++ b/disable_some_obex_tests.patch @@ -0,0 +1,28 @@ +From: Michel Normand +Subject: disable some obex tests +Date: Tue, 30 Jan 2018 17:01:45 +0100 + +disable some obex tests as transient failures +reported by bug +https://bugzilla.suse.com/show_bug.cgi?id=1078285 + +Signed-off-by: Michel Normand +--- + Makefile.am | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +Index: bluez-5.65/Makefile.am +=================================================================== +--- bluez-5.65.orig/Makefile.am ++++ bluez-5.65/Makefile.am +@@ -502,8 +502,8 @@ unit_test_gdbus_client_LDADD = gdbus/lib + src/libshared-glib.la $(GLIB_LIBS) $(DBUS_LIBS) + + if OBEX +-unit_tests += unit/test-gobex-header unit/test-gobex-packet unit/test-gobex \ +- unit/test-gobex-transfer unit/test-gobex-apparam ++unit_tests += unit/test-gobex-header unit/test-gobex-packet \ ++ unit/test-gobex-apparam + + unit_test_gobex_SOURCES = $(gobex_sources) unit/util.c unit/util.h \ + unit/test-gobex.c diff --git a/hcidump-Add-assoc-dump-function-assoc-date-length-ch.patch b/hcidump-Add-assoc-dump-function-assoc-date-length-ch.patch new file mode 100644 index 0000000..4e18fab --- /dev/null +++ b/hcidump-Add-assoc-dump-function-assoc-date-length-ch.patch @@ -0,0 +1,159 @@ +From 08a69d36726b6345df6e64892cadd5ab5d5ca2a6 Mon Sep 17 00:00:00 2001 +From: "Cho, Yu-Chen" +Date: Tue, 19 Mar 2019 15:54:09 +0800 +Subject: [PATCH BlueZ] hcidump: Add assoc dump function assoc date length check + +amp_assoc_dump() didn't check the length of amp assoc struct. +If there is wrong length size of assoc date, amp_assoc_dump() and +amp_dump_chanlist() will read over the size(heap-buffer-overflow). + +use t_len to save the length avoid use the wrong size of date. +--- + tools/parser/amp.c | 35 +++++++++++++++++++++++++++-------- + tools/parser/hci.c | 4 ++-- + tools/parser/l2cap.c | 6 ++++-- + tools/parser/parser.h | 2 +- + 4 files changed, 34 insertions(+), 13 deletions(-) + +Index: bluez-5.65/tools/parser/amp.c +=================================================================== +--- bluez-5.65.orig/tools/parser/amp.c ++++ bluez-5.65/tools/parser/amp.c +@@ -15,7 +15,8 @@ + #include "parser.h" + #include "lib/amp.h" + +-static void amp_dump_chanlist(int level, struct amp_tlv *tlv, char *prefix) ++static void amp_dump_chanlist(int level, struct amp_tlv *tlv, ++ uint16_t t_len, char *prefix) + { + struct amp_chan_list *chan_list = (void *) tlv->val; + struct amp_country_triplet *triplet; +@@ -25,6 +26,12 @@ static void amp_dump_chanlist(int level, + + printf("%s (number of triplets %d)\n", prefix, num); + ++ if (btohs(tlv->len) > t_len) { ++ p_indent(level+1, 0); ++ printf("Wrong number of triplets\n"); ++ num = (t_len - sizeof(*chan_list)) / sizeof(*triplet); ++ } ++ + p_indent(level+2, 0); + + printf("Country code: %c%c%c\n", chan_list->country_code[0], +@@ -55,7 +62,7 @@ static void amp_dump_chanlist(int level, + } + } + +-void amp_assoc_dump(int level, uint8_t *assoc, uint16_t len) ++void amp_assoc_dump(int level, uint8_t *assoc, uint16_t len, uint16_t t_len) + { + struct amp_tlv *tlv = (void *) assoc; + +@@ -63,6 +70,14 @@ void amp_assoc_dump(int level, uint8_t * + printf("Assoc data [len %d]:\n", len); + + while (len > sizeof(*tlv)) { ++ if (btohs(tlv->len) > (t_len - sizeof(struct amp_tlv))) { ++ p_indent(level+1, 0); ++ printf("Assoc data get error size\n"); ++ t_len -= sizeof(struct amp_tlv); ++ } else { ++ t_len -= sizeof(struct amp_tlv) + btohs(tlv->len); ++ } ++ + uint16_t tlvlen = btohs(tlv->len); + struct amp_pal_ver *ver; + +@@ -78,11 +93,13 @@ void amp_assoc_dump(int level, uint8_t * + break; + + case A2MP_PREF_CHANLIST_TYPE: +- amp_dump_chanlist(level, tlv, "Preferred Chan List"); ++ amp_dump_chanlist(level, tlv, ++ t_len, "Preferred Chan List"); + break; + + case A2MP_CONNECTED_CHAN: +- amp_dump_chanlist(level, tlv, "Connected Chan List"); ++ amp_dump_chanlist(level, tlv, ++ t_len, "Connected Chan List"); + break; + + case A2MP_PAL_CAP_TYPE: +@@ -106,9 +123,11 @@ void amp_assoc_dump(int level, uint8_t * + printf("Unrecognized type %d\n", tlv->type); + break; + } +- +- len -= tlvlen + sizeof(*tlv); +- assoc += tlvlen + sizeof(*tlv); +- tlv = (struct amp_tlv *) assoc; ++ if (btohs(tlv->len) <= t_len) { ++ len -= tlvlen + sizeof(*tlv); ++ assoc += tlvlen + sizeof(*tlv); ++ tlv = (struct amp_tlv *) assoc; ++ } else ++ len = 0; + } + } +Index: bluez-5.65/tools/parser/hci.c +=================================================================== +--- bluez-5.65.orig/tools/parser/hci.c ++++ bluez-5.65/tools/parser/hci.c +@@ -1667,7 +1667,7 @@ static inline void write_remote_amp_asso + printf("handle 0x%2.2x len_so_far %d remaining_len %d\n", cp->handle, + cp->length_so_far, cp->remaining_length); + +- amp_assoc_dump(level + 1, cp->fragment, frm->len - 5); ++ amp_assoc_dump(level + 1, cp->fragment, frm->len - 5, frm->len - 5); + } + + static inline void command_dump(int level, struct frame *frm) +@@ -2650,7 +2650,7 @@ static inline void read_local_amp_assoc_ + p_indent(level, frm); + printf("Error: %s\n", status2str(rp->status)); + } else { +- amp_assoc_dump(level + 1, rp->fragment, len); ++ amp_assoc_dump(level + 1, rp->fragment, len, frm->len - 4); + } + } + +Index: bluez-5.65/tools/parser/l2cap.c +=================================================================== +--- bluez-5.65.orig/tools/parser/l2cap.c ++++ bluez-5.65/tools/parser/l2cap.c +@@ -1159,7 +1159,8 @@ static inline void a2mp_assoc_rsp(int le + + printf("Get AMP Assoc rsp: id %d status (%d) %s\n", + h->id, h->status, a2mpstatus2str(h->status)); +- amp_assoc_dump(level + 1, h->assoc_data, len - sizeof(*h)); ++ amp_assoc_dump(level + 1, h->assoc_data, ++ len - sizeof(*h), frm->len - sizeof(*h)); + } + + static inline void a2mp_create_req(int level, struct frame *frm, uint16_t len) +@@ -1168,7 +1169,8 @@ static inline void a2mp_create_req(int l + + printf("Create Physical Link req: local id %d remote id %d\n", + h->local_id, h->remote_id); +- amp_assoc_dump(level + 1, h->assoc_data, len - sizeof(*h)); ++ amp_assoc_dump(level + 1, h->assoc_data, ++ len - sizeof(*h), frm->len - sizeof(*h)); + } + + static inline void a2mp_create_rsp(int level, struct frame *frm) +Index: bluez-5.65/tools/parser/parser.h +=================================================================== +--- bluez-5.65.orig/tools/parser/parser.h ++++ bluez-5.65/tools/parser/parser.h +@@ -236,7 +236,7 @@ void ericsson_dump(int level, struct fra + void csr_dump(int level, struct frame *frm); + void bpa_dump(int level, struct frame *frm); + +-void amp_assoc_dump(int level, uint8_t *assoc, uint16_t len); ++void amp_assoc_dump(int level, uint8_t *assoc, uint16_t len, uint16_t t_len); + + static inline void parse(struct frame *frm) + { diff --git a/hcidump-Fix-memory-leak-with-malformed-packet.patch b/hcidump-Fix-memory-leak-with-malformed-packet.patch new file mode 100644 index 0000000..6fb96c9 --- /dev/null +++ b/hcidump-Fix-memory-leak-with-malformed-packet.patch @@ -0,0 +1,33 @@ +From 98bee47cca1b8a6b17bb0178f951fe7902abc2f0 Mon Sep 17 00:00:00 2001 +From: "Cho, Yu-Chen" +Date: Wed, 24 Apr 2019 16:10:56 +0800 +Subject: [PATCH BlueZ] tool/hcidump: Fix memory leak with malformed packet + +Do not allow to read more than allocated data buffer size. +Because of the buffer is malloc(HCI_MAX_FRAME_SIZE), +so there is heap buffer overflow if read the size more than +HCI_MAX_FRAME_SIZE and fd size is larger than HCI_MAX_FRAME_SIZE. +--- + tools/hcidump.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +Index: bluez-5.60/tools/hcidump.c +=================================================================== +--- bluez-5.60.orig/tools/hcidump.c ++++ bluez-5.60/tools/hcidump.c +@@ -92,6 +92,15 @@ struct pktlog_hdr { + static inline int read_n(int fd, char *buf, int len) + { + int t = 0, w; ++ off_t fsize, currentpos, startpos; ++ ++ currentpos = lseek(fd, 0, SEEK_CUR); ++ fsize = lseek(fd, 0, SEEK_END); ++ lseek(fd, currentpos, SEEK_SET); ++ fsize -= currentpos; ++ ++ if (fsize > HCI_MAX_FRAME_SIZE && len > HCI_MAX_FRAME_SIZE) ++ return -1; + + while (len > 0) { + if ((w = read(fd, buf, len)) < 0) { diff --git a/hcidump-Fixed-malformed-segment-frame-length.patch b/hcidump-Fixed-malformed-segment-frame-length.patch new file mode 100644 index 0000000..dc12296 --- /dev/null +++ b/hcidump-Fixed-malformed-segment-frame-length.patch @@ -0,0 +1,26 @@ +From da04ba5e6b3f151c1644a17ac0fa2317ebc81edd Mon Sep 17 00:00:00 2001 +From: "Cho, Yu-Chen" +Date: Tue, 15 Oct 2019 15:45:43 +0800 +Subject: [PATCH] hcidump: Fixed malformed segment frame length + +Ensure the L2CAP SDUs whose length field match the actual frame length. +--- + tools/parser/l2cap.c | 5 +++++ + 1 file changed, 5 insertions(+) + +Index: bluez-5.60/tools/parser/l2cap.c +=================================================================== +--- bluez-5.60.orig/tools/parser/l2cap.c ++++ bluez-5.60/tools/parser/l2cap.c +@@ -759,6 +759,11 @@ static inline void conf_rsp(int level, l + scid, btohs(h->flags), result, clen); + + if (clen > 0) { ++ if (clen != (btohs(frm->len) - L2CAP_CONF_RSP_SIZE)) { ++ fprintf(stderr, "Not match the actual frame length\n"); ++ clen = btohs(frm->len) - L2CAP_CONF_RSP_SIZE; ++ } ++ + if (result) { + p_indent(level + 1, frm); + printf("%s\n", confresult2str(result));