Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939440 - sys-fs/dd-rescue-1.99.16 - version bump
Summary: sys-fs/dd-rescue-1.99.16 - version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 920159 937492
  Show dependency tree
 
Reported: 2024-09-10 20:12 UTC by ernsteiswuerfel
Modified: 2024-12-27 16:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dd-rescue-1.99.16.ebuild (dd-rescue-1.99.16.ebuild,2.27 KB, text/plain)
2024-10-27 20:48 UTC, ernsteiswuerfel
Details
dd-rescue-1.99.16.ebuild (dd-rescue-1.99.16.ebuild,2.27 KB, text/plain)
2024-10-27 21:14 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2024-09-10 20:12:26 UTC
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
Comment 1 ernsteiswuerfel archtester 2024-10-27 20:42:47 UTC
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.
Comment 2 ernsteiswuerfel archtester 2024-10-27 20:48:11 UTC
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.
Comment 3 ernsteiswuerfel archtester 2024-10-27 21:14:05 UTC
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
Comment 4 Larry the Git Cow gentoo-dev 2024-12-27 16:52:55 UTC
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(+)