mirror of
https://github.com/gromgit/homebrew-fuse.git
synced 2025-12-08 17:13:58 +00:00
more formula renames
This commit is contained in:
parent
d22b36dc85
commit
f77b587b4b
3 changed files with 7 additions and 5 deletions
67
Formula/sshfs-mac.rb
Normal file
67
Formula/sshfs-mac.rb
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
require_relative "../require/macfuse"
|
||||
|
||||
class SshfsMac < Formula
|
||||
desc "File system client based on SSH File Transfer Protocol"
|
||||
homepage "https://github.com/libfuse/sshfs"
|
||||
url "https://github.com/libfuse/sshfs/archive/refs/tags/sshfs-2.10.tar.gz"
|
||||
sha256 "6af13acda03a4632e3deb559ecc3f35881cb92e16098049a7ba4cc502650ab18"
|
||||
license any_of: ["LGPL-2.1-only", "GPL-2.0-only"]
|
||||
revision 1
|
||||
|
||||
bottle do
|
||||
root_url "https://github.com/gromgit/homebrew-fuse/releases/download/sshfs-mac-2.10"
|
||||
sha256 cellar: :any, big_sur: "28ffe0e1b9e3b78d37630fa183678de2a9217b5399ef05add67828f9b2cf71f5"
|
||||
sha256 cellar: :any, catalina: "2d1e986c38364093529da58fd474c587dc63d8d90b5f889e8881049525ecc955"
|
||||
sha256 cellar: :any, mojave: "d647dc7757e960cb204a7da9147801eb9d6a449fc3237dfe5d8c7ddfab7af680"
|
||||
end
|
||||
|
||||
depends_on "autoconf" => :build
|
||||
depends_on "automake" => :build
|
||||
depends_on "libtool" => :build
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "glib"
|
||||
depends_on MacfuseRequirement
|
||||
depends_on :macos
|
||||
|
||||
patch do
|
||||
url "https://github.com/libfuse/sshfs/commit/667cf34622e2e873db776791df275c7a582d6295.patch?full_index=1"
|
||||
sha256 "ab2aa697d66457bf8a3f469e89572165b58edb0771aa1e9c2070f54071fad5f6"
|
||||
end
|
||||
|
||||
patch :DATA
|
||||
|
||||
def install
|
||||
system "autoreconf", "-fiv"
|
||||
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
def caveats
|
||||
<<~EOS
|
||||
This formula is outdated, and is provided only as a courtesy.
|
||||
It cannot be updated until MacFUSE supports FUSE API version 3.
|
||||
|
||||
If security issues are discovered with this old software,
|
||||
it may be removed without notice.
|
||||
EOS
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/sshfs", "--version"
|
||||
end
|
||||
end
|
||||
__END__
|
||||
diff --git a/sshfs.c b/sshfs.c
|
||||
index 97eaf06..d442577 100644
|
||||
--- a/sshfs.c
|
||||
+++ b/sshfs.c
|
||||
@@ -14,9 +14,6 @@
|
||||
#if !defined(__CYGWIN__)
|
||||
#include <fuse_lowlevel.h>
|
||||
#endif
|
||||
-#ifdef __APPLE__
|
||||
-# include <fuse_darwin.h>
|
||||
-#endif
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
Loading…
Add table
Add a link
Reference in a new issue