mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 14:21:19 +00:00
52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"version": "2.4.65",
|
|
"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.65-250724-Win64-VS17.zip",
|
|
"hash": "e324797985825424af00cdb9d78b029723f18862df6c02c2219b341e33e31f04"
|
|
}
|
|
},
|
|
"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.]+)-(?<date>[\\d]+)-(?<arch>(w|W)in64)-VS17\\.zip"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://fossies.org/windows/www/httpd-$version-$matchDate-$matchArch-VS17.zip"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$url_fossies.sha256"
|
|
},
|
|
"extract_dir": "Apache$majorVersion$minorVersion"
|
|
}
|
|
}
|