diff options
| author | Eric Butler | 2010-08-09 13:56:47 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-10-30 20:34:47 -0700 |
| commit | a7b13aedf37c4c717e2d9c6f140e47a40f85aee1 (patch) | |
| tree | 7505d72dac46abc04f58f6c95fcbc7ac11c61833 | |
| parent | b32331ddc821c5a8e9b737d2c8179933e3768460 (diff) | |
| download | homebrew-a7b13aedf37c4c717e2d9c6f140e47a40f85aee1.tar.bz2 | |
Added arm formula (tor status monitor)
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/arm.rb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Library/Formula/arm.rb b/Library/Formula/arm.rb new file mode 100644 index 000000000..8b52261ad --- /dev/null +++ b/Library/Formula/arm.rb @@ -0,0 +1,27 @@ +require 'formula' + +class Arm < Formula + homepage 'http://www.atagar.com/arm/' + url 'http://www.atagar.com/arm/resources/arm-1.3.7-1.tar.bz2' + sha256 '2d815dbf9608e501ab8d40f9f785c13308cd282821e36bda5bbbb62d548e0e0b' + + def install + (share+"arm").mkpath + (share+"arm").install Dir["*"] + + (bin+'arm').write <<-EOS +#!/bin/sh +cd #{share}/arm; arm $@ + EOS + end + + def caveats; <<-EOS.undent + You'll need to enable the Tor Control Protocol in your torrc. + See here for details: http://www.torproject.org/tor-manual.html.en + + To configure Arm, copy the sample configuration from + #{share}/arm/armrc.sample + to ~/.armrc, adjusting as needed. + EOS + end +end |
