[Slackbuilds-users] DOWNLOAD advice for github

David Spencer baildon.research at googlemail.com
Thu Jun 2 19:40:52 UTC 2016


Hi Arthur,

> How should an .info's MD5SUM field be treated for sources that may
> readily change (e.g., github URLs)?  My recollection is that sbopkg
> wasn't happy with blank ("") MD5SUM fields, although not being an sbopkg
> user myself, I don't know if this is still the case.

With Git (including Github, Bitbucket, mercurial, svn, etc), if there
isn't a tagged version then you would choose a specific commit, which
will download with the same MD5SUM every time.
e.g.
https://slackbuilds.org/slackbuilds/14.1/libraries/luasocket/luasocket.info

But for everything else --

If the copyright terms allow redistribution, you can grab a copy with
a known MD5SUM and make it available on your own website if you have
one, or some maintainers even use their own Dropbox, or there's Ryan's
SBo Direct Links on Sourceforge (just email me or Willy or Ryan if you
need to use that).
e.g.
https://slackbuilds.org/cgit/slackbuilds/tree/network/GeoIP/GeoIP.info

But if you're not allowed to redistribute it --

The only solution we have is to put a warning in the README :-(
e.g.
https://slackbuilds.org/repository/14.1/multimedia/google-talkplugin/

Hope this is helpful (well, almost helpful)
Best regards
-D.


More information about the SlackBuilds-users mailing list