From 775bbed024cb7f3aa09b45b7b15043bbd243e835 Mon Sep 17 00:00:00 2001 From: Mike Tigas Date: Mon, 30 Jun 2014 11:08:44 -0400 Subject: 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 --- Library/Formula/tor.rb | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3