[pacman-dev] #10530: checksum verification does not work on BSD
Antonio Huete Jimeenz
ahuete.devel at gmail.com
Mon Jun 2 05:45:51 EDT 2008
Hi
As far as I know md5sum program in BSD is /sbin/md5, so maybe there's
something like that in MacOS.
I'll provide a makepkg during this week that would fix this md5 checksum
thingy among other things, so you can take a look to it and let me know if
it works.
I got some other ideas for handling different OSes via CHOST variable. Let
me few days to test it.
Regards,
Antonio Huete
2008/5/30 Sebastian Nowicki <sebnow at gmail.com>:
>
> 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(-)
>
>
> _______________________________________________
> pacman-dev mailing list
> pacman-dev at archlinux.org
> http://archlinux.org/mailman/listinfo/pacman-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20080602/f993d25d/attachment.htm>
More information about the pacman-dev
mailing list