mongodb: Fix checkver

This commit is contained in:
Jakub Čábera 2020-08-17 09:51:23 +02:00
parent 2ea5dafbef
commit d233ee5cda
2 changed files with 21 additions and 20 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
*~
._*
/checkver*

View File

@ -1,11 +1,23 @@
{
"homepage": "https://www.mongodb.org",
"description": "A document database with the scalability and flexibility.",
"version": "4.2.7",
"description": "A document database with the scalability and flexibility.",
"homepage": "https://www.mongodb.org",
"license": {
"identifier": "SSPL-1.0",
"url": "https://www.mongodb.com/licensing/server-side-public-license"
},
"suggest": {
"Visual C/C++ Redistributable 2017": "extras/vcredist2017"
},
"notes": [
"Windows server 2012/2008 and Windows 7/8/8.1 need KB2999226 to provide Universal C Runtime support for Windows.",
"For more infomations, please refer to:",
"https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows",
"",
"mongod shim use \"$dir\\bin\\mongod.cfg\" as the default config file.",
"To use a different config file, please run",
"\"$dir\\bin\\mongod.exe --config NEW_CONFIG_FILE\""
],
"architecture": {
"64bit": {
"url": "https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.7-signed.msi",
@ -44,30 +56,18 @@
"log"
],
"checkver": {
"url": "https://www.mongodb.com/download-center/community",
"regex": "win32/mongodb-win32-x86_64-(?<target>[\\w-]+)-([\\d.]+)-signed"
"url": "https://www.mongodb.com/download-center/community/releases",
"regex": "<h3>([\\d.]+)</h3"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-$matchTarget-$version-signed.msi",
"hash": {
"url": "$url.sha256"
},
"extract_dir": "MongoDB\\Server\\$majorVersion.$minorVersion"
}
},
"hash": {
"url": "$url.sha256"
}
}
},
"suggest": {
"Visual C/C++ Redistributable 2017": "extras/vcredist2017"
},
"notes": [
"Windows server 2012/2008 and Windows 7/8/8.1 need KB2999226 to provide Universal C Runtime support for Windows.",
"For more infomations, please refer to:",
"https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows",
"",
"mongod shim use \"$dir\\bin\\mongod.cfg\" as the default config file.",
"To use a different config file, please run",
"\"$dir\\bin\\mongod.exe --config NEW_CONFIG_FILE\""
]
}