Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/elasticsearch/
Date: Tue, 29 Oct 2019 06:53:55
Message-Id: 1572332004.43f2f46890d6a457176edc003d271210ee0e378c.juippis@gentoo
1 commit: 43f2f46890d6a457176edc003d271210ee0e378c
2 Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Fri Oct 25 16:31:36 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 29 06:53:24 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43f2f468
7
8 app-misc/elasticsearch: drop old
9
10 Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
11 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
12
13 app-misc/elasticsearch/Manifest | 10 ---
14 app-misc/elasticsearch/elasticsearch-6.6.1.ebuild | 91 -----------------------
15 app-misc/elasticsearch/elasticsearch-6.8.1.ebuild | 91 -----------------------
16 app-misc/elasticsearch/elasticsearch-6.8.3.ebuild | 88 ----------------------
17 app-misc/elasticsearch/elasticsearch-7.0.0.ebuild | 90 ----------------------
18 app-misc/elasticsearch/elasticsearch-7.2.0.ebuild | 86 ---------------------
19 6 files changed, 456 deletions(-)
20
21 diff --git a/app-misc/elasticsearch/Manifest b/app-misc/elasticsearch/Manifest
22 index 50be769bbf8..c499b5ee750 100644
23 --- a/app-misc/elasticsearch/Manifest
24 +++ b/app-misc/elasticsearch/Manifest
25 @@ -1,21 +1,11 @@
26 DIST elasticsearch-5.6.16.tar.gz 33894983 BLAKE2B f96e78f1f28d8106948c91a0d31ea3d41b538fb0fd8534e2f52be651cf22986c76eae67c58c8ef10fef218d1646b1b4b5aa0a3625520e62e482063420775e92e SHA512 cc831e50ce311366484c47cf9fead9bd6562035132e6fd29508e78776dd71846c713d8d1e7a0a99338df46cad124149fb5d767e0ae0bbbed0b50153e234f2631
27 -DIST elasticsearch-6.6.1.tar.gz 114126547 BLAKE2B b335b224af0c241cbdf83f81feec103274d9cdd9ee7f9c3c5a788cbfc4d7a24b3a345aa14853e378796f733c151f7f21b5b081b2071b56f40f0f068ef6b07939 SHA512 3f8619ae6a10a34c57d8bc0c2ba3851b79a494ea05a3d02119a6e12d2c6cb6a651e73b43adfd674b7fb16664b709b643d4be9ba0785dbcc6d7a7cc41da7b669f
28 DIST elasticsearch-6.7.1.tar.gz 148542786 BLAKE2B 4a9acd16788e6d84acfac09ee2434135fdef85d0bec5baa873f7bfd7cb6d340932d6b67b13a8f5095dc04d1981a029ab7f87d90c2b4a796eb198e9b8c531db9d SHA512 dcd3a6beae8b4a2322144058871074f193974565341da5703ec991947c2749ee67e87202e937148f653594f5fd33fdbb8adc891a200d4e03d8363575992eb9ec
29 -DIST elasticsearch-6.8.1.tar.gz 148584086 BLAKE2B dacc3fdf142fc46ede2a5891f95f69a1200632c46b57eb03f948437a39ef92538da7d3e64afd52c4acae478e6758b355729f8cbf8ceb91aa3d34353ff434fed4 SHA512 1d484287e9b67b16c28f1a4d2267e7ceb5a4438a18b26b3a46d4a176bb3f2f6fcadcbda617a7a91418293880d38c027266cb81a4e8893a28adee9fa693b2318b
30 -DIST elasticsearch-6.8.3.tar.gz 148609846 BLAKE2B ff32122bd53eca3e25f4ca797d76aae6d24787646fe532bd30aae737aac5c1d134b4fe73c7f60ad57e410e05d7b049a57beeec8a113de2d7c666e0b437f37bbc SHA512 191aa34f0178bcc480fc77f7a3c1736531a4b4db2d8f0196eab53a0dd28b34cc88df3064703cd523cc692da8b8e58e6310de256d728c33537c992935b3546bf7
31 DIST elasticsearch-6.8.4.tar.gz 148628251 BLAKE2B 09f7a18a1ee6f40154f2181bf354c15da910c712226dd1bb5ee418ebdd371a1ea24e1164e7218736d28f580641c85f70cf40918eb77772470a186f61ce9cfae4 SHA512 bfd00de65b007ea64a88af22f14005774994e7d3a12c416dbda64465ce656634c5ea5f36e5a397ae67ed1e4b4893d758ab4e6e4770c8a65ccc61b2270aa17fa7
32 -DIST elasticsearch-7.0.0-no-jdk-linux-x86_64.tar.gz 149074223 BLAKE2B 3c210b81de8882f99be45adc811c3867acb276978d3c788db5cb00ec0eacd0f096933849dfa066160ca2ec05e3fa2962329b200614db9927e4424602da53508f SHA512 b499aeab6a3f883547974b36221fd808a9da70ae0622856582287dcf729c3a2acfb1faef2727b17be97f64d8bb56ac5cdbae6d63f2a146027153f170ae6d91fc
33 -DIST elasticsearch-7.2.0-no-jdk-linux-x86_64.tar.gz 138948007 BLAKE2B 0e03779669f6113eac1561a3a907d8a3286ac7c7229e0ff7ad46ede4f22a2829f8d2ffafb319427f789fb95cca6669c59f8d840ec83625889bcdd6ada91be1d5 SHA512 b49a6d6b7361c499b1d9a9118746229113eaf4b88c1ad755c1ae8fd713428db4bc296cd75f3df58a239b09d6a8281f670f69c320839ef000596c776141cb1ce6
34 DIST elasticsearch-7.2.1-no-jdk-linux-x86_64.tar.gz 138949755 BLAKE2B 3c77cec89a93c6b5d213afc326ef84df7d77c052914b387dc4ba35276d8f9814689d5305a131e1c647ece31277533e882b1170ad03eb3869f8443471223db066 SHA512 d2827be0b06361ab08f558dc88f76c614fb6a243a6d845749b3d23dff4078ffa58cc1b3407b84197d0f027ea9af5475fad8e3a503fc573ba31756bdd16a589d9
35 DIST elasticsearch-7.3.2-no-jdk-linux-x86_64.tar.gz 140098396 BLAKE2B bb2eb1e69b459533ed785f244ebbdf06032f8115f298e4151164fa27c913c6cff674dc8e75d96734185ffe47c2dd16dff11f3f7447a21bd0020fd45e58abf5d4 SHA512 9d73f6fce0b5321099393c69b1ba8544f9fc919f5a850bac3eb5a77af50f392e8eeb20ff34ba85283649a19d9bee33351a4ffd363cda848d4d53cde91632e335
36 DIST elasticsearch-7.4.1-no-jdk-linux-x86_64.tar.gz 140407217 BLAKE2B 5bf378d66a199de45375e9e07e650e9cdd8fbdd8868c8a81928571be4aaf2d2b1bacf6cde8e216a98b448d1d6ef0db89b2b410d5b2d0bd5e0b40309b7e68f7e6 SHA512 7714a0bd8a69bf921075b2020863469e9d44896e73b383ca073cb243eadd29dc9a76936530c33304fb2e8505dfdc88b7591ddca9543ee1cf11e74df3bebd5b25
37 -DIST elasticsearch-oss-6.6.1.tar.gz 34492424 BLAKE2B 9a63aeb86ec3bebbe685804b262316726cb93b42693f9ba8937cac65c7ec186f0bb470893568234a0b7cc8b58f0c91d2af94eb16c3d016e7533231eba32fdbb0 SHA512 0e536ff760673dd740f790f1b0c01d984bf989a4a9ad3c4fe998de4f824330ce0d5ea18f04421a8648af719aabd25a4393f90182079186e48cef539b5621914c
38 DIST elasticsearch-oss-6.7.1.tar.gz 68421385 BLAKE2B cf14f3babfc5dbe9de4c9e47c15b797ab7c73236936257043c435751a0d86348e34ee73d2a6785a9e1391edc1e00f9a56f922c368ef72a5d349175ee4735d43b SHA512 4865ebd3403593048b3f922769d6d09eb1d53a42cf206cdcba7c30e330b39d9bd57f9f0979a23fcf0ca7636d84ce85de210fdf655447fab7ecebb35bffdd3323
39 -DIST elasticsearch-oss-6.8.1.tar.gz 68419519 BLAKE2B cf34c4cf095b4271d067802df8130d66167e5f01fd0231361ce3e7f5e1023b39e6fbc325cc575f2c353a30b011127934b7b7a04f9a48998f88d27ce8a5560bf4 SHA512 cbcc81b8dd3a7a63c6e6574405417821c5dcd1a0b5df813818d39353fa29ea28e443db64b1a1938a1ffb23aa17d706e3edb6a46fdb24992b92f918d8d4f0c08a
40 -DIST elasticsearch-oss-6.8.3.tar.gz 68441884 BLAKE2B 45da3d4b027dcd36480d4d13de8d05bffaa69511b87b3558d58989449736639ec66fe38a9422a87f71245294fc52609f91c4e9b13907455946b04a9f5a386e71 SHA512 0a83a60c7959cad258453c12857d02e2adde7f2088dafd023bf6737180c3877e03012f6f582c6eb21da7385a74e9568676e0e1182eee0bfc6fa0c5c3598798fa
41 DIST elasticsearch-oss-6.8.4.tar.gz 68444348 BLAKE2B 812180686f1082607c4c75679d591cb2d3517d16212c29b8f81b5792a2331b8faa5245540e1acea998b385eca6e4b06419c172b5d520913b8b31842dddcc4757 SHA512 d55ebb56bd13dbccf633f51a5d8cf5b0eee7d1e8954fe106e44286d5498dcffdcdf98117b42d8601ec987699a25d88a27dce7fdedd4612efd52bc18c561dc5ca
42 -DIST elasticsearch-oss-7.0.0-no-jdk-linux-x86_64.tar.gz 68788144 BLAKE2B 29206b277dc9997b155b54217f485c314a7efa35777bcb81908ce900e134e62d7ef14629cfeebcd3ebb724b76fe5380085ae6b50df46bdfddf5f657a0d2da3eb SHA512 ec9381d9310145b80fb2b8cdd7b7953ea7b2b45a66bf8435d8a982aed0eeb59f734f3936b4b40ec4530e106878d25c2f63d4ea7a734b12f1c8d86b39f7894963
43 -DIST elasticsearch-oss-7.2.0-no-jdk-linux-x86_64.tar.gz 68964879 BLAKE2B 6bebff074d9a22abaf1a7b669d9a47254a658f4954b2e27d4251860a0b8cd29f4bbc3baf217d7fb90c492d5dabce802b1e4d359531202e677ffcfd573b51b343 SHA512 a538c82dc177a66004912ce20b1b50ee1270e45b56879b4f0b7e2d4bfa00d9fe5c113b5e4927cb6f5669f8a1f2f4953c4bb12dc4a10510af4658bbcbcaba3cbc
44 DIST elasticsearch-oss-7.2.1-no-jdk-linux-x86_64.tar.gz 68973563 BLAKE2B 5248a5e8443794134c55ef14d1b175ff931d599a45b4cbd0f187e864dd3d4b322f10df31672c0900417e84da0e83fd934234bba31dc116c5c3b6b9f14e9c62a6 SHA512 694aca59cc3e23bfcf41142d7bf3d3c75f6fcdb6d0a1b35157157cb2f4ac8152db1e424951e62ba1a2bd4a2d32a77bb9499085558b7e1580680c0de90fbc0902
45 DIST elasticsearch-oss-7.3.2-no-jdk-linux-x86_64.tar.gz 69289138 BLAKE2B 2ab3658a2acf1899f44fb29252932862759dd134ffe4872daac15092f9a08b536492197b9cd44287ec48a7aaee1c3f78edf2957f807aaebac866bc835972a592 SHA512 abb183a05db25a877d4e5a8f8b75fba517444008f34e35e82806a6239c3ccec1c32dc787313b899be55caefdab8343a62db31f9491bffbabefaecccaba1210d0
46 DIST elasticsearch-oss-7.4.1-no-jdk-linux-x86_64.tar.gz 68527811 BLAKE2B d8965b429d4ee9b7becdb0ff407ac1ae03322a5c17ab7e793569fdd4ebffa302d95772e7ba0f4ae505fd07b62c2e6983d57db9feec7fd4da42676166287b460b SHA512 a652905b130ace0097b5f51df1d2ef5977d0eda8b551acaf7b3d7015397b054f83a868874fdc96b95e2c780c65552001ee2a90cb7b9f88f43b5ea813d0b078dd
47
48 diff --git a/app-misc/elasticsearch/elasticsearch-6.6.1.ebuild b/app-misc/elasticsearch/elasticsearch-6.6.1.ebuild
49 deleted file mode 100644
50 index 80521b9e40f..00000000000
51 --- a/app-misc/elasticsearch/elasticsearch-6.6.1.ebuild
52 +++ /dev/null
53 @@ -1,91 +0,0 @@
54 -# Copyright 1999-2019 Gentoo Authors
55 -# Distributed under the terms of the GNU General Public License v2
56 -
57 -EAPI=7
58 -
59 -inherit systemd user
60 -
61 -DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
62 -HOMEPAGE="https://www.elastic.co/products/elasticsearch"
63 -SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz )
64 - !x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${PN}-oss-${PV}.tar.gz )"
65 -LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain x-pack? ( Elastic )"
66 -SLOT="0"
67 -KEYWORDS="~amd64"
68 -IUSE="x-pack"
69 -
70 -RDEPEND="virtual/jre:1.8"
71 -
72 -QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
73 -
74 -pkg_setup() {
75 - enewgroup ${PN}
76 - enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN}
77 -}
78 -
79 -src_prepare() {
80 - default
81 -
82 - rm bin/*.{bat,exe} LICENSE.txt NOTICE.txt || die
83 - rmdir logs || die
84 -
85 - if use x-pack; then
86 - rm bin/x-pack/*.bat || die
87 - rm -r modules/x-pack-ml/platform/{darwin,windows}-x86_64 || die
88 - fi
89 -}
90 -
91 -src_install() {
92 - keepdir /etc/${PN}
93 - keepdir /etc/${PN}/scripts
94 -
95 - insinto /etc/${PN}
96 - doins -r config/.
97 - rm -r config || die
98 -
99 - fowners root:${PN} /etc/${PN}
100 - fperms 2750 /etc/${PN}
101 -
102 - insinto /usr/share/${PN}
103 - doins -r .
104 -
105 - exeinto /usr/share/${PN}/bin
106 - doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
107 -
108 - chmod +x "${ED}"/usr/share/${PN}/bin/* || die
109 -
110 - if use x-pack; then
111 - chmod +x "${ED}"/usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin/* || die
112 - fi
113 -
114 - keepdir /var/{lib,log}/${PN}
115 - fowners ${PN}:${PN} /var/{lib,log}/${PN}
116 - fperms 0750 /var/{lib,log}/${PN}
117 - dodir /usr/share/${PN}/plugins
118 -
119 - insinto /etc/sysctl.d
120 - newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
121 -
122 - newconfd "${FILESDIR}/${PN}.conf.3" ${PN}
123 - newinitd "${FILESDIR}/${PN}.init.5" ${PN}
124 -
125 - systemd_install_serviced "${FILESDIR}/${PN}.service.conf"
126 - systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf
127 - systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service
128 -}
129 -
130 -pkg_postinst() {
131 - elog
132 - elog "You may create multiple instances of ${PN} by"
133 - elog "symlinking the init script:"
134 - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
135 - elog
136 - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
137 - elog "from /etc/${PN} into the configuration directory of the instance:"
138 - elog "/etc/${PN}/instance"
139 - elog
140 - ewarn "Please make sure you have proper permissions on /etc/${PN}"
141 - ewarn "prior to keystore generation or you may experience startup fails."
142 - ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}"
143 - ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore"
144 -}
145
146 diff --git a/app-misc/elasticsearch/elasticsearch-6.8.1.ebuild b/app-misc/elasticsearch/elasticsearch-6.8.1.ebuild
147 deleted file mode 100644
148 index fa7c0272257..00000000000
149 --- a/app-misc/elasticsearch/elasticsearch-6.8.1.ebuild
150 +++ /dev/null
151 @@ -1,91 +0,0 @@
152 -# Copyright 1999-2019 Gentoo Authors
153 -# Distributed under the terms of the GNU General Public License v2
154 -
155 -EAPI=7
156 -
157 -inherit systemd user
158 -
159 -DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
160 -HOMEPAGE="https://www.elastic.co/products/elasticsearch"
161 -SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz )
162 - !x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${PN}-oss-${PV}.tar.gz )"
163 -LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain x-pack? ( Elastic )"
164 -SLOT="0"
165 -KEYWORDS="~amd64"
166 -IUSE="x-pack"
167 -
168 -RDEPEND="virtual/jre:1.8"
169 -
170 -QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
171 -
172 -pkg_setup() {
173 - enewgroup ${PN}
174 - enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN}
175 -}
176 -
177 -src_prepare() {
178 - default
179 -
180 - rm bin/*.{bat,exe} LICENSE.txt NOTICE.txt || die
181 - rmdir logs || die
182 -
183 - if use x-pack; then
184 - rm bin/x-pack/*.bat || die
185 - rm -r modules/x-pack-ml/platform/{darwin,windows}-x86_64 || die
186 - fi
187 -}
188 -
189 -src_install() {
190 - keepdir /etc/${PN}
191 - keepdir /etc/${PN}/scripts
192 -
193 - insinto /etc/${PN}
194 - doins -r config/.
195 - rm -r config || die
196 -
197 - fowners root:${PN} /etc/${PN}
198 - fperms 2750 /etc/${PN}
199 -
200 - insinto /usr/share/${PN}
201 - doins -r .
202 -
203 - exeinto /usr/share/${PN}/bin
204 - doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
205 -
206 - chmod +x "${ED}"/usr/share/${PN}/bin/* || die
207 -
208 - if use x-pack; then
209 - chmod +x "${ED}"/usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin/* || die
210 - fi
211 -
212 - keepdir /var/{lib,log}/${PN}
213 - fowners ${PN}:${PN} /var/{lib,log}/${PN}
214 - fperms 0750 /var/{lib,log}/${PN}
215 - dodir /usr/share/${PN}/plugins
216 -
217 - insinto /etc/sysctl.d
218 - newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
219 -
220 - newconfd "${FILESDIR}/${PN}.conf.3" ${PN}
221 - newinitd "${FILESDIR}/${PN}.init.6" ${PN}
222 -
223 - systemd_install_serviced "${FILESDIR}/${PN}.service.conf"
224 - systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf
225 - systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service
226 -}
227 -
228 -pkg_postinst() {
229 - elog
230 - elog "You may create multiple instances of ${PN} by"
231 - elog "symlinking the init script:"
232 - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
233 - elog
234 - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
235 - elog "from /etc/${PN} into the configuration directory of the instance:"
236 - elog "/etc/${PN}/instance"
237 - elog
238 - ewarn "Please make sure you have proper permissions on /etc/${PN}"
239 - ewarn "prior to keystore generation or you may experience startup fails."
240 - ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}"
241 - ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore"
242 -}
243
244 diff --git a/app-misc/elasticsearch/elasticsearch-6.8.3.ebuild b/app-misc/elasticsearch/elasticsearch-6.8.3.ebuild
245 deleted file mode 100644
246 index f2652b931f0..00000000000
247 --- a/app-misc/elasticsearch/elasticsearch-6.8.3.ebuild
248 +++ /dev/null
249 @@ -1,88 +0,0 @@
250 -# Copyright 1999-2019 Gentoo Authors
251 -# Distributed under the terms of the GNU General Public License v2
252 -
253 -EAPI=7
254 -
255 -inherit systemd
256 -
257 -DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
258 -HOMEPAGE="https://www.elastic.co/products/elasticsearch"
259 -SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz )
260 - !x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${PN}-oss-${PV}.tar.gz )"
261 -LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain x-pack? ( Elastic )"
262 -SLOT="0"
263 -KEYWORDS="~amd64"
264 -IUSE="x-pack"
265 -
266 -RDEPEND="acct-group/elasticsearch
267 - acct-user/elasticsearch
268 - virtual/jre:1.8"
269 -
270 -QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
271 -
272 -src_prepare() {
273 - default
274 -
275 - rm bin/*.{bat,exe} LICENSE.txt NOTICE.txt || die
276 - rmdir logs || die
277 -
278 - if use x-pack; then
279 - rm bin/x-pack/*.bat || die
280 - rm -r modules/x-pack-ml/platform/{darwin,windows}-x86_64 || die
281 - fi
282 -}
283 -
284 -src_install() {
285 - keepdir /etc/${PN}
286 - keepdir /etc/${PN}/scripts
287 -
288 - insinto /etc/${PN}
289 - doins -r config/.
290 - rm -r config || die
291 -
292 - fowners root:${PN} /etc/${PN}
293 - fperms 2750 /etc/${PN}
294 -
295 - insinto /usr/share/${PN}
296 - doins -r .
297 -
298 - exeinto /usr/share/${PN}/bin
299 - doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
300 -
301 - chmod +x "${ED}"/usr/share/${PN}/bin/* || die
302 -
303 - if use x-pack; then
304 - chmod +x "${ED}"/usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin/* || die
305 - fi
306 -
307 - keepdir /var/{lib,log}/${PN}
308 - fowners ${PN}:${PN} /var/{lib,log}/${PN}
309 - fperms 0750 /var/{lib,log}/${PN}
310 - dodir /usr/share/${PN}/plugins
311 -
312 - insinto /etc/sysctl.d
313 - newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
314 -
315 - newconfd "${FILESDIR}/${PN}.conf.3" ${PN}
316 - newinitd "${FILESDIR}/${PN}.init.6" ${PN}
317 -
318 - systemd_install_serviced "${FILESDIR}/${PN}.service.conf"
319 - systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf
320 - systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service
321 -}
322 -
323 -pkg_postinst() {
324 - elog
325 - elog "You may create multiple instances of ${PN} by"
326 - elog "symlinking the init script:"
327 - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
328 - elog
329 - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
330 - elog "from /etc/${PN} into the configuration directory of the instance:"
331 - elog "/etc/${PN}/instance"
332 - elog
333 - ewarn "Please make sure you have proper permissions on /etc/${PN}"
334 - ewarn "prior to keystore generation or you may experience startup fails."
335 - ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}"
336 - ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore"
337 -}
338
339 diff --git a/app-misc/elasticsearch/elasticsearch-7.0.0.ebuild b/app-misc/elasticsearch/elasticsearch-7.0.0.ebuild
340 deleted file mode 100644
341 index 8d3ce3b93b4..00000000000
342 --- a/app-misc/elasticsearch/elasticsearch-7.0.0.ebuild
343 +++ /dev/null
344 @@ -1,90 +0,0 @@
345 -# Copyright 1999-2019 Gentoo Authors
346 -# Distributed under the terms of the GNU General Public License v2
347 -
348 -EAPI=7
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="x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${P}-no-jdk-linux-x86_64.tar.gz )
355 - !x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${PN}-oss-${PV}-no-jdk-linux-x86_64.tar.gz )"
356 -LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain x-pack? ( Elastic )"
357 -SLOT="0"
358 -KEYWORDS="~amd64"
359 -IUSE="x-pack"
360 -
361 -RDEPEND="virtual/jre"
362 -
363 -QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
364 -
365 -pkg_setup() {
366 - enewgroup ${PN}
367 - enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN}
368 -}
369 -
370 -src_prepare() {
371 - default
372 -
373 - rm LICENSE.txt NOTICE.txt || die
374 - rmdir logs || die
375 -
376 - if use x-pack; then
377 - rm -r modules/x-pack-ml/platform/{darwin,windows}-x86_64 || die
378 - fi
379 -}
380 -
381 -src_install() {
382 - keepdir /etc/${PN}
383 - keepdir /etc/${PN}/scripts
384 -
385 - insinto /etc/${PN}
386 - doins -r config/.
387 - rm -r config || die
388 -
389 - fowners root:${PN} /etc/${PN}
390 - fperms 2750 /etc/${PN}
391 -
392 - insinto /usr/share/${PN}
393 - doins -r .
394 -
395 - exeinto /usr/share/${PN}/bin
396 - doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
397 -
398 - chmod +x "${ED}"/usr/share/${PN}/bin/* || die
399 -
400 - if use x-pack; then
401 - chmod +x "${ED}"/usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin/* || die
402 - fi
403 -
404 - keepdir /var/{lib,log}/${PN}
405 - fowners ${PN}:${PN} /var/{lib,log}/${PN}
406 - fperms 0750 /var/{lib,log}/${PN}
407 - dodir /usr/share/${PN}/plugins
408 -
409 - insinto /etc/sysctl.d
410 - newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
411 -
412 - newconfd "${FILESDIR}/${PN}.conf.3" ${PN}
413 - newinitd "${FILESDIR}/${PN}.init.6" ${PN}
414 -
415 - systemd_install_serviced "${FILESDIR}/${PN}.service.conf"
416 - systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf
417 - systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service
418 -}
419 -
420 -pkg_postinst() {
421 - elog
422 - elog "You may create multiple instances of ${PN} by"
423 - elog "symlinking the init script:"
424 - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
425 - elog
426 - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
427 - elog "from /etc/${PN} into the configuration directory of the instance:"
428 - elog "/etc/${PN}/instance"
429 - elog
430 - ewarn "Please make sure you have proper permissions on /etc/${PN}"
431 - ewarn "prior to keystore generation or you may experience startup fails."
432 - ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}"
433 - ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore"
434 -}
435
436 diff --git a/app-misc/elasticsearch/elasticsearch-7.2.0.ebuild b/app-misc/elasticsearch/elasticsearch-7.2.0.ebuild
437 deleted file mode 100644
438 index c4dd0389607..00000000000
439 --- a/app-misc/elasticsearch/elasticsearch-7.2.0.ebuild
440 +++ /dev/null
441 @@ -1,86 +0,0 @@
442 -# Copyright 1999-2019 Gentoo Authors
443 -# Distributed under the terms of the GNU General Public License v2
444 -
445 -EAPI=7
446 -
447 -inherit systemd user
448 -
449 -DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
450 -HOMEPAGE="https://www.elastic.co/products/elasticsearch"
451 -SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${P}-no-jdk-linux-x86_64.tar.gz )
452 - !x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${PN}-oss-${PV}-no-jdk-linux-x86_64.tar.gz )"
453 -LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain x-pack? ( Elastic )"
454 -SLOT="0"
455 -KEYWORDS="~amd64"
456 -IUSE="x-pack"
457 -
458 -RDEPEND="virtual/jre"
459 -
460 -QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
461 -
462 -pkg_setup() {
463 - enewgroup ${PN}
464 - enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN}
465 -}
466 -
467 -src_prepare() {
468 - default
469 -
470 - rm LICENSE.txt NOTICE.txt || die
471 - rmdir logs || die
472 -}
473 -
474 -src_install() {
475 - keepdir /etc/${PN}
476 - keepdir /etc/${PN}/scripts
477 -
478 - insinto /etc/${PN}
479 - doins -r config/.
480 - rm -r config || die
481 -
482 - fowners root:${PN} /etc/${PN}
483 - fperms 2750 /etc/${PN}
484 -
485 - insinto /usr/share/${PN}
486 - doins -r .
487 -
488 - exeinto /usr/share/${PN}/bin
489 - doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
490 -
491 - chmod +x "${ED}"/usr/share/${PN}/bin/* || die
492 -
493 - if use x-pack; then
494 - chmod +x "${ED}"/usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin/* || die
495 - fi
496 -
497 - keepdir /var/{lib,log}/${PN}
498 - fowners ${PN}:${PN} /var/{lib,log}/${PN}
499 - fperms 0750 /var/{lib,log}/${PN}
500 - dodir /usr/share/${PN}/plugins
501 -
502 - insinto /etc/sysctl.d
503 - newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
504 -
505 - newconfd "${FILESDIR}/${PN}.conf.3" ${PN}
506 - newinitd "${FILESDIR}/${PN}.init.6" ${PN}
507 -
508 - systemd_install_serviced "${FILESDIR}/${PN}.service.conf"
509 - systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf
510 - systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service
511 -}
512 -
513 -pkg_postinst() {
514 - elog
515 - elog "You may create multiple instances of ${PN} by"
516 - elog "symlinking the init script:"
517 - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
518 - elog
519 - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
520 - elog "from /etc/${PN} into the configuration directory of the instance:"
521 - elog "/etc/${PN}/instance"
522 - elog
523 - ewarn "Please make sure you have proper permissions on /etc/${PN}"
524 - ewarn "prior to keystore generation or you may experience startup fails."
525 - ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}"
526 - ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore"
527 -}