[pacman-dev] #10530: checksum verification does not work on BSD

Sebastian Nowicki sebnow at gmail.com
Fri May 30 15:52:46 EDT 2008


I don't really like this solution, but it's the only portable solution I
could think of. Instead of using md5sum, sha1sum, etc from GNU
coreutils, openssl is used. Openssl has the limitation that it does not
support the other sha* algorithms, so they had to be removed from
makepkg. I don't like having to remove features in order to make
something more portable.

The patch has been tested on Mac OSX (10.5) and Archlinux.

References http://bugs.archlinux.org/task/10530

 doc/makepkg.conf.5.txt |    2 +-
 etc/makepkg.conf.in    |    2 +-
 scripts/makepkg.sh.in  |    9 ++++-----
 3 files changed, 6 insertions(+), 7 deletions(-)





More information about the pacman-dev mailing list