1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00
pacman/scripts
Xavier Chantry 901e4aa5c2 makepkg: do insensitive comparisons of checksums.
This fixes FS#11283 , which was originally reported on the forums :
http://bbs.archlinux.org/viewtopic.php?id=53794

Insensitive comparisons were implicitly made before since md5sum --status was
used for checking. Now that we use openssl and compare checksums manually in
bash, we lost that feature.
This can be easily reintroduced using tr '[A-F]' '[a-f]'

What convinced me to fix it is that the md5 command line tool generates md5sums
in upper case by default :
http://www.fourmilab.ch/md5/

And finally, A-F and a-f are the same in hex and both are used.

Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
2008-08-23 08:37:19 -05:00
..
.gitignore Remove gensync and updatesync from normal distribution 2008-02-02 14:12:34 -06:00
Makefile.am Factor shell script size command into configure script 2008-08-19 23:29:56 -05:00
makepkg.sh.in makepkg: do insensitive comparisons of checksums. 2008-08-23 08:37:19 -05:00
pacman-optimize.sh.in scripts: allow usage when gettext is not installed 2008-02-17 21:25:41 -06:00
rankmirrors.py.in Remove hardcoded DBEXT value from script 2008-01-06 09:44:28 -06:00
repo-add.sh.in Factor shell script size command into configure script 2008-08-19 23:29:56 -05:00