FS#10530 - checksum verification does not work on BSD
Attached to Project:
Pacman
Opened by Xilon (Xilon) - Thursday, 29 May 2008, 09:45 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 16 July 2008, 00:25 GMT
Opened by Xilon (Xilon) - Thursday, 29 May 2008, 09:45 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 16 July 2008, 00:25 GMT
|
Details
Summary and Info:
makepkg assumes that the various checksum utilities are named "${integ}sum". This is not the case on BSD systems. md5sum and others are part of GNU core utilities, which by default aren't installed on at least FreeBSD. I'm not sure if it can be installed, but it would be overkill to have it as a requirement when similar utilities already exist. BSD systems have md5, sha1, etc. The GNU and BSD utilities have different arguments and, as far as I can tell, different output. I was unable to "port" the command used to verify the checksum to the BSD equivalent. It actually appears that the BSD utilities are some sort of alias for `openssl dgst -${integ}`, which appears to be the same on Linux. I'll look into using that instead. |
This task depends upon
Closed by Dan McGee (toofishes)
Wednesday, 16 July 2008, 00:25 GMT
Reason for closing: Implemented
Additional comments about closing: Changed to openssl for checksum generation/verification in commit b8a66d68593d1f267c3bb8cd8943724711626903
Wednesday, 16 July 2008, 00:25 GMT
Reason for closing: Implemented
Additional comments about closing: Changed to openssl for checksum generation/verification in commit b8a66d68593d1f267c3bb8cd8943724711626903
Finding answers to these questions would help for making a decision.