2010-03-09 16:04:29 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class P0f < Formula
|
2012-01-10 17:25:43 +00:00
|
|
|
homepage 'http://lcamtuf.coredump.cx/p0f3/'
|
2012-10-24 19:43:16 +00:00
|
|
|
url 'http://lcamtuf.coredump.cx/p0f3/releases/p0f-3.06b.tgz'
|
|
|
|
sha1 'fecc9ed8b79dbf8e4d5ffbd22eda9d850b42c3c3'
|
2010-03-09 16:04:29 +00:00
|
|
|
|
|
|
|
def install
|
2012-01-10 17:25:43 +00:00
|
|
|
inreplace "config.h", "p0f.fp", "#{etc}/p0f/p0f.fp"
|
|
|
|
system "./build.sh"
|
2012-02-11 04:47:40 +00:00
|
|
|
sbin.install "p0f"
|
|
|
|
(etc+"p0f").install "p0f.fp"
|
2010-03-09 16:04:29 +00:00
|
|
|
end
|
|
|
|
end
|