FS#53221 - [iana-etc] sha256sum does not correctly

Attached to Project: Arch Linux
Opened by Juan Antonio Clavero (jaclaverogarcia) - Thursday, 09 March 2017, 07:54 GMT
Last edited by Gaetan Bisson (vesath) - Friday, 14 April 2017, 06:20 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Sha256sum for service-names-port-numbers.xml in PKGBUILD is 'f23c42340b8d0014db1b90d9057694c86f3cc51fff36967511cf35787a872d36' and generated with file downloaded from https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml is '328d0d3349646757d78450bc0edee35120522553debc2b5cf537614f33e500fe'.

Additional info:
* package version(s):20170224


Steps to reproduce:
When I try to build from source.


This task depends upon

Closed by  Gaetan Bisson (vesath)
Friday, 14 April 2017, 06:20 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Upstream should just version their files
Comment by Gaetan Bisson (vesath) - Thursday, 09 March 2017, 09:00 GMT
That's because the upstream file is not versioned: they just edit it in place...

I'm not sure sure how I could "fix" this other than by building a new iana-etc daily. Suggestions are welcome.
Comment by Juan Antonio Clavero (jaclaverogarcia) - Thursday, 09 March 2017, 10:36 GMT
Would it be very ugly that the check function of PKGBUILD itself perform the calculation operation and replace it with the sed editor?
After all, the download url is secure.
Comment by Jan de Groot (JGC) - Thursday, 09 March 2017, 12:47 GMT
Yes that would be very ugly. Replacing the checksum means the file got updated, so the resulting package is changed.

Only way to fix this is by adding the file as local source to svn and check for updates periodically.

Loading...