btrfs-progs: Update to version 6.11

Message ID 20241112195821.2591127-3-adolf.belka@ipfire.org
State New
Headers
Series btrfs-progs: Update to version 6.11 |

Commit Message

Adolf Belka Nov. 12, 2024, 7:58 p.m. UTC
  - Update from version 6.9.2 to 6.11
- Update of rootfile
- Changelog
    6.11
	   * check:
	      * check items in tree-log
	      * detect invalid file extent items for symlinks
	      * properly detect inode cache and suggest removal by 'clear-ino-cache'
	   * convert: fix symlink length checks
	   * fi show: remove stray newline at the end of the output
	   * fixes:
	      * open devices in write-exclusive mode in most commands, prevent
	        concurrent mount by other programs
	      * rescue clear-ino-cache: fix subvolume iteration that can fail in some cases
	      * map-logical: fix first extent searching condition
	      * fi resize: warn if new size is below 256M
	   * tree-checker:
	      * slightly stricter file type validation
	      * verify device extent items
	   * other:
	      * documentation updates
	      * ship btrfs-ioctl manual page (incomplete)
    6.10.1
	   * mkfs: rework --rootdir traversal, skip hardlinks and create new inodes
	     instead, also warn about them, this did not work as expected and will be
	     fixed in the future
	   * receive: search in older trees for UUIDs when detecting clone sources
	   * libbtrfsutil: bindings available at https://pypi.org/project/btrfsutil
	   * libbtrfs:
	      * patchlevel version update 0.1.4
	      * cleanup in headers, removed unused definitions, no functional changes
	      * don't ship list.h and rbtree.h
	   * other:
	      * documentation updates
    6.10
	   * inspect:
	     * list-chunks: new command to print information about chunks (i.e.
	       the physical chunks as stored on devices), sortable; requires root as
	       it's using SEARCH_TREE ioctl
	     * tree-stats:
	        * new option -t to print only the given tree
	        * add long options for size units
	   * filesystem df: with increased verbosity print per-type information from sysfs
	   * version: print a line with built-in features or options (+FEATURE1 -FEATURE2)
	   * image: document option -s and its potential problems
	   * fixes:
	      * scrub status: user selected base for Rate values
	      * receive: escape special characters in paths and xattrs
	      * dump-tree: escape special characters in paths and xattrs
	      * image: sanitizing filenames did not work properly in all cases
	      * convert: fix displayed restored image path on rollback
	      * tune change csum: do conversion in smaller batches
	   * other:
	      * CI workflows updates (sanitizers, code spelling, manual page preview)
	      * build fixes for uClibc
	      * build fix for python 3.13
	      * documentation updates

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/btrfs-progs |  4 +---
 lfs/btrfs-progs                     | 13 +++++++------
 2 files changed, 8 insertions(+), 9 deletions(-)
  

Comments

Michael Tremer Nov. 18, 2024, 8:04 p.m. UTC | #1
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>

> On 12 Nov 2024, at 19:58, Adolf Belka <adolf.belka@ipfire.org> wrote:
> 
> - Update from version 6.9.2 to 6.11
> - Update of rootfile
> - Changelog
>    6.11
>   * check:
>      * check items in tree-log
>      * detect invalid file extent items for symlinks
>      * properly detect inode cache and suggest removal by 'clear-ino-cache'
>   * convert: fix symlink length checks
>   * fi show: remove stray newline at the end of the output
>   * fixes:
>      * open devices in write-exclusive mode in most commands, prevent
>        concurrent mount by other programs
>      * rescue clear-ino-cache: fix subvolume iteration that can fail in some cases
>      * map-logical: fix first extent searching condition
>      * fi resize: warn if new size is below 256M
>   * tree-checker:
>      * slightly stricter file type validation
>      * verify device extent items
>   * other:
>      * documentation updates
>      * ship btrfs-ioctl manual page (incomplete)
>    6.10.1
>   * mkfs: rework --rootdir traversal, skip hardlinks and create new inodes
>     instead, also warn about them, this did not work as expected and will be
>     fixed in the future
>   * receive: search in older trees for UUIDs when detecting clone sources
>   * libbtrfsutil: bindings available at https://pypi.org/project/btrfsutil
>   * libbtrfs:
>      * patchlevel version update 0.1.4
>      * cleanup in headers, removed unused definitions, no functional changes
>      * don't ship list.h and rbtree.h
>   * other:
>      * documentation updates
>    6.10
>   * inspect:
>     * list-chunks: new command to print information about chunks (i.e.
>       the physical chunks as stored on devices), sortable; requires root as
>       it's using SEARCH_TREE ioctl
>     * tree-stats:
>        * new option -t to print only the given tree
>        * add long options for size units
>   * filesystem df: with increased verbosity print per-type information from sysfs
>   * version: print a line with built-in features or options (+FEATURE1 -FEATURE2)
>   * image: document option -s and its potential problems
>   * fixes:
>      * scrub status: user selected base for Rate values
>      * receive: escape special characters in paths and xattrs
>      * dump-tree: escape special characters in paths and xattrs
>      * image: sanitizing filenames did not work properly in all cases
>      * convert: fix displayed restored image path on rollback
>      * tune change csum: do conversion in smaller batches
>   * other:
>      * CI workflows updates (sanitizers, code spelling, manual page preview)
>      * build fixes for uClibc
>      * build fix for python 3.13
>      * documentation updates
> 
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
> config/rootfiles/common/btrfs-progs |  4 +---
> lfs/btrfs-progs                     | 13 +++++++------
> 2 files changed, 8 insertions(+), 9 deletions(-)
> 
> diff --git a/config/rootfiles/common/btrfs-progs b/config/rootfiles/common/btrfs-progs
> index 864d6ea1a..829e29ce6 100644
> --- a/config/rootfiles/common/btrfs-progs
> +++ b/config/rootfiles/common/btrfs-progs
> @@ -14,8 +14,6 @@ usr/bin/mkfs.btrfs
> #usr/include/btrfs/ctree.h
> #usr/include/btrfs/ioctl.h
> #usr/include/btrfs/kerncompat.h
> -#usr/include/btrfs/list.h
> -#usr/include/btrfs/rbtree.h
> #usr/include/btrfs/rbtree_types.h
> #usr/include/btrfs/send-stream.h
> #usr/include/btrfs/send-utils.h
> @@ -26,7 +24,7 @@ usr/bin/mkfs.btrfs
> #usr/lib/libbtrfs.so
> usr/lib/libbtrfs.so.0
> usr/lib/libbtrfs.so.0.1
> -usr/lib/libbtrfs.so.0.1.3
> +usr/lib/libbtrfs.so.0.1.4
> #usr/lib/libbtrfsutil.a
> #usr/lib/libbtrfsutil.so
> usr/lib/libbtrfsutil.so.1
> diff --git a/lfs/btrfs-progs b/lfs/btrfs-progs
> index 6030591fb..29caa757f 100644
> --- a/lfs/btrfs-progs
> +++ b/lfs/btrfs-progs
> @@ -24,7 +24,7 @@
> 
> include Config
> 
> -VER        = 6.9.2
> +VER        = 6.11
> 
> THISAPP    = btrfs-progs-v$(VER)
> DL_FILE    = $(THISAPP).tar.xz
> @@ -32,6 +32,8 @@ DL_FROM    = $(URL_IPFIRE)
> DIR_APP    = $(DIR_SRC)/$(THISAPP)
> TARGET     = $(DIR_INFO)/$(THISAPP)
> 
> +# https://mirrors.edge.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/
> +
> ###############################################################################
> # Top-level Rules
> ###############################################################################
> @@ -40,7 +42,7 @@ objects = $(DL_FILE)
> 
> $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
> 
> -$(DL_FILE)_BLAKE2 = 38ab189ac8271ba8d68b74e82569159c671cca1cb946f56ccab28b6b206cb6ee5b330d83afc3536b7e0d7399da3fb01e368809c1ef4a64b843ea88796ebd28bd
> +$(DL_FILE)_BLAKE2 = 6dec219394e39a821f29858eddf1d501537d3cebad2dc83f0cea6d88d0b0e94c4fe2e660a48a27942ccfb6f3ac0630d5930f44e083168de65b60af36e895b2af
> 
> install : $(TARGET)
> 
> @@ -74,11 +76,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
> @$(PREBUILD)
> @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
> $(UPDATE_AUTOMAKE)
> - cd $(DIR_APP) && ./autogen.sh
> cd $(DIR_APP) && ./configure \
> - --prefix=/usr \
> - --disable-documentation \
> - --disable-python
> + --prefix=/usr \
> + --disable-documentation \
> + --disable-python
> cd $(DIR_APP) && make $(MAKETUNING)
> cd $(DIR_APP) && make install
> @rm -rf $(DIR_APP)
> -- 
> 2.47.0
>
  

Patch

diff --git a/config/rootfiles/common/btrfs-progs b/config/rootfiles/common/btrfs-progs
index 864d6ea1a..829e29ce6 100644
--- a/config/rootfiles/common/btrfs-progs
+++ b/config/rootfiles/common/btrfs-progs
@@ -14,8 +14,6 @@  usr/bin/mkfs.btrfs
 #usr/include/btrfs/ctree.h
 #usr/include/btrfs/ioctl.h
 #usr/include/btrfs/kerncompat.h
-#usr/include/btrfs/list.h
-#usr/include/btrfs/rbtree.h
 #usr/include/btrfs/rbtree_types.h
 #usr/include/btrfs/send-stream.h
 #usr/include/btrfs/send-utils.h
@@ -26,7 +24,7 @@  usr/bin/mkfs.btrfs
 #usr/lib/libbtrfs.so
 usr/lib/libbtrfs.so.0
 usr/lib/libbtrfs.so.0.1
-usr/lib/libbtrfs.so.0.1.3
+usr/lib/libbtrfs.so.0.1.4
 #usr/lib/libbtrfsutil.a
 #usr/lib/libbtrfsutil.so
 usr/lib/libbtrfsutil.so.1
diff --git a/lfs/btrfs-progs b/lfs/btrfs-progs
index 6030591fb..29caa757f 100644
--- a/lfs/btrfs-progs
+++ b/lfs/btrfs-progs
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 6.9.2
+VER        = 6.11
 
 THISAPP    = btrfs-progs-v$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -32,6 +32,8 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
+# https://mirrors.edge.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
@@ -40,7 +42,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 38ab189ac8271ba8d68b74e82569159c671cca1cb946f56ccab28b6b206cb6ee5b330d83afc3536b7e0d7399da3fb01e368809c1ef4a64b843ea88796ebd28bd
+$(DL_FILE)_BLAKE2 = 6dec219394e39a821f29858eddf1d501537d3cebad2dc83f0cea6d88d0b0e94c4fe2e660a48a27942ccfb6f3ac0630d5930f44e083168de65b60af36e895b2af
 
 install : $(TARGET)
 
@@ -74,11 +76,10 @@  $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
 	$(UPDATE_AUTOMAKE)
-	cd $(DIR_APP) && ./autogen.sh
 	cd $(DIR_APP) && ./configure \
-		--prefix=/usr \
-		--disable-documentation \
-		--disable-python
+				--prefix=/usr \
+				--disable-documentation \
+				--disable-python
 	cd $(DIR_APP) && make $(MAKETUNING)
 	cd $(DIR_APP) && make install
 	@rm -rf $(DIR_APP)