a73896881e
* use SSL/TLS homepage * SHA256 * add test (not a very meaningful test can be done without a mockup SSH server) * quotes, misc Closes Homebrew/homebrew#39538. Signed-off-by: Xu Cheng <xucheng@me.com>
53 lines
1.3 KiB
Ruby
53 lines
1.3 KiB
Ruby
class Sshfs < Formula
|
|
homepage "https://osxfuse.github.io/"
|
|
url "https://github.com/osxfuse/sshfs/archive/osxfuse-sshfs-2.5.0.tar.gz"
|
|
sha256 "8ea4d3d5bc0f343998009d7eb138e3804490f6a22e890c6de4eadc6fd2414ae0"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha1 "af9fbf03eff59354c0d4071de23ad44f68d986bd" => :mavericks
|
|
sha1 "7fa3b69a4f3f4cd06a32c11df13db57f21437c88" => :mountain_lion
|
|
sha1 "8828686ca5c28061825fe059d7d6b9afae5972e9" => :lion
|
|
end
|
|
|
|
option "without-sshnodelay", "Don't compile NODELAY workaround for ssh"
|
|
|
|
depends_on "pkg-config" => :build
|
|
depends_on "autoconf" => :build
|
|
depends_on "automake" => :build
|
|
depends_on "libtool" => :build
|
|
depends_on :osxfuse
|
|
depends_on "glib"
|
|
|
|
# Fixes issue https://github.com/osxfuse/sshfs/pull/4
|
|
patch :DATA
|
|
|
|
def install
|
|
args = %W[
|
|
--disable-dependency-tracking
|
|
--prefix=#{prefix}
|
|
]
|
|
args << "--disable-sshnodelay" if build.without? "sshnodelay"
|
|
|
|
system "autoreconf", "--force", "--install"
|
|
system "./configure", *args
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/sshfs", "--version"
|
|
end
|
|
end
|
|
|
|
__END__
|
|
--- a/sshfs.c
|
|
+++ b/sshfs.c
|
|
@@ -313,6 +313,8 @@
|
|
"ConnectTimeout",
|
|
"ControlMaster",
|
|
"ControlPath",
|
|
+ "ForwardAgent",
|
|
+ "ForwardX11",
|
|
"GlobalKnownHostsFile",
|
|
"GSSAPIAuthentication",
|
|
"GSSAPIDelegateCredentials",
|