mirror of
https://github.com/gromgit/homebrew-fuse.git
synced 2025-12-08 09:11:37 +00:00
mass rename to avoid clashes with core tap
Forgot that base formula names need to be unique, otherwise `brew upgrade` picks up the core tap formula over this replacement, leading to: ``` $ brew upgrade [...] ==> Upgrading sshfs 2.10_2 -> 3.7.1 Error: sshfs has been disabled because it requires FUSE! ```
This commit is contained in:
parent
ee76a3651b
commit
d22b36dc85
11 changed files with 30 additions and 19 deletions
41
Formula/encfs-mac.rb
Normal file
41
Formula/encfs-mac.rb
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
require_relative "../require/macfuse"
|
||||
|
||||
class EncfsMac < Formula
|
||||
desc "Encrypted pass-through FUSE file system"
|
||||
homepage "https://vgough.github.io/encfs/"
|
||||
url "https://github.com/vgough/encfs/archive/v1.9.5.tar.gz"
|
||||
sha256 "4709f05395ccbad6c0a5b40a4619d60aafe3473b1a79bafb3aa700b1f756fd63"
|
||||
# The code comprising the EncFS library (libencfs) is licensed under the LGPL.
|
||||
# The main programs (encfs, encfsctl, etc) are licensed under the GPL.
|
||||
license all_of: ["GPL-3.0-only", "LGPL-3.0-only", "MIT", "Zlib"]
|
||||
head "https://github.com/vgough/encfs.git"
|
||||
|
||||
bottle do
|
||||
root_url "https://github.com/gromgit/homebrew-fuse/releases/download/encfs-mac-1.9.5"
|
||||
sha256 big_sur: "a3ad5e221f05f624c74ff3015164ae6e2bac3a99537b3b0a9d8f0b546130abe7"
|
||||
sha256 catalina: "41efd14389d04bf5d2a0bc957972b15b6e1ff511452c89749ddc68b6bca6e3e7"
|
||||
sha256 mojave: "aaf2aa568786ed055114cf54ee4b46acd66f74a7bc10715b446198164afa1871"
|
||||
end
|
||||
|
||||
depends_on "cmake" => :build
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "gettext"
|
||||
depends_on MacfuseRequirement
|
||||
depends_on :macos
|
||||
depends_on "openssl@1.1"
|
||||
|
||||
def install
|
||||
ENV.cxx11
|
||||
|
||||
mkdir "build" do
|
||||
system "cmake", "..", *std_cmake_args
|
||||
system "make", "install"
|
||||
end
|
||||
end
|
||||
|
||||
test do
|
||||
# Functional test violates sandboxing, so punt.
|
||||
# Issue #50602; upstream issue vgough/encfs#151
|
||||
assert_match version.to_s, shell_output("#{bin}/encfs 2>&1", 1)
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue