Skip to contentSkip to conversation

package/libblockdev: bump to version 3.6.0

PATCH Applied Giulio Benetti 2 participants 4 messages Nov 14 – Nov 20

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/libblockdev: bump to version 3.6.0

Release notes:
https://github.com/storaged-project/libblockdev/releases/tag/3.6.0

The crypto plugin now uses libdevmapper directly, so add lvm2 to the dependencies of the crypto plugin (it was previously only pulled in indirectly through cryptsetup).

Refresh patch 0001 so it applies without fuzz.

---
 ...ide-replacement-function-for-strerror_l.patch | 16 ++++++++--------
 package/libblockdev/Config.in                    |  1 +
 package/libblockdev/libblockdev.hash             |  2 +-
 package/libblockdev/libblockdev.mk               |  4 ++--
 4 files changed, 12 insertions(+), 11 deletions(-)
package/libblockdev/0001-Provide-replacement-function-for-strerror_l.patch +8 -8
index dbbe3e5c4a..d350609373 100644
@@ -1,4 +1,4 @@
-From 3d198be196bdc59ba332b87d8c2959de0b9160d2 Mon Sep 17 00:00:00 2001
+From 3cddbb1e225b4361fdec9c79799bdc35270c1f7a Mon Sep 17 00:00:00 2001
 From: Giulio Benetti <[email protected]>
 Date: Sat, 20 Jan 2024 13:29:28 +0100
 Subject: [PATCH] Provide replacement function for strerror_l()
@@ -11,7 +11,7 @@ Upstream: N/A since it's due uclibc only
 
 Signed-off-by: Thomas Petazzoni <[email protected]>
 Signed-off-by: Giulio Benetti <[email protected]>
-[Giulio: ported to version 3.0, 3.1 and 3.5]
+[Giulio: ported to version 3.0, 3.1, 3.5 and 3.6]
 ---
  configure.ac          | 2 ++
  src/utils/dev_utils.c | 1 +
@@ -20,7 +20,7 @@ Signed-off-by: Giulio Benetti <[email protected]>
  4 files changed, 8 insertions(+)
 
 diff --git a/configure.ac b/configure.ac
