public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "罗百科" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/zookeeper-bin/
Date: Tue, 17 Oct 2023 18:27:27 +0000 (UTC)	[thread overview]
Message-ID: <1697567242.173b0097d6d36b2255b452d886f24fcfc73996e9.patrick@gentoo> (raw)

commit:     173b0097d6d36b2255b452d886f24fcfc73996e9
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 17 18:23:46 2023 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Tue Oct 17 18:27:22 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=173b0097

sys-cluster/zookeeper-bin: add 3.9.1

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 sys-cluster/zookeeper-bin/Manifest                 |  1 +
 .../zookeeper-bin/zookeeper-bin-3.9.1.ebuild       | 68 ++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/sys-cluster/zookeeper-bin/Manifest b/sys-cluster/zookeeper-bin/Manifest
index a24f21720ce4..5f4b2d8d2bf8 100644
--- a/sys-cluster/zookeeper-bin/Manifest
+++ b/sys-cluster/zookeeper-bin/Manifest
@@ -3,3 +3,4 @@ DIST zookeeper-bin-3.8.0.tar.gz 13185104 BLAKE2B 2afcfbac16a027fb2a009e20a852a74
 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.9.0.tar.gz 19935216 BLAKE2B 03d2a552362d3f1524dfde6c0a010e49844fa2af8b553ccfa3f50dbe4584af34610669357ad5cca122abe5c83c1eb7f5f23d57f80b997fd9db8a74b81193854b SHA512 6b722a5efab88744f6b235dace5af7c12f0dad50e00d733fb677e89e57f751efefca21a44e18bc4bbf23556f30ed42ed3d9918bd4c978a894f5e5ded04c93dd2
+DIST zookeeper-bin-3.9.1.tar.gz 20323219 BLAKE2B 5ce1ad4603182636c5da7817034f2a7b835792419f8e0a4d834819929f2f7c397eacbd9d627046b9a6e3a8a2610c34c96012f8b4e2f18375d6f0d4d38c7b8b77 SHA512 6a1c56557ee8de63dc0730de6c55640afa8ae9043e57539fed393120fe3adfb7f30a6ac13af0a6331ff34ba9c6f2b31e41e40c5446e669651522fffb9ce64e48

diff --git a/sys-cluster/zookeeper-bin/zookeeper-bin-3.9.1.ebuild b/sys-cluster/zookeeper-bin/zookeeper-bin-3.9.1.ebuild
new file mode 100644
index 000000000000..f3969f04bfc3
--- /dev/null
+++ b/sys-cluster/zookeeper-bin/zookeeper-bin-3.9.1.ebuild
@@ -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://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}"
+}


             reply	other threads:[~2023-10-17 18:27 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-17 18:27 罗百科 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-01  8:05 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/zookeeper-bin/ Patrick Lauer
2024-03-13 13:01 Patrick Lauer
2024-03-13 12:05 Arthur Zamarin
2024-03-13 12:05 Arthur Zamarin
2024-03-13  9:24 Patrick Lauer
2024-03-13  9:24 Patrick Lauer
2023-10-17 18:27 罗百科
2023-08-30 14:38 罗百科
2023-03-20  8:14 罗百科
2022-05-18 12:01 罗百科
2022-05-18 12:01 罗百科
2021-07-15 22:12 Conrad Kostecki
2021-07-15 21:39 Sam James
2021-07-15 21:33 Sam James
2021-07-10 14:52 Conrad Kostecki
2021-02-08 10:54 罗百科
2020-09-01  9:07 Michał Górny
2020-09-01  9:07 Michał Górny
2020-08-30  1:32 Thomas Deutschmann
2020-08-25 12:53 Agostino Sarubbo
2020-06-28 13:14 David Seifert
2020-06-20  9:33 罗百科
2018-08-04 11:06 Patrick Lauer
2018-04-29 18:40 Patrick Lauer
2017-11-15  9:03 Patrick Lauer
2017-07-16  1:44 Aaron Bauman
2017-05-17 15:27 Patrick Lauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1697567242.173b0097d6d36b2255b452d886f24fcfc73996e9.patrick@gentoo \
    --to=patrick@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox