torsocks 2.3.0

Closes #39501.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
This commit is contained in:
Arne Luenser 2019-05-03 16:06:03 +02:00 committed by Chongyu Zhu
parent 5275d78da4
commit 9a71848aa8
No known key found for this signature in database
GPG key ID: 1A43E3C9100B38F5

View file

@ -2,8 +2,8 @@ class Torsocks < Formula
desc "Use SOCKS-friendly applications with Tor"
homepage "https://gitweb.torproject.org/torsocks.git/"
url "https://git.torproject.org/torsocks.git",
:tag => "v2.2.0",
:revision => "e54d80bc9595beeceac637b03e5c5395c07e62f7"
:tag => "v2.3.0",
:revision => "cec4a733c081e09fb34f0aa4224ffd7b687fb310"
head "https://git.torproject.org/torsocks.git"
bottle do
@ -18,10 +18,15 @@ class Torsocks < Formula
depends_on "automake" => :build
depends_on "libtool" => :build
# https://trac.torproject.org/projects/tor/ticket/28538
patch do
url "https://trac.torproject.org/projects/tor/raw-attachment/ticket/28538/0001-Fix-macros-for-accept4-2.patch"
sha256 "97881f0b59b3512acc4acb58a0d6dfc840d7633ead2f400fad70dda9b2ba30b0"
end
def install
system "./autogen.sh"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end