HomeFreeBSD

md5: Create md5sum, etc compatible programs

Description

md5: Create md5sum, etc compatible programs

On Linux, there's a similar set of programs to ours, but that end in the
letters 'sum'. These act basically like FreeBSD versions run with the -r
option. Add code so that when the program ends in 'sum' you get the
linux -r behavior. This is enough to make most things that use sha*sum
work correctly (the -c / --check options, as well as the long args are
not implemented). When running with the -sum programs, ignore -t instead
of running internal speed tests and make -c an error.

Reviewed by: sef, and kp and allanjude (earlier version)
Relnotes: yes
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D30309

(cherry picked from commit 086feed850c31c278f25c958b97992d024139896)

Details

Provenance
impAuthored on May 19 2021, 5:26 PM
seCommitted on Jun 28 2021, 4:03 PM
Reviewer
sef
Differential Revision
D30309: md5: Create md5sum, etc compatible programs
Parents
rG0e6ba563384f: bhyve: add SMBIOS Baseboard Information
Branches
Unknown
Tags
Unknown