mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-02 23:01:19 +00:00
37 lines
1.3 KiB
JSON
37 lines
1.3 KiB
JSON
{
|
|
"version": "3.7.0",
|
|
"description": "High-performance coordination service for distributed applications",
|
|
"homepage": "https://zookeeper.apache.org/",
|
|
"license": "Apache-2.0",
|
|
"suggest": {
|
|
"JDK": [
|
|
"java/oraclejdk",
|
|
"java/openjdk"
|
|
]
|
|
},
|
|
"url": "https://www.apache.org/dist/zookeeper/zookeeper-3.7.0/apache-zookeeper-3.7.0-bin.tar.gz",
|
|
"hash": "sha512:64e2701c019ed46f45f4d53b2c5eaeaf7cf48c342bbafa032a0819d527fc77caebfada6bdad34e5171e6d838f40b16c95b62ce378b53dfc827af2d60cec0b17c",
|
|
"extract_dir": "apache-zookeeper-3.7.0-bin",
|
|
"post_install": [
|
|
"$dataDirPath = (\"$dir\\data\").replace('\\', '\\\\')",
|
|
"(Get-Content \"$dir\\conf\\zoo_sample.cfg\") -Replace '^dataDir=(.+)$', \"dataDir=$dataDirPath\" | Set-Content \"$dir\\conf\\zoo.cfg\" -Encoding Ascii"
|
|
],
|
|
"bin": [
|
|
"bin\\zkServer.cmd",
|
|
"bin\\zkCli.cmd"
|
|
],
|
|
"persist": "data",
|
|
"checkver": {
|
|
"url": "https://www.apache.org/dist/zookeeper/",
|
|
"regex": "zookeeper-([\\d.]+)/",
|
|
"reverse": true
|
|
},
|
|
"autoupdate": {
|
|
"url": "https://www.apache.org/dist/zookeeper/zookeeper-$version/apache-zookeeper-$version-bin.tar.gz",
|
|
"hash": {
|
|
"url": "$url.sha512"
|
|
},
|
|
"extract_dir": "apache-zookeeper-$version-bin"
|
|
}
|
|
}
|