Skip to contentSkip to conversation

package/{bluez5_utils, bluez5_utils-headers}: bump to version 5.54

PATCH New Jörg Krause 3 participants 6 messages Mar 16, 2020 – Apr 6, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/4 package/{bluez5_utils, bluez5_utils-headers}: bump to version 5.54

Changes since version 5.52:

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).

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.

---
v2:
* bump bluez5_utils-header, too [Baruch Siach]

---
 package/bluez5_utils-headers/bluez5_utils-headers.mk | 2 +-
 package/bluez5_utils/bluez5_utils.hash               | 2 +-
 package/bluez5_utils/bluez5_utils.mk                 | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
package/bluez5_utils-headers/bluez5_utils-headers.mk +1 -1
index c61f93a23c..871986c817 100644
@@ -5,7 +5,7 @@
 ################################################################################
 
 # Keep the version and patches in sync with bluez5_utils
-BLUEZ5_UTILS_HEADERS_VERSION = 5.52
+BLUEZ5_UTILS_HEADERS_VERSION = 5.54
 BLUEZ5_UTILS_HEADERS_SOURCE = bluez-$(BLUEZ5_UTILS_VERSION).tar.xz
 BLUEZ5_UTILS_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth
 BLUEZ5_UTILS_HEADERS_DL_SUBDIR = bluez5_utils
package/bluez5_utils/bluez5_utils.hash +1 -1
index 00112bc0b6..3eb6912fb3 100644
@@ -1,4 +1,4 @@
 # From https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc:
-sha256  f7144ce2039202cfac18ccb52426efea11c98e4f6e1bb8041bcb994b8378560a  bluez-5.52.tar.xz
+sha256  68cdab9e63e8832b130d5979dc8c96fdb087b31278f342874d992af3e56656dc  bluez-5.54.tar.xz
 sha256  b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259  COPYING
 sha256  ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5  COPYING.LIB
package/bluez5_utils/bluez5_utils.mk +1 -1
index 8f9249454d..e328f52eaf 100644
@@ -5,7 +5,7 @@
 ################################################################################
 
 # Keep the version and patches in sync with bluez5_utils-headers
-BLUEZ5_UTILS_VERSION = 5.52
+BLUEZ5_UTILS_VERSION = 5.54
 BLUEZ5_UTILS_SOURCE = bluez-$(BLUEZ5_UTILS_VERSION).tar.xz
 BLUEZ5_UTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth
 BLUEZ5_UTILS_INSTALL_STAGING = YES
Signature · 1 line
2.25.1
#1 lore raw

PATCH v2 2/4 package/bluez5_utils: add mesh support

Mesh support was already added in version 5.47.

---
v2:
* none

---
 package/bluez5_utils/Config.in       | 7 +++++++
 package/bluez5_utils/bluez5_utils.mk | 8 ++++++++
 2 files changed, 15 insertions(+)
package/bluez5_utils/Config.in +7 -0
index 488a2f79c8..038c6e7095 100644
@@ -60,6 +60,13 @@ config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH
 	help
 	  Build BlueZ 5.x health plugin
 
+config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MESH
+	bool "build mesh profile"
+	select BR2_PACKAGE_JSON_C
+	select BR2_PACKAGE_READLINE
+	help
+	  Build BlueZ 5.x mesh plugin
+
 config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MIDI
 	bool "build midi profile"
 	select BR2_PACKAGE_ALSA_LIB
package/bluez5_utils/bluez5_utils.mk +8 -0
index e328f52eaf..2d95899f44 100644
@@ -51,6 +51,14 @@ else
 BLUEZ5_UTILS_CONF_OPTS += --disable-health
 endif
 
+# enable mesh profile
+ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MESH),y)
+BLUEZ5_UTILS_CONF_OPTS += --enable-mesh
+BLUEZ5_UTILS_DEPENDENCIES += json-c readline
+else
+BLUEZ5_UTILS_CONF_OPTS += --disable-mesh
+endif
+
 # enable midi profile
 ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MIDI),y)
 BLUEZ5_UTILS_CONF_OPTS += --enable-midi
Signature · 1 line
2.25.1
#2 lore raw

PATCH v2 3/4 package/ell: bump to version 0.28

In reply to Jörg Krause

Changes since version 0.24:

