diff options
| author | Mike Tigas | 2014-06-30 11:08:44 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2014-07-02 07:58:32 -0700 |
| commit | 775bbed024cb7f3aa09b45b7b15043bbd243e835 (patch) | |
| tree | 5369f96636ff95e386920cb6739e8ad03ec7afad | |
| parent | fcca36c19c40cb81e5bfc96b871b32a8e5249fc9 (diff) | |
| download | homebrew-775bbed024cb7f3aa09b45b7b15043bbd243e835.tar.bz2 | |
tor 0.2.5.5 (devel)
> Tor 0.2.5.5-alpha fixes a wide variety of remaining issues in the Tor
> 0.2.5.x release series, including a couple of DoS issues, some
> performance regressions, a large number of bugs affecting the Linux
> seccomp2 sandbox code, and various other bugfixes. It also adds
> diagnostic bugfixes for a few tricky issues that we're trying to
> track down.
* Announcement: https://lists.torproject.org/pipermail/tor-talk/2014-June/033347.html
Closes #30441.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/tor.rb | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/Library/Formula/tor.rb b/Library/Formula/tor.rb index 7372980be..52aadbbe1 100644 --- a/Library/Formula/tor.rb +++ b/Library/Formula/tor.rb @@ -13,19 +13,21 @@ class Tor < Formula end devel do - url "https://www.torproject.org/dist/tor-0.2.5.4-alpha.tar.gz" - version "0.2.5.4-alpha" - sha1 "6817c103e2e401330823930e1a0dec38e5147ba2" + url "https://www.torproject.org/dist/tor-0.2.5.5-alpha.tar.gz" + version "0.2.5.5-alpha" + sha1 "fa4a685e6dceb78ddc0ad811d88e0831bf0ade2d" end depends_on "libevent" depends_on "openssl" def install - # Fix the path to the control cookie. - inreplace "contrib/tor-ctrl.sh", - 'TOR_COOKIE="/var/lib/tor/data/control_auth_cookie"', - 'TOR_COOKIE="$HOME/.tor/control_auth_cookie"' + if build.stable? + # Fix the path to the control cookie. (tor-ctrl removed in v0.2.5.5.) + inreplace "contrib/tor-ctrl.sh", + 'TOR_COOKIE="/var/lib/tor/data/control_auth_cookie"', + 'TOR_COOKIE="$HOME/.tor/control_auth_cookie"' + end system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", @@ -33,7 +35,10 @@ class Tor < Formula "--with-openssl-dir=#{Formula["openssl"].opt_prefix}" system "make install" - bin.install "contrib/tor-ctrl.sh" => "tor-ctrl" + if build.stable? + # (tor-ctrl removed in v0.2.5.5.) + bin.install "contrib/tor-ctrl.sh" => "tor-ctrl" + end end test do |
