mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 14:21:19 +00:00
51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"version": "2.4.52",
|
|
"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.52-win64-VS16.zip",
|
|
"hash": "18528c1837cad286ecd1d2b8b94bd3d59b18d9351c901ae729d707596714d0eb"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|