diff options
Diffstat (limited to 'sys-cluster/zookeeper-bin')
-rw-r--r-- | sys-cluster/zookeeper-bin/Manifest | 2 | ||||
-rw-r--r-- | sys-cluster/zookeeper-bin/zookeeper-bin-3.9.3.ebuild | 68 |
2 files changed, 70 insertions, 0 deletions
diff --git a/sys-cluster/zookeeper-bin/Manifest b/sys-cluster/zookeeper-bin/Manifest index 15ba3ae6436f..c948f917ed94 100644 --- a/sys-cluster/zookeeper-bin/Manifest +++ b/sys-cluster/zookeeper-bin/Manifest @@ -3,6 +3,8 @@ AUX zookeeper.confd 398 BLAKE2B d49c6c7358ce2f6911d359142e0f6abe2662c0e5c2bcf1ac AUX zookeeper.initd 373 BLAKE2B c60740f691d186861e3f101c84e5904774de6235a0423f4f639843b105d6ce9b4ebd9555db13f5ac1447c154881b3c95fbd4738d496f6008d9e52de1cc3e74eb SHA512 34a4011ecb5d8739e57dbc9222b528a0b323c6aa0aa45391621e724106571a632908782e3a4e14e953be72fa0e525b4c7cab0440af37bbef26a100fd1d92da81 DIST zookeeper-bin-3.8.4.tar.gz 14609453 BLAKE2B 40f3267655469be4cfa50841ad924f37e05fc9316098934b52f89fb2adb601142b2557d141e485b04e012489c061e33a6691e96cff21936361ab5fea6b7e39dc SHA512 4d85d6f7644d5f36d9c4d65e78bd662ab35ebe1380d762c24c12b98af029027eee453437c9245dbdf2b9beb77cd6b690b69e26f91cf9d11b0a183a979c73fa43 DIST zookeeper-bin-3.9.2.tar.gz 20213309 BLAKE2B bdf67a12a7c4affb4a9d0efd025572e225db93a79f28a4a775515aa7c11eff2e42f8765e401e394d0268a639151242299963191f38a6a1320101fbc12df22a76 SHA512 2b5ae02d618a27ca8cd54924855d5344263b7d9dee760181f9d66bafa9230324d2ad31786895f0654c969dc38d4a3d0077f74cc376b58b5fa2fb94beb1ab445f +DIST zookeeper-bin-3.9.3.tar.gz 20655617 BLAKE2B 6f12a5eb825535620edc5af8e6935ba5f7da66b5195405b3b5371521e88fec9142ad86e25eda4a4181e083dbb168c33ff4e8ac427e0895c4a2fb9d328a0cf218 SHA512 d44d870c1691662efbf1a8baf1859c901b820dc5ff163b36e81beb27b6fbf3cd31b5f1f075697edaaf6d3e7a4cb0cc92f924dcff64b294ef13d535589bdaf143 EBUILD zookeeper-bin-3.8.4.ebuild 1490 BLAKE2B 37ffecab83449f6f2084d835adea3bf25d44c30522d49541ea164903205ff4524965edabb8c021ecc0807ae1b8d18a87e0d4e85b25adca651b118a904b91f697 SHA512 db8e870d7d59f31c5f64b6167b645931aed08ff1f51f28cfad7175e19baf5c3ae44123ebad5f57020c11b71143c5ee0ddba9d6dd27cc4040ed81a9bae54990c9 EBUILD zookeeper-bin-3.9.2.ebuild 1492 BLAKE2B 5ca6811dbf3ec8055e3c06be9f3dbfe41937e80772b3ac2e14db3570be8d819af9ef20eced7a8c88bed78a700d9c6f8184bcd91a6d0367dc96a3f9e218a003c5 SHA512 ce108f0dabad51cca498630575a1eae49dfff6a26a34724e01e3d348928886b551445144bf50c503de9ebe8eb9833a2ea18cd584cb131c20a8a33a040e091d59 +EBUILD zookeeper-bin-3.9.3.ebuild 1492 BLAKE2B 5ca6811dbf3ec8055e3c06be9f3dbfe41937e80772b3ac2e14db3570be8d819af9ef20eced7a8c88bed78a700d9c6f8184bcd91a6d0367dc96a3f9e218a003c5 SHA512 ce108f0dabad51cca498630575a1eae49dfff6a26a34724e01e3d348928886b551445144bf50c503de9ebe8eb9833a2ea18cd584cb131c20a8a33a040e091d59 MISC metadata.xml 378 BLAKE2B b130cfde4a6bb510de53572d7048c8a555db0dc644695aa5c751d29f417a2aa606569e2a2f915514b2d4bcb8bc48ef052b57c7aebc7bab7cbb20464171477d6b SHA512 f3849b0f95dc1dd320c8d149f89bfb60f7596d6699132df6c7c35536e48564119eb105c722fc05f70007773def6e71c26337cb1604a50c1f18dd37e8d4ca5809 diff --git a/sys-cluster/zookeeper-bin/zookeeper-bin-3.9.3.ebuild b/sys-cluster/zookeeper-bin/zookeeper-bin-3.9.3.ebuild new file mode 100644 index 000000000000..5e8587dd1cf9 --- /dev/null +++ b/sys-cluster/zookeeper-bin/zookeeper-bin-3.9.3.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit java-utils-2 + +MY_PN="zookeeper" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A high-performance coordination service for distributed applications" +HOMEPAGE="https://zookeeper.apache.org/" +SRC_URI="https://downloads.apache.org/${MY_PN}/${MY_P}/apache-${MY_P}-bin.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/apache-${MY_P}-bin" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="mirror binchecks" + +BDEPEND=" + acct-group/zookeeper + acct-user/zookeeper +" +RDEPEND=" + ${BDEPEND} + >=virtual/jre-1.8 +" + +INSTALL_DIR=/opt/"${PN}" +export CONFIG_PROTECT="${CONFIG_PROTECT} ${INSTALL_DIR}/conf" + +src_prepare() { + default + rm "${S}"/docs/skin/instruction_arrow.png || die +} + +src_install() { + local DATA_DIR=/var/lib/"${MY_P}" + + # cleanup sources + rm bin/*.cmd || die + + keepdir "${DATA_DIR}" + sed "s:^dataDir=.*:dataDir=${DATA_DIR}:" conf/zoo_sample.cfg > conf/zoo.cfg || die + cp "${FILESDIR}"/log4j.properties conf/ || die + + dodir "${INSTALL_DIR}" + cp -a "${S}"/* "${ED}${INSTALL_DIR}" || die + + # data dir perms + fowners zookeeper:zookeeper "${DATA_DIR}" + + # log dir + keepdir /var/log/zookeeper + fowners zookeeper:zookeeper /var/log/zookeeper + + # init script + newinitd "${FILESDIR}"/zookeeper.initd zookeeper + newconfd "${FILESDIR}"/zookeeper.confd zookeeper + + # env file + cat > 99"${PN}" <<-EOF + PATH="${INSTALL_DIR}"/bin + CONFIG_PROTECT="${INSTALL_DIR}"/conf + EOF + doenvd 99"${PN}" +} |