apache: Update to version 2.4.49

This commit is contained in:
Jakub Čábera 2021-09-17 06:21:28 -07:00
parent a25304c289
commit f54c4e3de8

View File

@ -1,16 +1,12 @@
{ {
"version": "2.4.48", "version": "2.4.49",
"description": "The Apache HTTP Server ('httpd')", "description": "The Apache HTTP Server ('httpd')",
"homepage": "https://www.apachelounge.com", "homepage": "https://www.apachelounge.com",
"license": "Apache-2.0", "license": "Apache-2.0",
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://fossies.org/windows/www/httpd-2.4.48-win64-VC15.zip", "url": "https://fossies.org/windows/www/httpd-2.4.49-win64-VC15.zip",
"hash": "207f58ce7b850abf120786f9ef5a52c01c8b52d2955277172cec9fdbf3a410ef" "hash": "0200bab7df9e872ad9812fd87ab3299c0a2a75c871568d850489c6a17d06cb41"
},
"32bit": {
"url": "https://fossies.org/windows/www/httpd-2.4.48-win32-VC15.zip",
"hash": "86a99aa2c77cce7a08e3d4cd075bad97c38aae56de148200f3f4008f675b5e55"
} }
}, },
"extract_dir": "Apache24", "extract_dir": "Apache24",
@ -28,29 +24,27 @@
], ],
"post_install": [ "post_install": [
" # set directory in httpd.conf", " # set directory in httpd.conf",
"$conf = \"$dir/conf/httpd.conf\"", "$conf = \"$dir\\conf\\httpd.conf\"",
"$root=(scoop which httpd | split-path -res -par | split-path -par) -replace '\\\\', '/';", "$root= \"$dir\" -replace '\\\\', '/'",
"(gc $conf) | % { $_ -replace 'c:/Apache24', \"$root\" } | sc $conf" "((Get-Content $conf) -replace 'c:/Apache24', \"$root\") | Set-Content $conf"
], ],
"persist": [ "persist": [
"htdocs", "htdocs",
"conf" "conf"
], ],
"checkver": { "checkver": {
"url": "https://fossies.org/search?q=folder_search&q1=httpd&ad=%2Ffresh%2Fwindows%2Fwww&ca=yes&dp=1", "url": "https://fossies.org/windows/www/",
"regex": "httpd-([\\d.]+)-win64-VC15\\.zip" "regex": "httpd-([\\d.]+)-win64-VC15\\.zip"
}, },
"autoupdate": { "autoupdate": {
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://fossies.org/windows/www/httpd-$version-win64-VC15.zip" "url": "https://fossies.org/windows/www/httpd-$version-win64-VC15.zip"
},
"32bit": {
"url": "https://fossies.org/windows/www/httpd-$version-win32-VC15.zip"
} }
}, },
"hash": { "hash": {
"url": "$url_fossies.sha256" "url": "$url_fossies.sha256"
} },
"extract_dir": "Apache$majorVersion$minorVersion"
} }
} }