2026-01-28 20:32:19 +00:00

61 lines
2.3 KiB
JSON

{
"version": "3.6.1",
"description": "TLS/SSL toolkit",
"homepage": "https://slproweb.com/products/Win32OpenSSL.html",
"license": "Apache-2.0",
"architecture": {
"64bit": {
"url": "https://slproweb.com/download/Win64OpenSSL-3_6_1.exe",
"hash": "8ce11c409adbd177ca627115bc697c3b66c414bb36175ebb375341eb426894a8"
},
"32bit": {
"url": "https://slproweb.com/download/Win32OpenSSL-3_6_1.exe",
"hash": "0d85815f48e318237496e6973f294b24f131bb5cf670f6a941db2ab895897230"
},
"arm64": {
"url": "https://slproweb.com/download/Win64ARMOpenSSL-3_6_1.exe",
"hash": "2e281f2bf30485169a01256ed601000d6a130967e3d18cd4c57685f08a68598e"
}
},
"pre_install": [
"$arch = switch ($architecture) {",
" '64bit' { 'x64'; break }",
" '32bit' { 'x86'; break }",
" 'arm64' { $architecture; break }",
"}",
"$null = Get-ChildItem \"$dir/lib/VC/$arch/MT\" | ForEach-Object { New-Item -ItemType HardLink -Target $_.FullName -Path \"$dir/lib/$($_.Name)\" }"
],
"innosetup": true,
"env_add_path": "bin",
"env_set": {
"OPENSSL_ROOT_DIR": "$dir",
"OPENSSL_LIB_DIR": "$dir\\lib",
"OPENSSL_INCLUDE_DIR": "$dir\\include",
"OPENSSL_MODULES": "$dir\\bin",
"OPENSSL_CONF": "$dir\\bin\\cnf\\openssl.cnf"
},
"checkver": {
"url": "https://raw.githubusercontent.com/slproweb/opensslhashes/master/win32_openssl_hashes.json",
"jsonpath": "$.files..basever",
"regex": "([\\d.]+)",
"reverse": true
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://slproweb.com/download/Win64OpenSSL-$underscoreVersion.exe"
},
"32bit": {
"url": "https://slproweb.com/download/Win32OpenSSL-$underscoreVersion.exe"
},
"arm64": {
"url": "https://slproweb.com/download/Win64ARMOpenSSL-$underscoreVersion.exe"
}
},
"hash": {
"url": "https://raw.githubusercontent.com/slproweb/opensslhashes/master/win32_openssl_hashes.json",
"jsonpath": "$.files.['$basename'].sha256"
}
}
}