2013-01-18 05:21:29 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class CurlCaBundle < Formula
|
|
|
|
homepage 'http://curl.haxx.se/docs/caextract.html'
|
2013-02-04 23:49:58 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/machomebrew/mirror/curl-ca-bundle-1.87.tar.bz2'
|
|
|
|
sha256 '41742f0c6aa689543ad037d1f7615b8620dae399d3cf2061a8d86d84a1b41f7f'
|
2013-01-18 05:21:29 +00:00
|
|
|
|
|
|
|
def install
|
2013-02-04 23:49:58 +00:00
|
|
|
share.install 'ca-bundle.crt'
|
2013-01-18 05:21:29 +00:00
|
|
|
end
|
2013-04-04 21:55:02 +00:00
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
To use these certificates with OpenSSL:
|
|
|
|
|
|
|
|
export SSL_CERT_FILE=#{opt_prefix}/share/ca-bundle.crt
|
|
|
|
EOS
|
|
|
|
end
|
2013-01-18 05:21:29 +00:00
|
|
|
end
|