-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sys-cluster/zookeeper-bin: Add 3.{7,8,9} versions
Adding ebuilds on our overlay while the PR gentoo/gentoo#33361 is not merged.
- Loading branch information
Showing
9 changed files
with
484 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
DIST zookeeper-3.4.13.tar.gz 37191810 BLAKE2B 994eecf982a19bbf3ae648c5d140746f5836f0f5d8921ed005ebccdedf0098591005b9038eb75fc660b48ae12b09b8db9dd68d3ac3b4ac9f847de214996e1efd SHA512 3481bd19945d80848f81d9dc2896a682ae8b62269b8164ffbae532e55aa4219961403e0208c8e72cf784605eae436d70ddae2b26e0deba0f1f84c74188c32c0a | ||
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 | ||
DIST zookeeper-bin-3.8.1.tar.gz 13368512 BLAKE2B c1e5c375f6068e847733aa655e54f0a302ce89dbb3a179abc60f2f2fff558aa264530d53d74857d617ef966c9904281927f50e639ac3e653f958be27c9595e34 SHA512 940ce2fdd4ff33acfc99860b5c604d2d48f37c4d6f0b7c2dcdade7492ecf5385b079bf56db68b4c9c9b8dfed0a86ecd73ee2977621738f263d6e9b8432f34b35 | ||
DIST zookeeper-bin-3.8.2.tar.gz 13338235 BLAKE2B a1b98b4fdf302ce5f340fcae580340bb07ad40a6f2e3623a1fecd34d24f2cea73ab1cd5d55d666d3dfdf1b1b5d0a4a91a28fd2b4be410ec157d90829d326fdeb SHA512 30d42364d158850700623e2b0f226335ce52a9707660c16c64ea9c163fe657c429b5f846d664bf7f381bc86abafb01cdc28d23d9f8e49b99a751e6598342a7af | ||
DIST zookeeper-bin-3.8.3.tar.gz 14853274 BLAKE2B f386b996d6881a9278eecb25e6db5d029e891dcc4e9c9dae4493b3c49f4d1b33665f9a5ffcdfff1201a7853d4dbfd32b8017cdbeff2c0e7eec0f48d713a5fdde SHA512 eb1a5e79fe55fa50e36021ca8b752e40584d5e24f23985c43e9f56abfbf23c0239dce37d18f27213c9a38fcb6f68daf1a9468fc352e6ac2364faaf9b56145bdf | ||
DIST zookeeper-bin-3.9.0.tar.gz 19935216 BLAKE2B 03d2a552362d3f1524dfde6c0a010e49844fa2af8b553ccfa3f50dbe4584af34610669357ad5cca122abe5c83c1eb7f5f23d57f80b997fd9db8a74b81193854b SHA512 6b722a5efab88744f6b235dace5af7c12f0dad50e00d733fb677e89e57f751efefca21a44e18bc4bbf23556f30ed42ed3d9918bd4c978a894f5e5ded04c93dd2 | ||
DIST zookeeper-bin-3.9.1.tar.gz 20323219 BLAKE2B 5ce1ad4603182636c5da7817034f2a7b835792419f8e0a4d834819929f2f7c397eacbd9d627046b9a6e3a8a2610c34c96012f8b4e2f18375d6f0d4d38c7b8b77 SHA512 6a1c56557ee8de63dc0730de6c55640afa8ae9043e57539fed393120fe3adfb7f30a6ac13af0a6331ff34ba9c6f2b31e41e40c5446e669651522fffb9ce64e48 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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://archive.apache.org/dist/${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}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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://archive.apache.org/dist/${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}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# Copyright 1999-2023 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://archive.apache.org/dist/${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}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# Copyright 1999-2023 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://archive.apache.org/dist/${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}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# Copyright 1999-2023 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://archive.apache.org/dist/${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}" | ||
} |
Oops, something went wrong.