2011-08-12 11:20:55 +00:00
|
|
|
class Ftimes < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "System baselining and evidence collection tool"
|
2014-08-17 16:32:01 +00:00
|
|
|
homepage "http://ftimes.sourceforge.net/FTimes/index.shtml"
|
|
|
|
url "https://downloads.sourceforge.net/project/ftimes/ftimes/3.11.0/ftimes-3.11.0.tgz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "70178e80c4ea7a8ce65404dd85a4bf5958a78f6a60c48f1fd06f78741c200f64"
|
2015-08-05 16:36:50 +00:00
|
|
|
revision 1
|
2011-08-12 11:20:55 +00:00
|
|
|
|
2015-08-05 18:54:25 +00:00
|
|
|
bottle do
|
|
|
|
sha256 "0cc52b1c4396b5adca1a3adc4a2942f0beef27392f23cb6533db79c54a3657ca" => :yosemite
|
|
|
|
sha256 "214b8092f738542005f77d146cc6b85ee69f2f100469dc6e2b78b5f2f0b5c132" => :mavericks
|
|
|
|
sha256 "fbe09e2f091d3b828a2f3802674203f4f72b6e0136fe6f442bf8313234be5373" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2014-08-17 16:32:01 +00:00
|
|
|
depends_on "pcre"
|
2015-08-05 16:36:50 +00:00
|
|
|
depends_on "openssl"
|
2011-08-12 11:20:55 +00:00
|
|
|
|
|
|
|
def install
|
2015-08-05 16:36:50 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}",
|
2015-08-03 12:55:31 +00:00
|
|
|
"--with-pcre=#{Formula["pcre"].opt_prefix}",
|
2015-08-05 16:36:50 +00:00
|
|
|
"--with-ssl=#{Formula["openssl"].opt_prefix}",
|
|
|
|
"--sysconfdir=#{etc}",
|
|
|
|
"--with-server-prefix=#{var}/ftimes"
|
2011-08-28 03:21:35 +00:00
|
|
|
|
2014-08-17 16:32:01 +00:00
|
|
|
inreplace "doc/ftimes/Makefile" do |s|
|
|
|
|
s.change_make_var! "INSTALL_PREFIX", man1
|
2011-08-28 03:21:35 +00:00
|
|
|
end
|
|
|
|
|
2015-08-03 12:55:31 +00:00
|
|
|
system "make", "install"
|
2011-08-12 11:20:55 +00:00
|
|
|
end
|
2015-08-05 16:36:50 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
assert_match /ftimes #{version}/, shell_output("#{bin}/ftimes --version")
|
|
|
|
end
|
2011-08-12 11:20:55 +00:00
|
|
|
end
|