FS#11283 - makepkg fails if upper case md5 strings are used.

Attached to Project: Pacman
Opened by Alexander Kaltsas (firewalker) - Friday, 22 August 2008, 11:36 GMT
Last edited by Dan McGee (toofishes) - Saturday, 23 August 2008, 13:49 GMT
Task Type Bug Report
Category makepkg
Status Closed
Assigned To Xavier (shining)
Architecture i686
Severity Very Low
Priority Normal
Reported Version 3.2.0
Due in Version 3.2.1
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

makepkg fails if upper case md5 strings are used. For example

9e107d9d372bb6826bd81d3542a419d6

and

9E107D9D372BB6826BD81D3542A419D6

for makepkg are not the same thing.

Steps to Reproduce:
Change the md5 string to uppercase inside an PKGBUILD file an try ton makepkg it.

It was working both ways in older versions. I don't know for sure if it is a bug or a feature.
This task depends upon

Closed by  Dan McGee (toofishes)
Saturday, 23 August 2008, 13:49 GMT
Reason for closing:  Fixed
Additional comments about closing:  Commit 901e4aa5c203f605e9d527e474821426a40e5cea
Comment by Xavier (shining) - Friday, 22 August 2008, 12:16 GMT
This should fix it.

You can directly patch your makepkg to confirm it works :
$ patch /usr/bin/makepkg -i 0009-makepkg-do-insensitive-comparisons-of-checksums.patch

Loading...