FS#52308 - [pacman] Default settings forbids alternative checksums

Attached to Project: Arch Linux
Opened by Konstantin Gizdov (kgizdov) - Friday, 30 December 2016, 00:04 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 30 December 2016, 00:37 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The default configuration in makepkg.conf for some reason restricts makepkg and updpkgsums to only use md5 and ingore, override and erase sha sums completely. This is bad. I almost didn't notice this. Please enable sha sums by default, so that users and package maintainers do not have their preferences overwritten under their nose.

Additional info:
* package version(s) - 5.0.1-4
* config and/or log files etc. - no custom configs


Steps to reproduce:
1. install pacman
2. make a PKGBUILD with sha sums inside
3. run `makepkg -g` or `updpkgsums`
4. watch all your sums be overwritten with md5 sums instead
This task depends upon

Closed by  Doug Newgard (Scimmia)
Friday, 30 December 2016, 00:37 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#45048 
Comment by Doug Newgard (Scimmia) - Friday, 30 December 2016, 00:30 GMT
No, it doesn't. There is/was a bug in updpkgsums when you have only architecture specific sources without architecture independent sources, but that's just a bug in updpkgsums.

Loading...