cacert: Update url and Add hash extraction (#4756)

* cacert: update domain

* cacert: add hash extraction
This commit is contained in:
Zarin 2023-05-02 07:15:26 -04:00 committed by GitHub
parent 5f312b420c
commit a2790191a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,17 @@
{
"##": "Do not extract hash, it's not up to date.",
"version": "2023-01-10",
"description": "CA certificates extracted from the Mozilla CA certificate store, in PEM format",
"homepage": "https://curl.haxx.se/docs/caextract.html",
"homepage": "https://curl.se/docs/caextract.html",
"license": "MPL-2.0",
"url": "https://curl.haxx.se/ca/cacert-2023-01-10.pem#/cacert.pem",
"url": "https://curl.se/ca/cacert-2023-01-10.pem#/cacert.pem",
"hash": "fb1ecd641d0a02c01bc9036d513cb658bbda62a75e246bedbc01764560a639f0",
"post_install": "if (Test-Path \"$(appdir curl $global)\") { Copy-Item \"$dir\\cacert.pem\" \"$(appdir curl $global)\\current\\bin\\curl-ca-bundle.crt\" }",
"checkver": "cacert-([\\d-]+)\\.pem",
"autoupdate": {
"url": "https://curl.haxx.se/ca/cacert-$version.pem#/cacert.pem"
"url": "https://curl.se/ca/cacert-$version.pem#/cacert.pem",
"hash": {
"url": "$url.sha256",
"regex": "$sha256"
}
}
}