File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -212,6 +212,16 @@ aagt21compile:
212212aalt21compile :
213213 ndk-gcc $(ANDROID_API ) $(KITKAT_CFLAGS ) $(CFLAGS ) $(LDFLAGS ) -o fsmon-and$(ANDROID_API ) -$(NDK_ARCH ) $(SOURCES )
214214
215+ brewinstall :
216+ brew reinstall --HEAD ./fsmon.rb
217+
218+ dos :
219+ brew install --build-from-source fsmon.rb
220+
221+ brewcheck :
222+ brew audit --strict fsmon.rb
223+ brew test fsmon
224+
215225.PHONY : all fsmon clean
216226.PHONY : install uninstall
217- .PHONY : and android
227+ .PHONY : and android brewinstall
Original file line number Diff line number Diff line change 1+ class Fsmon < Formula
2+ desc "File-system monitor supporting inotify, fanotify, kqueue, fsevents"
3+ homepage "https://github.com/nowsecure/fsmon"
4+ head "https://github.com/nowsecure/fsmon.git" , branch : "master"
5+ url "https://github.com/nowsecure/fsmon/archive/refs/tags/1.8.8.tar.gz"
6+ sha256 "b7f9a7310d7721c58e6e5bc432c5b2099be55b374ab9bf5f639420d2b9e0ab0a"
7+ license "MIT"
8+
9+ def install
10+ system "make"
11+ system "cp -f fsmon-macos fsmon"
12+ bin . install "fsmon"
13+ man1 . install "fsmon.1"
14+ end
15+
16+ test do
17+ assert_match "Usage:" , shell_output ( "#{ bin } /fsmon -h" )
18+ end
19+ end
You can’t perform that action at this time.
0 commit comments