libarchive: Update to version 3.5.2

Message ID 20210905204530.2785717-1-adolf.belka@ipfire.org
State New
Headers show
Series libarchive: Update to version 3.5.2 | expand

Commit Message

Adolf Belka Sept. 5, 2021, 8:45 p.m. UTC
- Update from 3.5.1 to 3.5.2
- Update rootfile
- Changelog
   Libarchive 3.5.2 is a feature and security release.
    New minor features:
     CPIO: Support for PWB and v7 binary cpio formats (#1502)
     ZIP reader: Support of deflate algorithm in symbolic link decompression (#1509)
    Important Security Fixes:
     fix handling of symbolic link ACLs on Linux (#1565)
     never follow symlinks when setting file flags on Linux (e2ad1a2)
     do not follow symlinks when processing the fixup list (#1566)
    Important Bugfixes:
     fix extraction of hardlinks to symlinks (#1044)
     7zip reader and writer fixes (#1480, #1532)
     RAR reader fixes (#1504, #1521)
     ZIP reader: fix excessive read for padded zip (#1514)
     CAB reader: fix double free (#1520)
     handle short writes from archive_write_callback (#1530)

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

Comments

Michael Tremer Sept. 6, 2021, 9:51 a.m. UTC | #1
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>

> On 5 Sep 2021, at 21:45, Adolf Belka <adolf.belka@ipfire.org> wrote:
> 
> - Update from 3.5.1 to 3.5.2
> - Update rootfile
> - Changelog
>   Libarchive 3.5.2 is a feature and security release.
>    New minor features:
>     CPIO: Support for PWB and v7 binary cpio formats (#1502)
>     ZIP reader: Support of deflate algorithm in symbolic link decompression (#1509)
>    Important Security Fixes:
>     fix handling of symbolic link ACLs on Linux (#1565)
>     never follow symlinks when setting file flags on Linux (e2ad1a2)
>     do not follow symlinks when processing the fixup list (#1566)
>    Important Bugfixes:
>     fix extraction of hardlinks to symlinks (#1044)
>     7zip reader and writer fixes (#1480, #1532)
>     RAR reader fixes (#1504, #1521)
>     ZIP reader: fix excessive read for padded zip (#1514)
>     CAB reader: fix double free (#1520)
>     handle short writes from archive_write_callback (#1530)
> 
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
> config/rootfiles/common/libarchive | 2 +-
> lfs/libarchive                     | 8 ++++----
> 2 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/config/rootfiles/common/libarchive b/config/rootfiles/common/libarchive
> index 5bb4f197a..e1c76269b 100644
> --- a/config/rootfiles/common/libarchive
> +++ b/config/rootfiles/common/libarchive
> @@ -6,7 +6,7 @@
> #usr/lib/libarchive.la
> #usr/lib/libarchive.so
> usr/lib/libarchive.so.13
> -usr/lib/libarchive.so.13.5.1
> +usr/lib/libarchive.so.13.5.2
> #usr/lib/pkgconfig/libarchive.pc
> #usr/share/man/man1/bsdcat.1
> #usr/share/man/man1/bsdcpio.1
> diff --git a/lfs/libarchive b/lfs/libarchive
> index e78c0be27..a9618c2b5 100644
> --- a/lfs/libarchive
> +++ b/lfs/libarchive
> @@ -24,10 +24,10 @@
> 
> include Config
> 
> -VER        = 3.5.1
> +VER        = 3.5.2
> 
> THISAPP    = libarchive-$(VER)
> -DL_FILE    = $(THISAPP).tar.gz
> +DL_FILE    = $(THISAPP).tar.xz
> DL_FROM    = $(URL_IPFIRE)
> DIR_APP    = $(DIR_SRC)/$(THISAPP)
> TARGET     = $(DIR_INFO)/$(THISAPP)
> @@ -41,7 +41,7 @@ objects = $(DL_FILE)
> 
> $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
> 
> -$(DL_FILE)_MD5 = c96040b75a14c8ba73238c284147e87f
> +$(DL_FILE)_MD5 = 2ba9f1f8c169aa9caf8e2d34dde323be
> 
> install : $(TARGET)
> 
> @@ -73,7 +73,7 @@ $(subst %,%_MD5,$(objects)) :
> 
> $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
> 	@$(PREBUILD)
> -	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
> +	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
> 	cd $(DIR_APP) && ./configure --prefix=/usr --disable-static
> 	cd $(DIR_APP) && make $(MAKETUNING)
> 	cd $(DIR_APP) && make install
> -- 
> 2.33.0
>

Patch

diff --git a/config/rootfiles/common/libarchive b/config/rootfiles/common/libarchive
index 5bb4f197a..e1c76269b 100644
--- a/config/rootfiles/common/libarchive
+++ b/config/rootfiles/common/libarchive
@@ -6,7 +6,7 @@ 
 #usr/lib/libarchive.la
 #usr/lib/libarchive.so
 usr/lib/libarchive.so.13
-usr/lib/libarchive.so.13.5.1
+usr/lib/libarchive.so.13.5.2
 #usr/lib/pkgconfig/libarchive.pc
 #usr/share/man/man1/bsdcat.1
 #usr/share/man/man1/bsdcpio.1
diff --git a/lfs/libarchive b/lfs/libarchive
index e78c0be27..a9618c2b5 100644
--- a/lfs/libarchive
+++ b/lfs/libarchive
@@ -24,10 +24,10 @@ 
 
 include Config
 
-VER        = 3.5.1
+VER        = 3.5.2
 
 THISAPP    = libarchive-$(VER)
-DL_FILE    = $(THISAPP).tar.gz
+DL_FILE    = $(THISAPP).tar.xz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
@@ -41,7 +41,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = c96040b75a14c8ba73238c284147e87f
+$(DL_FILE)_MD5 = 2ba9f1f8c169aa9caf8e2d34dde323be
 
 install : $(TARGET)
 
@@ -73,7 +73,7 @@  $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
-	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
 	cd $(DIR_APP) && ./configure --prefix=/usr --disable-static
 	cd $(DIR_APP) && make $(MAKETUNING)
 	cd $(DIR_APP) && make install