/
apache-vc14.json
35 lines (35 loc) · 1021 Bytes
/
apache-vc14.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"homepage": "http://www.apachelounge.com",
"version": "2.4.17",
"license": "Apache 2.0",
"depends": "ms-vc14",
"architecture": {
"64bit": {
"url": "http://www.apachelounge.com/download/VC14/binaries/httpd-2.4.17-win64-VC14.zip",
"hash": "DF4C6E80604610A952E7BD65D2801378AA730B055CD49413BA5B9D4225885942"
},
"32bit": {
"url": "http://www.apachelounge.com/download/VC14/binaries/httpd-2.4.17-win32-VC14.zip",
"hash": "697B9878359FAFDE4E60F1D62904C10DAB89B06B193DF78F49C58C1D3C0DEFFA"
}
},
"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=(scoop which httpd | split-path -res -par | split-path -par) -replace '\\\\', '/';
(gc $conf) | % { $_ -replace 'c:/Apache24', \"$root\" } | sc $conf
"
}