-
Notifications
You must be signed in to change notification settings - Fork 9
/
apache.json
51 lines (51 loc) · 1.54 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
{
"version": "2.4.62",
"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.62-240718-win64-VS17.zip",
"hash": "31e50d8e7706d45411a26ad1a8daa438a9e9af3721790d84092646f4ce996355"
}
},
"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]+)-win64-VS17\\.zip"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://fossies.org/windows/www/httpd-$version-$matchDate-win64-VS17.zip"
}
},
"hash": {
"url": "$url_fossies.sha256"
},
"extract_dir": "Apache$majorVersion$minorVersion"
}
}