diff options
Diffstat (limited to 'sys-cluster/zookeeper-bin')
-rw-r--r-- | sys-cluster/zookeeper-bin/Manifest | 6 | ||||
-rw-r--r-- | sys-cluster/zookeeper-bin/zookeeper-bin-3.7.1.ebuild (renamed from sys-cluster/zookeeper-bin/zookeeper-bin-3.7.0.ebuild) | 2 | ||||
-rw-r--r-- | sys-cluster/zookeeper-bin/zookeeper-bin-3.8.0.ebuild | 68 |
3 files changed, 73 insertions, 3 deletions
diff --git a/sys-cluster/zookeeper-bin/Manifest b/sys-cluster/zookeeper-bin/Manifest index 072602176fa2..6d4cf43ae1ee 100644 --- a/sys-cluster/zookeeper-bin/Manifest +++ b/sys-cluster/zookeeper-bin/Manifest @@ -1,6 +1,8 @@ AUX log4j.properties 2191 BLAKE2B 64ca568213fcc1168a10b8ca5914361f2d4543e8d5a2e22bf81ee807df2c4f7ca269a1f8d355ee8e889aa50c250e24f65c3900a32f06233e6c3dbc9b460c48b2 SHA512 a465aef274e3f325730c150fdebe3ca27f9debe723af6680b187daf83d6da663fa8a51bb9813ec8cba3b4d59c9e28848032083a44686b08fd2c246a461ada0c6 AUX zookeeper.confd 398 BLAKE2B d49c6c7358ce2f6911d359142e0f6abe2662c0e5c2bcf1ac114cd272d44efcfad05d31d58ef368a470e6f844df999068b68a7c1e8392138fc07887333e7bd41f SHA512 76ad4796faa2d267ae30d85e573de2dbad00c566764cf6757d71c00c68b10c99383dd87d2352f521c872ce22edde85bb2d3896bb6258f57ce3fc6b423a16296f AUX zookeeper.initd 373 BLAKE2B c60740f691d186861e3f101c84e5904774de6235a0423f4f639843b105d6ce9b4ebd9555db13f5ac1447c154881b3c95fbd4738d496f6008d9e52de1cc3e74eb SHA512 34a4011ecb5d8739e57dbc9222b528a0b323c6aa0aa45391621e724106571a632908782e3a4e14e953be72fa0e525b4c7cab0440af37bbef26a100fd1d92da81 -DIST zookeeper-bin-3.7.0.tar.gz 12387614 BLAKE2B 5b5467b4c7e206704177d41289c3c52fb0487f990fcc460d2749215551ab08eee672b6b52b8d43796c52660a46d3bed837fe26f042c30506b537457f54a95bd7 SHA512 64e2701c019ed46f45f4d53b2c5eaeaf7cf48c342bbafa032a0819d527fc77caebfada6bdad34e5171e6d838f40b16c95b62ce378b53dfc827af2d60cec0b17c -EBUILD zookeeper-bin-3.7.0.ebuild 1490 BLAKE2B 03572804661466c353c36c37eba0847148dc8a7bd5643c100c59183c054b25800803524d66e36e818e9316b8bc82425ebcd62d0a157383746458df279674e828 SHA512 e90e8b9acd7e360b310576fdb538289e536783e42e1b7f5c1c6b972008d792edcdc3e802b09724e2b92cc6eb160022ff4675f68ffb5e215e0ef3437c91dc50f7 +DIST zookeeper-bin-3.7.1.tar.gz 12649765 BLAKE2B 1a0fd48185fb2a847d961ffb33387f9bf165f6c7f24eb00c82f1cc413278d48652459a89406dc4af01a4453d39e93be12deb07c0791d2337a43f04e14ce33417 SHA512 9103628a50745fa1a289bca666fda4a9c08ec17c55cf13e66887e7ba76e93dbae60a1f1ffd6c10798be3a16069344ecbc00cebb29bf03d9cd7096ccd098ed011 +DIST zookeeper-bin-3.8.0.tar.gz 13185104 BLAKE2B 2afcfbac16a027fb2a009e20a852a747a9a93fb846b214c57ebf6730e73b892aa40037e29013cbc45e87532848bf889d24635becbf7dd554965b7da0a89ac8e0 SHA512 d66e3a40451f840406901b2cd940992b001f92049a372ae48d8b420891605871cd1ae5f6cceb3b10665491e7abef36a4078dace158bd1e0938fcd3567b5234ca +EBUILD zookeeper-bin-3.7.1.ebuild 1490 BLAKE2B 288cee73399a83b4e269b11e5b421caabaa302521307ff8495ea7daf960d7d03e101db177af8853f39565011bb7752b317c6c9074ae4ef696a2733d4ea517807 SHA512 44d5c62c6164fa79308519e5a8d27f27692c2cd44c721f88dbbbf595aabf23efa51ef9336ac247be9001293a8ee5eff06e547d39a60496ddbe9066e8af195729 +EBUILD zookeeper-bin-3.8.0.ebuild 1492 BLAKE2B 1296887bdc34c8093443cdc9bed0b36ca174b8a272ba9d66a26cfd2be3858b69bfa12177dea0f11903d808e4d846c74bd318f05c7f253883e9e73f13c3e8e619 SHA512 bc0756f21eacb0d8fefe9342c1746d4f993ac0f1343f672826b2c2a0bc4053337ac9b4fbb15cdf72866a2076146ffd78298159ca19ff424117247c95e271f774 MISC metadata.xml 378 BLAKE2B b130cfde4a6bb510de53572d7048c8a555db0dc644695aa5c751d29f417a2aa606569e2a2f915514b2d4bcb8bc48ef052b57c7aebc7bab7cbb20464171477d6b SHA512 f3849b0f95dc1dd320c8d149f89bfb60f7596d6699132df6c7c35536e48564119eb105c722fc05f70007773def6e71c26337cb1604a50c1f18dd37e8d4ca5809 diff --git a/sys-cluster/zookeeper-bin/zookeeper-bin-3.7.0.ebuild b/sys-cluster/zookeeper-bin/zookeeper-bin-3.7.1.ebuild index b5c177878c77..801fd4127fa8 100644 --- a/sys-cluster/zookeeper-bin/zookeeper-bin-3.7.0.ebuild +++ b/sys-cluster/zookeeper-bin/zookeeper-bin-3.7.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/sys-cluster/zookeeper-bin/zookeeper-bin-3.8.0.ebuild b/sys-cluster/zookeeper-bin/zookeeper-bin-3.8.0.ebuild new file mode 100644 index 000000000000..5bfa5145dabf --- /dev/null +++ b/sys-cluster/zookeeper-bin/zookeeper-bin-3.8.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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}" +} |