[Slackbuilds-users] Discrepancy between SLACKBUILDS.TXT MD5SUMs and .info file MD5SUMs in a couple slackbuilds.
Willy Sudiarto Raharjo
willysr at slackbuilds.org
Tue Aug 6 07:46:36 UTC 2024
> 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
> <http://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.
Fixed in my branch
--
Willy Sudiarto Raharjo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x3F617144D7238786.asc
Type: application/pgp-keys
Size: 8363 bytes
Desc: OpenPGP public key
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20240806/3a04bbdf/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20240806/3a04bbdf/attachment-0001.asc>
More information about the SlackBuilds-users
mailing list