Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package par2cmdline for openSUSE:Factory checked in at 2026-11-26 15:53:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/par2cmdline (Old) and /work/SRC/openSUSE:Factory/.par2cmdline.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "par2cmdline" Thu Nov 26 15:53:42 2026 rev:9 rq:1400531 version:2.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/par2cmdline/par2cmdline.changes 2026-09-10 15:37:32.545337193 +0200 +++ /work/SRC/openSUSE:Factory/.par2cmdline.new.1340718/par2cmdline.changes 2026-11-26 15:54:00.869297952 +0100 @@ -1,0 +2,27 @@ +Wed Nov 25 09:40:09 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to 2.0.0: + * Security fix GHSA-cw55-67pr-cr5w (no CVE assigned upstream): + repair could follow links and write outside the repair base + path + * Build with CMake instead of autotools + * Replace OpenMP with a std::thread pool: file blocks are + verified in parallel by a reader thread feeding the workers + * Parse the command line with cxxopts, with long options and + clearer errors + * Put the library in namespace par2, move the public headers + to include/par2 and add Par2Creator and Par2Verifier handles + with progress observer and cancel support + * Repair damaged files in place + * Faster CRC32 using ARM and x86 hardware instructions + * Fall back on spare recovery blocks when the repair matrix + is singular instead of asserting + * Fix recovery with -p purging a complete file found under + another file's name + * Unicode filename packet, code-page name and wildcard + matching fixes; clean cancel on Ctrl+C or SIGTERM +- Packaging: build against the system cxxopts and ship the new + static library, headers and CMake files in a par2cmdline-devel + subpackage + +------------------------------------------------------------------- Old: ---- par2cmdline-1.4.0.tar.gz New: ---- par2cmdline-2.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ par2cmdline.spec ++++++ --- /var/tmp/diff_new_pack.QPBqkh/_old 2026-11-26 15:54:01.567327606 +0100 +++ /var/tmp/diff_new_pack.QPBqkh/_new 2026-11-26 15:54:01.569327691 +0100 @@ -16,15 +16,21 @@ # +# Static libpar2.a/libpar2cli.a must carry real code and debuginfo; +# keep LTO through fat objects instead of slim ones. +%define _lto_cflags -flto=auto -ffat-lto-objects Name: par2cmdline -Version: 1.4.0 +Version: 2.0.0 Release: 0 Summary: A PAR 2.0 compatible file creation, verification, and repair tool License: GPL-2.0-or-later URL: https://github.com/Parchive/par2cmdline Source: https://github.com/Parchive/par2cmdline/releases/download/v%{version}/%{name}-%{version}.tar.gz +BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: make +BuildRequires: pkgconfig +BuildRequires: pkgconfig(cxxopts) >= 3 # The following 2 provides/obsoletes lines have been added becase at one point # the 'par' package was updated to use the 'par2cmdline' sources. Any package # that depends on 'par' version 0.8.0 should actually depend on 'par2cmdline' @@ -38,18 +44,26 @@ par2cmdline is a program for creating and using PAR2 files to detect damage in data files and repair them if necessary. It can be used with any kind of file. +%package devel +Summary: Static library and headers for par2cmdline +Requires: %{name} = %{version} + +%description devel +Static libraries, public headers and CMake package files for developing +applications on top of par2cmdline's par2 library. + %prep %autosetup -p1 %build -%configure -%make_build +%cmake -DPAR2_SYSTEM_CXXOPTS:BOOL=ON +%cmake_build %install -%make_install +%cmake_install %check -%make_build check +%ctest %files %license COPYING @@ -63,3 +77,9 @@ %{_mandir}/man1/par2repair.1%{?ext_man} %{_mandir}/man1/par2verify.1%{?ext_man} +%files devel +%{_includedir}/par2/ +%{_libdir}/libpar2.a +%{_libdir}/libpar2cli.a +%{_libdir}/cmake/par2/ + ++++++ par2cmdline-1.4.0.tar.gz -> par2cmdline-2.0.0.tar.gz ++++++ ++++ 58988 lines of diff (skipped)
