The new version fixes several musl issues: bug #920159, bug #937492, making non-standard workaround (https://gitweb.gentoo.org/repo/gentoo.git/commit/sys-fs/dd-rescue?id=2dff586ec1e93dae97dd97cfa2e310edbd633515) obsolete. Here's the changelog: Latest version is 1.99.14 (2024-08-22) Improvements in version 1.99.14: Address a few issues around compilation on musl systems (e.g. Alpine): Detection of LFS64 functions by compiling not just library symbol search (linking) Include more headers to have all definitions, most notably fcntl.h More consistently define _LARGEFILE64_SOURCE and _GNU_SOURCE Thanks go to Erhard F., see sf issue #7 Avoid lack of reasonable semantics of POSIX basename() by providing reasonable mybasename.h Prefetching of constants for hash functions Do more fuzzing in testing lzo, hoping in liblzo no longer accepting broken input, but problem on Fedora lblzo2 persists. Bugfix: Fix verbose output on fallback to small block sizes Bugfix: Consistently clear errno before new read attempts (broke on musl in specific scenarios) Bugfix: Avoid breakage on option -u without output file name Bugfix: Support openssl3, has a struct change of (private) struct _evp_cipher_ctx_st since 3.0.6, broke on 32bit systems. (Alignment rules hide it on 64bit.) Bugfix: On ARMv7, unaligned support test is not reliable, manually override
Latest version is 1.99.16 (2024-09-30) Improvements in version 1.99.16: Build improvements: Centralize CPU feature detection in archdep. Bugfixes: Allow passing in password into crypt plugin via pipe and passfd= Improvements and optimization: Optimized SHA2 (sha256/sha224) routines using CPU acceleration on x86-64 and armv8 Previous version 1.99.15 (2024-09-17) Improvements in version 1.99.15: Build improvements: Detect availability of pread64() and pwrite64() separately and replace individually. (Thanks David Geiger for reporting on Mageia.) Automatically set -target linux-arm/aarch64-android28 if needed (Termux) Bugfixes: printstatus() would not be called with odd offsets, resulting in missing progress report and missing sync (-y) and write throttling (-C). Improvements and optimization: Some unrolling for the hash functions gives up to 10% better performance (on Zen4). Rationalize prefetching for hash functions and clear memory after using (avoid cleartext data on the stack). Save function calls for fault injection and for graph updates when unneeded. Better handle progress update frequency.
Created attachment 907081 [details] dd-rescue-1.99.16.ebuild My attached dd-rescue-1.99.16.ebuild basically is a simple version bump. Plus I removed 2dff586ec1e93dae97dd97cfa2e310edbd633515 ("Add nonstandard workaround for musl-1.2.4") and 3669e5495eeda680246ea087408dcf85e74b9f11 ("Fix building for musl.") patches as they are no longer needed for 1.99.16. I tested the ebuild on amd64 glibc, musl-1.2.4, musl-1.2.5. It builds an runs fine.
Created attachment 907083 [details] dd-rescue-1.99.16.ebuild Adressed a pkgcheck complaint: VariableOrderWrong: version 1.99.16: variable S should occur before IUSE
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec703e4ce5de46e4f427836d18988786190e5d2b commit ec703e4ce5de46e4f427836d18988786190e5d2b Author: Sam James <sam@gentoo.org> AuthorDate: 2024-12-27 16:51:18 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-27 16:51:18 +0000 sys-fs/dd-rescue: add 1.99.17 * Update LICENSE to || ( GPL-2 GPL-3 ) per footer of website: "The program is protected by the GNU GPL (v2 or v3)." and output from the program. * Add USE=lzma for new support. * Ensure we respect flags for the testsuite. * Wire up more cpu_flags_x86_* flags. Closes: https://bugs.gentoo.org/920159 Closes: https://bugs.gentoo.org/937492 Closes: https://bugs.gentoo.org/939440 Signed-off-by: Sam James <sam@gentoo.org> sys-fs/dd-rescue/Manifest | 1 + sys-fs/dd-rescue/dd-rescue-1.99.17.ebuild | 125 ++++++++++++++++++++++++++++++ 2 files changed, 126 insertions(+)