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: app-misc/elasticsearch/
Date: Sat, 12 May 2018 17:46:00
Message-Id: 1526147090.bd5a105b434597477f162fdd7a0b9f240c0be242.mgorny@gentoo
1 commit: bd5a105b434597477f162fdd7a0b9f240c0be242
2 Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Fri May 11 16:09:49 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat May 12 17:44:50 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd5a105b
7
8 app-misc/elasticsearch: drop old
9
10 Closes: https://github.com/gentoo/gentoo/pull/8245
11 Package-Manager: Portage-2.3.36, Repoman-2.3.9
12
13 app-misc/elasticsearch/Manifest | 5 --
14 app-misc/elasticsearch/elasticsearch-5.6.6.ebuild | 69 ----------------------
15 app-misc/elasticsearch/elasticsearch-5.6.8.ebuild | 69 ----------------------
16 app-misc/elasticsearch/elasticsearch-6.0.1.ebuild | 69 ----------------------
17 app-misc/elasticsearch/elasticsearch-6.1.2.ebuild | 69 ----------------------
18 app-misc/elasticsearch/elasticsearch-6.2.3.ebuild | 72 -----------------------
19 6 files changed, 353 deletions(-)
20
21 diff --git a/app-misc/elasticsearch/Manifest b/app-misc/elasticsearch/Manifest
22 index 3e895757b56..681b13ab5b8 100644
23 --- a/app-misc/elasticsearch/Manifest
24 +++ b/app-misc/elasticsearch/Manifest
25 @@ -1,8 +1,3 @@
26 DIST elasticsearch-1.7.6.tar.gz 28488767 BLAKE2B 0dc4fb10355e2139ee3a7e7e65366e8aa533b9714bf0f00d2bd8f4ef0669ba9f8f10dc5255c8c7a62abc0362e08ab5fda3c8b6b6f2bacfe5cce7255973293162 SHA512 2746f09b66919912e785c8d25c50ae74dbb38a41d99d9c926550786f9c2d7953d1ae1a54a32dae59a7269e5fbfa74dfbc91c3d412e415efd01c391ef7d329ba7
27 -DIST elasticsearch-5.6.6.tar.gz 33780290 BLAKE2B ce4014b8eb74098990d97d7d87a0bd88df06f6719772f310c97cc33e740f44e84ebf74750c1f81b77c713c661a0e2e9ca826b6ab91b3625023fb9a061005d8ef SHA512 582fc3c2d1dcd5c208c229307ce387015ef8b25d9974fcac9ad4b8b3bc1c983a27daa171f0f242d367cc0776c545a82c5a4c07f6340104e739d83831e0d2210c
28 -DIST elasticsearch-5.6.8.tar.gz 33781024 BLAKE2B 8b946b76997ed68baaeaab110f78824c21df7bd7647474f239996191d14c6ca9a5ae4ed564f998d036aa55074f2299e4e3214043058a1984ebfbe9fad1f5d230 SHA512 b306b7e09ad14aaf7e20c3dbac1bc1496b9cb4cfb98b6111aaabf955af88f3fa0d77c72153f278bec11356e022f5c339248d185618b47cb140717bbd3fae09cb
29 DIST elasticsearch-5.6.9.tar.gz 33794793 BLAKE2B a056443b1f71b3af773b5195147927017456e1c9a6517c549cfe7e4ec70f0ff4ec9363c9ef6376b7b942e82f811cd5927d44eb9f9eb8022a56e54a85b4ba7c46 SHA512 4e61a4c5f79d0439a414f1e9361f855cdb2f79322cf592bad43132605922fb8ded6368b01e05ef6bcbee49911943c2a3b6be5fd6d0900abddfe03c736cca96d6
30 -DIST elasticsearch-6.0.1.tar.gz 28026460 BLAKE2B a70cd36affaccccf1ea552167e585a35cc748de1137cf4b23387798ae31b851104ccc19f8be83ecc645bcebfba344b5e55a397a9cbb0b380c4a118f1f0ffecf2 SHA512 b86a04acd194e7e96e3a32de6ab4983d6569ffb1714f2af9e2b49623004987e13e57c5db055153a188f5d2d7eea63d649fa87769f7625f3fc4923e0cd5b8f3ee
31 -DIST elasticsearch-6.1.2.tar.gz 28455845 BLAKE2B 36215cf3131c8ac24e9b974d6c12892679e1896242119bf88182a229286a8391fc9575b068c6e692b9931022df299920fdc5dbf8f04651bd4bcfd544c1b65b2e SHA512 c72e69700b60faf3b1a542c2317b83189926738affb38033c4b8d7cc0a1b3c21c4f743f441fb10657d4684111746ebb18c9dba2f54845ea6e02e4fb8dc950e5a
32 -DIST elasticsearch-6.2.3.tar.gz 29050159 BLAKE2B 32a722e3861abf024a4b82ffe97877896cf3ffc76aac34fd942eeb9ca490ac41f3bf530b6313104fdf2c4900ea377d57837c465c6de6f983afac99802586b1c7 SHA512 8103c2b817cd5e14057c28372f379bb9c2b7833698818882c649d349904163d0c69d147836d03428619535652902532f7e5abc1e23214ad735c54b1d914acabf
33 DIST elasticsearch-6.2.4.tar.gz 29056810 BLAKE2B 121be27ac1db4fa6bbe285161b3f2b2dd889859b50f46b57b68ed43514568c4aa9629b5ca32edcc2328a6e7245256d64901c8acc8b2dd91337f8ca97b87c46e1 SHA512 9e6c0de8ed0d9e27fdd18ef7bada376af5a8680bb7a4f4d805926da456b349cee731ba90328b5eda5f0e62fa3f00f34646bf1c2b6c662d055f4be338d0690941
34
35 diff --git a/app-misc/elasticsearch/elasticsearch-5.6.6.ebuild b/app-misc/elasticsearch/elasticsearch-5.6.6.ebuild
36 deleted file mode 100644
37 index 26cfa98675c..00000000000
38 --- a/app-misc/elasticsearch/elasticsearch-5.6.6.ebuild
39 +++ /dev/null
40 @@ -1,69 +0,0 @@
41 -# Copyright 1999-2018 Gentoo Foundation
42 -# Distributed under the terms of the GNU General Public License v2
43 -
44 -EAPI=6
45 -
46 -inherit systemd user
47 -
48 -DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
49 -HOMEPAGE="https://www.elastic.co/products/elasticsearch"
50 -SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz"
51 -LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain"
52 -SLOT="0"
53 -KEYWORDS="~amd64"
54 -
55 -RDEPEND="virtual/jre:1.8"
56 -
57 -pkg_setup() {
58 - enewgroup ${PN}
59 - enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN}
60 -}
61 -
62 -src_prepare() {
63 - default
64 -
65 - rm -v bin/*.{bat,exe} LICENSE.txt || die
66 -}
67 -
68 -src_install() {
69 - keepdir /etc/${PN}
70 - keepdir /etc/${PN}/scripts
71 -
72 - insinto /etc/${PN}
73 - doins -r config/.
74 - rm -rv config || die
75 -
76 - insinto /usr/share/${PN}
77 - doins -r .
78 -
79 - exeinto /usr/share/${PN}/bin
80 - doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
81 -
82 - chmod +x "${ED}"/usr/share/${PN}/bin/* || die
83 -
84 - keepdir /var/{lib,log}/${PN}
85 - fowners ${PN}:${PN} /var/{lib,log}/${PN}
86 - fperms 0750 /var/{lib,log}/${PN}
87 - dodir /usr/share/${PN}/plugins
88 -
89 - insinto /etc/sysctl.d
90 - newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
91 -
92 - newconfd "${FILESDIR}/${PN}.conf.2" ${PN}
93 - newinitd "${FILESDIR}/${PN}.init.2" ${PN}
94 -
95 - systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf
96 - systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
97 -}
98 -
99 -pkg_postinst() {
100 - elog
101 - elog "You may create multiple instances of ${PN} by"
102 - elog "symlinking the init script:"
103 - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
104 - elog
105 - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
106 - elog "from /etc/elasticsearch into the configuration directory of the instance:"
107 - elog "/etc/${PN}/instance"
108 - elog
109 -}
110
111 diff --git a/app-misc/elasticsearch/elasticsearch-5.6.8.ebuild b/app-misc/elasticsearch/elasticsearch-5.6.8.ebuild
112 deleted file mode 100644
113 index 26cfa98675c..00000000000
114 --- a/app-misc/elasticsearch/elasticsearch-5.6.8.ebuild
115 +++ /dev/null
116 @@ -1,69 +0,0 @@
117 -# Copyright 1999-2018 Gentoo Foundation
118 -# Distributed under the terms of the GNU General Public License v2
119 -
120 -EAPI=6
121 -
122 -inherit systemd user
123 -
124 -DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
125 -HOMEPAGE="https://www.elastic.co/products/elasticsearch"
126 -SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz"
127 -LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain"
128 -SLOT="0"
129 -KEYWORDS="~amd64"
130 -
131 -RDEPEND="virtual/jre:1.8"
132 -
133 -pkg_setup() {
134 - enewgroup ${PN}
135 - enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN}
136 -}
137 -
138 -src_prepare() {
139 - default
140 -
141 - rm -v bin/*.{bat,exe} LICENSE.txt || die
142 -}
143 -
144 -src_install() {
145 - keepdir /etc/${PN}
146 - keepdir /etc/${PN}/scripts
147 -
148 - insinto /etc/${PN}
149 - doins -r config/.
150 - rm -rv config || die
151 -
152 - insinto /usr/share/${PN}
153 - doins -r .
154 -
155 - exeinto /usr/share/${PN}/bin
156 - doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
157 -
158 - chmod +x "${ED}"/usr/share/${PN}/bin/* || die
159 -
160 - keepdir /var/{lib,log}/${PN}
161 - fowners ${PN}:${PN} /var/{lib,log}/${PN}
162 - fperms 0750 /var/{lib,log}/${PN}
163 - dodir /usr/share/${PN}/plugins
164 -
165 - insinto /etc/sysctl.d
166 - newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
167 -
168 - newconfd "${FILESDIR}/${PN}.conf.2" ${PN}
169 - newinitd "${FILESDIR}/${PN}.init.2" ${PN}
170 -
171 - systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf
172 - systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
173 -}
174 -
175 -pkg_postinst() {
176 - elog
177 - elog "You may create multiple instances of ${PN} by"
178 - elog "symlinking the init script:"
179 - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
180 - elog
181 - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
182 - elog "from /etc/elasticsearch into the configuration directory of the instance:"
183 - elog "/etc/${PN}/instance"
184 - elog
185 -}
186
187 diff --git a/app-misc/elasticsearch/elasticsearch-6.0.1.ebuild b/app-misc/elasticsearch/elasticsearch-6.0.1.ebuild
188 deleted file mode 100644
189 index aeab2b8db11..00000000000
190 --- a/app-misc/elasticsearch/elasticsearch-6.0.1.ebuild
191 +++ /dev/null
192 @@ -1,69 +0,0 @@
193 -# Copyright 1999-2017 Gentoo Foundation
194 -# Distributed under the terms of the GNU General Public License v2
195 -
196 -EAPI=6
197 -
198 -inherit systemd user
199 -
200 -DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
201 -HOMEPAGE="https://www.elastic.co/products/elasticsearch"
202 -SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz"
203 -LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain"
204 -SLOT="0"
205 -KEYWORDS="~amd64"
206 -
207 -RDEPEND="virtual/jre:1.8"
208 -
209 -pkg_setup() {
210 - enewgroup ${PN}
211 - enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN}
212 -}
213 -
214 -src_prepare() {
215 - rm -v bin/*.{bat,exe} LICENSE.txt || die
216 -
217 - default
218 -}
219 -
220 -src_install() {
221 - keepdir /etc/${PN}
222 - keepdir /etc/${PN}/scripts
223 -
224 - insinto /etc/${PN}
225 - doins config/*
226 - rm -rv config || die
227 -
228 - insinto /usr/share/${PN}
229 - doins -r ./*
230 -
231 - exeinto /usr/share/${PN}/bin
232 - doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
233 -
234 - chmod +x "${ED}"/usr/share/${PN}/bin/* || die
235 -
236 - keepdir /var/{lib,log}/${PN}
237 - fowners ${PN}:${PN} /var/{lib,log}/${PN}
238 - fperms 0750 /var/{lib,log}/${PN}
239 - dodir /usr/share/${PN}/plugins
240 -
241 - insinto /etc/sysctl.d
242 - newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
243 -
244 - newconfd "${FILESDIR}/${PN}.conf.3" ${PN}
245 - newinitd "${FILESDIR}/${PN}.init.3" ${PN}
246 -
247 - systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf
248 - systemd_newunit "${FILESDIR}"/${PN}.service.2 ${PN}.service
249 -}
250 -
251 -pkg_postinst() {
252 - elog
253 - elog "You may create multiple instances of ${PN} by"
254 - elog "symlinking the init script:"
255 - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
256 - elog
257 - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
258 - elog "from /etc/elasticsearch into the configuration directory of the instance:"
259 - elog "/etc/${PN}/instance"
260 - elog
261 -}
262
263 diff --git a/app-misc/elasticsearch/elasticsearch-6.1.2.ebuild b/app-misc/elasticsearch/elasticsearch-6.1.2.ebuild
264 deleted file mode 100644
265 index 4a1d5418c70..00000000000
266 --- a/app-misc/elasticsearch/elasticsearch-6.1.2.ebuild
267 +++ /dev/null
268 @@ -1,69 +0,0 @@
269 -# Copyright 1999-2018 Gentoo Foundation
270 -# Distributed under the terms of the GNU General Public License v2
271 -
272 -EAPI=6
273 -
274 -inherit systemd user
275 -
276 -DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
277 -HOMEPAGE="https://www.elastic.co/products/elasticsearch"
278 -SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz"
279 -LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain"
280 -SLOT="0"
281 -KEYWORDS="~amd64"
282 -
283 -RDEPEND="virtual/jre:1.8"
284 -
285 -pkg_setup() {
286 - enewgroup ${PN}
287 - enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN}
288 -}
289 -
290 -src_prepare() {
291 - default
292 -
293 - rm -v bin/*.{bat,exe} LICENSE.txt || die
294 -}
295 -
296 -src_install() {
297 - keepdir /etc/${PN}
298 - keepdir /etc/${PN}/scripts
299 -
300 - insinto /etc/${PN}
301 - doins -r config/.
302 - rm -rv config || die
303 -
304 - insinto /usr/share/${PN}
305 - doins -r .
306 -
307 - exeinto /usr/share/${PN}/bin
308 - doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
309 -
310 - chmod +x "${ED}"/usr/share/${PN}/bin/* || die
311 -
312 - keepdir /var/{lib,log}/${PN}
313 - fowners ${PN}:${PN} /var/{lib,log}/${PN}
314 - fperms 0750 /var/{lib,log}/${PN}
315 - dodir /usr/share/${PN}/plugins
316 -
317 - insinto /etc/sysctl.d
318 - newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
319 -
320 - newconfd "${FILESDIR}/${PN}.conf.3" ${PN}
321 - newinitd "${FILESDIR}/${PN}.init.3" ${PN}
322 -
323 - systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf
324 - systemd_newunit "${FILESDIR}"/${PN}.service.2 ${PN}.service
325 -}
326 -
327 -pkg_postinst() {
328 - elog
329 - elog "You may create multiple instances of ${PN} by"
330 - elog "symlinking the init script:"
331 - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
332 - elog
333 - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
334 - elog "from /etc/elasticsearch into the configuration directory of the instance:"
335 - elog "/etc/${PN}/instance"
336 - elog
337 -}
338
339 diff --git a/app-misc/elasticsearch/elasticsearch-6.2.3.ebuild b/app-misc/elasticsearch/elasticsearch-6.2.3.ebuild
340 deleted file mode 100644
341 index ad26d333245..00000000000
342 --- a/app-misc/elasticsearch/elasticsearch-6.2.3.ebuild
343 +++ /dev/null
344 @@ -1,72 +0,0 @@
345 -# Copyright 1999-2018 Gentoo Foundation
346 -# Distributed under the terms of the GNU General Public License v2
347 -
348 -EAPI=6
349 -
350 -inherit systemd user
351 -
352 -DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
353 -HOMEPAGE="https://www.elastic.co/products/elasticsearch"
354 -SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz"
355 -LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain"
356 -SLOT="0"
357 -KEYWORDS="~amd64"
358 -
359 -RDEPEND="virtual/jre:1.8"
360 -
361 -pkg_setup() {
362 - enewgroup ${PN}
363 - enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN}
364 -}
365 -
366 -src_prepare() {
367 - default
368 -
369 - rm -v bin/*.{bat,exe} LICENSE.txt || die
370 -}
371 -
372 -src_install() {
373 - keepdir /etc/${PN}
374 - keepdir /etc/${PN}/scripts
375 -
376 - insinto /etc/${PN}
377 - doins -r config/.
378 - rm -rv config || die
379 -
380 - fowners root:${PN} /etc/${PN}
381 - fperms 2750 /etc/${PN}
382 -
383 - insinto /usr/share/${PN}
384 - doins -r .
385 -
386 - exeinto /usr/share/${PN}/bin
387 - doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
388 -
389 - chmod +x "${ED}"/usr/share/${PN}/bin/* || die
390 -
391 - keepdir /var/{lib,log}/${PN}
392 - fowners ${PN}:${PN} /var/{lib,log}/${PN}
393 - fperms 0750 /var/{lib,log}/${PN}
394 - dodir /usr/share/${PN}/plugins
395 -
396 - insinto /etc/sysctl.d
397 - newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
398 -
399 - newconfd "${FILESDIR}/${PN}.conf.3" ${PN}
400 - newinitd "${FILESDIR}/${PN}.init.3" ${PN}
401 -
402 - systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf
403 - systemd_newunit "${FILESDIR}"/${PN}.service.2 ${PN}.service
404 -}
405 -
406 -pkg_postinst() {
407 - elog
408 - elog "You may create multiple instances of ${PN} by"
409 - elog "symlinking the init script:"
410 - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
411 - elog
412 - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
413 - elog "from /etc/elasticsearch into the configuration directory of the instance:"
414 - elog "/etc/${PN}/instance"
415 - elog
416 -}