File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ class Krb5 < Formula
2+ desc "Network authentication protocol"
3+ homepage "https://web.mit.edu/kerberos/"
4+ url "https://kerberos.org/dist/krb5/1.21/krb5-1.21.3.tar.gz"
5+ sha256 "b7a4cd5ead67fb08b980b21abd150ff7217e85ea320c9ed0c6dadd304840ad35"
6+ license :cannot_represent
7+
8+ livecheck do
9+ url :homepage
10+ regex ( /Current release: .*?>krb5[._-]v?(\d +(?:\. \d +)+)</i )
11+ end
12+
13+ bottle do
14+ root_url "https://github.com/gromgit/homebrew-core-aarch64_linux/releases/download/krb5-1.21.3"
15+ sha256 cellar : :any_skip_relocation , aarch64_linux : "986fc99f8ab1c293697f36af2432237c2e13fe501814919098978731218bae9b"
16+ end
17+
18+ keg_only :provided_by_macos
19+
20+ depends_on "openssl@3"
21+
22+ uses_from_macos "bison" => :build
23+ uses_from_macos "libedit"
24+
25+ def install
26+ cd "src" do
27+ system "./configure" , *std_configure_args ,
28+ "--disable-nls" ,
29+ "--disable-silent-rules" ,
30+ "--without-system-verto" ,
31+ "--without-keyutils"
32+ system "make"
33+ system "make" , "install"
34+ end
35+ end
36+
37+ test do
38+ system bin /"krb5-config" , "--version"
39+ assert_match include . to_s ,
40+ shell_output ( "#{ bin } /krb5-config --cflags" )
41+ end
42+ end
You can’t perform that action at this time.
0 commit comments