php autoupdate / update php 7.1

This commit is contained in:
Rémy 2016-12-11 11:37:53 +01:00
parent 29f413e721
commit e4da0f4307
2 changed files with 40 additions and 13 deletions

View File

@ -1,21 +1,36 @@
{ {
"homepage": "http://windows.php.net", "homepage": "http://windows.php.net",
"version": "7.0.14", "version": "7.1.0",
"license": "http://www.php.net/license/", "license": "http://www.php.net/license/",
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "http://windows.php.net/downloads/releases/php-7.0.14-nts-Win32-VC14-x64.zip", "url": "http://windows.php.net/downloads/releases/php-7.1.0-Win32-VC14-x64.zip",
"hash": "1D117986B57CC57441A3056F578BA56A7FCBB53A7CD2D7DDCA7C634A6012687F" "hash": "sha1:48b99e4aae06b6ca4933689277bd3ff836398eb8"
}, },
"32bit": { "32bit": {
"url": "http://windows.php.net/downloads/releases/php-7.0.14-nts-Win32-VC14-x86.zip", "url": "http://windows.php.net/downloads/releases/php-7.1.0-Win32-VC14-x86.zip",
"hash": "8A9A0F8A0C368AE75C398B93238B2EE14CA7746E5E265CAC6D8A50AE5F9624DB" "hash": "sha1:afb042692d01848016c64246672601a28efffead"
} }
}, },
"bin": ["php.exe", "php-cgi.exe"], "bin": [
"php.exe",
"php-cgi.exe"
],
"post_install": "cp \"$dir\\php.ini-production\" \"$dir\\php.ini\"", "post_install": "cp \"$dir\\php.ini-production\" \"$dir\\php.ini\"",
"checkver": { "checkver": {
"url": "http://windows.php.net/download/", "url": "http://windows.php.net/download/",
"re": "<h3 id=\"php-7.0\".*?>.*?\\(([\\d.]+)\\)</h3>" "re": "<h3 id=\"php-7.1\".*?>.*?\\(([\\d.]+)\\)</h3>"
},
"autoupdate": {
"url": {
"64bit": "http://windows.php.net/downloads/releases/php-$version-Win32-VC14-x64.zip",
"32bit": "http://windows.php.net/downloads/releases/php-$version-Win32-VC14-x86.zip"
},
"hash": {
"mode": "extract",
"type": "sha1",
"url": "http://windows.php.net/downloads/releases/sha1sum.txt",
"find": "([a-z0-9]{40})\\s+(?:$basename)"
}
} }
} }

View File

@ -1,25 +1,25 @@
{ {
"homepage": "http://windows.php.net", "homepage": "http://windows.php.net",
"version": "7.0.14", "version": "7.1.0",
"license": "https://www.php.net/license/", "license": "https://www.php.net/license/",
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": [ "url": [
"http://windows.php.net/downloads/releases/php-7.0.14-Win32-VC14-x64.zip", "http://windows.php.net/downloads/releases/php-7.1.0-Win32-VC14-x64.zip",
"https://raw.githubusercontent.com/madbub/scoop-php/master/64-bit/vcruntime140.dll" "https://raw.githubusercontent.com/madbub/scoop-php/master/64-bit/vcruntime140.dll"
], ],
"hash": [ "hash": [
"b56093735da62ca1435e732a00e5cd432ece60f466e45e490844eac03bd3a70d", "sha1:48b99e4aae06b6ca4933689277bd3ff836398eb8",
"acf65e565021f2017815fc5ec8a3145cf6c15e75c132cf23a378cc943e68327c" "acf65e565021f2017815fc5ec8a3145cf6c15e75c132cf23a378cc943e68327c"
] ]
}, },
"32bit": { "32bit": {
"url": [ "url": [
"http://windows.php.net/downloads/releases/php-7.0.14-Win32-VC14-x86.zip", "http://windows.php.net/downloads/releases/php-7.1.0-Win32-VC14-x86.zip",
"https://raw.githubusercontent.com/MPLew-is/scoop-wamp/master/visual-c-redistributables/14/32-bit/vcruntime140.dll" "https://raw.githubusercontent.com/MPLew-is/scoop-wamp/master/visual-c-redistributables/14/32-bit/vcruntime140.dll"
], ],
"hash": [ "hash": [
"cd4c0f156272de8cf58f77f2c954ca1f20d491cf564b8c8c3d78cf7e707f4db7", "sha1:afb042692d01848016c64246672601a28efffead",
"b7c13f8519340257ba6ae3129afce961f137e394dde3e4e41971b9f912355f5e" "b7c13f8519340257ba6ae3129afce961f137e394dde3e4e41971b9f912355f5e"
] ]
} }
@ -40,6 +40,18 @@ cp \"$dir\\php.ini-production\" \"$dir\\php.ini\"
", ",
"checkver": { "checkver": {
"url": "http://windows.php.net/download/", "url": "http://windows.php.net/download/",
"re": "<h3 id=\"php-7.0\".*?>.*?\\(([\\d.]+)\\)</h3>" "re": "<h3 id=\"php-7.1\".*?>.*?\\(([\\d.]+)\\)</h3>"
},
"autoupdate": {
"url": {
"64bit": "http://windows.php.net/downloads/releases/php-$version-Win32-VC14-x64.zip",
"32bit": "http://windows.php.net/downloads/releases/php-$version-Win32-VC14-x86.zip"
},
"hash": {
"mode": "extract",
"type": "sha1",
"url": "http://windows.php.net/downloads/releases/sha1sum.txt",
"find": "([a-z0-9]{40})\\s+(?:$basename)"
}
} }
} }