netcat: normalize sourceforge URL

Closes Homebrew/homebrew#35947.
This commit is contained in:
Jack Nagel 2015-01-17 22:32:36 -06:00
parent 7f4bb46e32
commit b2352e07d0

View file

@ -1,9 +1,7 @@
require 'formula'
class Netcat < Formula class Netcat < Formula
homepage 'http://netcat.sourceforge.net/' homepage "http://netcat.sourceforge.net/"
url 'https://downloads.sourceforge.net/sourceforge/netcat/netcat-0.7.1.tar.bz2' url "https://downloads.sourceforge.net/project/netcat/netcat/0.7.1/netcat-0.7.1.tar.bz2"
sha1 'b761d70fe9e3e8b3fe33a329b9bc31300dc04d11' sha1 "b761d70fe9e3e8b3fe33a329b9bc31300dc04d11"
def install def install
system "./configure", "--disable-debug", system "./configure", "--disable-debug",
@ -11,6 +9,6 @@ class Netcat < Formula
"--prefix=#{prefix}", "--prefix=#{prefix}",
"--mandir=#{man}", "--mandir=#{man}",
"--infodir=#{info}" "--infodir=#{info}"
system "make install" system "make", "install"
end end
end end