/
apache.json
56 lines (56 loc) · 1.79 KB
/
apache.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"homepage": "https://www.apachelounge.com",
"description": "The Apache HTTP Server (\"httpd\")",
"version": "2.4.38",
"license": "Apache-2.0",
"architecture": {
"64bit": {
"url": "https://fossies.org/windows/www/httpd-2.4.38-win64-VC15.zip",
"hash": "6a5381734d4f73583ef4872b3bfd4348a24635bd87b1828a5c4ea2f7a4e3d7ed"
},
"32bit": {
"url": "https://fossies.org/windows/www/httpd-2.4.38-win32-VC15.zip",
"hash": "3ef4c7c155b54ef9d46878d7f140f6c6697ee2367a11d0b3406d97a2f2f075a1"
}
},
"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://fossies.org/search?q=folder_search&q1=httpd&ad=%2Ffresh%2Fwindows%2Fwww&ca=yes&dp=1",
"re": "httpd-([\\d.]+)-win64-VC15.zip"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://fossies.org/windows/www/httpd-$version-win64-VC15.zip"
},
"32bit": {
"url": "https://fossies.org/windows/www/httpd-$version-win32-VC15.zip"
}
},
"hash": {
"url": "$url_fossies.sha256"
}
}
}