mirror of
https://github.com/gromgit/homebrew-fuse.git
synced 2025-12-06 07:50:35 +00:00
Compare commits
47 commits
b903be55e3
...
e526c35fec
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e526c35fec | ||
|
|
d06c9548d6 | ||
|
|
698ed57a59 | ||
|
|
36701c7bf2 | ||
|
|
576f4c0b8d | ||
|
|
16203ce7a3 | ||
|
|
cd9b7c5fe2 | ||
|
|
6824d390a6 | ||
|
|
bb03a7e1fd | ||
|
|
defe6aabfe | ||
|
|
f5b1ac31c9 | ||
|
|
0c5e47a7f4 | ||
|
|
ea2626ab42 | ||
|
|
76293bfb1e | ||
|
|
26f37be7c2 | ||
|
|
675eec95c5 | ||
|
|
164b7013b6 | ||
|
|
132f77949e | ||
|
|
3cc69316b6 | ||
|
|
9c677b9e40 | ||
|
|
7bcc872d8e | ||
|
|
7c48dade80 | ||
|
|
e3212e73fc | ||
|
|
5a851f98e1 | ||
|
|
c7fe3baa1a | ||
|
|
f7967d17ea | ||
|
|
4b636c8580 | ||
|
|
bfdaf06e66 | ||
|
|
2520aa77e2 | ||
|
|
f47c439a6a | ||
|
|
1dada90f17 | ||
|
|
f9f9f0cc67 | ||
|
|
1efc7aa156 | ||
|
|
5ab1dc43c5 | ||
|
|
0d9a1bdd21 | ||
|
|
06ec5e2bf6 | ||
|
|
83a04a8f5e | ||
|
|
88d6e8ecd9 | ||
|
|
bb8f1cd210 | ||
|
|
26acd52863 | ||
|
|
6904e1c0a9 | ||
|
|
08a4fac1cf | ||
|
|
8584884692 | ||
|
|
7315f0ba86 | ||
|
|
4d3675c7b0 | ||
|
|
35c202c1d7 | ||
|
|
b152c0d634 |
14 changed files with 218 additions and 163 deletions
21
.github/workflows/publish.yml
vendored
21
.github/workflows/publish.yml
vendored
|
|
@ -8,33 +8,34 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
pr-pull:
|
pr-pull:
|
||||||
if: contains(github.event.pull_request.labels.*.name, 'pr-pull')
|
if: contains(github.event.pull_request.labels.*.name, 'pr-pull')
|
||||||
strategy:
|
runs-on: ubuntu-22.04
|
||||||
matrix:
|
|
||||||
os: [macos-13, macos-14, macos-15]
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
permissions:
|
permissions:
|
||||||
|
actions: read
|
||||||
|
checks: read
|
||||||
contents: write
|
contents: write
|
||||||
|
issues: read
|
||||||
packages: write
|
packages: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Homebrew
|
- name: Set up Homebrew
|
||||||
uses: Homebrew/actions/setup-homebrew@master
|
uses: Homebrew/actions/setup-homebrew@main
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Set up git
|
- name: Set up git
|
||||||
uses: Homebrew/actions/git-user-config@master
|
uses: Homebrew/actions/git-user-config@main
|
||||||
|
|
||||||
- name: Pull bottles
|
- name: Pull bottles
|
||||||
env:
|
env:
|
||||||
HOMEBREW_GITHUB_API_TOKEN: ${{ github.token }}
|
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
HOMEBREW_GITHUB_PACKAGES_TOKEN: ${{ github.token }}
|
HOMEBREW_GITHUB_PACKAGES_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
HOMEBREW_GITHUB_PACKAGES_USER: ${{ github.repository_owner }}
|
HOMEBREW_GITHUB_PACKAGES_USER: ${{ github.repository_owner }}
|
||||||
PULL_REQUEST: ${{ github.event.pull_request.number }}
|
PULL_REQUEST: ${{ github.event.pull_request.number }}
|
||||||
run: brew pr-pull --debug --tap="$GITHUB_REPOSITORY" "$PULL_REQUEST"
|
run: brew pr-pull --debug --tap="$GITHUB_REPOSITORY" "$PULL_REQUEST"
|
||||||
|
|
||||||
- name: Push commits
|
- name: Push commits
|
||||||
uses: Homebrew/actions/git-try-push@master
|
uses: Homebrew/actions/git-try-push@main
|
||||||
with:
|
with:
|
||||||
token: ${{ github.token }}
|
|
||||||
branch: main
|
branch: main
|
||||||
|
|
||||||
- name: Delete branch
|
- name: Delete branch
|
||||||
|
|
|
||||||
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
|
|
@ -10,12 +10,12 @@ jobs:
|
||||||
test-bot:
|
test-bot:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-13, macos-14, macos-15]
|
os: [macos-14, macos-15, macos-26]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Homebrew
|
- name: Set up Homebrew
|
||||||
id: set-up-homebrew
|
id: set-up-homebrew
|
||||||
uses: Homebrew/actions/setup-homebrew@master
|
uses: Homebrew/actions/setup-homebrew@main
|
||||||
|
|
||||||
- name: Cache Homebrew Bundler RubyGems
|
- name: Cache Homebrew Bundler RubyGems
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
|
|
@ -32,7 +32,7 @@ jobs:
|
||||||
|
|
||||||
- run: brew test-bot --only-tap-syntax
|
- run: brew test-bot --only-tap-syntax
|
||||||
|
|
||||||
- run: brew test-bot --only-formulae --root-url='https://ghcr.io/v2/gromgit/fuse'
|
- run: brew test-bot --verbose --debug --only-formulae --root-url='https://ghcr.io/v2/gromgit/fuse'
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
|
|
||||||
- name: Upload bottles as artifact
|
- name: Upload bottles as artifact
|
||||||
|
|
|
||||||
|
|
@ -2,20 +2,17 @@ require_relative "../require/macfuse"
|
||||||
|
|
||||||
class ArchivemountMac < Formula
|
class ArchivemountMac < Formula
|
||||||
desc "File system for accessing archives using libarchive"
|
desc "File system for accessing archives using libarchive"
|
||||||
homepage "https://github.com/cybernoid/archivemount"
|
homepage "https://git.sr.ht/~nabijaczleweli/archivemount-ng"
|
||||||
url "https://slackware.uk/~urchlay/src/archivemount-0.9.1.tar.gz"
|
url "https://git.sr.ht/~nabijaczleweli/archivemount-ng/archive/1b.tar.gz"
|
||||||
sha256 "c529b981cacb19541b48ddafdafb2ede47a40fcaf16c677c1e2cd198b159c5b3"
|
version "1b"
|
||||||
|
sha256 "de10cfee3bff8c1dd2b92358531d3c0001db36a99e1098ed0c9d205d110e903d"
|
||||||
livecheck do
|
license "LGPL-2.0-or-later"
|
||||||
url "https://raw.githubusercontent.com/cybernoid/archivemount/refs/heads/master/CHANGELOG"
|
|
||||||
regex(/\*\s+v?(\d+(?:\.\d+)+)\s+/i)
|
|
||||||
end
|
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||||
rebuild 1
|
sha256 cellar: :any, arm64_tahoe: "e0aa81ce9ae8fb880b340b02077e03acaf1d4f489554a411bf4430ba3a558f31"
|
||||||
sha256 cellar: :any, arm64_sonoma: "abe39d7d99aae950033e62df6c1ac3c33b7b8a7863eeb92d2bb82c1b3b5662fc"
|
sha256 cellar: :any, arm64_sequoia: "fa4e1c0bbd16a705f0746d9c1721e3a5ebf9fc664b49291dd0390129542595ae"
|
||||||
sha256 cellar: :any, ventura: "be2622a6cb26b8dc581c35b1cad1f07ddafbfea379e5f4db250258ab6583f615"
|
sha256 cellar: :any, arm64_sonoma: "ab28653f06c95589c740800b90187182cf45abffa2dda25146881dceaa963152"
|
||||||
end
|
end
|
||||||
|
|
||||||
depends_on "pkgconf" => :build
|
depends_on "pkgconf" => :build
|
||||||
|
|
@ -24,9 +21,8 @@ class ArchivemountMac < Formula
|
||||||
depends_on :macos
|
depends_on :macos
|
||||||
|
|
||||||
def install
|
def install
|
||||||
setup_fuse
|
setup_fuse3
|
||||||
system "./configure", "--disable-silent-rules", *std_configure_args
|
system "make", "PREFIX=#{prefix}", "install"
|
||||||
system "make", "install"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
test do
|
test do
|
||||||
|
|
|
||||||
|
|
@ -3,49 +3,83 @@ require_relative "../require/macfuse"
|
||||||
class DwarfsFuseMac < Formula
|
class DwarfsFuseMac < Formula
|
||||||
desc "Fast high compression read-only file system (macFUSE driver)"
|
desc "Fast high compression read-only file system (macFUSE driver)"
|
||||||
homepage "https://github.com/mhx/dwarfs"
|
homepage "https://github.com/mhx/dwarfs"
|
||||||
url "https://github.com/mhx/dwarfs/releases/download/v0.12.4/dwarfs-0.12.4.tar.xz"
|
url "https://github.com/mhx/dwarfs/releases/download/v0.14.1/dwarfs-0.14.1.tar.xz"
|
||||||
sha256 "352d13a3c7d9416e0a7d0d959306a25908b58d1ff47fb97e30a7c8490fcff259"
|
sha256 "620cf27f2e142a5f8fc05552a70704c3bf4df23c3279c6026b3f37954d0529c5"
|
||||||
license "GPL-3.0-or-later"
|
license "GPL-3.0-or-later"
|
||||||
|
|
||||||
livecheck do
|
livecheck do
|
||||||
url :stable
|
url :stable
|
||||||
|
regex(/^(?:release[._-])?v?(\d+(?:\.\d+)+)$/i)
|
||||||
strategy :github_latest
|
strategy :github_latest
|
||||||
end
|
end
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||||
sha256 cellar: :any, arm64_sonoma: "90f3d989da230bc700c53503d32ca75dfff4452dd3883d7deef88767b3972112"
|
sha256 arm64_sequoia: "435146a6369cafb5e9bacfb9470c14c8812b75e68d518041ad3e0125b43c7e43"
|
||||||
sha256 cellar: :any, ventura: "549f3ecb3236964c7ecb36cb967de29872ed5257de5a37491577762a660f2cb8"
|
sha256 arm64_sonoma: "6bdf459cae00709de615e2df120218898a223d95304abc32e393c47f600adfb2"
|
||||||
end
|
end
|
||||||
|
|
||||||
depends_on "cmake" => :build
|
depends_on "cmake" => :build
|
||||||
depends_on "pkg-config" => :build
|
depends_on "googletest" => :build
|
||||||
depends_on "dwarfs"
|
depends_on "pkgconf" => :build
|
||||||
|
depends_on "boost"
|
||||||
|
depends_on "brotli"
|
||||||
|
depends_on "double-conversion"
|
||||||
|
depends_on "flac"
|
||||||
|
depends_on "fmt"
|
||||||
|
depends_on "gflags"
|
||||||
|
depends_on "glog"
|
||||||
|
depends_on "howard-hinnant-date"
|
||||||
|
depends_on "libarchive"
|
||||||
|
depends_on "libevent"
|
||||||
|
depends_on "libsodium"
|
||||||
depends_on "llvm" if DevelopmentTools.clang_build_version <= 1500
|
depends_on "llvm" if DevelopmentTools.clang_build_version <= 1500
|
||||||
|
depends_on "lz4"
|
||||||
depends_on MacfuseRequirement
|
depends_on MacfuseRequirement
|
||||||
depends_on :macos
|
depends_on :macos
|
||||||
|
depends_on "nlohmann-json"
|
||||||
|
depends_on "openssl@3"
|
||||||
|
depends_on "parallel-hashmap"
|
||||||
|
depends_on "range-v3"
|
||||||
|
depends_on "utf8cpp"
|
||||||
|
depends_on "xxhash"
|
||||||
|
depends_on "xz"
|
||||||
|
depends_on "zstd"
|
||||||
|
|
||||||
|
conflicts_with "dwarfs", because: "both install the same binaries"
|
||||||
|
|
||||||
fails_with :clang do
|
fails_with :clang do
|
||||||
build 1500
|
build 1500
|
||||||
cause "Not all required C++20 features are supported"
|
cause "Not all required C++20 features are supported"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Workaround for Boost 1.89.0 until upstream Folly fix.
|
||||||
|
# Issue ref: https://github.com/facebook/folly/issues/2489
|
||||||
|
# Fix to Undefined symbols for architecture x86_64: "_XXH3_64bits"
|
||||||
|
patch :DATA
|
||||||
|
|
||||||
def install
|
def install
|
||||||
args = %W[
|
args = %W[
|
||||||
-DBUILD_SHARED_LIBS=ON
|
-DBUILD_SHARED_LIBS=ON
|
||||||
-DCMAKE_INSTALL_RPATH=#{rpath}
|
-DCMAKE_INSTALL_RPATH=#{rpath}
|
||||||
-DWITH_LIBDWARFS=OFF
|
-DWITH_LIBDWARFS=ON
|
||||||
-DWITH_TOOLS=OFF
|
-DWITH_TOOLS=ON
|
||||||
-DWITH_FUSE_DRIVER=ON
|
-DWITH_FUSE_DRIVER=ON
|
||||||
-DWITH_TESTS=OFF
|
-DWITH_TESTS=ON
|
||||||
-DWITH_MAN_PAGES=ON
|
-DWITH_MAN_PAGES=ON
|
||||||
-DENABLE_PERFMON=ON
|
-DENABLE_PERFMON=ON
|
||||||
|
-DTRY_ENABLE_FLAC=ON
|
||||||
|
-DENABLE_RICEPP=ON
|
||||||
-DENABLE_STACKTRACE=OFF
|
-DENABLE_STACKTRACE=OFF
|
||||||
-DDISABLE_CCACHE=ON
|
-DDISABLE_CCACHE=ON
|
||||||
-DDISABLE_MOLD=ON
|
-DDISABLE_MOLD=ON
|
||||||
|
-DPREFER_SYSTEM_GTEST=ON
|
||||||
]
|
]
|
||||||
|
|
||||||
if DevelopmentTools.clang_build_version <= 1500
|
if DevelopmentTools.clang_build_version <= 1500
|
||||||
|
# No ASAN for folly
|
||||||
|
ENV.append "CXXFLAGS", "-D_LIBCPP_HAS_NO_ASAN"
|
||||||
|
|
||||||
ENV.llvm_clang
|
ENV.llvm_clang
|
||||||
|
|
||||||
# Needed in order to find the C++ standard library
|
# Needed in order to find the C++ standard library
|
||||||
|
|
@ -60,6 +94,54 @@ class DwarfsFuseMac < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
test do
|
test do
|
||||||
system sbin/"dwarfs", "--help"
|
# produce a dwarfs image
|
||||||
|
system bin/"mkdwarfs", "-i", prefix, "-o", "test.dwarfs", "-l4"
|
||||||
|
|
||||||
|
# check the image
|
||||||
|
system bin/"dwarfsck", "test.dwarfs"
|
||||||
|
|
||||||
|
# get JSON info about the image
|
||||||
|
info = JSON.parse(shell_output("#{bin}/dwarfsck test.dwarfs -j"))
|
||||||
|
assert_equal info["created_by"], "libdwarfs v#{version}"
|
||||||
|
assert info["inode_count"] >= 10
|
||||||
|
|
||||||
|
# extract the image
|
||||||
|
system bin/"dwarfsextract", "-i", "test.dwarfs"
|
||||||
|
assert_path_exists "bin/mkdwarfs"
|
||||||
|
assert_path_exists "share/man/man1/mkdwarfs.1"
|
||||||
|
assert compare_file bin/"mkdwarfs", "bin/mkdwarfs"
|
||||||
|
|
||||||
|
(testpath/"test.cpp").write <<~CPP
|
||||||
|
#include <iostream>
|
||||||
|
#include <dwarfs/version.h>
|
||||||
|
|
||||||
|
int main(int argc, char **argv) {
|
||||||
|
int v = dwarfs::get_dwarfs_library_version();
|
||||||
|
int major = v / 10000;
|
||||||
|
int minor = (v % 10000) / 100;
|
||||||
|
int patch = v % 100;
|
||||||
|
std::cout << major << "." << minor << "." << patch << std::endl;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
CPP
|
||||||
|
|
||||||
|
# ENV.llvm_clang doesn't work in the test block
|
||||||
|
ENV["CXX"] = Formula["llvm"].opt_bin/"clang++" if OS.mac? && DevelopmentTools.clang_build_version <= 1500
|
||||||
|
|
||||||
|
system ENV.cxx, "-std=c++20", "test.cpp", "-I#{include}", "-L#{lib}", "-o", "test", "-ldwarfs_common"
|
||||||
|
|
||||||
|
assert_equal version.to_s, shell_output("./test").chomp
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
__END__
|
||||||
|
--- a/folly/CMake/folly-config.cmake.in
|
||||||
|
+++ b/folly/CMake/folly-config.cmake.in
|
||||||
|
@@ -38,7 +38,6 @@ find_dependency(Boost 1.51.0 MODULE
|
||||||
|
filesystem
|
||||||
|
program_options
|
||||||
|
regex
|
||||||
|
- system
|
||||||
|
thread
|
||||||
|
REQUIRED
|
||||||
|
)
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@ require_relative "../require/macfuse"
|
||||||
class GcsfuseMac < Formula
|
class GcsfuseMac < Formula
|
||||||
desc "User-space file system for interacting with Google Cloud"
|
desc "User-space file system for interacting with Google Cloud"
|
||||||
homepage "https://github.com/googlecloudplatform/gcsfuse"
|
homepage "https://github.com/googlecloudplatform/gcsfuse"
|
||||||
url "https://github.com/GoogleCloudPlatform/gcsfuse/archive/refs/tags/v3.2.0.tar.gz"
|
url "https://github.com/GoogleCloudPlatform/gcsfuse/archive/refs/tags/v3.4.4.tar.gz"
|
||||||
sha256 "ed9eef281436c3163075cd499ca5766c1d84604c1bad9b8fca1bf553faa41658"
|
sha256 "4f1c25ba20044394538fa7704511669493465bccf11cd257bb745f7baa531142"
|
||||||
license "Apache-2.0"
|
license "Apache-2.0"
|
||||||
head "https://github.com/GoogleCloudPlatform/gcsfuse.git", branch: "master"
|
head "https://github.com/GoogleCloudPlatform/gcsfuse.git", branch: "master"
|
||||||
|
|
||||||
|
|
@ -15,9 +15,9 @@ class GcsfuseMac < Formula
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||||
sha256 cellar: :any_skip_relocation, arm64_sequoia: "0bb03a3875b2733b43efb9ba8ebf04a4c1b69380ba3f6538054d566e5b09379a"
|
sha256 cellar: :any_skip_relocation, arm64_tahoe: "af3511891e38ad8683e6d6746a1b9755bcbd70d07ddfa3b37d323472a3cfdbd1"
|
||||||
sha256 cellar: :any_skip_relocation, arm64_sonoma: "1e0a7c41667c0d88a8383685578b027d98a31939e418e3eae59f3abbc8ac4d60"
|
sha256 cellar: :any_skip_relocation, arm64_sequoia: "a0c7e6a39a1d968761e62cef8e75fa2ad2ab441ef4c9e094da90674eecac1494"
|
||||||
sha256 cellar: :any_skip_relocation, ventura: "c1f1ecd031de3d3a1ed3855074ea34e2d73525c34ba944bcd1db2a445c6a870d"
|
sha256 cellar: :any_skip_relocation, arm64_sonoma: "4f8f8974e7c471ca82d45c83077efb3faef55e9ecd775eefb46f7e20d716459c"
|
||||||
end
|
end
|
||||||
|
|
||||||
depends_on "go" => :build
|
depends_on "go" => :build
|
||||||
|
|
|
||||||
|
|
@ -5,29 +5,21 @@ class GitfsMac < Formula
|
||||||
|
|
||||||
desc "Version controlled file system"
|
desc "Version controlled file system"
|
||||||
homepage "https://www.presslabs.com/gitfs"
|
homepage "https://www.presslabs.com/gitfs"
|
||||||
url "https://github.com/presslabs/gitfs/archive/refs/tags/0.5.2.tar.gz"
|
url "https://github.com/vtemian/gitfs/archive/refs/tags/v1.0.0.tar.gz"
|
||||||
sha256 "921e24311e3b8ea3a5448d698a11a747618ee8dd62d5d43a85801de0b111cbf3"
|
sha256 "75835c6e4cad400c06e86ecb2efedfa7a8ffe5c5939c4e70040f6e861b4e85d3"
|
||||||
license "Apache-2.0"
|
license "Apache-2.0"
|
||||||
revision 1
|
head "https://github.com/vtemian/gitfs.git", branch: "main"
|
||||||
head "https://github.com/presslabs/gitfs.git"
|
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
root_url "https://github.com/gromgit/homebrew-fuse/releases/download/gitfs-mac-0.5.2"
|
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||||
sha256 cellar: :any, arm64_monterey: "5aa42d1f875f89f6860de825ba6f522435e9e78361b3eddc3b32799d3c5aa498"
|
sha256 cellar: :any, arm64_sequoia: "e48dd7b94f4ff6bbec3b51fa4c607a04bdb2338267315d3da988c1d9f6254bd5"
|
||||||
sha256 cellar: :any, monterey: "ba780fac3f0470ed7e5a01f2bd1b0df66918bd50eac1b58e8373e3e0dc52974d"
|
sha256 cellar: :any, arm64_sonoma: "903d6859b1d8cb7d0fa54ee4294e6bd3c57d796495b4850ba4cb50b6c5bf7d63"
|
||||||
sha256 cellar: :any, big_sur: "e0086949aa4b8e18713a50cacb8bf2f1f73dba28e6523273b53856da35ea9dc7"
|
|
||||||
sha256 cellar: :any, catalina: "aa14fd52fbd30a3d46fd57ec011ad73fefabc3350c5b962c10c71961bc9f7265"
|
|
||||||
sha256 cellar: :any, mojave: "7d0605b4d2d6022c607ae6dfbdf87ae984b2f73bbe43e35cddf60fef0b79d3dc"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# Last release on 2019-10-20 and upstream has locked pygit2==0.28.2, which Homebrew
|
|
||||||
# has been ignoring and manually updating to support recent `libgit2` versions.
|
|
||||||
disable! date: "2023-10-06", because: :unmaintained
|
|
||||||
|
|
||||||
depends_on "libgit2"
|
depends_on "libgit2"
|
||||||
depends_on MacfuseRequirement
|
depends_on MacfuseRequirement
|
||||||
depends_on :macos
|
depends_on :macos
|
||||||
depends_on "python@3.9"
|
depends_on "python@3.13"
|
||||||
|
|
||||||
uses_from_macos "libffi"
|
uses_from_macos "libffi"
|
||||||
|
|
||||||
|
|
@ -36,51 +28,40 @@ class GitfsMac < Formula
|
||||||
sha256 "cb1378c4cd676d6f243641c50e277504abf45f70f1ea76e446efcdbb69624bbe"
|
sha256 "cb1378c4cd676d6f243641c50e277504abf45f70f1ea76e446efcdbb69624bbe"
|
||||||
end
|
end
|
||||||
|
|
||||||
resource "cached-property" do
|
resource "certifi" do
|
||||||
url "https://files.pythonhosted.org/packages/57/8e/0698e10350a57d46b3bcfe8eff1d4181642fd1724073336079cb13c5cf7f/cached-property-1.5.1.tar.gz"
|
url "https://files.pythonhosted.org/packages/73/f7/f14b46d4bcd21092d7d3ccef689615220d8a08fb25e564b65d20738e672e/certifi-2025.6.15.tar.gz"
|
||||||
sha256 "9217a59f14a5682da7c4b8829deadbfc194ac22e9908ccf7c8820234e80a1504"
|
sha256 "d747aa5a8b9bbbb1bb8c22bb13e22bd1f18e9796defa16bab421f7f7a317323b"
|
||||||
end
|
end
|
||||||
|
|
||||||
resource "cffi" do
|
resource "cffi" do
|
||||||
url "https://files.pythonhosted.org/packages/66/6a/98e023b3d11537a5521902ac6b50db470c826c682be6a8c661549cb7717a/cffi-1.14.4.tar.gz"
|
url "https://files.pythonhosted.org/packages/fc/97/c783634659c2920c3fc70419e3af40972dbaf758daa229a7d6ea6135c90d/cffi-1.17.1.tar.gz"
|
||||||
sha256 "1a465cbe98a7fd391d47dce4b8f7e5b921e6cd805ef421d04f5f66ba8f06086c"
|
sha256 "1c39c6016c32bc48dd54561950ebd6836e1670f2ae46128f67cf49e789c52824"
|
||||||
end
|
end
|
||||||
|
|
||||||
resource "fusepy" do
|
resource "mfusepy" do
|
||||||
url "https://files.pythonhosted.org/packages/04/0b/4506cb2e831cea4b0214d3625430e921faaa05a7fb520458c75a2dbd2152/fusepy-3.0.1.tar.gz"
|
url "https://files.pythonhosted.org/packages/1c/94/c9d5dcba4a6a2b32ba23e22fd13ca08e6f5408420b2dfe42984af22277b6/mfusepy-3.0.0.tar.gz"
|
||||||
sha256 "72ff783ec2f43de3ab394e3f7457605bf04c8cf288a2f4068b4cde141d4ee6bd"
|
sha256 "eddade33e427bac9c455464cd0a7d12d63c033255ec6b1e0d6ada143a945c6f2"
|
||||||
end
|
|
||||||
|
|
||||||
resource "pygit2" do
|
|
||||||
url "https://files.pythonhosted.org/packages/6b/23/a8c5b726a58282fe2cadcc63faaddd4be147c3c8e0bd38b233114adf98fd/pygit2-1.6.1.tar.gz"
|
|
||||||
sha256 "c3303776f774d3e0115c1c4f6e1fc35470d15f113a7ae9401a0b90acfa1661ac"
|
|
||||||
|
|
||||||
# libgit2 1.3 support
|
|
||||||
# https://github.com/libgit2/pygit2/pull/1089
|
|
||||||
patch do
|
|
||||||
url "https://raw.githubusercontent.com/Homebrew/formula-patches/54d3a0d1f241fdd4e9229312ced0d8da85d964b1/pygit2/libgit2-1.3.0.patch"
|
|
||||||
sha256 "4d501c09d6642d50d89a1a4d691980e3a4a2ebcb6de7b45d22cce16a451b9839"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
resource "six" do
|
|
||||||
url "https://files.pythonhosted.org/packages/dd/bf/4138e7bfb757de47d1f4b6994648ec67a51efe58fa907c1e11e350cddfca/six-1.12.0.tar.gz"
|
|
||||||
sha256 "d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73"
|
|
||||||
end
|
|
||||||
|
|
||||||
resource "raven" do
|
|
||||||
url "https://files.pythonhosted.org/packages/79/57/b74a86d74f96b224a477316d418389af9738ba7a63c829477e7a86dd6f47/raven-6.10.0.tar.gz"
|
|
||||||
sha256 "3fa6de6efa2493a7c827472e984ce9b020797d0da16f1db67197bcc23c8fae54"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
resource "pycparser" do
|
resource "pycparser" do
|
||||||
url "https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz"
|
url "https://files.pythonhosted.org/packages/1d/b2/31537cf4b1ca988837256c910a668b553fceb8f069bedc4b1c826024b52c/pycparser-2.22.tar.gz"
|
||||||
sha256 "a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3"
|
sha256 "491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6"
|
||||||
end
|
end
|
||||||
|
|
||||||
# pygit2 1.6.1 support
|
resource "pygit2" do
|
||||||
# https://github.com/presslabs/gitfs/pull/379
|
url "https://files.pythonhosted.org/packages/c1/4a/72a5f3572912d93d8096f8447a20fe3aff5b5dc65aca08a2083eae54d148/pygit2-1.18.0.tar.gz"
|
||||||
patch :DATA
|
sha256 "fbd01d04a4d2ce289aaa02cf858043679bf0dd1f9855c6b88ed95382c1f5011a"
|
||||||
|
end
|
||||||
|
|
||||||
|
resource "sentry-sdk" do
|
||||||
|
url "https://files.pythonhosted.org/packages/04/4c/af31e0201b48469786ddeb1bf6fd3dfa3a291cc613a0fe6a60163a7535f9/sentry_sdk-2.30.0.tar.gz"
|
||||||
|
sha256 "436369b02afef7430efb10300a344fb61a11fe6db41c2b11f41ee037d2dd7f45"
|
||||||
|
end
|
||||||
|
|
||||||
|
resource "urllib3" do
|
||||||
|
url "https://files.pythonhosted.org/packages/15/22/9ee70a2574a4f4599c47dd506532914ce044817c7752a79b6a51286319bc/urllib3-2.5.0.tar.gz"
|
||||||
|
sha256 "3fc47733c7e419d4bc3f6b3dc2b4f890bb743906a30d56ba4a5bfa4bbff92760"
|
||||||
|
end
|
||||||
|
|
||||||
def install
|
def install
|
||||||
virtualenv_install_with_resources
|
virtualenv_install_with_resources
|
||||||
|
|
@ -95,7 +76,7 @@ class GitfsMac < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
test do
|
test do
|
||||||
xy = Language::Python.major_minor_version Formula["python@3.9"].opt_bin/"python3"
|
xy = Language::Python.major_minor_version Formula["python@3.13"].opt_bin/"python3"
|
||||||
ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python#{xy}/site-packages"
|
ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python#{xy}/site-packages"
|
||||||
|
|
||||||
(testpath/"test.py").write <<~EOS
|
(testpath/"test.py").write <<~EOS
|
||||||
|
|
@ -104,7 +85,7 @@ class GitfsMac < Formula
|
||||||
pygit2.init_repository('testing/.git', True)
|
pygit2.init_repository('testing/.git', True)
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
system Formula["python@3.9"].opt_bin/"python3", "test.py"
|
system Formula["python@3.13"].opt_bin/"python3", "test.py"
|
||||||
assert_path_exists testpath/"testing/.git/config"
|
assert_path_exists testpath/"testing/.git/config"
|
||||||
cd "testing" do
|
cd "testing" do
|
||||||
system "git", "remote", "add", "homebrew", "https://github.com/Homebrew/homebrew-core.git"
|
system "git", "remote", "add", "homebrew", "https://github.com/Homebrew/homebrew-core.git"
|
||||||
|
|
@ -112,29 +93,3 @@ class GitfsMac < Formula
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
__END__
|
|
||||||
diff --git a/gitfs/mounter.py b/gitfs/mounter.py
|
|
||||||
index 31b436d..391e899 100644
|
|
||||||
--- a/gitfs/mounter.py
|
|
||||||
+++ b/gitfs/mounter.py
|
|
||||||
@@ -19,7 +19,7 @@ import resource
|
|
||||||
|
|
||||||
from fuse import FUSE
|
|
||||||
from pygit2 import Keypair, UserPass
|
|
||||||
-from pygit2.remote import RemoteCallbacks
|
|
||||||
+from pygit2.callbacks import RemoteCallbacks
|
|
||||||
|
|
||||||
from gitfs import __version__
|
|
||||||
from gitfs.utils import Args
|
|
||||||
diff --git a/requirements.txt b/requirements.txt
|
|
||||||
index fb7d0f3..42c4d1f 100644
|
|
||||||
--- a/requirements.txt
|
|
||||||
+++ b/requirements.txt
|
|
||||||
@@ -2,6 +2,6 @@ atomiclong==0.1.1
|
|
||||||
cffi==1.12.3
|
|
||||||
fusepy==3.0.1
|
|
||||||
pycparser==2.19
|
|
||||||
-pygit2==0.28.2
|
|
||||||
+pygit2==1.16.1
|
|
||||||
raven==6.10.0
|
|
||||||
six==1.12.0
|
|
||||||
|
|
|
||||||
|
|
@ -3,16 +3,14 @@ require_relative "../require/macfuse"
|
||||||
class IfuseMac < Formula
|
class IfuseMac < Formula
|
||||||
desc "FUSE module for iOS devices"
|
desc "FUSE module for iOS devices"
|
||||||
homepage "https://libimobiledevice.org/"
|
homepage "https://libimobiledevice.org/"
|
||||||
url "https://github.com/libimobiledevice/ifuse/archive/refs/tags/1.1.4.tar.gz"
|
url "https://github.com/libimobiledevice/ifuse/archive/refs/tags/1.2.0.tar.gz"
|
||||||
sha256 "2a00769e8f1d8bad50898b9d00baf12c8ae1cda2d19ff49eaa9bf580e5dbe78c"
|
sha256 "29ab853037d781ef19f734936454c7f7806d1c46fbcca6e15ac179685ab37c9c"
|
||||||
license "LGPL-2.1-or-later"
|
license "LGPL-2.1-or-later"
|
||||||
head "https://github.com/libimobiledevice/ifuse.git", branch: "master"
|
head "https://github.com/libimobiledevice/ifuse.git", branch: "master"
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||||
rebuild 1
|
sha256 cellar: :any, arm64_sequoia: "7b2a54ceeca52d5ada2e625f7e3edbcdd7f6eedfc8b8f6286137fb38fcff50e6"
|
||||||
sha256 cellar: :any, arm64_sonoma: "06ceadb0e0c288cc0f02b5c64c7051f8d54dd39d697801c305ba70101780e3ee"
|
|
||||||
sha256 cellar: :any, ventura: "d7aecf23caa314cb17ae46d790af547fceca621a300f19f74b2593c0c4cafe10"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
depends_on "autoconf" => :build
|
depends_on "autoconf" => :build
|
||||||
|
|
@ -26,7 +24,11 @@ class IfuseMac < Formula
|
||||||
depends_on :macos
|
depends_on :macos
|
||||||
|
|
||||||
def install
|
def install
|
||||||
setup_fuse
|
# This file can be generated only if `.git` directory is present
|
||||||
|
# Create it manually
|
||||||
|
(buildpath/".tarball-version").write version.to_s
|
||||||
|
|
||||||
|
setup_fuse3
|
||||||
system "./autogen.sh", *std_configure_args
|
system "./autogen.sh", *std_configure_args
|
||||||
system "make", "install"
|
system "make", "install"
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -5,16 +5,16 @@ class RatarmountMac < Formula
|
||||||
|
|
||||||
desc "Mount and efficiently access archives as filesystems"
|
desc "Mount and efficiently access archives as filesystems"
|
||||||
homepage "https://github.com/mxmlnkn/ratarmount"
|
homepage "https://github.com/mxmlnkn/ratarmount"
|
||||||
url "https://files.pythonhosted.org/packages/e0/5c/ffddb34553d65cb9bf1a0baa59bb61fcf3beebab0e0a944347a501b2e258/ratarmount-1.2.0.tar.gz"
|
url "https://files.pythonhosted.org/packages/f6/2f/ce04f40f3cc82bb3ffbc97bffe3b7a2abe83a382c81fe2452ad54792acdf/ratarmount-1.2.1.tar.gz"
|
||||||
sha256 "acca4e5803c75f50f94d4c75ead5f44aa4c4661c9e77d50eb25d1876e6f4dec9"
|
sha256 "28be2f1b9477ba4d0d8d75ddbc2468fc906970d36f4940bd932d1a51818e06a0"
|
||||||
license "MIT"
|
license "MIT"
|
||||||
head "https://github.com/mxmlnkn/ratarmount.git", branch: "master"
|
head "https://github.com/mxmlnkn/ratarmount.git", branch: "master"
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||||
sha256 cellar: :any, arm64_sequoia: "2365105db0ac74c04321995b37ff0be6159f70ae2d34147be2d37557dec9f714"
|
sha256 cellar: :any, arm64_tahoe: "f89ceae4c6bb313cf569f7727033c07390db1382965a22e1197d0f1ee9c0a5bc"
|
||||||
sha256 cellar: :any, arm64_sonoma: "a8f2c88f8e5c6068a1cbb4418a86ee0826d8cf36b4d12a33b1fd1dc768d5ae73"
|
sha256 cellar: :any, arm64_sequoia: "c0beb8c22c87eac4c3ba674f1c7245d0094f3bfebf64f9fce2fea1bfa0c2d674"
|
||||||
sha256 cellar: :any, ventura: "f24a02c02121d7338d6a03915c3501377455b7c590b40de086d684d28459b7a1"
|
sha256 cellar: :any, arm64_sonoma: "588e3d984a585d5c2770882e3afc3872524a979738809eee8a5d5dff5bbc15b8"
|
||||||
end
|
end
|
||||||
|
|
||||||
depends_on "libgit2"
|
depends_on "libgit2"
|
||||||
|
|
@ -24,8 +24,8 @@ class RatarmountMac < Formula
|
||||||
depends_on "zstd"
|
depends_on "zstd"
|
||||||
|
|
||||||
resource "brotli" do
|
resource "brotli" do
|
||||||
url "https://files.pythonhosted.org/packages/2f/c2/f9e977608bdf958650638c3f1e28f85a1b075f075ebbe77db8555463787b/Brotli-1.1.0.tar.gz"
|
url "https://files.pythonhosted.org/packages/f7/16/c92ca344d646e71a43b8bb353f0a6490d7f6e06210f8554c8f874e454285/brotli-1.2.0.tar.gz"
|
||||||
sha256 "81de08ac11bcb85841e440c13611c00b67d3bf82698314928d0b676362546724"
|
sha256 "e310f77e41941c13340a95976fe66a8a95b01e783d430eeaf7a2f87e0a57dd0a"
|
||||||
end
|
end
|
||||||
|
|
||||||
resource "fast-zip-decryption" do
|
resource "fast-zip-decryption" do
|
||||||
|
|
@ -64,8 +64,8 @@ class RatarmountMac < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
resource "psutil" do
|
resource "psutil" do
|
||||||
url "https://files.pythonhosted.org/packages/2a/80/336820c1ad9286a4ded7e845b2eccfcb27851ab8ac6abece774a6ff4d3de/psutil-7.0.0.tar.gz"
|
url "https://files.pythonhosted.org/packages/e1/88/bdd0a41e5857d5d703287598cbf08dad90aed56774ea52ae071bae9071b6/psutil-7.1.3.tar.gz"
|
||||||
sha256 "7be9c3eba38beccb6495ea33afd982a44074b78f28c434a1f51cc07fd315c456"
|
sha256 "6c86281738d77335af7aec228328e944b30930899ea760ecf33a4dba66be5e74"
|
||||||
end
|
end
|
||||||
|
|
||||||
resource "py7zr" do
|
resource "py7zr" do
|
||||||
|
|
@ -94,13 +94,13 @@ class RatarmountMac < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
resource "pyzstd" do
|
resource "pyzstd" do
|
||||||
url "https://files.pythonhosted.org/packages/8f/a2/54d860ccbd07e3c67e4d0321d1c29fc7963ac82cf801a078debfc4ef7c15/pyzstd-0.17.0.tar.gz"
|
url "https://files.pythonhosted.org/packages/47/82/7bcafbf06ee83a66990ce5badbb8f4dc32184346bab20de7e468b1a2f6ec/pyzstd-0.18.0.tar.gz"
|
||||||
sha256 "d84271f8baa66c419204c1dd115a4dec8b266f8a2921da21b81764fa208c1db6"
|
sha256 "81b6851ab1ca2e5f2c709e896a1362e3065a64f271f43db77fb7d5e4a78e9861"
|
||||||
end
|
end
|
||||||
|
|
||||||
resource "rapidgzip" do
|
resource "rapidgzip" do
|
||||||
url "https://files.pythonhosted.org/packages/fa/df/f4abf845cb27f60156b124af95f483d2861cd607811120650293a1835327/rapidgzip-0.15.0.tar.gz"
|
url "https://files.pythonhosted.org/packages/d6/50/b9bb77eaf841f2fbd8123d9677815d4ef53b53c4c189c5f789c78ef2d05e/rapidgzip-0.15.2.tar.gz"
|
||||||
sha256 "e81079c190c458652076f3667f90aa5886fbf2c92a5a3d0169cfb1faf1e45dfa"
|
sha256 "fa3f90f17ce185a99514df54b5316bdfa593e98f3eebbb12da301eb25d6dedcd"
|
||||||
end
|
end
|
||||||
|
|
||||||
resource "rarfile" do
|
resource "rarfile" do
|
||||||
|
|
@ -109,8 +109,8 @@ class RatarmountMac < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
resource "ratarmountcore" do
|
resource "ratarmountcore" do
|
||||||
url "https://files.pythonhosted.org/packages/60/ab/3f75901c28a4680d0e416b3e618587e25422613dd4735ad98cad74a40a7e/ratarmountcore-0.10.0.tar.gz"
|
url "https://files.pythonhosted.org/packages/f8/15/b9c2a47a4adba9b7bef8a057896a8e96db1d286ae538bd1d9d2fd147febd/ratarmountcore-0.10.2.tar.gz"
|
||||||
sha256 "178d8f6be572e22847264f34c4b0d2166bec8b6de650b69e485b60e98a7c1ba0"
|
sha256 "35e2935e1e135140d1bb8d82061c1527fb168ba5653d0218c06f3ec106711e6c"
|
||||||
end
|
end
|
||||||
|
|
||||||
resource "texttable" do
|
resource "texttable" do
|
||||||
|
|
|
||||||
|
|
@ -3,15 +3,16 @@ require_relative "../require/macfuse"
|
||||||
class RcloneMac < Formula
|
class RcloneMac < Formula
|
||||||
desc "Rsync for cloud storage (with macOS FUSE mount support)"
|
desc "Rsync for cloud storage (with macOS FUSE mount support)"
|
||||||
homepage "https://rclone.org/"
|
homepage "https://rclone.org/"
|
||||||
url "https://github.com/rclone/rclone/archive/refs/tags/v1.70.3.tar.gz"
|
url "https://github.com/rclone/rclone/archive/refs/tags/v1.72.0.tar.gz"
|
||||||
sha256 "0b25fb9f0cb26883cfa885576ddb34276564a1e224edc5aacab826f9ba22179d"
|
sha256 "5a2eccbc3519224377c0fbbf4469c6e8125c37616ac28cf3c3ec091ccfbbe0c5"
|
||||||
license "MIT"
|
license "MIT"
|
||||||
head "https://github.com/rclone/rclone.git"
|
head "https://github.com/rclone/rclone.git", branch: "master"
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||||
sha256 cellar: :any_skip_relocation, arm64_sonoma: "6c3e6714c891d9196a9082473937f211761f1e14416df51b4f85a848b1c365f2"
|
sha256 cellar: :any_skip_relocation, arm64_tahoe: "8dbdb39b713e0eae98e17382ea1f34c00d4e514626704c7a2083cb50aa00bf98"
|
||||||
sha256 cellar: :any_skip_relocation, ventura: "c2f7ecf2e1fa149931a540cde67a89471a312e5fade3a7bfb37c2ae03383ba72"
|
sha256 cellar: :any_skip_relocation, arm64_sequoia: "78071ac73957eebe970c609b78ec0e8ef8a34fe09e1f824908cfe5f7da3f0ef3"
|
||||||
|
sha256 cellar: :any_skip_relocation, arm64_sonoma: "28dad62fdfe9a624e394fe2514b477f1411adf0fefad1c54e1f65afb2c57b849"
|
||||||
end
|
end
|
||||||
|
|
||||||
depends_on "go" => :build
|
depends_on "go" => :build
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@ require_relative "../require/macfuse"
|
||||||
class S3BackerMac < Formula
|
class S3BackerMac < Formula
|
||||||
desc "FUSE-based single file backing store via Amazon S3"
|
desc "FUSE-based single file backing store via Amazon S3"
|
||||||
homepage "https://github.com/archiecobbs/s3backer"
|
homepage "https://github.com/archiecobbs/s3backer"
|
||||||
url "https://archie-public.s3.amazonaws.com/s3backer/s3backer-2.1.4.tar.gz"
|
url "https://archie-public.s3.amazonaws.com/s3backer/s3backer-2.1.6.tar.gz"
|
||||||
sha256 "0451471209cc872708e91b2784a4a1b9f3ca44c89a7bffb8f6145aed28c941e7"
|
sha256 "55ff3123ab08d45822e6b349d9e305ca2ca13339474314cfc31a074d5308acf6"
|
||||||
license "GPL-2.0-or-later"
|
license "GPL-2.0-or-later"
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
|
|
@ -19,14 +19,22 @@ class S3BackerMac < Formula
|
||||||
depends_on MacfuseRequirement
|
depends_on MacfuseRequirement
|
||||||
depends_on :macos
|
depends_on :macos
|
||||||
depends_on "openssl@3"
|
depends_on "openssl@3"
|
||||||
|
depends_on "zlib"
|
||||||
|
depends_on "zstd"
|
||||||
|
|
||||||
def install
|
def install
|
||||||
setup_fuse
|
setup_fuse3
|
||||||
system "./configure", "--disable-silent-rules", *std_configure_args
|
# Disable macOS-specific features that break FUSE compatibility
|
||||||
|
# https://github.com/macfuse/macfuse/issues/1064#issuecomment-2800022794
|
||||||
|
ENV.append "CFLAGS", "-DFUSE_DARWIN_ENABLE_EXTENSIONS=0"
|
||||||
|
system "./configure", "--disable-silent-rules",
|
||||||
|
*std_configure_args.reject { |s| s["--disable-debug"] }
|
||||||
system "make", "install"
|
system "make", "install"
|
||||||
end
|
end
|
||||||
|
|
||||||
test do
|
test do
|
||||||
system bin/"s3backer", "--version"
|
assert_match version.to_s, shell_output("#{bin}/s3backer --version 2>&1")
|
||||||
|
|
||||||
|
assert_match "no S3 bucket specified", shell_output("#{bin}/s3backer 2>&1", 1)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@ require_relative "../require/macfuse"
|
||||||
class SecurefsMac < Formula
|
class SecurefsMac < Formula
|
||||||
desc "Filesystem with transparent authenticated encryption"
|
desc "Filesystem with transparent authenticated encryption"
|
||||||
homepage "https://github.com/netheril96/securefs"
|
homepage "https://github.com/netheril96/securefs"
|
||||||
url "https://github.com/netheril96/securefs/archive/refs/tags/v1.1.1.tar.gz"
|
url "https://github.com/netheril96/securefs/archive/refs/tags/v2.0.0.tar.gz"
|
||||||
sha256 "a4b0ceaaca98d25ed062bce0649bd43c83d5ea78d93d1fa4f227a2d59bfb7e62"
|
sha256 "d7fac7adc70c09473173aeadee5b7041d7e63fbf392ef40bdd77888590bb12a2"
|
||||||
license "MIT"
|
license "MIT"
|
||||||
head "https://github.com/netheril96/securefs.git", branch: "master"
|
head "https://github.com/netheril96/securefs.git", branch: "master"
|
||||||
|
|
||||||
|
|
@ -15,8 +15,8 @@ class SecurefsMac < Formula
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||||
sha256 cellar: :any, arm64_sonoma: "40399d847dfb764c1ae953a74384e888d8570568a08296e4547a9abfc4c503f0"
|
sha256 cellar: :any, arm64_sequoia: "78b2a05c1291ba2828512745ac2b959786288389e44fe44dc0d4cda2a6bd68cc"
|
||||||
sha256 cellar: :any, ventura: "68e50e832267f11d6f5ba2d9507aedf2b961e91b07afd5c3616ae4b90700a7ba"
|
sha256 cellar: :any, arm64_sonoma: "54efe58e868a530d252e05beb72537171bd1f4559c16f876d92c31394a89ffb4"
|
||||||
end
|
end
|
||||||
|
|
||||||
depends_on "cmake" => :build
|
depends_on "cmake" => :build
|
||||||
|
|
|
||||||
|
|
@ -3,14 +3,15 @@ require_relative "../require/macfuse"
|
||||||
class UnionfsFuse < Formula
|
class UnionfsFuse < Formula
|
||||||
desc "Union filesystem using FUSE"
|
desc "Union filesystem using FUSE"
|
||||||
homepage "https://github.com/rpodgorny/unionfs-fuse"
|
homepage "https://github.com/rpodgorny/unionfs-fuse"
|
||||||
url "https://github.com/rpodgorny/unionfs-fuse/archive/refs/tags/v3.6.tar.gz"
|
url "https://github.com/rpodgorny/unionfs-fuse/archive/refs/tags/v3.7.tar.gz"
|
||||||
sha256 "e6c9fac4e0f0ca82b3e515ca2c82c07dc51ed6da168c465c4b6f50c47bfeddd7"
|
sha256 "026f5302279110ceb7465e5c9e863cd0319ea0dc32ad253d162cf9db0f5e9a81"
|
||||||
license "BSD-3-Clause"
|
license "BSD-3-Clause"
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||||
sha256 cellar: :any_skip_relocation, arm64_sonoma: "5a0c0f743d06d272dac36193370071247d72beb391f7d95f8445d5a86079a1c5"
|
sha256 cellar: :any_skip_relocation, arm64_sequoia: "bd96797c922e35716d4bf81b585eccff801f33d416177b3c1f64408cf9049095"
|
||||||
sha256 cellar: :any, ventura: "053749fc797bf0ece88d571b7213d79082e112678a758c6e8ec6120f4e69a7d5"
|
sha256 cellar: :any_skip_relocation, arm64_sonoma: "66afec09b9d1ec0d1549a8afe97a0fa6f1f65374c9e42898655f6ad9d718c02c"
|
||||||
|
sha256 cellar: :any_skip_relocation, ventura: "c10761c0cb52fbaa60425a8e5c3a58cc0ae7868c33943a02c9006bdcb60f8f78"
|
||||||
end
|
end
|
||||||
|
|
||||||
depends_on "cmake" => :build
|
depends_on "cmake" => :build
|
||||||
|
|
|
||||||
|
|
@ -3,13 +3,13 @@ require_relative "../require/macfuse"
|
||||||
class XmountMac < Formula
|
class XmountMac < Formula
|
||||||
desc "Convert between multiple input & output disk image types"
|
desc "Convert between multiple input & output disk image types"
|
||||||
homepage "https://www.sits.lu/xmount"
|
homepage "https://www.sits.lu/xmount"
|
||||||
url "https://code.sits.lu/foss/xmount/-/archive/1.2.0/xmount-1.2.0.tar.gz"
|
url "https://code.sits.lu/foss/xmount/-/archive/1.2.1/xmount-1.2.1.tar.gz"
|
||||||
sha256 "abded7b53646c5d56ab9caf30473d75d0deb543e8262cadf2af572da3e1d127d"
|
sha256 "61b0b777ca0cd4eda30aeeeca7ec17a49d2657599a37745fb94f8dcc432b93c7"
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||||
sha256 arm64_sonoma: "1d67ae2174104c69471b892aceaface732e0853c15c039c260ef78c1f493eea9"
|
sha256 arm64_sequoia: "cc8c7f233c8e40a6512736f137aff799dc3f986e6be60c3eea476a8d9b127383"
|
||||||
sha256 ventura: "aa2caa902402f9aa415b5bf570c046f5dcf7129621b7a514de1e4cc031b4ab7d"
|
sha256 arm64_sonoma: "61f67c7481c3f76e4d9d8b11a7100bae495b5b655524739722d867593fc494a2"
|
||||||
end
|
end
|
||||||
|
|
||||||
depends_on "cmake" => :build
|
depends_on "cmake" => :build
|
||||||
|
|
|
||||||
|
|
@ -92,6 +92,13 @@ class Formula
|
||||||
Dir.glob("#{alt_fuse_root}/**/*").each { |f| odebug ">>> #{f}" }
|
Dir.glob("#{alt_fuse_root}/**/*").each { |f| odebug ">>> #{f}" }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def disable_macfuse_extensions
|
||||||
|
ENV.append "CFLAGS", "-DFUSE_DARWIN_ENABLE_EXTENSIONS=0"
|
||||||
|
ENV.append "CPPFLAGS", "-DFUSE_DARWIN_ENABLE_EXTENSIONS=0"
|
||||||
|
ENV.append "CXXFLAGS", "-DFUSE_DARWIN_ENABLE_EXTENSIONS=0"
|
||||||
|
ENV.append "CGO_CPPFLAGS", "-DFUSE_DARWIN_ENABLE_EXTENSIONS=0"
|
||||||
|
end
|
||||||
|
|
||||||
def setup_fuse_flags
|
def setup_fuse_flags
|
||||||
ENV.append "CFLAGS", "-I#{alt_fuse_root}/include"
|
ENV.append "CFLAGS", "-I#{alt_fuse_root}/include"
|
||||||
ENV.append "CFLAGS", "-I#{alt_fuse_root}/include/fuse"
|
ENV.append "CFLAGS", "-I#{alt_fuse_root}/include/fuse"
|
||||||
|
|
@ -110,6 +117,7 @@ class Formula
|
||||||
ENV.append "CGO_CPPFLAGS", "-D_FILE_OFFSET_BITS=64"
|
ENV.append "CGO_CPPFLAGS", "-D_FILE_OFFSET_BITS=64"
|
||||||
ENV.append "CGO_CPPFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
|
ENV.append "CGO_CPPFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
|
||||||
ENV.append "CGO_LDFLAGS", "-L#{alt_fuse_root}/lib"
|
ENV.append "CGO_LDFLAGS", "-L#{alt_fuse_root}/lib"
|
||||||
|
disable_macfuse_extensions
|
||||||
odebug "PKG_CONFIG = #{ENV.fetch("PKG_CONFIG", nil)}"
|
odebug "PKG_CONFIG = #{ENV.fetch("PKG_CONFIG", nil)}"
|
||||||
odebug "PKG_CONFIG_PATH = #{ENV.fetch("PKG_CONFIG_PATH", nil)}"
|
odebug "PKG_CONFIG_PATH = #{ENV.fetch("PKG_CONFIG_PATH", nil)}"
|
||||||
odebug "CFLAGS = #{ENV.fetch("CFLAGS", nil)}"
|
odebug "CFLAGS = #{ENV.fetch("CFLAGS", nil)}"
|
||||||
|
|
@ -130,6 +138,7 @@ class Formula
|
||||||
ENV.append "CGO_CPPFLAGS", "-D_FILE_OFFSET_BITS=64"
|
ENV.append "CGO_CPPFLAGS", "-D_FILE_OFFSET_BITS=64"
|
||||||
ENV.append "CGO_CPPFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
|
ENV.append "CGO_CPPFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
|
||||||
ENV.append "CGO_LDFLAGS", "-L#{alt_fuse_root}/lib"
|
ENV.append "CGO_LDFLAGS", "-L#{alt_fuse_root}/lib"
|
||||||
|
disable_macfuse_extensions
|
||||||
odebug "PKG_CONFIG = #{ENV.fetch("PKG_CONFIG", nil)}"
|
odebug "PKG_CONFIG = #{ENV.fetch("PKG_CONFIG", nil)}"
|
||||||
odebug "PKG_CONFIG_PATH = #{ENV.fetch("PKG_CONFIG_PATH", nil)}"
|
odebug "PKG_CONFIG_PATH = #{ENV.fetch("PKG_CONFIG_PATH", nil)}"
|
||||||
odebug "CFLAGS = #{ENV.fetch("CFLAGS", nil)}"
|
odebug "CFLAGS = #{ENV.fetch("CFLAGS", nil)}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue