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: Mon, 04 Oct 2021 12:51:54
Message-Id: 1633351733.4e90763fd54093539bbd17cecb66f4367a0e310e.juippis@gentoo
1 commit: 4e90763fd54093539bbd17cecb66f4367a0e310e
2 Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Fri Sep 24 21:20:50 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 4 12:48:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e90763f
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 | 7 --
14 app-misc/elasticsearch/elasticsearch-6.8.15.ebuild | 90 ----------------------
15 app-misc/elasticsearch/elasticsearch-6.8.16.ebuild | 90 ----------------------
16 app-misc/elasticsearch/elasticsearch-7.12.0.ebuild | 84 --------------------
17 app-misc/elasticsearch/elasticsearch-7.12.1.ebuild | 82 --------------------
18 app-misc/elasticsearch/elasticsearch-7.13.2.ebuild | 82 --------------------
19 6 files changed, 435 deletions(-)
20
21 diff --git a/app-misc/elasticsearch/Manifest b/app-misc/elasticsearch/Manifest
22 index e1dd8c04c22..d7f39ffbf85 100644
23 --- a/app-misc/elasticsearch/Manifest
24 +++ b/app-misc/elasticsearch/Manifest
25 @@ -1,13 +1,6 @@
26 -DIST elasticsearch-6.8.15.tar.gz 149102328 BLAKE2B 0ce9ba565d751cd27721f3d49dd24761937c3476cee4896ba1a4d84e4fc238296129481f18cad64270fe8af71a043c2e8e583df14f2a084850fb10c93fcea0ef SHA512 c62c4d9d1bb83e10d3e1079f56b834f2f89b1f712c29d9ce7e81786199c71d287ecbf6df158eca56a7af711eafe13dfb276e12b34e1a0a6cf6719e1fbb44a142
27 -DIST elasticsearch-6.8.16.tar.gz 149125098 BLAKE2B cafdb7fd97b3df087472c65ede9eb9c703f6499a03d70c5fcc497bdaafc0757d0b9e7fe84d0a8c710cdecbe85654fdad1f854209015a545e0bf43d8e585a481f SHA512 0b15f77ba5962970ef38869a233ee3d091a64b218cf42dc5f4bdd8a81322739992f75e3c438295435f28af20af1e138c2f5e3afed76a7ebc0f348764528dd0f3
28 DIST elasticsearch-6.8.17.tar.gz 149132823 BLAKE2B a83d4e81059a717e48ac54e7565efe282f42103718ba9cef9994a6970769bb01248e99ffbfe061ca85a7b44890604c6174dc11046a94c455dc01da7f495524ea SHA512 5eb365efccff4e371d9ac873b45684c36cfd7f25ec51a86c3cd74beff4491dbc0097dba22f91335c35478e3b25decc6ae4bc5d538add0e17a39eb063dfa2d88c
29 DIST elasticsearch-6.8.19.tar.gz 149143102 BLAKE2B 74b529d9b9944101c0371c2e1a43697aca0ca5907a4fc25cb7a54b30d9d27a6e876317c8946636314db48ffab59be732ee9a52f2d989c1cff12c11ca91e68cb5 SHA512 2d12a201496668da7547eef77000d2317df083a0d03390549ded9aa80e8ea69d836b62355bb1b8ff363be446887579a34cf417b0b1b8e4d0f6a178598a3cdac1
30 -DIST elasticsearch-7.12.0-no-jdk-linux-x86_64.tar.gz 173069694 BLAKE2B 5de74b1e6de743246cf48e32254f9646fa25c2820d0be9df886fdefe131a302ddb8906546147f0d284e2fc0faf8cc0238bf854fe1611d28bf1e7cb1518bd4e31 SHA512 205aa2a2fa2ab7eb7b54087420e0123aa97e5456e2e1f31cad9ea7b84be3f9823a2a7c47d4cf1697833e5f795359477d3a3b0ea4955a8f92583cf2228071827e
31 -DIST elasticsearch-7.12.1-no-jdk-linux-x86_64.tar.gz 173079845 BLAKE2B 98214508c2c1dcb631f59d9e51d5949f9a7c5d1f68ff78c8d93af04c6a21fa1e1c6e2051f04bbdb8154443d6295ad54af2016695fcb9193b7595e1486777ba98 SHA512 c91fd66668977280d7339caf6b4fef9fce5640492f0e2a65bc537c6da8397c801a3727f1ff56b7a1591b11ea47195720c588a4eba473043f829a87cd3dcc0af4
32 -DIST elasticsearch-7.13.2-no-jdk-linux-x86_64.tar.gz 174688419 BLAKE2B e8541581dfc856b9b005bc7fda29c9aaf82d61c406df1f7e06ea8997a71567047d4822e5e873aee41f7a295f2eba10508c966e9ebc4e8b7c734f1c100f4a05f3 SHA512 4d02faf019eab1fc590d76fdc50c6396cfe5bc4363baaa3d1e63ca7210942cbdf5c08d28e5d4b7d2cf47fb18ee83b94529ecb2bdaba6521798721398c8a06165
33 DIST elasticsearch-7.13.4-no-jdk-linux-x86_64.tar.gz 174690446 BLAKE2B bab17a006f14d262ee85918c8b2e5f610a1e726d158cf423bf306971826f182963e0231456539253f5054069b82672e8803c0da06166215d128bdea02e6738db SHA512 5d6d53d9d6c6faf5d6599019882aa4b5d91f04944ab26c496cab033880b71f1ce2addb98bcf12b21891c005e810ce4a0493627b9ec9f0f78b4f7786efa398eab
34 DIST elasticsearch-7.15.0-no-jdk-linux-x86_64.tar.gz 196775804 BLAKE2B c08a77a03dd98acbbbdabdf408c33cc7786d8b00e64558b0658e6952d3c32842b2ede48a54e58ee85ece882f56675d77ff39bc2b6ede7d8c7e446bbfd0b23965 SHA512 dbd5c5ce9a08ea0bbc55e9f470a7455d99f1458287cb1d885f07f2670cc8885dbe764315c1267f31ef745a424ece52b4e60239993e0ed7d0bec70dd8c022f7fa
35 -DIST elasticsearch-oss-6.8.15.tar.gz 68240776 BLAKE2B 431d845e02f2118a98021af4422ece34274b6d0811a32c5a3e679da3f8f56ca9cd45949307268811edbb83327a4a80fb84866cbbaaf01f7d3af042412b1e1bfa SHA512 7e6a819339ac6043af218f9d97d5d68c50ac46900e4293e7fa18992f7a50b10b0ab2434e26ff0dc1546204ae7526de8ac6ef6545fc0db9c862ceeaa0d96c56f5
36 -DIST elasticsearch-oss-6.8.16.tar.gz 68248767 BLAKE2B 2c8c14a6e2f837bc547de2e8c97f2fbe2dbf7743978a00e2fc37cd61eb46144df2a24f67360761e0342987b9194176109cfbd07545d2e8f88cae48f9508c659c SHA512 0f46c69136312d535ccff4663655500538ffc924bbe50350c2eed3372609a28e642bb906cbb9a631af5fa10568a16c1a630ef181c383ee247c98325ddc85e04c
37 DIST elasticsearch-oss-6.8.17.tar.gz 68247749 BLAKE2B 12e85804a7d58dc27d85fbed6501831d92428405cb4636355c523a370863e00301bd75d7d12404ee0c7eefc32c53bc4b23e8fc1fecf2f606faf85369b2262cc7 SHA512 0f165357b1f389fbd01f07397a2b3ea5d493fae720c15213f2ee47a0c2c75bc4a448384767646d7585a18d4577899b840121c1829a987a16d2de68f216b28f7c
38 DIST elasticsearch-oss-6.8.19.tar.gz 68255213 BLAKE2B 7fba24a70dafbaf94d2c9f2f25dfc976f831759e8be67ce0a5f15ffe11b9f8d4d62b7906ad5250bcbaacab43139b4471328978c8adc4be527e178597b6bf3294 SHA512 d0a371a4bf19db38b8b0379856a3535c6472e373abd1e9cae0171cffed97005b9fb7b6f7d3d67edc3d67feb5265a9f33d974d6abad8e398148be94566735c2c0
39
40 diff --git a/app-misc/elasticsearch/elasticsearch-6.8.15.ebuild b/app-misc/elasticsearch/elasticsearch-6.8.15.ebuild
41 deleted file mode 100644
42 index e090a2d2fed..00000000000
43 --- a/app-misc/elasticsearch/elasticsearch-6.8.15.ebuild
44 +++ /dev/null
45 @@ -1,90 +0,0 @@
46 -# Copyright 1999-2021 Gentoo Authors
47 -# Distributed under the terms of the GNU General Public License v2
48 -
49 -EAPI=7
50 -
51 -inherit systemd tmpfiles
52 -
53 -DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
54 -HOMEPAGE="https://www.elastic.co/products/elasticsearch"
55 -SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz )
56 - !x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${PN}-oss-${PV}.tar.gz )"
57 -LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain x-pack? ( Elastic )"
58 -SLOT="0"
59 -KEYWORDS="~amd64"
60 -IUSE="x-pack"
61 -
62 -RDEPEND="acct-group/elasticsearch
63 - acct-user/elasticsearch
64 - virtual/jre:1.8"
65 -
66 -QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
67 -
68 -src_prepare() {
69 - default
70 -
71 - rm bin/*.{bat,exe} LICENSE.txt NOTICE.txt || die
72 - rmdir logs || die
73 -
74 - if use x-pack; then
75 - rm bin/x-pack/*.bat || die
76 - rm -r modules/x-pack-ml/platform/{darwin,windows}-x86_64 || die
77 - fi
78 -}
79 -
80 -src_install() {
81 - keepdir /etc/${PN}
82 - keepdir /etc/${PN}/scripts
83 -
84 - insinto /etc/${PN}
85 - doins -r config/.
86 - rm -r config || die
87 -
88 - fowners root:${PN} /etc/${PN}
89 - fperms 2750 /etc/${PN}
90 -
91 - insinto /usr/share/${PN}
92 - doins -r .
93 -
94 - exeinto /usr/share/${PN}/bin
95 - doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
96 -
97 - chmod +x "${ED}"/usr/share/${PN}/bin/* || die
98 -
99 - if use x-pack; then
100 - chmod +x "${ED}"/usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin/* || die
101 - fi
102 -
103 - keepdir /var/{lib,log}/${PN}
104 - fowners ${PN}:${PN} /var/{lib,log}/${PN}
105 - fperms 0750 /var/{lib,log}/${PN}
106 - dodir /usr/share/${PN}/plugins
107 -
108 - insinto /etc/sysctl.d
109 - newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
110 -
111 - newconfd "${FILESDIR}/${PN}.conf.3" ${PN}
112 - newinitd "${FILESDIR}/${PN}.init.6" ${PN}
113 -
114 - systemd_install_serviced "${FILESDIR}/${PN}.service.conf"
115 - newtmpfiles "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf
116 - systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service
117 -}
118 -
119 -pkg_postinst() {
120 - tmpfiles_process ${PN}.conf
121 -
122 - elog
123 - elog "You may create multiple instances of ${PN} by"
124 - elog "symlinking the init script:"
125 - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
126 - elog
127 - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
128 - elog "from /etc/${PN} into the configuration directory of the instance:"
129 - elog "/etc/${PN}/instance"
130 - elog
131 - ewarn "Please make sure you have proper permissions on /etc/${PN}"
132 - ewarn "prior to keystore generation or you may experience startup fails."
133 - ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}"
134 - ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore"
135 -}
136
137 diff --git a/app-misc/elasticsearch/elasticsearch-6.8.16.ebuild b/app-misc/elasticsearch/elasticsearch-6.8.16.ebuild
138 deleted file mode 100644
139 index e090a2d2fed..00000000000
140 --- a/app-misc/elasticsearch/elasticsearch-6.8.16.ebuild
141 +++ /dev/null
142 @@ -1,90 +0,0 @@
143 -# Copyright 1999-2021 Gentoo Authors
144 -# Distributed under the terms of the GNU General Public License v2
145 -
146 -EAPI=7
147 -
148 -inherit systemd tmpfiles
149 -
150 -DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
151 -HOMEPAGE="https://www.elastic.co/products/elasticsearch"
152 -SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz )
153 - !x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${PN}-oss-${PV}.tar.gz )"
154 -LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain x-pack? ( Elastic )"
155 -SLOT="0"
156 -KEYWORDS="~amd64"
157 -IUSE="x-pack"
158 -
159 -RDEPEND="acct-group/elasticsearch
160 - acct-user/elasticsearch
161 - virtual/jre:1.8"
162 -
163 -QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
164 -
165 -src_prepare() {
166 - default
167 -
168 - rm bin/*.{bat,exe} LICENSE.txt NOTICE.txt || die
169 - rmdir logs || die
170 -
171 - if use x-pack; then
172 - rm bin/x-pack/*.bat || die
173 - rm -r modules/x-pack-ml/platform/{darwin,windows}-x86_64 || die
174 - fi
175 -}
176 -
177 -src_install() {
178 - keepdir /etc/${PN}
179 - keepdir /etc/${PN}/scripts
180 -
181 - insinto /etc/${PN}
182 - doins -r config/.
183 - rm -r config || die
184 -
185 - fowners root:${PN} /etc/${PN}
186 - fperms 2750 /etc/${PN}
187 -
188 - insinto /usr/share/${PN}
189 - doins -r .
190 -
191 - exeinto /usr/share/${PN}/bin
192 - doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
193 -
194 - chmod +x "${ED}"/usr/share/${PN}/bin/* || die
195 -
196 - if use x-pack; then
197 - chmod +x "${ED}"/usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin/* || die
198 - fi
199 -
200 - keepdir /var/{lib,log}/${PN}
201 - fowners ${PN}:${PN} /var/{lib,log}/${PN}
202 - fperms 0750 /var/{lib,log}/${PN}
203 - dodir /usr/share/${PN}/plugins
204 -
205 - insinto /etc/sysctl.d
206 - newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
207 -
208 - newconfd "${FILESDIR}/${PN}.conf.3" ${PN}
209 - newinitd "${FILESDIR}/${PN}.init.6" ${PN}
210 -
211 - systemd_install_serviced "${FILESDIR}/${PN}.service.conf"
212 - newtmpfiles "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf
213 - systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service
214 -}
215 -
216 -pkg_postinst() {
217 - tmpfiles_process ${PN}.conf
218 -
219 - elog
220 - elog "You may create multiple instances of ${PN} by"
221 - elog "symlinking the init script:"
222 - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
223 - elog
224 - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
225 - elog "from /etc/${PN} into the configuration directory of the instance:"
226 - elog "/etc/${PN}/instance"
227 - elog
228 - ewarn "Please make sure you have proper permissions on /etc/${PN}"
229 - ewarn "prior to keystore generation or you may experience startup fails."
230 - ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}"
231 - ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore"
232 -}
233
234 diff --git a/app-misc/elasticsearch/elasticsearch-7.12.0.ebuild b/app-misc/elasticsearch/elasticsearch-7.12.0.ebuild
235 deleted file mode 100644
236 index 45949c1449d..00000000000
237 --- a/app-misc/elasticsearch/elasticsearch-7.12.0.ebuild
238 +++ /dev/null
239 @@ -1,84 +0,0 @@
240 -# Copyright 1999-2021 Gentoo Authors
241 -# Distributed under the terms of the GNU General Public License v2
242 -
243 -EAPI=7
244 -
245 -inherit systemd tmpfiles
246 -
247 -DESCRIPTION="Free and Open, Distributed, RESTful Search Engine"
248 -HOMEPAGE="https://www.elastic.co/elasticsearch/"
249 -SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}-no-jdk-linux-x86_64.tar.gz"
250 -LICENSE="Apache-2.0 BSD-2 Elastic-2.0 LGPL-3 MIT public-domain"
251 -SLOT="0"
252 -KEYWORDS="~amd64"
253 -
254 -RDEPEND="acct-group/elasticsearch
255 - acct-user/elasticsearch
256 - virtual/jre"
257 -
258 -QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
259 -QA_PREBUILT="
260 - usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/bin/.*
261 - usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/.*"
262 -
263 -src_prepare() {
264 - default
265 -
266 - rm LICENSE.txt NOTICE.txt || die
267 - rmdir logs || die
268 -}
269 -
270 -src_install() {
271 - keepdir /etc/${PN}
272 - keepdir /etc/${PN}/scripts
273 -
274 - insinto /etc/${PN}
275 - doins -r config/.
276 - rm -r config || die
277 -
278 - fowners root:${PN} /etc/${PN}
279 - fperms 2750 /etc/${PN}
280 -
281 - insinto /usr/share/${PN}
282 - doins -r .
283 -
284 - exeinto /usr/share/${PN}/bin
285 - doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
286 -
287 - fperms -R +x /usr/share/${PN}/bin
288 - fperms -R +x /usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin
289 -
290 - keepdir /var/{lib,log}/${PN}
291 - fowners ${PN}:${PN} /var/{lib,log}/${PN}
292 - fperms 0750 /var/{lib,log}/${PN}
293 - dodir /usr/share/${PN}/plugins
294 -
295 - insinto /etc/sysctl.d
296 - newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
297 -
298 - newconfd "${FILESDIR}/${PN}.conf.4" ${PN}
299 - newinitd "${FILESDIR}/${PN}.init.8" ${PN}
300 -
301 - systemd_install_serviced "${FILESDIR}/${PN}.service.conf"
302 - systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service
303 -
304 - newtmpfiles "${FILESDIR}"/${PN}.tmpfiles.d ${PN}.conf
305 -}
306 -
307 -pkg_postinst() {
308 - tmpfiles_process ${PN}.conf
309 -
310 - elog
311 - elog "You may create multiple instances of ${PN} by"
312 - elog "symlinking the init script:"
313 - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
314 - elog
315 - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
316 - elog "from /etc/${PN} into the configuration directory of the instance:"
317 - elog "/etc/${PN}/instance"
318 - elog
319 - ewarn "Please make sure you have proper permissions on /etc/${PN}"
320 - ewarn "prior to keystore generation or you may experience startup fails."
321 - ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}"
322 - ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore"
323 -}
324
325 diff --git a/app-misc/elasticsearch/elasticsearch-7.12.1.ebuild b/app-misc/elasticsearch/elasticsearch-7.12.1.ebuild
326 deleted file mode 100644
327 index bdf9f6e767d..00000000000
328 --- a/app-misc/elasticsearch/elasticsearch-7.12.1.ebuild
329 +++ /dev/null
330 @@ -1,82 +0,0 @@
331 -# Copyright 1999-2021 Gentoo Authors
332 -# Distributed under the terms of the GNU General Public License v2
333 -
334 -EAPI=7
335 -
336 -inherit systemd tmpfiles
337 -
338 -DESCRIPTION="Free and Open, Distributed, RESTful Search Engine"
339 -HOMEPAGE="https://www.elastic.co/elasticsearch/"
340 -SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}-no-jdk-linux-x86_64.tar.gz"
341 -LICENSE="Apache-2.0 BSD-2 Elastic-2.0 LGPL-3 MIT public-domain"
342 -SLOT="0"
343 -KEYWORDS="~amd64"
344 -
345 -RDEPEND="acct-group/elasticsearch
346 - acct-user/elasticsearch
347 - virtual/jre"
348 -
349 -QA_PREBUILT="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
350 -QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
351 -
352 -src_prepare() {
353 - default
354 -
355 - rm LICENSE.txt NOTICE.txt || die
356 - rmdir logs || die
357 -}
358 -
359 -src_install() {
360 - keepdir /etc/${PN}
361 - keepdir /etc/${PN}/scripts
362 -
363 - insinto /etc/${PN}
364 - doins -r config/.
365 - rm -r config || die
366 -
367 - fowners root:${PN} /etc/${PN}
368 - fperms 2750 /etc/${PN}
369 -
370 - insinto /usr/share/${PN}
371 - doins -r .
372 -
373 - exeinto /usr/share/${PN}/bin
374 - doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
375 -
376 - fperms -R +x /usr/share/${PN}/bin
377 - fperms -R +x /usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin
378 -
379 - keepdir /var/{lib,log}/${PN}
380 - fowners ${PN}:${PN} /var/{lib,log}/${PN}
381 - fperms 0750 /var/{lib,log}/${PN}
382 - dodir /usr/share/${PN}/plugins
383 -
384 - insinto /etc/sysctl.d
385 - newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
386 -
387 - newconfd "${FILESDIR}/${PN}.conf.4" ${PN}
388 - newinitd "${FILESDIR}/${PN}.init.8" ${PN}
389 -
390 - systemd_install_serviced "${FILESDIR}/${PN}.service.conf"
391 - systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service
392 -
393 - newtmpfiles "${FILESDIR}"/${PN}.tmpfiles.d ${PN}.conf
394 -}
395 -
396 -pkg_postinst() {
397 - tmpfiles_process ${PN}.conf
398 -
399 - elog
400 - elog "You may create multiple instances of ${PN} by"
401 - elog "symlinking the init script:"
402 - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
403 - elog
404 - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
405 - elog "from /etc/${PN} into the configuration directory of the instance:"
406 - elog "/etc/${PN}/instance"
407 - elog
408 - ewarn "Please make sure you have proper permissions on /etc/${PN}"
409 - ewarn "prior to keystore generation or you may experience startup fails."
410 - ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}"
411 - ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore"
412 -}
413
414 diff --git a/app-misc/elasticsearch/elasticsearch-7.13.2.ebuild b/app-misc/elasticsearch/elasticsearch-7.13.2.ebuild
415 deleted file mode 100644
416 index bdf9f6e767d..00000000000
417 --- a/app-misc/elasticsearch/elasticsearch-7.13.2.ebuild
418 +++ /dev/null
419 @@ -1,82 +0,0 @@
420 -# Copyright 1999-2021 Gentoo Authors
421 -# Distributed under the terms of the GNU General Public License v2
422 -
423 -EAPI=7
424 -
425 -inherit systemd tmpfiles
426 -
427 -DESCRIPTION="Free and Open, Distributed, RESTful Search Engine"
428 -HOMEPAGE="https://www.elastic.co/elasticsearch/"
429 -SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}-no-jdk-linux-x86_64.tar.gz"
430 -LICENSE="Apache-2.0 BSD-2 Elastic-2.0 LGPL-3 MIT public-domain"
431 -SLOT="0"
432 -KEYWORDS="~amd64"
433 -
434 -RDEPEND="acct-group/elasticsearch
435 - acct-user/elasticsearch
436 - virtual/jre"
437 -
438 -QA_PREBUILT="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
439 -QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
440 -
441 -src_prepare() {
442 - default
443 -
444 - rm LICENSE.txt NOTICE.txt || die
445 - rmdir logs || die
446 -}
447 -
448 -src_install() {
449 - keepdir /etc/${PN}
450 - keepdir /etc/${PN}/scripts
451 -
452 - insinto /etc/${PN}
453 - doins -r config/.
454 - rm -r config || die
455 -
456 - fowners root:${PN} /etc/${PN}
457 - fperms 2750 /etc/${PN}
458 -
459 - insinto /usr/share/${PN}
460 - doins -r .
461 -
462 - exeinto /usr/share/${PN}/bin
463 - doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
464 -
465 - fperms -R +x /usr/share/${PN}/bin
466 - fperms -R +x /usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin
467 -
468 - keepdir /var/{lib,log}/${PN}
469 - fowners ${PN}:${PN} /var/{lib,log}/${PN}
470 - fperms 0750 /var/{lib,log}/${PN}
471 - dodir /usr/share/${PN}/plugins
472 -
473 - insinto /etc/sysctl.d
474 - newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
475 -
476 - newconfd "${FILESDIR}/${PN}.conf.4" ${PN}
477 - newinitd "${FILESDIR}/${PN}.init.8" ${PN}
478 -
479 - systemd_install_serviced "${FILESDIR}/${PN}.service.conf"
480 - systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service
481 -
482 - newtmpfiles "${FILESDIR}"/${PN}.tmpfiles.d ${PN}.conf
483 -}
484 -
485 -pkg_postinst() {
486 - tmpfiles_process ${PN}.conf
487 -
488 - elog
489 - elog "You may create multiple instances of ${PN} by"
490 - elog "symlinking the init script:"
491 - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
492 - elog
493 - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
494 - elog "from /etc/${PN} into the configuration directory of the instance:"
495 - elog "/etc/${PN}/instance"
496 - elog
497 - ewarn "Please make sure you have proper permissions on /etc/${PN}"
498 - ewarn "prior to keystore generation or you may experience startup fails."
499 - ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}"
500 - ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore"
501 -}