-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsentrypeer.rb
32 lines (29 loc) · 988 Bytes
/
sentrypeer.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
class Sentrypeer < Formula
desc "Honeypot for a distributed p2p list of bad actor IP addresses and phone numbers"
homepage "https://sentrypeer.org"
url "https://github.com/SentryPeer/SentryPeer/releases/download/v4.0.4/sentrypeer-4.0.4.tar.gz"
sha256 "df30986e8fa48d2941a62b8ddb016cebc31f12f3e5af56df9b8b48e0bb451277"
license any_of: ["GPL-2.0-only", "GPL-3.0-only"]
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "cmocka" => [:build, :test]
depends_on "curl" => [:build, :test]
depends_on "pkg-config" => :build
depends_on "rust" => [:build, :test]
depends_on "curl"
depends_on "jansson"
depends_on "libmicrohttpd"
depends_on "libosip"
depends_on "libtool"
depends_on "opendht"
depends_on "ossp-uuid"
depends_on "pcre2"
def install
system "./configure", *std_configure_args, "--disable-silent-rules"
system "make", "install"
end
test do
system "make", "check"
system "sentrypeer", "-V"
end
end