Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libarchive for openSUSE:Factory checked in at 2026-04-11 22:24:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libarchive (Old) and /work/SRC/openSUSE:Factory/.libarchive.new.21863 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libarchive" Sat Apr 11 22:24:39 2026 rev:63 rq:1345568 version:3.8.6 Changes: -------- --- /work/SRC/openSUSE:Factory/libarchive/libarchive.changes 2026-01-12 10:10:45.531450207 +0100 +++ /work/SRC/openSUSE:Factory/.libarchive.new.21863/libarchive.changes 2026-04-11 22:29:20.511673179 +0200 @@ -1,0 +2,18 @@ +Sun Mar 29 13:41:39 UTC 2026 - Andreas Stieger <[email protected]> + +- update to 3.8.6: + * fix incompatibility with Nettle 4.x (boo#1257934) + * fix NULL pointer dereference in archive_acl_from_text_w() (boo#1260998) + * bsdunzip: fix ISO week year and Gregorian year confusion + * 7zip: fix SEGV in check_7zip_header_in_sfx via ELF offset validation (boo#1260999) + * 7zip: fix out-of-bounds access on ELF 64-bit header (boo#1261000) + * RAR5 reader: fix infinite loop in rar5 decompression (boo#1261001) + * RAR5 reader: fix potential memory leak (boo#1261002) + * RAR5: fix SIGSEGV when archive_read_support_format_rar5 is called twice + * CAB reader: fix memory leak on repeated calls to archive_read_support_format_cab + * mtree reader: Fix file descriptor leak in mtree parser cleanup (boo#1261003) + * various small bugfixes in code and documentation +- the distributed tarball is missing a test file, add it back + add libarchive-3.8.6-add-missing-test.patch + +------------------------------------------------------------------- Old: ---- libarchive-3.8.5.tar.xz libarchive-3.8.5.tar.xz.asc New: ---- libarchive-3.8.6-add-missing-test.patch libarchive-3.8.6.tar.xz libarchive-3.8.6.tar.xz.asc ----------(New B)---------- New:- the distributed tarball is missing a test file, add it back add libarchive-3.8.6-add-missing-test.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libarchive.spec ++++++ --- /var/tmp/diff_new_pack.bqDREl/_old 2026-04-11 22:29:21.067695920 +0200 +++ /var/tmp/diff_new_pack.bqDREl/_new 2026-04-11 22:29:21.067695920 +0200 @@ -2,7 +2,7 @@ # spec file for package libarchive # # Copyright (c) 2026 SUSE LLC and contributors -# Copyright (c) 2025 Andreas Stieger <[email protected]> +# Copyright (c) 2026 Andreas Stieger <[email protected]> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %define somajor 13 %define libname libarchive%{somajor} Name: libarchive -Version: 3.8.5 +Version: 3.8.6 Release: 0 Summary: Utility and C library to create and read several streaming archive formats License: BSD-2-Clause @@ -30,8 +30,8 @@ Source1: https://github.com/libarchive/libarchive/releases/download/v%{version}/libarchive-%{version}.tar.xz.asc Source2: libarchive.keyring Source1000: baselibs.conf -# https://github.com/libarchive/libarchive/issues/2804 -# https://github.com/libarchive/libarchive/pull/2809 +# https://github.com/libarchive/libarchive/issues/2916 +Patch0: libarchive-3.8.6-add-missing-test.patch BuildRequires: cmake BuildRequires: ninja BuildRequires: pkgconfig ++++++ libarchive-3.8.6-add-missing-test.patch ++++++ Original commit: https://github.com/libarchive/libarchive/commit/d4cf95cdac429bd27354a1a6cb9344dff9a93d8e Missing file issue: https://github.com/libarchive/libarchive/issues/2916 This is the diff restricted to the missing file. .../test/test_v7tar_filename_encoding.c | 67 +++++++++++++++++++ v7tar.c b/libarchive/archive_write_set_format_v7tar.c diff --git a/libarchive/test/test_v7tar_filename_encoding.c b/libarchive/test/test_v7tar_filename_encoding.c new file mode 100644 index 0000000000..96594b1218 --- /dev/null +++ b/libarchive/test/test_v7tar_filename_encoding.c @@ -0,0 +1,67 @@ +/*- + * Copyright (c) 2003-2025 Tim Kientzle + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +#include "test.h" + +#include <locale.h> + +DEFINE_TEST(test_v7tar_filename_encoding_fail_UTF16_win) +{ +#if !defined(_WIN32) || defined(__CYGWIN__) + skipping("This test is meant to verify unicode string handling" + " on Windows with UTF-16 names"); + return; +#else + struct archive *a; + struct archive_entry *entry; + char buff[4096]; + size_t used; + + /* Test the C locale by not calling setlocale. */ + + a = archive_write_new(); + assertEqualInt(ARCHIVE_OK, archive_write_set_format_v7tar(a)); + if (archive_write_set_options(a, "hdrcharset=CP437") != ARCHIVE_OK) { + skipping("This system cannot convert character-set" + " from UTF-16 to CP437."); + archive_write_free(a); + return; + } + assertEqualInt(ARCHIVE_OK, + archive_write_open_memory(a, buff, sizeof(buff), &used)); + + entry = archive_entry_new2(a); + /* Set the filename using a UTF-16 string */ + archive_entry_copy_pathname_w(entry, L"\u8868.txt"); + archive_entry_set_filetype(entry, AE_IFREG); + archive_entry_set_size(entry, 0); + assertEqualInt(ARCHIVE_FAILED, archive_write_header(a, entry)); + /* The pathname cannot even be represented in the current locale + for inclusion in the error message. */ + assertEqualString("Can't translate pathname to CP437", + archive_error_string(a)); + archive_entry_free(entry); + assertEqualInt(ARCHIVE_OK, archive_write_free(a)); +#endif +} ++++++ libarchive-3.8.5.tar.xz -> libarchive-3.8.6.tar.xz ++++++ ++++ 2736 lines of diff (skipped)