0.28:
Fix issue with NULL check of D-Bus proxy for method calls. Add support for emitting D-Bus property changes on demand. Add support for reporting file attribute changes.

0.27:
Fix issue with data overflow and multiple PEMs.
Fix issue with handling DHCP lease expiration.

0.26:
Fix issue with memory leak and TLS certificates. Fix issue with buffer size and TLS PRF handling. Add support for D-Bus non-root ObjectManager.

0.25:
Fix issue with stopping DHCP client and owner notification. Fix issue with time calculation overflow and DHCP.

---
v2:
* none

---
 package/ell/ell.hash | 2 +-
 package/ell/ell.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/ell/ell.hash +1 -1
index 02e6e27b53..7e4abcc844 100644
@@ -1,5 +1,5 @@
 # Locally computed
-sha256 b6a4b46807391ea69f9271074cc778aa74263af2bea3f797ab0c092e8dedd21f ell-0.24.tar.gz
+sha256 f7d41781eebcec5795554249400895532460bcf533f2a55ee0c3b9c792dda42d ell-0.28.tar.gz
 
 # License files
 sha256 ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5 COPYING
package/ell/ell.mk +1 -1
index 6cafdd73d5..664976af9f 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-ELL_VERSION = 0.24
+ELL_VERSION = 0.28
 ELL_SITE = https://git.kernel.org/pub/scm/libs/ell/ell.git
 ELL_SITE_METHOD = git
 ELL_LICENSE = LGPL-2.1+
Signature · 1 line
2.25.1
#3 lore raw

PATCH v2 4/4 package/bluez5_utils: enable support for external ell

In reply to Jörg Krause

Bluez5' support for the mesh profile needs ell, the Embedded Linux Library, at least version 0.28.

Although Bluez5 bundles an internal copy of ell version 0.28, we prefer building with external libraries.

---
v2:
* none

---
 package/bluez5_utils/Config.in       | 1 +
 package/bluez5_utils/bluez5_utils.mk | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)
package/bluez5_utils/Config.in +1 -0
index 038c6e7095..1e9eda31dc 100644
@@ -62,6 +62,7 @@ config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH
 
 config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MESH
 	bool "build mesh profile"
+	select BR2_PACKAGE_ELL
 	select BR2_PACKAGE_JSON_C
 	select BR2_PACKAGE_READLINE
 	help
package/bluez5_utils/bluez5_utils.mk +3 -3
index 2d95899f44..2149614c56 100644
@@ -53,10 +53,10 @@ endif
 
 # enable mesh profile
 ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MESH),y)
-BLUEZ5_UTILS_CONF_OPTS += --enable-mesh
-BLUEZ5_UTILS_DEPENDENCIES += json-c readline
+BLUEZ5_UTILS_CONF_OPTS += --enable-external-ell --enable-mesh
+BLUEZ5_UTILS_DEPENDENCIES += ell json-c readline
 else
-BLUEZ5_UTILS_CONF_OPTS += --disable-mesh
+BLUEZ5_UTILS_CONF_OPTS += --disable-external-ell --disable-mesh
 endif
 
 # enable midi profile
Signature · 1 line
2.25.1
#4 lore raw

PATCH v2 1/4 package/{bluez5_utils, bluez5_utils-headers}: bump to version 5.54

In reply to Jörg Krause
Quoted 17 lines · On Mon, 16 Mar 2020 17:52:50 +0100 J?rg Krause <[email protected]>…

Changes since version 5.52:

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).

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.

Quoted 8 lines

---
v2:
* bump bluez5_utils-header, too [Baruch Siach]

---
 package/bluez5_utils-headers/bluez5_utils-headers.mk | 2 +-
 package/bluez5_utils/bluez5_utils.hash               | 2 +-
 package/bluez5_utils/bluez5_utils.mk                 | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Series applied. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#5 lore raw

PATCH v2 1/4 package/{bluez5_utils, bluez5_utils-headers}: bump to version 5.54

In reply to Jörg Krause
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"J?rg" == J?rg Krause <[email protected]> writes:

Changes since version 5.52:
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).

5.54 also fixes a security issue:

https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00352.html

So I've cherry-picked it for 2019.02.x, 2019.11.x and 2020.02.x after updating the commit message to make the security impact clear.

Signature · 1 line
Bye, Peter Korsgaard