26 lines
998 B
Ruby
26 lines
998 B
Ruby
class Msktutil < Formula
|
|
desc "Active Directory keytab management"
|
|
homepage "https://sourceforge.net/projects/msktutil/"
|
|
url "https://downloads.sourceforge.net/project/msktutil/msktutil-1.0.tar.bz2"
|
|
sha256 "6e59d4bf41b8c75d573037c19ed29567a55f67ae5fe8c81e037b4f8c7327b642"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "3bf390f92696706f4f6241230024c9bdb13c78c05c9f81faffc356cbcb4ed443" => :sierra
|
|
sha256 "190a11fe9d63b99fe2982a79d83bd7ba59f4c7ef104ce860eb9ae48acb56335b" => :el_capitan
|
|
sha256 "c88bffcb5bacc334333d1bf614005ce65acb4d40e8c73f249313762e017ee8bb" => :yosemite
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--disable-silent-rules",
|
|
"--prefix=#{prefix}",
|
|
"--mandir=#{man}"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
assert_match version.to_s, shell_output("#{sbin}/msktutil --version")
|
|
end
|
|
end
|