ScoopInstaller_Main/apache.json

54 lines
1.9 KiB
JSON

{
"homepage": "http://www.apachelounge.com",
"version": "2.4.18",
"license": "Apache 2.0",
"architecture": {
"64bit": {
"url": [
"https://www.apachelounge.com/download/VC14/binaries/httpd-2.4.18-win64-VC14.zip",
"https://raw.githubusercontent.com/MPLew-is/scoop-wamp/master/visual-c-redistributables/14/64-bit/vcruntime140.dll"
],
"hash": [
"sha256:543aff046b0ea2bf58be76d7d20fcd1fa16eec9ae836ca4639feb1c2a7e09cfa",
"sha256:acf65e565021f2017815fc5ec8a3145cf6c15e75c132cf23a378cc943e68327c"
]
},
"32bit": {
"url": [
"https://www.apachelounge.com/download/VC14/binaries/httpd-2.4.18-win32-VC14.zip",
"https://raw.githubusercontent.com/MPLew-is/scoop-wamp/master/visual-c-redistributables/14/32-bit/vcruntime140.dll"
],
"hash": [
"sha256:2259bea85cbcb4e9e525bfff0863b4ae3eae5f91fddb153191fd310575a04f38",
"sha256:b7c13f8519340257ba6ae3129afce961f137e394dde3e4e41971b9f912355f5e"
]
}
},
"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": "
#Copy needed DLL to bin subdirectory
mv \"$dir\\vcruntime140.dll\" \"$dir\\bin\\vcruntime140.dll\"
# 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": "http://www.apachelounge.com/download/",
"re": "Apache ([0-9\\.]+) Win32"
}
}