diff --git a/openssl.json b/openssl.json index f6c455c790..4b50f6abd1 100644 --- a/openssl.json +++ b/openssl.json @@ -1,37 +1,42 @@ { - "homepage": "https://slproweb.com/products/Win32OpenSSL.html", + "homepage": "https://curl.haxx.se/windows/", "version": "1.1.0i", "license": "OpenSSL", "architecture": { "64bit": { - "url": "https://slproweb.com/download/Win64OpenSSL-1_1_0i.exe", - "hash": "sha512:c416dc3a363d959841c551cc401514c46f6c2cb534f2d3912a03c3fcca039a43705e8732f9e3370d3dbd895169536318f63754d21566f2a31b876fbd1d1ab9f1" + "url": "https://curl.haxx.se/windows/dl-7.61.1/openssl-1.1.0i-win64-mingw.tar.xz", + "hash": "e05d60e1f45c036ae44e09ec7c35ec74fa37196cb45816e2f842c0e8acc09404", + "extract_dir": "openssl-1.1.0i-win64-mingw" }, "32bit": { - "url": "https://slproweb.com/download/Win32OpenSSL-1_1_0i.exe", - "hash": "sha512:45f7b3ad2f6cb463e0d792c4fc6b15f422f243bcb4c8f11516f5f7c6c747ac18c903e66c26c2dc9b01bae5c43b84b0c640904b37cf2ddd74a2c9daa22402a548" + "url": "https://curl.haxx.se/windows/dl-7.61.1/openssl-1.1.0i-win32-mingw.tar.xz", + "hash": "c01e1fed842f2294ff455ecd5252e69405312107abb80ac90b01920cbfd4fed9", + "extract_dir": "openssl-1.1.0i-win32-mingw" } }, - "innosetup": true, - "bin": "bin\\openssl.exe", - "env_add_path": "bin", + "bin": "openssl.exe", + "env_add_path": ".", "env_set": { - "OPENSSL_CONF": "$dir\\bin\\cnf\\openssl.cnf" + "OPENSSL_CONF": "$dir\\openssl.cnf" + }, + "checkver": { + "url": "https://curl.haxx.se/windows/", + "re": "dl-(?[\\d.]+)/openssl-(?[\\w.]+)-win64-mingw" }, - "checkver": "Win32 OpenSSL v([^\\s]+)", "autoupdate": { "architecture": { "64bit": { - "url": "https://slproweb.com/download/Win64OpenSSL-$underscoreVersion.exe" + "url": "https://curl.haxx.se/windows/dl-7.61.1/openssl-$version-win64-mingw.tar.xz", + "extract_dir": "openssl-$version-win64-mingw" }, "32bit": { - "url": "https://slproweb.com/download/Win32OpenSSL-$underscoreVersion.exe" + "url": "https://curl.haxx.se/windows/dl-7.61.1/openssl-$version-win32-mingw.tar.xz", + "extract_dir": "openssl-$version-win32-mingw" } }, "hash": { - "mode": "json", - "jp": "$.files.['$basename'].sha512", - "url": "$baseurl/win32_openssl_hashes.json" + "url": "$baseurl/hashes.txt", + "find": "SHA256\\($basename\\)=\\s+([a-fA-F\\d]{64})" } } }