Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
curl-ca-bundle: use prebuilt bundle
Browse files Browse the repository at this point in the history
The mk-ca-bundle script uses perl modules that don't work consistently
across proxies, etc. so just package it up.

Fixes #17286.
  • Loading branch information
jacknagel committed Feb 4, 2013
1 parent 5e21f91 commit e8e7cbf
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions Library/Formula/curl-ca-bundle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,10 @@

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

def install
cd 'lib' do
inreplace 'mk-ca-bundle.pl', /(http):/, '\1s:'
system 'perl', 'mk-ca-bundle.pl'
share.install 'ca-bundle.crt'
end
share.install 'ca-bundle.crt'
end
end

0 comments on commit e8e7cbf

Please sign in to comment.