s3fs-mac 1.97

This commit is contained in:
gromgit 2025-12-08 03:38:56 +00:00 committed by Adrian Ho
parent 53d1f2c78d
commit 0a3262e67b

View file

@ -3,8 +3,8 @@ require_relative "../require/macfuse"
class S3fsMac < Formula class S3fsMac < Formula
desc "FUSE-based file system backed by Amazon S3" desc "FUSE-based file system backed by Amazon S3"
homepage "https://github.com/s3fs-fuse/s3fs-fuse/wiki" homepage "https://github.com/s3fs-fuse/s3fs-fuse/wiki"
url "https://github.com/s3fs-fuse/s3fs-fuse/archive/refs/tags/v1.95.tar.gz" url "https://github.com/s3fs-fuse/s3fs-fuse/archive/refs/tags/v1.97.tar.gz"
sha256 "0c97b8922f005500d36f72aee29a1345c94191f61d795e2a7b79fb7e3e6f5517" sha256 "28413457cbf923b9b81e546caffabb8edd5c18f263e698ad86f564fd4b5b344d"
license "GPL-2.0-or-later" license "GPL-2.0-or-later"
head "https://github.com/s3fs-fuse/s3fs-fuse.git", branch: "master" head "https://github.com/s3fs-fuse/s3fs-fuse.git", branch: "master"
@ -34,19 +34,12 @@ class S3fsMac < Formula
end end
def install def install
setup_fuse setup_fuse3
system "./autogen.sh" system "./autogen.sh"
system "./configure", "--with-gnutls", *std_configure_args system "./configure", "--with-gnutls", *std_configure_args
system "make", "install" system "make", "install"
end end
def caveats
<<~EOS
This is the final version that supports FUSE 2.
Further updates require a macOS FUSE 3 implementation.
EOS
end
test do test do
system "#{bin}/s3fs", "--version" system "#{bin}/s3fs", "--version"
end end