Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/libblockdev: bump to version 3.6.0
@ 2026-11-14 21:04 Giulio Benetti
  2026-11-14 21:04 ` [Buildroot] [PATCH 2/2] package/udisks: bump to version 2.12.0 Giulio Benetti
  2026-11-15 16:57 ` [Buildroot] [PATCH 1/2] package/libblockdev: bump to version 3.6.0 Julien Olivain via buildroot
  0 siblings, 2 replies; 3+ messages in thread
From: Giulio Benetti @ 2026-11-14 21:04 UTC (permalink / raw)
  To: buildroot; +Cc: Marek Belisko, Giulio Benetti, Claude Opus 5.5

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.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 ...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(-)

diff --git a/package/libblockdev/0001-Provide-replacement-function-for-strerror_l.patch b/package/libblockdev/0001-Provide-replacement-function-for-strerror_l.patch
index dbbe3e5c4a..d350609373 100644
--- a/package/libblockdev/0001-Provide-replacement-function-for-strerror_l.patch
+++ b/package/libblockdev/0001-Provide-replacement-function-for-strerror_l.patch
@@ -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 <giulio.benetti@benettiengineering.com>
 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 <thomas.petazzoni@bootlin.com>
 Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
-[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 <giulio.benetti@benettiengineering.com>
  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 @@
diff --git a/package/libblockdev/Config.in b/package/libblockdev/Config.in
index e9e9faaa05..beebf523da 100644
--- a/package/libblockdev/Config.in
+++ b/package/libblockdev/Config.in
@@ -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"
diff --git a/package/libblockdev/libblockdev.hash b/package/libblockdev/libblockdev.hash
index e76e02a756..22cb9f271a 100644
--- a/package/libblockdev/libblockdev.hash
+++ b/package/libblockdev/libblockdev.hash
@@ -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
diff --git a/package/libblockdev/libblockdev.mk b/package/libblockdev/libblockdev.mk
index 89a398c6e5..b439ecd266 100644
--- a/package/libblockdev/libblockdev.mk
+++ b/package/libblockdev/libblockdev.mk
@@ -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
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 2/2] package/udisks: bump to version 2.12.0
  2026-11-14 21:04 [Buildroot] [PATCH 1/2] package/libblockdev: bump to version 3.6.0 Giulio Benetti
@ 2026-11-14 21:04 ` Giulio Benetti
  2026-11-15 16:57 ` [Buildroot] [PATCH 1/2] package/libblockdev: bump to version 3.6.0 Julien Olivain via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Giulio Benetti @ 2026-11-14 21:04 UTC (permalink / raw)
  To: buildroot; +Cc: Marek Belisko, Giulio Benetti, Claude Opus 5.5

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.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 package/udisks/udisks.hash | 4 ++--
 package/udisks/udisks.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/udisks/udisks.hash b/package/udisks/udisks.hash
index f9ed24c823..df8836524c 100644
--- a/package/udisks/udisks.hash
+++ b/package/udisks/udisks.hash
@@ -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
diff --git a/package/udisks/udisks.mk b/package/udisks/udisks.mk
index 0203d037cf..a9aed89563 100644
--- a/package/udisks/udisks.mk
+++ b/package/udisks/udisks.mk
@@ -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+
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/2] package/libblockdev: bump to version 3.6.0
  2026-11-14 21:04 [Buildroot] [PATCH 1/2] package/libblockdev: bump to version 3.6.0 Giulio Benetti
  2026-11-14 21:04 ` [Buildroot] [PATCH 2/2] package/udisks: bump to version 2.12.0 Giulio Benetti
@ 2026-11-15 16:57 ` Julien Olivain via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Julien Olivain via buildroot @ 2026-11-15 16:57 UTC (permalink / raw)
  To: Giulio Benetti; +Cc: buildroot, Marek Belisko

Hi Giulio,

On 14/11/2026 22:04, Giulio Benetti wrote:
> 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.
> 
> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>

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
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-15 16:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-14 21:04 [Buildroot] [PATCH 1/2] package/libblockdev: bump to version 3.6.0 Giulio Benetti
2026-11-14 21:04 ` [Buildroot] [PATCH 2/2] package/udisks: bump to version 2.12.0 Giulio Benetti
2026-11-15 16:57 ` [Buildroot] [PATCH 1/2] package/libblockdev: bump to version 3.6.0 Julien Olivain via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox