Date: Fri, 18 Jun 2021 11:43:02 +0200 From: Stefan Esser <se@freebsd.org> To: FreeBSD ports <freebsd-ports@freebsd.org>, FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Add support for -c to sha256sum to fix port build failures Message-ID: <203c9c0c-eeb1-9e44-b4b2-60cd071120e9@freebsd.org>
next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --JwcUzmd8JEH01IwkVGVPTwcmQ7WhrBqPz Content-Type: multipart/mixed; boundary="TSLkYEMT2lXJf3yC4iPt4vJKRX2VoVK7x"; protected-headers="v1" From: Stefan Esser <se@freebsd.org> To: FreeBSD ports <freebsd-ports@freebsd.org>, FreeBSD CURRENT <freebsd-current@freebsd.org> Message-ID: <203c9c0c-eeb1-9e44-b4b2-60cd071120e9@freebsd.org> Subject: Add support for -c to sha256sum to fix port build failures --TSLkYEMT2lXJf3yC4iPt4vJKRX2VoVK7x Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: quoted-printable 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 --TSLkYEMT2lXJf3yC4iPt4vJKRX2VoVK7x-- --JwcUzmd8JEH01IwkVGVPTwcmQ7WhrBqPz Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmDMaqYFAwAAAAAACgkQR+u171r99URQ Iwf/YVKOAXIQtKMIWb2HTcKqNnRoQyQ53X2VxR+1FPnyZKLrORmZf2dLYbr2Xjx6EJe38dgGNeN+ aGkz5dpYGKWR24C6cj3JbPBnSZY879wF5DMm9EPesGsai1ZFvOOzaQidIWWbhdBB7gmr3eM1TdV9 harvdHuHQki15GEy/KlMggsvZfZzpVKiT45aW/uFtFhj0uoNFdTy9Lx7/NS3odSY+hP6PH5Ra/op KwSR+mVJWf7mAboRjA4u8oAdc/Mvi3Gfv6I1W+vydhAyCZsQYnwRp6qEFd/A3FvdkDpgJYvBhopN l5dcWzLzRq/LqMjNVzHWrsFW1joT/mHcghD1PtBbrg== =3nIz -----END PGP SIGNATURE----- --JwcUzmd8JEH01IwkVGVPTwcmQ7WhrBqPz--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?203c9c0c-eeb1-9e44-b4b2-60cd071120e9>