The sha256 et.al. programs have recently been extended to provide
GNU compatible features if invoked as sha256sum.

This does now lead to port build issues, since there are ports that
assume that the -c option is implemented and that treat an error exit
of sha256sum -c as an indication of corrupted source files.

I have created

        https://reviews.freebsd.org/D30812

as a quick attempt to provide a GNU compatible sha256sum -c feature
and I'd appreciate a review this change.

An alternative to adding this feature would be changes to all ports
that now fail due to the assumption that sha256sum does provide that
option.

I could have used linked list macros, but given the simple structure
I did not think the extra dependency was required here, and it does
not really simplify the program, IMHO.

Regards, STefan

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to