liboauth: move to OpenSSL 1.1 and patch
This commit is contained in:
parent
2de6fa8657
commit
67c5a8d2c7
1 changed files with 8 additions and 2 deletions
|
@ -3,7 +3,7 @@ class Liboauth < Formula
|
|||
homepage "https://liboauth.sourceforge.io"
|
||||
url "https://downloads.sourceforge.net/project/liboauth/liboauth-1.0.3.tar.gz"
|
||||
sha256 "0df60157b052f0e774ade8a8bac59d6e8d4b464058cc55f9208d72e41156811f"
|
||||
revision 1
|
||||
revision 2
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
|
@ -15,7 +15,13 @@ class Liboauth < Formula
|
|||
sha256 "9bbd1a6e6cb7c089f3971858b84674545f4125e088072399bace245c29562f03" => :mavericks
|
||||
end
|
||||
|
||||
depends_on "openssl"
|
||||
depends_on "openssl@1.1"
|
||||
|
||||
# Patch for compatibility with OpenSSL 1.1
|
||||
patch :p0 do
|
||||
url "https://raw.githubusercontent.com/freebsd/freebsd-ports/master/net/liboauth/files/patch-src_hash.c"
|
||||
sha256 "a7b0295dab65b5fb8a5d2a9bbc3d7596b1b58b419bd101cdb14f79aa5cc78aea"
|
||||
end
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
|
|
Loading…
Reference in a new issue