[Slackbuilds-users] Discrepancy between SLACKBUILDS.TXT MD5SUMs and .info file MD5SUMs in a couple slackbuilds.

B. Watson urchlay at slackware.uk
Tue Aug 6 08:13:45 UTC 2024



On Tue, 6 Aug 2024, Bob Funk wrote:

> 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.

sbolint doesn't check for this... it does check that there are spaces
between multiple md5sums, but in the case of vst3sdk, there *are*
spaces, they're just on the next line (indentation on the line after
the \).

I could add an explicit check, wouldn't be much trouble. Looks like we
have 4 builds in the repo with this problem:

academic/gephi
development/openjdk8
haskell/haskell-test-framework
libraries/vst3sdk

Another check that should maybe be added: do we want to *require*
indendation on continuation lines? Example:

DOWNLOAD="http://whatever.com/blah.tgz \
http://other.com/foo.tgz"

The 2nd line ought to be indented. Same thing could happen with
md5sums... right now, these don't get checked for, and really they
don't cause any problems for tools like sbopkg or sboinstall. So how
picky should we be about whitespace?


More information about the SlackBuilds-users mailing list