mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-08 01:31:20 +00:00
This leads to more consistent license properties and allows for easier automated parsing. https://spdx.org/licenses/
57 lines
1.8 KiB
JSON
57 lines
1.8 KiB
JSON
{
|
|
"homepage": "https://www.apachelounge.com",
|
|
"version": "2.4.33",
|
|
"license": "Apache-2.0",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://www.apachelounge.com/download/VC15/binaries/httpd-2.4.33-win64-VC15.zip",
|
|
"hash": "A9F94DBA6AFFE3BD98FEC01EF77DC932C123E25E360D29D970CC2CDD9F5BA237"
|
|
},
|
|
"32bit": {
|
|
"url": "https://www.apachelounge.com/download/VC15/binaries/httpd-2.4.33-win32-VC15.zip",
|
|
"hash": "52BA4FC88E661FE3C775E40EBC93E0B277F4470BCC2185F4F9D2A2C6A2DC05E5"
|
|
}
|
|
},
|
|
"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})"
|
|
}
|
|
}
|
|
}
|