[Slackbuilds-users] Discrepancy between SLACKBUILDS.TXT MD5SUMs and .info file MD5SUMs in a couple slackbuilds.
Bob Funk
bobfunk11 at gmail.com
Tue Aug 6 07:42:59 UTC 2024
Hello,
I was playing around with making some command line tools for parsing the
SLACKBUILDS.TXT file when I noticed a couple improperly listed MD5SUMs in
the SLACKBUILDS.TXT file.
The 'vst3sdk' slackbuild's md5sum in SLACKBUILDS.TXT is listed as:
SLACKBUILD MD5SUM:
463991d7841d15c719a7e06f052b70af42f09893f870635fea4f689aa6b9de989017e25a9ccb87d2de14a7936a37e58153f1eece19363900ccb9f49261e97ffd739bd26a2c2e786d9338e13042e20ee6cdc51a80c28577308b037caeeb274dd2f040faf28ba22514fcbe13667c1435ffb332b0cce26311a2a419b162be53ea54
The 'haskell-test-framework' slackbuild's md5sum in SLACKBUILDS.TXT is
listed as:
SLACKBUILD MD5SUM:
a7e351ab89c8513d2e41f5179c72e98526f4e157fbecb21dcc0d159686918d61
In both cases these are multiple md5sums that have been joined together
instead of separated by spaces, probably because the .info files for those
slackbuilds haven't put spaces between the individual md5sums and the new
line escaping backslashes. E.g: The 'haskell-test-framework.info' file has:
MD5SUM="a7e351ab89c8513d2e41f5179c72e985\
26f4e157fbecb21dcc0d159686918d61"
When it should probably be:
MD5SUM="a7e351ab89c8513d2e41f5179c72e985 \
26f4e157fbecb21dcc0d159686918d61"
Perhaps enforcing spaces before backslash/escape characters in .info
files should be done so the files are consistent? Could even be added
to sbolint I suppose.
I'm not sure what is generating that SLACKBUILDS.TXT but perhaps its
parsing code could also be adjusted to allow for those cases as an
alternate fix.
Thanks for your time,
Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20240806/57f40878/attachment.htm>
More information about the SlackBuilds-users
mailing list