Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added CA to openssl formula.

  • Loading branch information...
commit c1e1fe05346e2e5d996524c5b99635cde68b7b72 1 parent d9fcc6e
Burke Libbey authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  Library/Formula/openssl.rb
3  Library/Formula/openssl.rb
View
@@ -11,12 +11,13 @@ class Openssl < Formula
def install
# I don't understand why this works and other things don't, but I'm done debugging this. it's ugly, but it works.
- `cd #{Dir.pwd} ; ./Configure darwin64-x86_64-cc --prefix=#{prefix} --openssldir=#{etc}/openssl zlib-dynamic shared`
+ `cd #{Dir.pwd} ; ./Configure darwin64-x86_64-cc --prefix=#{prefix} --openssldir=#{prefix}/etc/openssl zlib-dynamic shared`
ENV.deparallelize # Parallel compilation fails
system "make"
system "make test"
system "make install MANDIR=#{man} MANSUFFIX=ssl"
+ system "curl http://curl.haxx.se/ca/cacert.pem > /usr/local/Cellar/openssl/1.0.1-beta1/etc/openssl/cert.pem"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.