tor 0.2.6.7 (stable) & 0.2.7.1 (devel)
Closes Homebrew/homebrew#39741. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
454d5ebc54
commit
bcebf2e2f1
1 changed files with 9 additions and 10 deletions
|
@ -1,8 +1,8 @@
|
|||
class Tor < Formula
|
||||
homepage "https://www.torproject.org/"
|
||||
url "https://dist.torproject.org/tor-0.2.5.12.tar.gz"
|
||||
mirror "https://tor.eff.org/dist/tor-0.2.5.12.tar.gz"
|
||||
sha256 "550fdafffeb4c1e3035bb8cc42e6e49d5af17ad79563bd118af22c1107f72b49"
|
||||
url "https://dist.torproject.org/tor-0.2.6.7.tar.gz"
|
||||
mirror "https://tor.eff.org/dist/tor-0.2.6.7.tar.gz"
|
||||
sha256 "8c2be88a542ed1b22a8d3d595ec0acd0e28191de273dbcaefc64fdce92b89e6c"
|
||||
|
||||
bottle do
|
||||
sha256 "8f4ed124a0505b2d78cbb77705d0b899865df6cdbb2ecbd8bf507a8cc14a270a" => :yosemite
|
||||
|
@ -11,18 +11,17 @@ class Tor < Formula
|
|||
end
|
||||
|
||||
devel do
|
||||
url "https://dist.torproject.org/tor-0.2.6.7.tar.gz"
|
||||
mirror "https://tor.eff.org/dist/tor-0.2.6.7.tar.gz"
|
||||
sha256 "8c2be88a542ed1b22a8d3d595ec0acd0e28191de273dbcaefc64fdce92b89e6c"
|
||||
|
||||
# Move this to the main block when current devel = stable release.
|
||||
depends_on "libscrypt" => :optional
|
||||
url "https://dist.torproject.org/tor-0.2.7.1-alpha.tar.gz"
|
||||
mirror "https://tor.eff.org/dist/tor-0.2.7.1-alpha.tar.gz"
|
||||
sha256 "9afc770a5a795e752f053ae7c2c1ee3a560145adc0aea377c83e602c2cbbed9b"
|
||||
version "0.2.7.1-alpha"
|
||||
end
|
||||
|
||||
depends_on "libevent"
|
||||
depends_on "openssl"
|
||||
depends_on "libnatpmp" => :optional
|
||||
depends_on "miniupnpc" => :optional
|
||||
depends_on "libscrypt" => :optional
|
||||
|
||||
def install
|
||||
args = %W[
|
||||
|
@ -35,7 +34,7 @@ class Tor < Formula
|
|||
|
||||
args << "--with-libnatpmp-dir=#{Formula["libnatpmp"].opt_prefix}" if build.with? "libnatpmp"
|
||||
args << "--with-libminiupnpc-dir=#{Formula["miniupnpc"].opt_prefix}" if build.with? "miniupnpc"
|
||||
args << "--disable-libscrypt" if build.devel? && build.without?("libscrypt")
|
||||
args << "--disable-libscrypt" if build.without? "libscrypt"
|
||||
|
||||
system "./configure", *args
|
||||
system "make", "install"
|
||||
|
|
Loading…
Reference in a new issue