aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/p0f.rb
diff options
context:
space:
mode:
authorAustin Seipp2012-01-10 11:25:43 -0600
committerMisty De Meo2012-01-18 23:04:47 -0600
commit9fbcbadb0b6e5131ee590fe76d6ae0e6391a93fb (patch)
tree2f104ac4c74995540fec817d502ab322d96acaf3 /Library/Formula/p0f.rb
parent01b87a248d150fe9a9c28aa8bacbf7603492700a (diff)
downloadhomebrew-9fbcbadb0b6e5131ee590fe76d6ae0e6391a93fb.tar.bz2
p0f 3.02b
Closes #9669. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library/Formula/p0f.rb')
-rw-r--r--Library/Formula/p0f.rb17
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