ruediger / VobSub2SRT

Converts VobSub subtitles (.idx/.srt format) into .srt subtitles.
GNU General Public License v3.0
293 stars 65 forks source link

brew install fails with "Non-checksummed download of vobsub2srt formula file from an arbitrary URL is unsupported!" #87

Open ghouliesdad opened 3 years ago

ghouliesdad commented 3 years ago

This is on my MacMini running Mojave:

$ brew install --HEAD https://github.com/ruediger/VobSub2SRT/raw/master/packaging/vobsub2srt.rb 2>&1 | tee -a ~/Homebrew-install.log brew extract or brew create and brew tap-new to create a formula file in a tap on GitHub instead.: Invalid usage: Non-checksummed download of vobsub2srt formula file from an arbitrary URL is unsupported! (UsageError) brew extract or brew create and brew tap-new to create a formula file in a tap on GitHub instead.: Invalid usage: Non-checksummed download of vobsub2srt formula file from an arbitrary URL is unsupported! (UsageError)

varenc commented 2 years ago

This is only the first minor issue when building on macOS. For security reasons Homebrew stopped allowing direct Formula references like that. But you can get around that by just referencing it form a local file like this:

$ wget https://github.com/ruediger/VobSub2SRT/raw/master/packaging/vobsub2srt.rb
$ brew install --HEAD ./vobsub2srt.rb

That'll get you past the first Homebrew error, but now you have to deal with the actual build errors described in https://github.com/ruediger/VobSub2SRT/issues/81