aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSeth Chisamore2010-04-21 17:07:14 -0400
committerAdam Vandenberg2010-07-07 20:51:57 -0700
commitefd11dafe99f5cf692925c3353f8052866794e8c (patch)
treed8c7c8e4f4f0b04ef46b7248d86309fd573a9804 /Library
parentf523943332a5c1af240355c9a784bd86e52d6f83 (diff)
downloadhomebrew-efd11dafe99f5cf692925c3353f8052866794e8c.tar.bz2
added formula for install Sproxy
Sproxy is a complimentary tool for the load testing tool Siege. Sproxy is the [S]iege[proxy], a tool designed to harvest URLs to a urls.txt for the Siege http/https regression tester. Sproxy is designed to work like a regular http proxy. It listens for http requests on port 9001 (default) and it returns requested content to the web browser while it writes the URL along with any GET requests and/or POST data to a file for Siege. Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Fix man file location.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/sproxy.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/sproxy.rb b/Library/Formula/sproxy.rb
new file mode 100644
index 000000000..b91a48238
--- /dev/null
+++ b/Library/Formula/sproxy.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Sproxy <Formula
+ url 'ftp://sid.joedog.org/pub/sproxy/sproxy-1.01.tar.gz'
+ homepage 'http://www.joedog.org/index/sproxy-home'
+ md5 'a8c3fa4c67b3e842fe5ee2ade69a3653'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make"
+ system "make install"
+ # Makefile doesn't honor mandir, so move it
+ share.install prefix+"man"
+ end
+end