Skip to content

Commit

Permalink
lrzsz: use brew mirror
Browse files Browse the repository at this point in the history
We may boneyard this at some point if upstream doesn't sort out the SSL issue.

Closes Homebrew/legacy-homebrew#50104.
Closes Homebrew/legacy-homebrew#50010.
Closes Homebrew/legacy-homebrew#50096.
  • Loading branch information
DomT4 authored and xu-cheng committed Mar 15, 2016
1 parent 83f27cf commit 78fd8b5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Formula/lrzsz.rb
@@ -1,7 +1,10 @@
class Lrzsz < Formula
desc "Tools for zmodem/xmodem/ymodem file transfer"
# Homepage and URL redirect http to https, which is great.
# Less great: Upstream SSL cert expired Dec 2015 and now fails to download.
homepage "http://www.ohse.de/uwe/software/lrzsz.html"
url "http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz"
# url "http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz"
url "https://dl.bintray.com/homebrew/mirror/lrzsz-0.12.20.tar.gz"
sha256 "c28b36b14bddb014d9e9c97c52459852f97bd405f89113f30bee45ed92728ff1"

def install
Expand All @@ -13,7 +16,10 @@ def install
bin.install "src/lrz", "src/lsz"

system "make", "install"

bin.install_symlink "lrz" => "rz", "lsz" => "sz"
end

test do
assert_match version.to_s, shell_output("#{bin}/lrb --help 2>&1")
end
end

0 comments on commit 78fd8b5

Please sign in to comment.