Weijie.Fu c99c14f07c
(apache|ab)@2.4.58: Fix unreachable URL (#5208)
ab@2.4.58: old version was not reachable

Co-authored-by: 付伟杰 <wjfu@wisedu.com>
2023-10-23 20:31:17 +05:30

52 lines
1.5 KiB
JSON

{
"version": "2.4.58",
"description": "The Apache HTTP Server ('httpd')",
"homepage": "https://www.apachelounge.com",
"license": "Apache-2.0",
"architecture": {
"64bit": {
"url": "https://fossies.org/windows/www/httpd-2.4.58-win64-VS17.zip",
"hash": "e9a179ad4767c595be55024ee0415a96ae522f492deca4b0d54cf136ff2b092c"
}
},
"extract_dir": "Apache24",
"bin": [
"bin\\ab.exe",
"bin\\abs.exe",
"bin\\htcacheclean.exe",
"bin\\htdbm.exe",
"bin\\htdigest.exe",
"bin\\htpasswd.exe",
"bin\\httpd.exe",
"bin\\httxt2dbm.exe",
"bin\\logresolve.exe",
"bin\\rotatelogs.exe"
],
"post_install": [
" # set directory in httpd.conf",
"$conf = \"$dir\\conf\\httpd.conf\"",
"$root= \"$dir\" -replace '\\\\', '/'",
"((Get-Content $conf) -replace 'c:/Apache24', \"$root\") | Set-Content $conf"
],
"persist": [
"htdocs",
"conf",
"logs"
],
"checkver": {
"url": "https://fossies.org/windows/www/",
"regex": "httpd-([\\d.]+)-win64-VS17\\.zip"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://fossies.org/windows/www/httpd-$version-win64-VS17.zip"
}
},
"hash": {
"url": "$url_fossies.sha256"
},
"extract_dir": "Apache$majorVersion$minorVersion"
}
}