2021-05-04 15:53:38 +08:00
|
|
|
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.git",
|
2022-11-25 17:48:57 +08:00
|
|
|
tag: "0.13.1",
|
|
|
|
|
revision: "bb7088e3fe43cd5978ec6b09b4cd9615a4ab654c"
|
2021-05-04 15:53:38 +08:00
|
|
|
license "MIT"
|
|
|
|
|
head "https://github.com/netheril96/securefs.git"
|
|
|
|
|
|
|
|
|
|
bottle do
|
2022-11-25 17:48:57 +08:00
|
|
|
root_url "https://github.com/gromgit/homebrew-fuse/releases/download/securefs-mac-0.13.1"
|
|
|
|
|
sha256 cellar: :any_skip_relocation, arm64_monterey: "b6c78f958cf18a829baed1cfe6a3b09e069339259b4c021fafa25cda068a9e6d"
|
2022-11-25 18:28:59 +08:00
|
|
|
sha256 cellar: :any, monterey: "33cf7a1a981086a428770a5a7a1ed33dcec521fc9d20531ccec2d7bdaff835a0"
|
2022-11-25 18:06:36 +08:00
|
|
|
sha256 cellar: :any, big_sur: "43f02b250cf103c61bca92e7132ebb90dfbbab0836bfc55f729841206addb273"
|
2022-11-25 18:56:24 +08:00
|
|
|
sha256 cellar: :any, catalina: "b3415327bc9e130b416f74897271488df6b6d6ec75a2f5f2f5099901b4d02794"
|
2022-11-25 20:18:28 +08:00
|
|
|
sha256 cellar: :any_skip_relocation, mojave: "d1de1707eef8b902fbfb89bff3ac6475011a67b3ea60d1bd26b32e5243e687d1"
|
2021-05-04 15:53:38 +08:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
depends_on "cmake" => :build
|
|
|
|
|
depends_on MacfuseRequirement
|
|
|
|
|
depends_on :macos
|
|
|
|
|
|
|
|
|
|
def install
|
2021-07-04 00:27:00 +08:00
|
|
|
setup_fuse
|
|
|
|
|
system "cmake", ".", *fuse_cmake_args, *std_cmake_args
|
2021-05-04 15:53:38 +08:00
|
|
|
system "make", "install"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
test do
|
|
|
|
|
system "#{bin}/securefs", "version" # The sandbox prevents a more thorough test
|
|
|
|
|
end
|
|
|
|
|
end
|