mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-02 13:31:18 +00:00
57 lines
1.8 KiB
JSON
57 lines
1.8 KiB
JSON
{
|
|
"homepage": "https://www.apachelounge.com",
|
|
"version": "2.4.32",
|
|
"license": "Apache 2.0",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://www.apachelounge.com/download/VC15/binaries/httpd-2.4.32-win64-VC15.zip",
|
|
"hash": "442a11d3953cbc6f5e6cd02c08672ee9a5bc274c9dc88bf02df6ddf31e92298e"
|
|
},
|
|
"32bit": {
|
|
"url": "https://www.apachelounge.com/download/VC15/binaries/httpd-2.4.32-win32-VC15.zip",
|
|
"hash": "1d06c65623b198d3021107f1f7e10e1e4b45cc1b52f7d6797fb6b3fb841e1d60"
|
|
}
|
|
},
|
|
"extract_dir": "Apache24",
|
|
"persist": [
|
|
"htdocs",
|
|
"conf"
|
|
],
|
|
"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=(scoop which httpd | split-path -res -par | split-path -par) -replace '\\\\', '/';
|
|
(gc $conf) | % { $_ -replace 'c:/Apache24', \"$root\" } | sc $conf
|
|
",
|
|
"checkver": {
|
|
"url": "https://www.apachelounge.com/download/",
|
|
"re": "Apache ([\\d.]+) Win32"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://www.apachelounge.com/download/VC15/binaries/httpd-$version-win64-VC15.zip"
|
|
},
|
|
"32bit": {
|
|
"url": "https://www.apachelounge.com/download/VC15/binaries/httpd-$version-win32-VC15.zip"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$url.txt",
|
|
"find": "SHA256-Checksum for: (?:$basename):\\s+([a-fA-F0-9]{64})"
|
|
}
|
|
}
|
|
}
|