Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/zookeeper-bin/
Date: Tue, 01 Sep 2020 09:07:20
Message-Id: 1598951223.99f5bced17f4d40cc97cbcb548be8a9cc33b41af.mgorny@gentoo
1 commit: 99f5bced17f4d40cc97cbcb548be8a9cc33b41af
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 1 08:41:00 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 1 09:07:03 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99f5bced
7
8 sys-cluster/zookeeper-bin: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sys-cluster/zookeeper-bin/Manifest | 3 -
13 .../zookeeper-bin/zookeeper-bin-3.4.10.ebuild | 90 ----------------------
14 .../zookeeper-bin/zookeeper-bin-3.4.11.ebuild | 90 ----------------------
15 .../zookeeper-bin/zookeeper-bin-3.4.12.ebuild | 90 ----------------------
16 4 files changed, 273 deletions(-)
17
18 diff --git a/sys-cluster/zookeeper-bin/Manifest b/sys-cluster/zookeeper-bin/Manifest
19 index 0fdfe7b3505..bc25b58e05c 100644
20 --- a/sys-cluster/zookeeper-bin/Manifest
21 +++ b/sys-cluster/zookeeper-bin/Manifest
22 @@ -1,4 +1 @@
23 -DIST zookeeper-3.4.10.tar.gz 35042811 BLAKE2B c17100d2179688665cfc9efededd378543492e2a839df9da7ab72097b954200c527375cadae1d7b30d83c511c21c1470d0b86a4a19df5abe0c82980920cad92f SHA512 4c54e40ac8d0b267db4a188a30e39ed0ac2c3e8a8fadaf244be45ff5adee956df28f6cb9f1eb56f175e924fa3629b64f98286a090c46764c91c017613c80a51b
24 -DIST zookeeper-3.4.11.tar.gz 36668066 BLAKE2B 4bf963d41280bd6227b4e81721576bf1f973a765c7049e78c5fae4d9dbc7e4d034304208af0f68b894bd4624e1945c9e4492b3217ff7f0e05d9b822c1843d96d SHA512 1ed2df11dbff2fbbb70d992d02427c4f694ccb4fe493db10a087b04d934b132b970956099edbdf1c2c636d5eb248bca1528846fcb449ae8bee4b9a82f7936f9e
25 -DIST zookeeper-3.4.12.tar.gz 36667596 BLAKE2B e4aac98f86fc4fcc576ecfb55381fd37efe3fa56cebc1632abda59b6ba71fecca17ace29124ef9f59ca0de627ff463f9d6fc7ff7fbbe77c2bbf30ae25a9f99f8 SHA512 026c7feb4a660bf8d99b1b719fec2b7e4603c3c46f2b77bac372df15ed0ceb4d971aa9c954082d61d73929ef8dc38c31693604ae75244f746cafb4eb6e67320c
26 DIST zookeeper-3.4.13.tar.gz 37191810 BLAKE2B 994eecf982a19bbf3ae648c5d140746f5836f0f5d8921ed005ebccdedf0098591005b9038eb75fc660b48ae12b09b8db9dd68d3ac3b4ac9f847de214996e1efd SHA512 3481bd19945d80848f81d9dc2896a682ae8b62269b8164ffbae532e55aa4219961403e0208c8e72cf784605eae436d70ddae2b26e0deba0f1f84c74188c32c0a
27
28 diff --git a/sys-cluster/zookeeper-bin/zookeeper-bin-3.4.10.ebuild b/sys-cluster/zookeeper-bin/zookeeper-bin-3.4.10.ebuild
29 deleted file mode 100644
30 index 8f6e4bd484f..00000000000
31 --- a/sys-cluster/zookeeper-bin/zookeeper-bin-3.4.10.ebuild
32 +++ /dev/null
33 @@ -1,90 +0,0 @@
34 -# Copyright 1999-2017 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=5
38 -PYTHON_COMPAT=( python2_7 )
39 -
40 -inherit distutils-r1 eutils java-utils-2 user
41 -
42 -MY_P="zookeeper"
43 -MY_PN=${MY_P}-${PV}
44 -
45 -DESCRIPTION="A high-performance coordination service for distributed applications."
46 -HOMEPAGE="http://zookeeper.apache.org/"
47 -SRC_URI="mirror://apache/${MY_P}/${MY_PN}/${MY_PN}.tar.gz"
48 -
49 -LICENSE="Apache-2.0"
50 -SLOT="0"
51 -KEYWORDS="~amd64 ~x86"
52 -RESTRICT="mirror binchecks"
53 -IUSE=""
54 -
55 -DEPEND=""
56 -RDEPEND=">=virtual/jre-1.7"
57 -
58 -S=${WORKDIR}/${MY_PN}
59 -
60 -INSTALL_DIR=/opt/${PN}
61 -export CONFIG_PROTECT="${CONFIG_PROTECT} ${INSTALL_DIR}/conf"
62 -
63 -pkg_setup() {
64 - enewgroup zookeeper
65 - enewuser zookeeper -1 /bin/sh /var/lib/zookeeper zookeeper
66 -}
67 -
68 -src_prepare() {
69 - # python
70 - sed -e "s|src/c/zookeeper.c|zookeeper.c|g" \
71 - -e "s|../../../|${S}|g" \
72 - -i contrib/zkpython/src/python/setup.py || die
73 -}
74 -
75 -src_configure() {
76 - cd "${S}"/src/c || die
77 - econf
78 -}
79 -
80 -src_compile() {
81 - cd "${S}"/src/c || die
82 - emake
83 -}
84 -
85 -src_install() {
86 - local DATA_DIR=/var/lib/${MY_P}
87 -
88 - # python
89 - cd "${S}"/contrib/zkpython/ || die
90 - mv src/python/setup.py .
91 - mv src/c/* .
92 - python_foreach_impl distutils-r1_src_install
93 - cd "${S}" || die
94 -
95 - # cleanup sources
96 - rm -rf src/ || die
97 - rm bin/*.cmd || die
98 -
99 - keepdir "${DATA_DIR}"
100 - sed "s:^dataDir=.*:dataDir=${DATA_DIR}:" conf/zoo_sample.cfg > conf/zoo.cfg || die "sed failed"
101 - cp "${FILESDIR}"/log4j.properties conf/ || die "cp log4j conf failed"
102 -
103 - dodir "${INSTALL_DIR}"
104 - cp -a "${S}"/* "${D}${INSTALL_DIR}" || die "install failed"
105 -
106 - # data dir perms
107 - fowners zookeeper:zookeeper "${DATA_DIR}"
108 -
109 - # log dir
110 - keepdir /var/log/zookeeper
111 - fowners zookeeper:zookeeper /var/log/zookeeper
112 -
113 - # init script
114 - newinitd "${FILESDIR}"/zookeeper.initd zookeeper
115 - newconfd "${FILESDIR}"/zookeeper.confd zookeeper
116 -
117 - # env file
118 - cat > 99"${PN}" <<-EOF
119 - PATH=${INSTALL_DIR}/bin
120 - CONFIG_PROTECT=${INSTALL_DIR}/conf
121 - EOF
122 - doenvd 99"${PN}"
123 -}
124
125 diff --git a/sys-cluster/zookeeper-bin/zookeeper-bin-3.4.11.ebuild b/sys-cluster/zookeeper-bin/zookeeper-bin-3.4.11.ebuild
126 deleted file mode 100644
127 index 8f6e4bd484f..00000000000
128 --- a/sys-cluster/zookeeper-bin/zookeeper-bin-3.4.11.ebuild
129 +++ /dev/null
130 @@ -1,90 +0,0 @@
131 -# Copyright 1999-2017 Gentoo Foundation
132 -# Distributed under the terms of the GNU General Public License v2
133 -
134 -EAPI=5
135 -PYTHON_COMPAT=( python2_7 )
136 -
137 -inherit distutils-r1 eutils java-utils-2 user
138 -
139 -MY_P="zookeeper"
140 -MY_PN=${MY_P}-${PV}
141 -
142 -DESCRIPTION="A high-performance coordination service for distributed applications."
143 -HOMEPAGE="http://zookeeper.apache.org/"
144 -SRC_URI="mirror://apache/${MY_P}/${MY_PN}/${MY_PN}.tar.gz"
145 -
146 -LICENSE="Apache-2.0"
147 -SLOT="0"
148 -KEYWORDS="~amd64 ~x86"
149 -RESTRICT="mirror binchecks"
150 -IUSE=""
151 -
152 -DEPEND=""
153 -RDEPEND=">=virtual/jre-1.7"
154 -
155 -S=${WORKDIR}/${MY_PN}
156 -
157 -INSTALL_DIR=/opt/${PN}
158 -export CONFIG_PROTECT="${CONFIG_PROTECT} ${INSTALL_DIR}/conf"
159 -
160 -pkg_setup() {
161 - enewgroup zookeeper
162 - enewuser zookeeper -1 /bin/sh /var/lib/zookeeper zookeeper
163 -}
164 -
165 -src_prepare() {
166 - # python
167 - sed -e "s|src/c/zookeeper.c|zookeeper.c|g" \
168 - -e "s|../../../|${S}|g" \
169 - -i contrib/zkpython/src/python/setup.py || die
170 -}
171 -
172 -src_configure() {
173 - cd "${S}"/src/c || die
174 - econf
175 -}
176 -
177 -src_compile() {
178 - cd "${S}"/src/c || die
179 - emake
180 -}
181 -
182 -src_install() {
183 - local DATA_DIR=/var/lib/${MY_P}
184 -
185 - # python
186 - cd "${S}"/contrib/zkpython/ || die
187 - mv src/python/setup.py .
188 - mv src/c/* .
189 - python_foreach_impl distutils-r1_src_install
190 - cd "${S}" || die
191 -
192 - # cleanup sources
193 - rm -rf src/ || die
194 - rm bin/*.cmd || die
195 -
196 - keepdir "${DATA_DIR}"
197 - sed "s:^dataDir=.*:dataDir=${DATA_DIR}:" conf/zoo_sample.cfg > conf/zoo.cfg || die "sed failed"
198 - cp "${FILESDIR}"/log4j.properties conf/ || die "cp log4j conf failed"
199 -
200 - dodir "${INSTALL_DIR}"
201 - cp -a "${S}"/* "${D}${INSTALL_DIR}" || die "install failed"
202 -
203 - # data dir perms
204 - fowners zookeeper:zookeeper "${DATA_DIR}"
205 -
206 - # log dir
207 - keepdir /var/log/zookeeper
208 - fowners zookeeper:zookeeper /var/log/zookeeper
209 -
210 - # init script
211 - newinitd "${FILESDIR}"/zookeeper.initd zookeeper
212 - newconfd "${FILESDIR}"/zookeeper.confd zookeeper
213 -
214 - # env file
215 - cat > 99"${PN}" <<-EOF
216 - PATH=${INSTALL_DIR}/bin
217 - CONFIG_PROTECT=${INSTALL_DIR}/conf
218 - EOF
219 - doenvd 99"${PN}"
220 -}
221
222 diff --git a/sys-cluster/zookeeper-bin/zookeeper-bin-3.4.12.ebuild b/sys-cluster/zookeeper-bin/zookeeper-bin-3.4.12.ebuild
223 deleted file mode 100644
224 index a68eac79759..00000000000
225 --- a/sys-cluster/zookeeper-bin/zookeeper-bin-3.4.12.ebuild
226 +++ /dev/null
227 @@ -1,90 +0,0 @@
228 -# Copyright 1999-2018 Gentoo Foundation
229 -# Distributed under the terms of the GNU General Public License v2
230 -
231 -EAPI=5
232 -PYTHON_COMPAT=( python2_7 )
233 -
234 -inherit distutils-r1 eutils java-utils-2 user
235 -
236 -MY_P="zookeeper"
237 -MY_PN=${MY_P}-${PV}
238 -
239 -DESCRIPTION="A high-performance coordination service for distributed applications."
240 -HOMEPAGE="http://zookeeper.apache.org/"
241 -SRC_URI="mirror://apache/${MY_P}/${MY_PN}/${MY_PN}.tar.gz"
242 -
243 -LICENSE="Apache-2.0"
244 -SLOT="0"
245 -KEYWORDS="~amd64 ~x86"
246 -RESTRICT="mirror binchecks"
247 -IUSE=""
248 -
249 -DEPEND=""
250 -RDEPEND=">=virtual/jre-1.7"
251 -
252 -S=${WORKDIR}/${MY_PN}
253 -
254 -INSTALL_DIR=/opt/${PN}
255 -export CONFIG_PROTECT="${CONFIG_PROTECT} ${INSTALL_DIR}/conf"
256 -
257 -pkg_setup() {
258 - enewgroup zookeeper
259 - enewuser zookeeper -1 /bin/sh /var/lib/zookeeper zookeeper
260 -}
261 -
262 -src_prepare() {
263 - # python
264 - sed -e "s|src/c/zookeeper.c|zookeeper.c|g" \
265 - -e "s|../../../|${S}|g" \
266 - -i contrib/zkpython/src/python/setup.py || die
267 -}
268 -
269 -src_configure() {
270 - cd "${S}"/src/c || die
271 - econf
272 -}
273 -
274 -src_compile() {
275 - cd "${S}"/src/c || die
276 - emake
277 -}
278 -
279 -src_install() {
280 - local DATA_DIR=/var/lib/${MY_P}
281 -
282 - # python
283 - cd "${S}"/contrib/zkpython/ || die
284 - mv src/python/setup.py .
285 - mv src/c/* .
286 - python_foreach_impl distutils-r1_src_install
287 - cd "${S}" || die
288 -
289 - # cleanup sources
290 - rm -rf src/ || die
291 - rm bin/*.cmd || die
292 -
293 - keepdir "${DATA_DIR}"
294 - sed "s:^dataDir=.*:dataDir=${DATA_DIR}:" conf/zoo_sample.cfg > conf/zoo.cfg || die "sed failed"
295 - cp "${FILESDIR}"/log4j.properties conf/ || die "cp log4j conf failed"
296 -
297 - dodir "${INSTALL_DIR}"
298 - cp -a "${S}"/* "${D}${INSTALL_DIR}" || die "install failed"
299 -
300 - # data dir perms
301 - fowners zookeeper:zookeeper "${DATA_DIR}"
302 -
303 - # log dir
304 - keepdir /var/log/zookeeper
305 - fowners zookeeper:zookeeper /var/log/zookeeper
306 -
307 - # init script
308 - newinitd "${FILESDIR}"/zookeeper.initd zookeeper
309 - newconfd "${FILESDIR}"/zookeeper.confd zookeeper
310 -
311 - # env file
312 - cat > 99"${PN}" <<-EOF
313 - PATH=${INSTALL_DIR}/bin
314 - CONFIG_PROTECT=${INSTALL_DIR}/conf
315 - EOF
316 - doenvd 99"${PN}"
317 -}