-index e5d65d8b..507fa854 100644
+index c129e1a..6a48df1 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -123,6 +123,8 @@ AC_CHECK_HEADERS([dlfcn.h string.h unistd.h sys/fcntl.h sys/ioctl.h linux/random
@@ -33,11 +33,11 @@ index e5d65d8b..507fa854 100644
      AS_HELP_STRING([--with-escrow], [support escrow @<:@default=yes@:>@]),
      [],
 diff --git a/src/utils/dev_utils.c b/src/utils/dev_utils.c
-index 89a54b4c..b4be5b44 100644
+index 8587bed..619cc30 100644
 --- a/src/utils/dev_utils.c
 +++ b/src/utils/dev_utils.c
-@@ -23,6 +23,7 @@
- #include <errno.h>
+@@ -24,6 +24,7 @@
+ #include <stdlib.h>
  
  #include "dev_utils.h"
 +#include "utils.h"
@@ -45,7 +45,7 @@ index 89a54b4c..b4be5b44 100644
  /**
   * bd_utils_dev_utils_error_quark: (skip)
 diff --git a/src/utils/module.c b/src/utils/module.c
-index 11e139f8..c8b124e0 100644
+index f36579e..edeaaf0 100644
 --- a/src/utils/module.c
 +++ b/src/utils/module.c
 @@ -28,6 +28,7 @@
@@ -57,7 +57,7 @@ index 11e139f8..c8b124e0 100644
  
  /**
 diff --git a/src/utils/utils.h b/src/utils/utils.h
-index 801a8b6e..b2bdf0d0 100644
+index 801a8b6..b2bdf0d 100644
 --- a/src/utils/utils.h
 +++ b/src/utils/utils.h
 @@ -9,6 +9,10 @@
package/libblockdev/Config.in +1 -0
index e9e9faaa05..beebf523da 100644
@@ -28,6 +28,7 @@ config BR2_PACKAGE_LIBBLOCKDEV_CRYPTO
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # cryptsetup -> json-c
 	select BR2_PACKAGE_CRYPTSETUP
 	select BR2_PACKAGE_KEYUTILS
+	select BR2_PACKAGE_LVM2 # devmapper
 
 config BR2_PACKAGE_LIBBLOCKDEV_FS
 	bool "filesystem"
package/libblockdev/libblockdev.hash +1 -1
index e76e02a756..22cb9f271a 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  bccd30e6b5d11504de60d9889ff6a2a25b07a4ec8f04070f2387e168301b3e3a  libblockdev-3.5.0.tar.gz
+sha256  9c21338257746cd00c25fcf5975716d016b6d43bfde20ee21f254cbf7d0d2742  libblockdev-3.6.0.tar.gz
 sha256  97bdc721d875501b6243a456333fdfdb1ab64d31c4da2554de845caf4674b946  LICENSE
package/libblockdev/libblockdev.mk +2 -2
index 89a398c6e5..b439ecd266 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBBLOCKDEV_VERSION = 3.5.0
+LIBBLOCKDEV_VERSION = 3.6.0
 LIBBLOCKDEV_SITE = https://github.com/storaged-project/libblockdev/releases/download/$(LIBBLOCKDEV_VERSION)
 LIBBLOCKDEV_LICENSE = LGPL-2.1
 LIBBLOCKDEV_LICENSE_FILES = LICENSE
@@ -27,7 +27,7 @@ LIBBLOCKDEV_CONF_OPTS = \
 	--without-tools
 
 ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_CRYPTO),y)
-LIBBLOCKDEV_DEPENDENCIES += cryptsetup keyutils
+LIBBLOCKDEV_DEPENDENCIES += cryptsetup keyutils lvm2
 LIBBLOCKDEV_CONF_OPTS += --with-crypto
 else
 LIBBLOCKDEV_CONF_OPTS += --without-crypto
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/2 package/udisks: bump to version 2.12.0

Release notes:
https://github.com/storaged-project/udisks/releases/tag/udisks-2.12.0

udisks 2.12.0 requires libblockdev >= 3.6, which was bumped in the previous commit.

The hash of COPYING changed because the copyright year range was updated from 2007-2011 to 2007-2026.

---
 package/udisks/udisks.hash | 4 ++--
 package/udisks/udisks.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
package/udisks/udisks.hash +2 -2
index f9ed24c823..df8836524c 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  18630a8aad806bea0bc626ce97e71e50ec82c742956ac1c834a4275f8f22207b  udisks-2.11.2.tar.bz2
-sha256  98046e932dc6c739001e79d7079a3bd958fc55475dcd917d27f884c0c93525cc  COPYING
+sha256  dd709167fddf07b14f8175dbb3ab0c372147f66b437cc2341a9f97d79303c71f  udisks-2.12.0.tar.bz2
+sha256  ab3f14453ec92c176e414ce0efccab82bd8e8e51b5e533d9a11dfb87e6b12f10  COPYING
package/udisks/udisks.mk +1 -1
index 0203d037cf..a9aed89563 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-UDISKS_VERSION = 2.11.2
+UDISKS_VERSION = 2.12.0
 UDISKS_SOURCE = udisks-$(UDISKS_VERSION).tar.bz2
 UDISKS_SITE = https://github.com/storaged-project/udisks/releases/download/udisks-$(UDISKS_VERSION)
 UDISKS_LICENSE = GPL-2.0+
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Giulio Benetti

Hi Giulio,

Quoted 11 lines · Giulio Benetti

Release notes:
https://github.com/storaged-project/libblockdev/releases/tag/3.6.0

The crypto plugin now uses libdevmapper directly, so add lvm2 to the dependencies of the crypto plugin (it was previously only pulled in indirectly through cryptsetup).

Refresh patch 0001 so it applies without fuzz.

Considering this libblockdev is a bugfix-only and a security update, I marked it as a "security bump" and applied it on master (and next). However, the udisks bump seems more significant, so I applied it only on next.

Best regards,

Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw
In reply to Giulio Benetti

In reply of:

Quoted 11 lines

Release notes:
https://github.com/storaged-project/libblockdev/releases/tag/3.6.0

The crypto plugin now uses libdevmapper directly, so add lvm2 to the dependencies of the crypto plugin (it was previously only pulled in indirectly through cryptsetup).

Refresh patch 0001 so it applies without fuzz.

Applied to 2026.08.x. Thanks

Quoted 103 lines
---
 ...ide-replacement-function-for-strerror_l.patch | 16 ++++++++--------
 package/libblockdev/Config.in                    |  1 +
 package/libblockdev/libblockdev.hash             |  2 +-
 package/libblockdev/libblockdev.mk               |  4 ++--
 4 files changed, 12 insertions(+), 11 deletions(-)
package/libblockdev/0001-Provide-replacement-function-for-strerror_l.patch +8 -8
index dbbe3e5c4a..d350609373 100644
@@ -1,4 +1,4 @@
-From 3d198be196bdc59ba332b87d8c2959de0b9160d2 Mon Sep 17 00:00:00 2001
+From 3cddbb1e225b4361fdec9c79799bdc35270c1f7a Mon Sep 17 00:00:00 2001
 From: Giulio Benetti <[email protected]>
 Date: Sat, 20 Jan 2024 13:29:28 +0100
 Subject: [PATCH] Provide replacement function for strerror_l()
@@ -11,7 +11,7 @@ Upstream: N/A since it's due uclibc only
 
 Signed-off-by: Thomas Petazzoni <[email protected]>
 Signed-off-by: Giulio Benetti <[email protected]>
-[Giulio: ported to version 3.0, 3.1 and 3.5]
+[Giulio: ported to version 3.0, 3.1, 3.5 and 3.6]
 ---
  configure.ac          | 2 ++
  src/utils/dev_utils.c | 1 +
@@ -20,7 +20,7 @@ Signed-off-by: Giulio Benetti <[email protected]>
  4 files changed, 8 insertions(+)
 
 diff --git a/configure.ac b/configure.ac
-index e5d65d8b..507fa854 100644
+index c129e1a..6a48df1 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -123,6 +123,8 @@ AC_CHECK_HEADERS([dlfcn.h string.h unistd.h sys/fcntl.h sys/ioctl.h linux/random
@@ -33,11 +33,11 @@ index e5d65d8b..507fa854 100644
      AS_HELP_STRING([--with-escrow], [support escrow @<:@default=yes@:>@]),
      [],
 diff --git a/src/utils/dev_utils.c b/src/utils/dev_utils.c
-index 89a54b4c..b4be5b44 100644
+index 8587bed..619cc30 100644
 --- a/src/utils/dev_utils.c
 +++ b/src/utils/dev_utils.c
-@@ -23,6 +23,7 @@
- #include <errno.h>
+@@ -24,6 +24,7 @@
+ #include <stdlib.h>
 
  #include "dev_utils.h"
 +#include "utils.h"
@@ -45,7 +45,7 @@ index 89a54b4c..b4be5b44 100644
  /**
   * bd_utils_dev_utils_error_quark: (skip)
 diff --git a/src/utils/module.c b/src/utils/module.c
-index 11e139f8..c8b124e0 100644
+index f36579e..edeaaf0 100644
 --- a/src/utils/module.c
 +++ b/src/utils/module.c
 @@ -28,6 +28,7 @@
@@ -57,7 +57,7 @@ index 11e139f8..c8b124e0 100644
 
  /**
 diff --git a/src/utils/utils.h b/src/utils/utils.h
-index 801a8b6e..b2bdf0d0 100644
+index 801a8b6..b2bdf0d 100644
 --- a/src/utils/utils.h
 +++ b/src/utils/utils.h
 @@ -9,6 +9,10 @@
package/libblockdev/Config.in +1 -0
index e9e9faaa05..beebf523da 100644
@@ -28,6 +28,7 @@ config BR2_PACKAGE_LIBBLOCKDEV_CRYPTO
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # cryptsetup -> json-c
 	select BR2_PACKAGE_CRYPTSETUP
 	select BR2_PACKAGE_KEYUTILS
+	select BR2_PACKAGE_LVM2 # devmapper
 
 config BR2_PACKAGE_LIBBLOCKDEV_FS
 	bool "filesystem"
package/libblockdev/libblockdev.hash +1 -1
index e76e02a756..22cb9f271a 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  bccd30e6b5d11504de60d9889ff6a2a25b07a4ec8f04070f2387e168301b3e3a  libblockdev-3.5.0.tar.gz
+sha256  9c21338257746cd00c25fcf5975716d016b6d43bfde20ee21f254cbf7d0d2742  libblockdev-3.6.0.tar.gz
 sha256  97bdc721d875501b6243a456333fdfdb1ab64d31c4da2554de845caf4674b946  LICENSE
package/libblockdev/libblockdev.mk +1 -1
index 89a398c6e5..b439ecd266 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBBLOCKDEV_VERSION = 3.5.0
+LIBBLOCKDEV_VERSION = 3.6.0
 LIBBLOCKDEV_SITE = https://github.com/storaged-project/libblockdev/releases/download/$(LIBBLOCKDEV_VERSION)
 LIBBLOCKDEV_LICENSE = LGPL-2.1
 LIBBLOCKDEV_LICENSE_FILES = LICENSE

package/libblockdev/libblockdev.mk LIBBLOCKDEV_CONF_OPTS = \ · line 33

Quoted 8 lines
package/libblockdev/libblockdev.mk +1 -1
@@ -27,7 +27,7 @@ LIBBLOCKDEV_CONF_OPTS = \
 	--without-tools
 
 ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_CRYPTO),y)
-LIBBLOCKDEV_DEPENDENCIES += cryptsetup keyutils
+LIBBLOCKDEV_DEPENDENCIES += cryptsetup keyutils lvm2
 LIBBLOCKDEV_CONF_OPTS += --with-crypto
 else
 LIBBLOCKDEV_CONF_OPTS += --without-crypto

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot