diff options
| -rw-r--r-- | Library/Formula/p0f.rb | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/Library/Formula/p0f.rb b/Library/Formula/p0f.rb index a51a48c7d..da54d48e7 100644 --- a/Library/Formula/p0f.rb +++ b/Library/Formula/p0f.rb @@ -1,17 +1,14 @@ require 'formula' -# Official site is no longer responding; use -# this GitHub mirror for now. class P0f < Formula - url 'https://github.com/downloads/skord/p0f/p0f-2.0.8.tgz' - homepage 'https://github.com/skord/p0f' - md5 '1ccbcd8d4c95ef6dae841120d23c56a5' + url 'http://lcamtuf.coredump.cx/p0f3/releases/p0f-3.02b.tgz' + homepage 'http://lcamtuf.coredump.cx/p0f3/' + md5 '062ac4c410f7ec49434872efe322c880' def install - inreplace "config.h", "/etc/p0f", "#{etc}/p0f" - system "make" - sbin.install ["p0frep", "p0f"] - (etc+"p0f").install Dir['*.fp'] - man1.install gzip("p0f.1") + inreplace "config.h", "p0f.fp", "#{etc}/p0f/p0f.fp" + system "./build.sh" + sbin.install ["p0f"] + (etc+"p0f").install ['p0f.fp'] end end |
