2021-10-08 06:15:55 -07:00

51 lines
1.4 KiB
JSON

{
"version": "2.4.51",
"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.51-win64-VS16.zip",
"hash": "54db769a0bc6256bd744607e735cc1d85e14c1d6ec07beb491e06bbb9b5b98f6"
}
},
"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"
],
"checkver": {
"url": "https://fossies.org/windows/www/",
"regex": "httpd-([\\d.]+)-win64-VS16\\.zip"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://fossies.org/windows/www/httpd-$version-win64-VS16.zip"
}
},
"hash": {
"url": "$url_fossies.sha256"
},
"extract_dir": "Apache$majorVersion$minorVersion"
}
}