mirror of
https://github.com/gromgit/homebrew-fuse.git
synced 2025-12-05 23:34:43 +00:00
Compare commits
60 commits
055c63f771
...
067480454f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
067480454f | ||
|
|
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 | ||
|
|
ec20c10024 | ||
|
|
5cc3a9aa2c | ||
|
|
b2dd1b6e67 | ||
|
|
9e59b17f64 | ||
|
|
922a80be0c | ||
|
|
a4ee7a9546 | ||
|
|
b8999a2e28 | ||
|
|
3820ee4890 | ||
|
|
106df90243 | ||
|
|
9afb4cf6aa | ||
|
|
d11711c969 | ||
|
|
69ecb8930b | ||
|
|
4b23c46b98 |
15 changed files with 217 additions and 166 deletions
21
.github/workflows/publish.yml
vendored
21
.github/workflows/publish.yml
vendored
|
|
@ -8,33 +8,34 @@ on:
|
|||
jobs:
|
||||
pr-pull:
|
||||
if: contains(github.event.pull_request.labels.*.name, 'pr-pull')
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-13, macos-14]
|
||||
runs-on: ${{ matrix.os }}
|
||||
runs-on: ubuntu-22.04
|
||||
permissions:
|
||||
actions: read
|
||||
checks: read
|
||||
contents: write
|
||||
issues: read
|
||||
packages: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- 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
|
||||
uses: Homebrew/actions/git-user-config@master
|
||||
uses: Homebrew/actions/git-user-config@main
|
||||
|
||||
- name: Pull bottles
|
||||
env:
|
||||
HOMEBREW_GITHUB_API_TOKEN: ${{ github.token }}
|
||||
HOMEBREW_GITHUB_PACKAGES_TOKEN: ${{ github.token }}
|
||||
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
HOMEBREW_GITHUB_PACKAGES_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
HOMEBREW_GITHUB_PACKAGES_USER: ${{ github.repository_owner }}
|
||||
PULL_REQUEST: ${{ github.event.pull_request.number }}
|
||||
run: brew pr-pull --debug --tap="$GITHUB_REPOSITORY" "$PULL_REQUEST"
|
||||
|
||||
- name: Push commits
|
||||
uses: Homebrew/actions/git-try-push@master
|
||||
uses: Homebrew/actions/git-try-push@main
|
||||
with:
|
||||
token: ${{ github.token }}
|
||||
branch: main
|
||||
|
||||
- name: Delete branch
|
||||
|
|
|
|||
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
|
|
@ -10,12 +10,12 @@ jobs:
|
|||
test-bot:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-13, macos-14]
|
||||
os: [macos-14, macos-15, macos-26]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Set up Homebrew
|
||||
id: set-up-homebrew
|
||||
uses: Homebrew/actions/setup-homebrew@master
|
||||
uses: Homebrew/actions/setup-homebrew@main
|
||||
|
||||
- name: Cache Homebrew Bundler RubyGems
|
||||
uses: actions/cache@v4
|
||||
|
|
@ -32,7 +32,7 @@ jobs:
|
|||
|
||||
- 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'
|
||||
|
||||
- name: Upload bottles as artifact
|
||||
|
|
|
|||
|
|
@ -2,20 +2,17 @@ require_relative "../require/macfuse"
|
|||
|
||||
class ArchivemountMac < Formula
|
||||
desc "File system for accessing archives using libarchive"
|
||||
homepage "https://github.com/cybernoid/archivemount"
|
||||
url "https://slackware.uk/~urchlay/src/archivemount-0.9.1.tar.gz"
|
||||
sha256 "c529b981cacb19541b48ddafdafb2ede47a40fcaf16c677c1e2cd198b159c5b3"
|
||||
|
||||
livecheck do
|
||||
url "https://raw.githubusercontent.com/cybernoid/archivemount/refs/heads/master/CHANGELOG"
|
||||
regex(/\*\s+v?(\d+(?:\.\d+)+)\s+/i)
|
||||
end
|
||||
homepage "https://git.sr.ht/~nabijaczleweli/archivemount-ng"
|
||||
url "https://git.sr.ht/~nabijaczleweli/archivemount-ng/archive/1b.tar.gz"
|
||||
version "1b"
|
||||
sha256 "de10cfee3bff8c1dd2b92358531d3c0001db36a99e1098ed0c9d205d110e903d"
|
||||
license "LGPL-2.0-or-later"
|
||||
|
||||
bottle do
|
||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||
rebuild 1
|
||||
sha256 cellar: :any, arm64_sonoma: "abe39d7d99aae950033e62df6c1ac3c33b7b8a7863eeb92d2bb82c1b3b5662fc"
|
||||
sha256 cellar: :any, ventura: "be2622a6cb26b8dc581c35b1cad1f07ddafbfea379e5f4db250258ab6583f615"
|
||||
sha256 cellar: :any, arm64_tahoe: "e0aa81ce9ae8fb880b340b02077e03acaf1d4f489554a411bf4430ba3a558f31"
|
||||
sha256 cellar: :any, arm64_sequoia: "fa4e1c0bbd16a705f0746d9c1721e3a5ebf9fc664b49291dd0390129542595ae"
|
||||
sha256 cellar: :any, arm64_sonoma: "ab28653f06c95589c740800b90187182cf45abffa2dda25146881dceaa963152"
|
||||
end
|
||||
|
||||
depends_on "pkgconf" => :build
|
||||
|
|
@ -24,9 +21,8 @@ class ArchivemountMac < Formula
|
|||
depends_on :macos
|
||||
|
||||
def install
|
||||
setup_fuse
|
||||
system "./configure", "--disable-silent-rules", *std_configure_args
|
||||
system "make", "install"
|
||||
setup_fuse3
|
||||
system "make", "PREFIX=#{prefix}", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
|
|||
|
|
@ -3,49 +3,83 @@ require_relative "../require/macfuse"
|
|||
class DwarfsFuseMac < Formula
|
||||
desc "Fast high compression read-only file system (macFUSE driver)"
|
||||
homepage "https://github.com/mhx/dwarfs"
|
||||
url "https://github.com/mhx/dwarfs/releases/download/v0.12.4/dwarfs-0.12.4.tar.xz"
|
||||
sha256 "352d13a3c7d9416e0a7d0d959306a25908b58d1ff47fb97e30a7c8490fcff259"
|
||||
url "https://github.com/mhx/dwarfs/releases/download/v0.14.1/dwarfs-0.14.1.tar.xz"
|
||||
sha256 "620cf27f2e142a5f8fc05552a70704c3bf4df23c3279c6026b3f37954d0529c5"
|
||||
license "GPL-3.0-or-later"
|
||||
|
||||
livecheck do
|
||||
url :stable
|
||||
regex(/^(?:release[._-])?v?(\d+(?:\.\d+)+)$/i)
|
||||
strategy :github_latest
|
||||
end
|
||||
|
||||
bottle do
|
||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||
sha256 cellar: :any, arm64_sonoma: "90f3d989da230bc700c53503d32ca75dfff4452dd3883d7deef88767b3972112"
|
||||
sha256 cellar: :any, ventura: "549f3ecb3236964c7ecb36cb967de29872ed5257de5a37491577762a660f2cb8"
|
||||
sha256 arm64_sequoia: "435146a6369cafb5e9bacfb9470c14c8812b75e68d518041ad3e0125b43c7e43"
|
||||
sha256 arm64_sonoma: "6bdf459cae00709de615e2df120218898a223d95304abc32e393c47f600adfb2"
|
||||
end
|
||||
|
||||
depends_on "cmake" => :build
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "dwarfs"
|
||||
depends_on "googletest" => :build
|
||||
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 "lz4"
|
||||
depends_on MacfuseRequirement
|
||||
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
|
||||
build 1500
|
||||
cause "Not all required C++20 features are supported"
|
||||
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
|
||||
args = %W[
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DCMAKE_INSTALL_RPATH=#{rpath}
|
||||
-DWITH_LIBDWARFS=OFF
|
||||
-DWITH_TOOLS=OFF
|
||||
-DWITH_LIBDWARFS=ON
|
||||
-DWITH_TOOLS=ON
|
||||
-DWITH_FUSE_DRIVER=ON
|
||||
-DWITH_TESTS=OFF
|
||||
-DWITH_TESTS=ON
|
||||
-DWITH_MAN_PAGES=ON
|
||||
-DENABLE_PERFMON=ON
|
||||
-DTRY_ENABLE_FLAC=ON
|
||||
-DENABLE_RICEPP=ON
|
||||
-DENABLE_STACKTRACE=OFF
|
||||
-DDISABLE_CCACHE=ON
|
||||
-DDISABLE_MOLD=ON
|
||||
-DPREFER_SYSTEM_GTEST=ON
|
||||
]
|
||||
|
||||
if DevelopmentTools.clang_build_version <= 1500
|
||||
# No ASAN for folly
|
||||
ENV.append "CXXFLAGS", "-D_LIBCPP_HAS_NO_ASAN"
|
||||
|
||||
ENV.llvm_clang
|
||||
|
||||
# Needed in order to find the C++ standard library
|
||||
|
|
@ -60,6 +94,54 @@ class DwarfsFuseMac < Formula
|
|||
end
|
||||
|
||||
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__
|
||||
--- 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
|
||||
desc "User-space file system for interacting with Google Cloud"
|
||||
homepage "https://github.com/googlecloudplatform/gcsfuse"
|
||||
url "https://github.com/GoogleCloudPlatform/gcsfuse/archive/refs/tags/v3.1.0.tar.gz"
|
||||
sha256 "6e6fb89a3f58d74698d21208f6f68f3d3ea0bd6b27b3ab06be5c45150f5c061a"
|
||||
url "https://github.com/GoogleCloudPlatform/gcsfuse/archive/refs/tags/v3.4.4.tar.gz"
|
||||
sha256 "4f1c25ba20044394538fa7704511669493465bccf11cd257bb745f7baa531142"
|
||||
license "Apache-2.0"
|
||||
head "https://github.com/GoogleCloudPlatform/gcsfuse.git", branch: "master"
|
||||
|
||||
|
|
@ -15,8 +15,9 @@ class GcsfuseMac < Formula
|
|||
|
||||
bottle do
|
||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||
sha256 cellar: :any_skip_relocation, arm64_sonoma: "b5e5c2127094baa80aa16459fe1948d62d814cec10bafa90b99edbb12d7e7c29"
|
||||
sha256 cellar: :any_skip_relocation, ventura: "f15fe92b8aa956fa5322219189ceac15993ae5a5fc3a7d3576f286dcb09d6922"
|
||||
sha256 cellar: :any_skip_relocation, arm64_tahoe: "af3511891e38ad8683e6d6746a1b9755bcbd70d07ddfa3b37d323472a3cfdbd1"
|
||||
sha256 cellar: :any_skip_relocation, arm64_sequoia: "a0c7e6a39a1d968761e62cef8e75fa2ad2ab441ef4c9e094da90674eecac1494"
|
||||
sha256 cellar: :any_skip_relocation, arm64_sonoma: "4f8f8974e7c471ca82d45c83077efb3faef55e9ecd775eefb46f7e20d716459c"
|
||||
end
|
||||
|
||||
depends_on "go" => :build
|
||||
|
|
|
|||
|
|
@ -5,29 +5,21 @@ class GitfsMac < Formula
|
|||
|
||||
desc "Version controlled file system"
|
||||
homepage "https://www.presslabs.com/gitfs"
|
||||
url "https://github.com/presslabs/gitfs/archive/refs/tags/0.5.2.tar.gz"
|
||||
sha256 "921e24311e3b8ea3a5448d698a11a747618ee8dd62d5d43a85801de0b111cbf3"
|
||||
url "https://github.com/vtemian/gitfs/archive/refs/tags/v1.0.0.tar.gz"
|
||||
sha256 "75835c6e4cad400c06e86ecb2efedfa7a8ffe5c5939c4e70040f6e861b4e85d3"
|
||||
license "Apache-2.0"
|
||||
revision 1
|
||||
head "https://github.com/presslabs/gitfs.git"
|
||||
head "https://github.com/vtemian/gitfs.git", branch: "main"
|
||||
|
||||
bottle do
|
||||
root_url "https://github.com/gromgit/homebrew-fuse/releases/download/gitfs-mac-0.5.2"
|
||||
sha256 cellar: :any, arm64_monterey: "5aa42d1f875f89f6860de825ba6f522435e9e78361b3eddc3b32799d3c5aa498"
|
||||
sha256 cellar: :any, monterey: "ba780fac3f0470ed7e5a01f2bd1b0df66918bd50eac1b58e8373e3e0dc52974d"
|
||||
sha256 cellar: :any, big_sur: "e0086949aa4b8e18713a50cacb8bf2f1f73dba28e6523273b53856da35ea9dc7"
|
||||
sha256 cellar: :any, catalina: "aa14fd52fbd30a3d46fd57ec011ad73fefabc3350c5b962c10c71961bc9f7265"
|
||||
sha256 cellar: :any, mojave: "7d0605b4d2d6022c607ae6dfbdf87ae984b2f73bbe43e35cddf60fef0b79d3dc"
|
||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||
sha256 cellar: :any, arm64_sequoia: "e48dd7b94f4ff6bbec3b51fa4c607a04bdb2338267315d3da988c1d9f6254bd5"
|
||||
sha256 cellar: :any, arm64_sonoma: "903d6859b1d8cb7d0fa54ee4294e6bd3c57d796495b4850ba4cb50b6c5bf7d63"
|
||||
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 MacfuseRequirement
|
||||
depends_on :macos
|
||||
depends_on "python@3.9"
|
||||
depends_on "python@3.13"
|
||||
|
||||
uses_from_macos "libffi"
|
||||
|
||||
|
|
@ -36,51 +28,40 @@ class GitfsMac < Formula
|
|||
sha256 "cb1378c4cd676d6f243641c50e277504abf45f70f1ea76e446efcdbb69624bbe"
|
||||
end
|
||||
|
||||
resource "cached-property" do
|
||||
url "https://files.pythonhosted.org/packages/57/8e/0698e10350a57d46b3bcfe8eff1d4181642fd1724073336079cb13c5cf7f/cached-property-1.5.1.tar.gz"
|
||||
sha256 "9217a59f14a5682da7c4b8829deadbfc194ac22e9908ccf7c8820234e80a1504"
|
||||
resource "certifi" do
|
||||
url "https://files.pythonhosted.org/packages/73/f7/f14b46d4bcd21092d7d3ccef689615220d8a08fb25e564b65d20738e672e/certifi-2025.6.15.tar.gz"
|
||||
sha256 "d747aa5a8b9bbbb1bb8c22bb13e22bd1f18e9796defa16bab421f7f7a317323b"
|
||||
end
|
||||
|
||||
resource "cffi" do
|
||||
url "https://files.pythonhosted.org/packages/66/6a/98e023b3d11537a5521902ac6b50db470c826c682be6a8c661549cb7717a/cffi-1.14.4.tar.gz"
|
||||
sha256 "1a465cbe98a7fd391d47dce4b8f7e5b921e6cd805ef421d04f5f66ba8f06086c"
|
||||
url "https://files.pythonhosted.org/packages/fc/97/c783634659c2920c3fc70419e3af40972dbaf758daa229a7d6ea6135c90d/cffi-1.17.1.tar.gz"
|
||||
sha256 "1c39c6016c32bc48dd54561950ebd6836e1670f2ae46128f67cf49e789c52824"
|
||||
end
|
||||
|
||||
resource "fusepy" do
|
||||
url "https://files.pythonhosted.org/packages/04/0b/4506cb2e831cea4b0214d3625430e921faaa05a7fb520458c75a2dbd2152/fusepy-3.0.1.tar.gz"
|
||||
sha256 "72ff783ec2f43de3ab394e3f7457605bf04c8cf288a2f4068b4cde141d4ee6bd"
|
||||
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"
|
||||
resource "mfusepy" do
|
||||
url "https://files.pythonhosted.org/packages/1c/94/c9d5dcba4a6a2b32ba23e22fd13ca08e6f5408420b2dfe42984af22277b6/mfusepy-3.0.0.tar.gz"
|
||||
sha256 "eddade33e427bac9c455464cd0a7d12d63c033255ec6b1e0d6ada143a945c6f2"
|
||||
end
|
||||
|
||||
resource "pycparser" do
|
||||
url "https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz"
|
||||
sha256 "a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3"
|
||||
url "https://files.pythonhosted.org/packages/1d/b2/31537cf4b1ca988837256c910a668b553fceb8f069bedc4b1c826024b52c/pycparser-2.22.tar.gz"
|
||||
sha256 "491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6"
|
||||
end
|
||||
|
||||
# pygit2 1.6.1 support
|
||||
# https://github.com/presslabs/gitfs/pull/379
|
||||
patch :DATA
|
||||
resource "pygit2" do
|
||||
url "https://files.pythonhosted.org/packages/c1/4a/72a5f3572912d93d8096f8447a20fe3aff5b5dc65aca08a2083eae54d148/pygit2-1.18.0.tar.gz"
|
||||
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
|
||||
virtualenv_install_with_resources
|
||||
|
|
@ -95,7 +76,7 @@ class GitfsMac < Formula
|
|||
end
|
||||
|
||||
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"
|
||||
|
||||
(testpath/"test.py").write <<~EOS
|
||||
|
|
@ -104,7 +85,7 @@ class GitfsMac < Formula
|
|||
pygit2.init_repository('testing/.git', True)
|
||||
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"
|
||||
cd "testing" do
|
||||
system "git", "remote", "add", "homebrew", "https://github.com/Homebrew/homebrew-core.git"
|
||||
|
|
@ -112,29 +93,3 @@ class GitfsMac < Formula
|
|||
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,14 +3,15 @@ require_relative "../require/macfuse"
|
|||
class GocryptfsMac < Formula
|
||||
desc "Encrypted overlay filesystem written in Go"
|
||||
homepage "https://nuetzlich.net/gocryptfs/"
|
||||
url "https://github.com/rfjakob/gocryptfs/releases/download/v2.6.0/gocryptfs_v2.6.0_src-deps.tar.gz"
|
||||
sha256 "b3848626b90d0fe87aaf81cc6ef0983089d1a93653f30e7d9b89c7c6e872a4f5"
|
||||
url "https://github.com/rfjakob/gocryptfs/releases/download/v2.6.1/gocryptfs_v2.6.1_src-deps.tar.gz"
|
||||
sha256 "9a966c1340a1a1d92073091643687b1205c46b57017c5da2bf7e97e3f5729a5a"
|
||||
license "MIT"
|
||||
|
||||
bottle do
|
||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||
sha256 cellar: :any, arm64_sonoma: "eebbc5a50c39ac8749a4e163e7754d573fc91b9b6b0463c939dd3724354cac0f"
|
||||
sha256 cellar: :any, ventura: "f889698e5f54c4bc3b66874e7bf4225c0f2f8d129bcad38e0491a712e283d805"
|
||||
sha256 cellar: :any, arm64_sequoia: "56a4955f379ccb148f2e269679c91af0202bb67725dc6f1ed661bb5f8c9f0b68"
|
||||
sha256 cellar: :any, arm64_sonoma: "8c4634a99acb568f25b96fc752b3bdb7a16d830e96126b93ee5a354a4dc67b2d"
|
||||
sha256 cellar: :any, ventura: "40cda455675c2f6a0970c1c5388797da874758bf8f50d57fa4bf6ff448ab1edd"
|
||||
end
|
||||
|
||||
depends_on "go" => :build
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ require_relative "../require/macfuse"
|
|||
class HfsfuseMac < Formula
|
||||
desc "FUSE driver for HFS+ filesystems (read-only)"
|
||||
homepage "https://github.com/0x09/hfsfuse"
|
||||
url "https://github.com/0x09/hfsfuse/releases/download/0.289/hfsfuse-0.289.tar.gz"
|
||||
sha256 "b19597dda364a670eebf05d0681c77db4b0f625f19b9e16f4b2b65dd8d16c360"
|
||||
url "https://github.com/0x09/hfsfuse/releases/download/0.292/hfsfuse-0.292.tar.gz"
|
||||
sha256 "50e4eb7ceaa69bd60b341198fa9ed391faf41ea045cfa528b41a36e005b87bed"
|
||||
license all_of: ["BSD-2-Clause", "MIT"]
|
||||
head "https://github.com/0x09/hfsfuse.git", branch: "master"
|
||||
|
||||
|
|
|
|||
|
|
@ -3,16 +3,14 @@ require_relative "../require/macfuse"
|
|||
class IfuseMac < Formula
|
||||
desc "FUSE module for iOS devices"
|
||||
homepage "https://libimobiledevice.org/"
|
||||
url "https://github.com/libimobiledevice/ifuse/archive/refs/tags/1.1.4.tar.gz"
|
||||
sha256 "2a00769e8f1d8bad50898b9d00baf12c8ae1cda2d19ff49eaa9bf580e5dbe78c"
|
||||
url "https://github.com/libimobiledevice/ifuse/archive/refs/tags/1.2.0.tar.gz"
|
||||
sha256 "29ab853037d781ef19f734936454c7f7806d1c46fbcca6e15ac179685ab37c9c"
|
||||
license "LGPL-2.1-or-later"
|
||||
head "https://github.com/libimobiledevice/ifuse.git", branch: "master"
|
||||
|
||||
bottle do
|
||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||
rebuild 1
|
||||
sha256 cellar: :any, arm64_sonoma: "06ceadb0e0c288cc0f02b5c64c7051f8d54dd39d697801c305ba70101780e3ee"
|
||||
sha256 cellar: :any, ventura: "d7aecf23caa314cb17ae46d790af547fceca621a300f19f74b2593c0c4cafe10"
|
||||
sha256 cellar: :any, arm64_sequoia: "7b2a54ceeca52d5ada2e625f7e3edbcdd7f6eedfc8b8f6286137fb38fcff50e6"
|
||||
end
|
||||
|
||||
depends_on "autoconf" => :build
|
||||
|
|
@ -26,7 +24,11 @@ class IfuseMac < Formula
|
|||
depends_on :macos
|
||||
|
||||
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 "make", "install"
|
||||
end
|
||||
|
|
|
|||
|
|
@ -5,14 +5,16 @@ class RatarmountMac < Formula
|
|||
|
||||
desc "Mount and efficiently access archives as filesystems"
|
||||
homepage "https://github.com/mxmlnkn/ratarmount"
|
||||
url "https://github.com/mxmlnkn/ratarmount/archive/refs/tags/v1.1.0.tar.gz"
|
||||
sha256 "0a3aa8606ed732f4fda11883590112aa51616c467da5a0b372867e13f37d112b"
|
||||
url "https://files.pythonhosted.org/packages/f6/2f/ce04f40f3cc82bb3ffbc97bffe3b7a2abe83a382c81fe2452ad54792acdf/ratarmount-1.2.1.tar.gz"
|
||||
sha256 "28be2f1b9477ba4d0d8d75ddbc2468fc906970d36f4940bd932d1a51818e06a0"
|
||||
license "MIT"
|
||||
head "https://github.com/mxmlnkn/ratarmount.git", branch: "master"
|
||||
|
||||
bottle do
|
||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||
sha256 cellar: :any, arm64_sonoma: "8ca60a0afe1cd1c27cf5dfdf17f515ae306bda054ff755b64c563babeec71a45"
|
||||
sha256 cellar: :any, ventura: "c17442a8d3e19b7c95865f5b90c9e8fd840894b64981eb17a8cf594e05315b31"
|
||||
sha256 cellar: :any, arm64_tahoe: "f89ceae4c6bb313cf569f7727033c07390db1382965a22e1197d0f1ee9c0a5bc"
|
||||
sha256 cellar: :any, arm64_sequoia: "c0beb8c22c87eac4c3ba674f1c7245d0094f3bfebf64f9fce2fea1bfa0c2d674"
|
||||
sha256 cellar: :any, arm64_sonoma: "588e3d984a585d5c2770882e3afc3872524a979738809eee8a5d5dff5bbc15b8"
|
||||
end
|
||||
|
||||
depends_on "libgit2"
|
||||
|
|
@ -22,8 +24,8 @@ class RatarmountMac < Formula
|
|||
depends_on "zstd"
|
||||
|
||||
resource "brotli" do
|
||||
url "https://files.pythonhosted.org/packages/2f/c2/f9e977608bdf958650638c3f1e28f85a1b075f075ebbe77db8555463787b/Brotli-1.1.0.tar.gz"
|
||||
sha256 "81de08ac11bcb85841e440c13611c00b67d3bf82698314928d0b676362546724"
|
||||
url "https://files.pythonhosted.org/packages/f7/16/c92ca344d646e71a43b8bb353f0a6490d7f6e06210f8554c8f874e454285/brotli-1.2.0.tar.gz"
|
||||
sha256 "e310f77e41941c13340a95976fe66a8a95b01e783d430eeaf7a2f87e0a57dd0a"
|
||||
end
|
||||
|
||||
resource "fast-zip-decryption" do
|
||||
|
|
@ -32,8 +34,8 @@ class RatarmountMac < Formula
|
|||
end
|
||||
|
||||
resource "indexed-gzip" do
|
||||
url "https://files.pythonhosted.org/packages/e7/c4/54bb145774c8b1563308899580142dd17ff6da584ee8c8c6ee307733d14e/indexed_gzip-1.9.5.tar.gz"
|
||||
sha256 "105366567759db6c7df866d869611ded3bb83d5c0e50fbb01d02c1922b98b457"
|
||||
url "https://files.pythonhosted.org/packages/d4/22/e9e94407bae83444adf598535b684d28cfbbcbe19f58eeba46f4db7bc0f3/indexed_gzip-1.10.1.tar.gz"
|
||||
sha256 "3993fd72570b254045d2361d937a984350719f2205066f4e4c16435a1df361e3"
|
||||
end
|
||||
|
||||
resource "indexed-zstd" do
|
||||
|
|
@ -52,8 +54,8 @@ class RatarmountMac < Formula
|
|||
end
|
||||
|
||||
resource "mfusepy" do
|
||||
url "https://files.pythonhosted.org/packages/8b/37/b29c414d76e8d709b6e28b1ee18e6d4c6a605abca79c86e549aab9a6eea9/mfusepy-1.1.0.tar.gz"
|
||||
sha256 "299926c1bb788fef3bea038b4a91109567c4f2a18f4ac05971dfcb00eba73c77"
|
||||
url "https://files.pythonhosted.org/packages/1c/94/c9d5dcba4a6a2b32ba23e22fd13ca08e6f5408420b2dfe42984af22277b6/mfusepy-3.0.0.tar.gz"
|
||||
sha256 "eddade33e427bac9c455464cd0a7d12d63c033255ec6b1e0d6ada143a945c6f2"
|
||||
end
|
||||
|
||||
resource "multivolumefile" do
|
||||
|
|
@ -62,8 +64,8 @@ class RatarmountMac < Formula
|
|||
end
|
||||
|
||||
resource "psutil" do
|
||||
url "https://files.pythonhosted.org/packages/2a/80/336820c1ad9286a4ded7e845b2eccfcb27851ab8ac6abece774a6ff4d3de/psutil-7.0.0.tar.gz"
|
||||
sha256 "7be9c3eba38beccb6495ea33afd982a44074b78f28c434a1f51cc07fd315c456"
|
||||
url "https://files.pythonhosted.org/packages/e1/88/bdd0a41e5857d5d703287598cbf08dad90aed56774ea52ae071bae9071b6/psutil-7.1.3.tar.gz"
|
||||
sha256 "6c86281738d77335af7aec228328e944b30930899ea760ecf33a4dba66be5e74"
|
||||
end
|
||||
|
||||
resource "py7zr" do
|
||||
|
|
@ -92,13 +94,13 @@ class RatarmountMac < Formula
|
|||
end
|
||||
|
||||
resource "pyzstd" do
|
||||
url "https://files.pythonhosted.org/packages/8f/a2/54d860ccbd07e3c67e4d0321d1c29fc7963ac82cf801a078debfc4ef7c15/pyzstd-0.17.0.tar.gz"
|
||||
sha256 "d84271f8baa66c419204c1dd115a4dec8b266f8a2921da21b81764fa208c1db6"
|
||||
url "https://files.pythonhosted.org/packages/47/82/7bcafbf06ee83a66990ce5badbb8f4dc32184346bab20de7e468b1a2f6ec/pyzstd-0.18.0.tar.gz"
|
||||
sha256 "81b6851ab1ca2e5f2c709e896a1362e3065a64f271f43db77fb7d5e4a78e9861"
|
||||
end
|
||||
|
||||
resource "rapidgzip" do
|
||||
url "https://files.pythonhosted.org/packages/0b/ac/0eee3d3279618a3c3810ac6b012b8ee7c1a9f239c9fa37529e619a31bb93/rapidgzip-0.14.3.tar.gz"
|
||||
sha256 "7d35f0af1657b4051a90c3c0c2c0d2433f3ce839db930fdbed3d6516de2a5df1"
|
||||
url "https://files.pythonhosted.org/packages/d6/50/b9bb77eaf841f2fbd8123d9677815d4ef53b53c4c189c5f789c78ef2d05e/rapidgzip-0.15.2.tar.gz"
|
||||
sha256 "fa3f90f17ce185a99514df54b5316bdfa593e98f3eebbb12da301eb25d6dedcd"
|
||||
end
|
||||
|
||||
resource "rarfile" do
|
||||
|
|
@ -107,8 +109,8 @@ class RatarmountMac < Formula
|
|||
end
|
||||
|
||||
resource "ratarmountcore" do
|
||||
url "https://files.pythonhosted.org/packages/c6/71/f2fcb98674e9a9ecbd5db2fbb90c5cf95c69dd8c43c6684dd33c4a2d41ca/ratarmountcore-0.9.0.tar.gz"
|
||||
sha256 "14f2e8bb9b61fe626085215c72e8bd2ad6a1ab021302fdfaf69fbc2fe525ba2f"
|
||||
url "https://files.pythonhosted.org/packages/f8/15/b9c2a47a4adba9b7bef8a057896a8e96db1d286ae538bd1d9d2fd147febd/ratarmountcore-0.10.2.tar.gz"
|
||||
sha256 "35e2935e1e135140d1bb8d82061c1527fb168ba5653d0218c06f3ec106711e6c"
|
||||
end
|
||||
|
||||
resource "texttable" do
|
||||
|
|
|
|||
|
|
@ -3,15 +3,16 @@ require_relative "../require/macfuse"
|
|||
class RcloneMac < Formula
|
||||
desc "Rsync for cloud storage (with macOS FUSE mount support)"
|
||||
homepage "https://rclone.org/"
|
||||
url "https://github.com/rclone/rclone/archive/refs/tags/v1.70.3.tar.gz"
|
||||
sha256 "0b25fb9f0cb26883cfa885576ddb34276564a1e224edc5aacab826f9ba22179d"
|
||||
url "https://github.com/rclone/rclone/archive/refs/tags/v1.72.0.tar.gz"
|
||||
sha256 "5a2eccbc3519224377c0fbbf4469c6e8125c37616ac28cf3c3ec091ccfbbe0c5"
|
||||
license "MIT"
|
||||
head "https://github.com/rclone/rclone.git"
|
||||
head "https://github.com/rclone/rclone.git", branch: "master"
|
||||
|
||||
bottle do
|
||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||
sha256 cellar: :any_skip_relocation, arm64_sonoma: "6c3e6714c891d9196a9082473937f211761f1e14416df51b4f85a848b1c365f2"
|
||||
sha256 cellar: :any_skip_relocation, ventura: "c2f7ecf2e1fa149931a540cde67a89471a312e5fade3a7bfb37c2ae03383ba72"
|
||||
sha256 cellar: :any_skip_relocation, arm64_tahoe: "8dbdb39b713e0eae98e17382ea1f34c00d4e514626704c7a2083cb50aa00bf98"
|
||||
sha256 cellar: :any_skip_relocation, arm64_sequoia: "78071ac73957eebe970c609b78ec0e8ef8a34fe09e1f824908cfe5f7da3f0ef3"
|
||||
sha256 cellar: :any_skip_relocation, arm64_sonoma: "28dad62fdfe9a624e394fe2514b477f1411adf0fefad1c54e1f65afb2c57b849"
|
||||
end
|
||||
|
||||
depends_on "go" => :build
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ require_relative "../require/macfuse"
|
|||
class SecurefsMac < Formula
|
||||
desc "Filesystem with transparent authenticated encryption"
|
||||
homepage "https://github.com/netheril96/securefs"
|
||||
url "https://github.com/netheril96/securefs/archive/refs/tags/v1.1.1.tar.gz"
|
||||
sha256 "a4b0ceaaca98d25ed062bce0649bd43c83d5ea78d93d1fa4f227a2d59bfb7e62"
|
||||
url "https://github.com/netheril96/securefs/archive/refs/tags/v2.0.0.tar.gz"
|
||||
sha256 "d7fac7adc70c09473173aeadee5b7041d7e63fbf392ef40bdd77888590bb12a2"
|
||||
license "MIT"
|
||||
head "https://github.com/netheril96/securefs.git", branch: "master"
|
||||
|
||||
|
|
@ -15,8 +15,8 @@ class SecurefsMac < Formula
|
|||
|
||||
bottle do
|
||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||
sha256 cellar: :any, arm64_sonoma: "40399d847dfb764c1ae953a74384e888d8570568a08296e4547a9abfc4c503f0"
|
||||
sha256 cellar: :any, ventura: "68e50e832267f11d6f5ba2d9507aedf2b961e91b07afd5c3616ae4b90700a7ba"
|
||||
sha256 cellar: :any, arm64_sequoia: "78b2a05c1291ba2828512745ac2b959786288389e44fe44dc0d4cda2a6bd68cc"
|
||||
sha256 cellar: :any, arm64_sonoma: "54efe58e868a530d252e05beb72537171bd1f4559c16f876d92c31394a89ffb4"
|
||||
end
|
||||
|
||||
depends_on "cmake" => :build
|
||||
|
|
|
|||
|
|
@ -3,14 +3,15 @@ require_relative "../require/macfuse"
|
|||
class UnionfsFuse < Formula
|
||||
desc "Union filesystem using FUSE"
|
||||
homepage "https://github.com/rpodgorny/unionfs-fuse"
|
||||
url "https://github.com/rpodgorny/unionfs-fuse/archive/refs/tags/v3.6.tar.gz"
|
||||
sha256 "e6c9fac4e0f0ca82b3e515ca2c82c07dc51ed6da168c465c4b6f50c47bfeddd7"
|
||||
url "https://github.com/rpodgorny/unionfs-fuse/archive/refs/tags/v3.7.tar.gz"
|
||||
sha256 "026f5302279110ceb7465e5c9e863cd0319ea0dc32ad253d162cf9db0f5e9a81"
|
||||
license "BSD-3-Clause"
|
||||
|
||||
bottle do
|
||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||
sha256 cellar: :any_skip_relocation, arm64_sonoma: "5a0c0f743d06d272dac36193370071247d72beb391f7d95f8445d5a86079a1c5"
|
||||
sha256 cellar: :any, ventura: "053749fc797bf0ece88d571b7213d79082e112678a758c6e8ec6120f4e69a7d5"
|
||||
sha256 cellar: :any_skip_relocation, arm64_sequoia: "bd96797c922e35716d4bf81b585eccff801f33d416177b3c1f64408cf9049095"
|
||||
sha256 cellar: :any_skip_relocation, arm64_sonoma: "66afec09b9d1ec0d1549a8afe97a0fa6f1f65374c9e42898655f6ad9d718c02c"
|
||||
sha256 cellar: :any_skip_relocation, ventura: "c10761c0cb52fbaa60425a8e5c3a58cc0ae7868c33943a02c9006bdcb60f8f78"
|
||||
end
|
||||
|
||||
depends_on "cmake" => :build
|
||||
|
|
|
|||
|
|
@ -3,13 +3,13 @@ require_relative "../require/macfuse"
|
|||
class XmountMac < Formula
|
||||
desc "Convert between multiple input & output disk image types"
|
||||
homepage "https://www.sits.lu/xmount"
|
||||
url "https://code.sits.lu/foss/xmount/-/archive/1.2.0/xmount-1.2.0.tar.gz"
|
||||
sha256 "abded7b53646c5d56ab9caf30473d75d0deb543e8262cadf2af572da3e1d127d"
|
||||
url "https://code.sits.lu/foss/xmount/-/archive/1.2.1/xmount-1.2.1.tar.gz"
|
||||
sha256 "61b0b777ca0cd4eda30aeeeca7ec17a49d2657599a37745fb94f8dcc432b93c7"
|
||||
|
||||
bottle do
|
||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||
sha256 arm64_sonoma: "1d67ae2174104c69471b892aceaface732e0853c15c039c260ef78c1f493eea9"
|
||||
sha256 ventura: "aa2caa902402f9aa415b5bf570c046f5dcf7129621b7a514de1e4cc031b4ab7d"
|
||||
sha256 arm64_sequoia: "cc8c7f233c8e40a6512736f137aff799dc3f986e6be60c3eea476a8d9b127383"
|
||||
sha256 arm64_sonoma: "61f67c7481c3f76e4d9d8b11a7100bae495b5b655524739722d867593fc494a2"
|
||||
end
|
||||
|
||||
depends_on "cmake" => :build
|
||||
|
|
|
|||
|
|
@ -92,6 +92,13 @@ class Formula
|
|||
Dir.glob("#{alt_fuse_root}/**/*").each { |f| odebug ">>> #{f}" }
|
||||
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
|
||||
ENV.append "CFLAGS", "-I#{alt_fuse_root}/include"
|
||||
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_USE_FILE_OFFSET_BITS=64"
|
||||
ENV.append "CGO_LDFLAGS", "-L#{alt_fuse_root}/lib"
|
||||
disable_macfuse_extensions
|
||||
odebug "PKG_CONFIG = #{ENV.fetch("PKG_CONFIG", nil)}"
|
||||
odebug "PKG_CONFIG_PATH = #{ENV.fetch("PKG_CONFIG_PATH", 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_USE_FILE_OFFSET_BITS=64"
|
||||
ENV.append "CGO_LDFLAGS", "-L#{alt_fuse_root}/lib"
|
||||
disable_macfuse_extensions
|
||||
odebug "PKG_CONFIG = #{ENV.fetch("PKG_CONFIG", nil)}"
|
||||
odebug "PKG_CONFIG_PATH = #{ENV.fetch("PKG_CONFIG_PATH", nil)}"
|
||||
odebug "CFLAGS = #{ENV.fetch("CFLAGS", nil)}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue