34 lines
999 B
Ruby
34 lines
999 B
Ruby
class Krb5 < Formula
|
|
desc "Network authentication protocol"
|
|
homepage "https://web.mit.edu/kerberos/"
|
|
url "https://web.mit.edu/kerberos/dist/krb5/1.14/krb5-1.14.4.tar.gz"
|
|
sha256 "03a61a4280c9161771fb39019085dbe6a57aa602080515ff93b43cd6137e0b95"
|
|
|
|
bottle do
|
|
sha256 "a8dcbc521a970ac8025d588553e30bb5d2d3ef627d9d440c85dc35ae9e91ad48" => :sierra
|
|
sha256 "a3330737603312971c3774d11b2ed6266cc032aa7a7395b2c0d6fba2313b2e1c" => :el_capitan
|
|
sha256 "cd615e303ffccfabd5dfd6c112c5882b54bd6e55003f62af2d6ee0e6d5c941bc" => :yosemite
|
|
end
|
|
|
|
keg_only :provided_by_osx
|
|
|
|
depends_on "openssl"
|
|
|
|
def install
|
|
cd "src" do
|
|
system "./configure",
|
|
"--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--disable-silent-rules",
|
|
"--prefix=#{prefix}"
|
|
system "make"
|
|
system "make", "install"
|
|
end
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/krb5-config", "--version"
|
|
assert_match include.to_s,
|
|
shell_output("#{bin}/krb5-config --cflags")
|
|
end
|
|
end
|