From a2790191a4b3f65194717cd7cfc04d5d949ab1cd Mon Sep 17 00:00:00 2001 From: Zarin Date: Tue, 2 May 2023 07:15:26 -0400 Subject: [PATCH] cacert: Update url and Add hash extraction (#4756) * cacert: update domain * cacert: add hash extraction --- bucket/cacert.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/bucket/cacert.json b/bucket/cacert.json index d1d9bc4f7b..651ce32015 100644 --- a/bucket/cacert.json +++ b/bucket/cacert.json @@ -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" + } } }