Added arm formula (tor status monitor)
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
fa9d62b058
commit
c3218c0cf2
1 changed files with 27 additions and 0 deletions
27
Formula/arm.rb
Normal file
27
Formula/arm.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue