aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/curl-ca-bundle.rb
blob: 9b2027bbe84ae68f4e017c8932601ce8f3b32249 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class CurlCaBundle < Formula
  homepage 'http://curl.haxx.se/docs/caextract.html'
  url 'https://downloads.sourceforge.net/project/machomebrew/mirror/curl-ca-bundle-1.87.tar.bz2'
  sha256 '41742f0c6aa689543ad037d1f7615b8620dae399d3cf2061a8d86d84a1b41f7f'

  def install
    share.install 'ca-bundle.crt'
  end

  def caveats; <<-EOS.undent
    To use these certificates with OpenSSL:

      export SSL_CERT_FILE=#{opt_prefix}/share/ca-bundle.crt
    EOS
  end
end