Update curl with cacert's pem file (#1357)

This commit is contained in:
Ross Smith II 2017-02-28 12:28:31 -08:00 committed by Richard Kuhnt
parent af60df517b
commit b12a276efe
2 changed files with 10 additions and 5 deletions

View File

@ -8,7 +8,7 @@
"url": "https://curl.haxx.se/docs/caextract.html", "url": "https://curl.haxx.se/docs/caextract.html",
"re": "cacert-([\\d-]{10}).pem" "re": "cacert-([\\d-]{10}).pem"
}, },
"post_install": "Rename-Item @(Get-ChildItem $dir\\cacert-*.pem)[0] $dir\\cacert.pem", "post_install": "Rename-Item @(Get-ChildItem $dir\\cacert-*.pem)[0] $dir\\cacert.pem; if (Test-Path \"$(appdir curl)\") {cp \"$dir\\cacert.pem\" \"$(appdir curl)\\current\\bin\\curl-ca-bundle.crt\"}",
"autoupdate": { "autoupdate": {
"url": "https://curl.haxx.se/ca/cacert-$version.pem" "url": "https://curl.haxx.se/ca/cacert-$version.pem"
} }

View File

@ -4,12 +4,12 @@
"license": "MIT", "license": "MIT",
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://bintray.com/vszakats/generic/download_file?file_path=curl-7.53.1-win64-mingw.7z#/curl-7.53.1-win64-mingw.7z", "url": "https://bintray.com/vszakats/generic/download_file?file_path=curl-7.53.1-win64-mingw.7z#/dl.7z",
"hash": "f204fe863291ee840517cf57a40f21aaec877d04f0662011cf52121392a448df", "hash": "f204fe863291ee840517cf57a40f21aaec877d04f0662011cf52121392a448df",
"extract_dir": "curl-7.53.1-win64-mingw" "extract_dir": "curl-7.53.1-win64-mingw"
}, },
"32bit": { "32bit": {
"url": "https://bintray.com/vszakats/generic/download_file?file_path=curl-7.53.1-win32-mingw.7z#/curl-7.53.1-win32-mingw.7z", "url": "https://bintray.com/vszakats/generic/download_file?file_path=curl-7.53.1-win32-mingw.7z#/dl.7z",
"hash": "587b9998a89c3aa799e97c1e64b47375c6ed72b3b57047061576d273be396b37", "hash": "587b9998a89c3aa799e97c1e64b47375c6ed72b3b57047061576d273be396b37",
"extract_dir": "curl-7.53.1-win32-mingw" "extract_dir": "curl-7.53.1-win32-mingw"
} }
@ -19,14 +19,19 @@
"url": "https://curl.haxx.se/download.html", "url": "https://curl.haxx.se/download.html",
"re": "curl ([\\d.]+)" "re": "curl ([\\d.]+)"
}, },
"suggest": {
"cacert": [
"cacert"
]
},
"autoupdate": { "autoupdate": {
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://bintray.com/vszakats/generic/download_file?file_path=curl-$version-win64-mingw.7z#/curl-$version-win64-mingw.7z", "url": "https://bintray.com/vszakats/generic/download_file?file_path=curl-$version-win64-mingw.7z#/dl.7z",
"extract_dir": "curl-$version-win64-mingw" "extract_dir": "curl-$version-win64-mingw"
}, },
"32bit": { "32bit": {
"url": "https://bintray.com/vszakats/generic/download_file?file_path=curl-$version-win32-mingw.7z#/curl-$version-win32-mingw.7z", "url": "https://bintray.com/vszakats/generic/download_file?file_path=curl-$version-win32-mingw.7z#/dl.7z",
"extract_dir": "curl-$version-win32-mingw" "extract_dir": "curl-$version-win32-mingw"
} }
} }