aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike Danko2010-03-09 11:04:29 -0500
committerAdam Vandenberg2010-04-18 10:03:22 -0700
commite1e0fbb96594d14f857451f77ec9346d3fc2b1f8 (patch)
tree1cbda43d9019bd1cb7e9ea8ea0c8ac8825e774aa /Library
parent041792bd14f50d671e204952a29489e744cf101b (diff)
downloadhomebrew-e1e0fbb96594d14f857451f77ec9346d3fc2b1f8.tar.bz2
new formula: p0f
Signed-off-by: Adam Vandenberg <flangy@gmail.com> * The official site has not been responding for weeks. Use an unofficial GitHub mirror for now.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/p0f.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/p0f.rb b/Library/Formula/p0f.rb
new file mode 100644
index 000000000..0c11c9e1e
--- /dev/null
+++ b/Library/Formula/p0f.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+# Official site is no longer responding; use
+# this GitHub mirror for now.
+class P0f <Formula
+ url 'http://github.com/downloads/skord/p0f/p0f-2.0.8.tgz'
+ homepage 'http://github.com/skord/p0f'
+ md5 '1ccbcd8d4c95ef6dae841120d23c56a5'
+
+
+ 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")
+ end
+end