aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/curl-ca-bundle.rb
blob: 513c3c3ff9d9c2fbb23f6a91a91b2d78180ea78c (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_share}/ca-bundle.crt
    EOS
  end
end