Page MenuHomeFreeBSD

sysutils/rdfind: add support for xxhash
ClosedPublic

Authored by skozlov on Jul 22 2026, 5:31 PM.
Tags
None
Referenced Files
F170797443: D58398.id182471.diff
Sun, Sep 6, 4:51 PM
F170783997: D58398.diff
Sun, Sep 6, 2:54 PM
F170684164: D58398.id.diff
Sun, Sep 6, 12:36 AM
Unknown Object (File)
Fri, Sep 4, 6:50 PM
Unknown Object (File)
Fri, Sep 4, 10:44 AM
Unknown Object (File)
Thu, Sep 3, 11:29 AM
Unknown Object (File)
Mon, Aug 31, 3:09 PM
Unknown Object (File)
Mon, Aug 31, 3:05 PM
Subscribers
None

Details

Summary

In the current form - the support for xxhash depends on whether or not
xxhash is installed in the system where the port is built. See
https://github.com/pauldreik/rdfind#development.

This commit makes (lack of) support for xxhash explicit. If the option
is enabled - the xxhash is added to dependencies and built into rdfind,
if disabled - xxhash support is disabled even if the library is present
in the system.

For the sake of not changing the default behavior - the xxhash support
is disabled by default.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 75036
Build 71919: arc lint + arc unit

Event Timeline

skozlov created this revision.

Thank you for this.

I don't think there's any problem with enabling XXHASH by default, since it's a lightweight dependency.

Thank you for this.

I don't think there's any problem with enabling XXHASH by default, since it's a lightweight dependency.

Done. If you like it - please accept and I'm going to land it :)

This revision is now accepted and ready to land.Jul 23 2026, 2:52 PM
This revision was automatically updated to reflect the committed changes.