pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/archivers/par2
Module Name: pkgsrc
Committed By: adam
Date: Thu Sep 10 09:56:15 UTC 2026
Modified Files:
pkgsrc/archivers/par2: Makefile distinfo
pkgsrc/archivers/par2/patches: patch-src_par2repairer.cpp
Log Message:
par2: updated to 1.4.0
1.4.0
Issues:
* Par2 create fails to follow symlinks
* Windows long-path prefix doubled the separator producing `\\?\UNC\\server\share`
* Announcement: @mnightingale joins the group
PRs:
* Cross-compile the FreeBSD release binaries from Linux
* Bump actions/download-artifact from 7 to 8
* Bump cross-platform-actions/action from 1.3.0 to 1.4.0
* Skip the redundant whole-file MD5 during verification
* Cleanup minor items after review
* Verify the blocks of a file in parallel
* Scan each file with a reader thread feeding worker threads
* Run tests on pull requests from forks
* Reduce test suite runtime
* Bump cross-platform-actions/action from 1.4.0 to 1.5.0
* Count the tail of a scanned file when built without OpenMP
* Replace wstring_convert with the Win32 conversion functions
* Check the 16k hash again, and make the whole file hash opt-in
* Suppress reachable blocks from libgomp init and sync_with_stdio
* Blank the whole scan buffer beyond the end of the file
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/archivers/par2/Makefile
cvs rdiff -u -r1.31 -r1.32 pkgsrc/archivers/par2/distinfo
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/archivers/par2/patches/patch-src_par2repairer.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/archivers/par2/Makefile
diff -u pkgsrc/archivers/par2/Makefile:1.40 pkgsrc/archivers/par2/Makefile:1.41
--- pkgsrc/archivers/par2/Makefile:1.40 Sun Aug 30 01:13:18 2026
+++ pkgsrc/archivers/par2/Makefile Thu Sep 10 09:56:15 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.40 2026/08/30 01:13:18 gdt Exp $
+# $NetBSD: Makefile,v 1.41 2026/09/10 09:56:15 adam Exp $
-DISTNAME= par2cmdline-1.3.0
+DISTNAME= par2cmdline-1.4.0
PKGNAME= ${DISTNAME:S/cmdline//}
-PKGREVISION= 1
CATEGORIES= archivers misc
MASTER_SITES= ${MASTER_SITE_GITHUB:=Parchive/}
GITHUB_PROJECT= par2cmdline
@@ -13,10 +12,10 @@ HOMEPAGE= https://github.com/Parchive/pa
COMMENT= PAR 2.0 compatible file verification and repair tool
LICENSE= gnu-gpl-v2
-USE_LANGUAGES= c c++
# Makefile.am has hard-code --std=c++14 with no configure check.
# Not reported upstream because nobody would use gcc < 5.
USE_CXX_FEATURES= c++14
+USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
TEST_TARGET= check
Index: pkgsrc/archivers/par2/distinfo
diff -u pkgsrc/archivers/par2/distinfo:1.31 pkgsrc/archivers/par2/distinfo:1.32
--- pkgsrc/archivers/par2/distinfo:1.31 Sun Aug 30 01:13:18 2026
+++ pkgsrc/archivers/par2/distinfo Thu Sep 10 09:56:15 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.31 2026/08/30 01:13:18 gdt Exp $
+$NetBSD: distinfo,v 1.32 2026/09/10 09:56:15 adam Exp $
-BLAKE2s (par2cmdline-1.3.0.tar.gz) = 3fff543aaf238e89fc97019951e0f5f64b054144f6bb165c256d5450df5145a4
-SHA512 (par2cmdline-1.3.0.tar.gz) = 297dedcd160f897772aec7bc2ca7466565f4cf16cc9e09c9a6eb788124fa114ec3f0a06befc3b58511eda959bee6f7db4c4e6f5d856b690f0caa9f0e4557570b
-Size (par2cmdline-1.3.0.tar.gz) = 3739505 bytes
-SHA1 (patch-src_par2repairer.cpp) = 8503314fc1914c5fb6ff115e8b64fd464c846627
+BLAKE2s (par2cmdline-1.4.0.tar.gz) = b4814079b2d88470a696122928eebb1fcfe37a61b60452a7850e56a79f03eeee
+SHA512 (par2cmdline-1.4.0.tar.gz) = 3f455c088622698f0ad233497b3c96849880f9a1f1212f24aaaa52394df361665b4d25b604a0b4e95c04a3516915c35469581917b768f0d7dc364bb9c9b23991
+Size (par2cmdline-1.4.0.tar.gz) = 3016006 bytes
+SHA1 (patch-src_par2repairer.cpp) = 259e478be35361c4fa708177aeb3a65046688a95
Index: pkgsrc/archivers/par2/patches/patch-src_par2repairer.cpp
diff -u pkgsrc/archivers/par2/patches/patch-src_par2repairer.cpp:1.1 pkgsrc/archivers/par2/patches/patch-src_par2repairer.cpp:1.2
--- pkgsrc/archivers/par2/patches/patch-src_par2repairer.cpp:1.1 Sun Aug 30 01:13:18 2026
+++ pkgsrc/archivers/par2/patches/patch-src_par2repairer.cpp Thu Sep 10 09:56:15 2026
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_par2repairer.cpp,v 1.1 2026/08/30 01:13:18 gdt Exp $
+$NetBSD: patch-src_par2repairer.cpp,v 1.2 2026/09/10 09:56:15 adam Exp $
Apparently, gcc<=10, when using ostringstream, somehow turns the type
into ostream after <<, and ostream has no str().
@@ -6,9 +6,9 @@ into ostream after <<, and ostream has n
Not yet filed upstream, because probably upstream does not regard gcc
10 as reasonable, or they would have CI with it.
---- src/par2repairer.cpp.orig 2026-08-30 01:03:00.454241587 +0000
+--- src/par2repairer.cpp.orig 2026-09-09 06:33:53.000000000 +0000
+++ src/par2repairer.cpp
-@@ -1673,9 +1673,12 @@ bool Par2Repairer::ScanDataFile(DiskFile
+@@ -1943,9 +1943,12 @@ bool Par2Repairer::ScanDataFile(DiskFile
{
if (lastmatchoffset < filechecksummer.Offset() && noiselevel > nlNormal)
{
@@ -24,7 +24,7 @@ Not yet filed upstream, because probably
}
// Is this the first match
-@@ -1805,9 +1808,12 @@ bool Par2Repairer::ScanDataFile(DiskFile
+@@ -2073,9 +2076,12 @@ bool Par2Repairer::ScanDataFile(DiskFile
if (lastmatchoffset < filechecksummer.Offset() && noiselevel > nlNormal)
{
@@ -39,4 +39,4 @@ Not yet filed upstream, because probably
+ progress.PrintLine(oss.str());
}
- // Get the Full and 16k hash values of the file
+ }
Home |
Main Index |
Thread Index |
Old Index