homebrew-core/Formula/rkhunter.rb
2016-04-15 14:14:18 +08:00

21 lines
749 B
Ruby

class Rkhunter < Formula
desc "Rootkit hunter"
homepage "http://rkhunter.sourceforge.net/"
url "https://downloads.sourceforge.net/project/rkhunter/rkhunter/1.4.2/rkhunter-1.4.2.tar.gz"
sha256 "789cc84a21faf669da81e648eead2e62654cfbe0b2d927119d8b1e55b22b65c3"
bottle do
cellar :any_skip_relocation
sha256 "7c13ec707da81dfb0cdc9ad8b8ffd9d3549454db698379c6159f3d69c4ed617d" => :el_capitan
sha256 "5269398b0bc05b26f47033f790c96c508ba8a072d904d6e06a4abbe4c3778e95" => :yosemite
sha256 "1eeeab51dfa8dafeb1b4f9b283f89bf18180c4c55ef65b9b716f892ef53ee85f" => :mavericks
end
def install
system "./installer.sh", "--layout", "custom", prefix, "--install"
end
test do
system "#{bin}/rkhunter", "--version"
end
end