require 'formula'

class Tor <Formula
  url 'https://www.torproject.org/dist/tor-0.2.1.26.tar.gz'
  homepage 'https://www.torproject.org/'
  md5 'f7b30a144e1da41aa43f496bd47ffba7'

  depends_on 'libevent'

  def patches
    {:p0 => 'http://gist.github.com/raw/344132/d27d1cd3042d7c58120688d79ed25a2fc959a2de/config.guess-x86_64patch.diff' }
  end

  def install
    system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
    system "make install"
  end
end

require 'formula'

class Tor <Formula
  url 'https://www.torproject.org/dist/tor-0.2.1.26.tar.gz'
  homepage 'https://www.torproject.org/'
  md5 'f7b30a144e1da41aa43f496bd47ffba7'

  depends_on 'libevent'

  def patches
    {:p0 => 'https://gist.github.com/raw/344132/d27d1cd3042d7c58120688d79ed25a2fc959a2de/config.guess-x86_64patch.diff' }
  end

  def install
    system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
    system "make install"
  end
end

Use https for all GitHub URLs
Use https for all GitHub URLs

Signed-off-by: Adam Vandenberg <34c2b6407fd5a10249a15d699d40f9ed1782e98c@gmail.com>
