1 |
commit: e842e2f009ab6e2fa77dc3de978bd9374fea1d95 |
2 |
Author: Tomas Mozes <tmozes <AT> sygic <DOT> com> |
3 |
AuthorDate: Sun Sep 9 19:59:33 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 9 20:41:05 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e842e2f0 |
7 |
|
8 |
app-misc/elasticsearch: drop old |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/9796 |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
12 |
|
13 |
app-misc/elasticsearch/Manifest | 3 - |
14 |
app-misc/elasticsearch/elasticsearch-5.6.10.ebuild | 69 ------------------- |
15 |
app-misc/elasticsearch/elasticsearch-6.2.4.ebuild | 72 -------------------- |
16 |
.../elasticsearch/elasticsearch-6.3.1-r1.ebuild | 77 ---------------------- |
17 |
.../elasticsearch/elasticsearch-6.3.1-r2.ebuild | 77 ---------------------- |
18 |
5 files changed, 298 deletions(-) |
19 |
|
20 |
diff --git a/app-misc/elasticsearch/Manifest b/app-misc/elasticsearch/Manifest |
21 |
index cbc0dd9f029..d91a6e667d4 100644 |
22 |
--- a/app-misc/elasticsearch/Manifest |
23 |
+++ b/app-misc/elasticsearch/Manifest |
24 |
@@ -1,8 +1,5 @@ |
25 |
-DIST elasticsearch-5.6.10.tar.gz 33796721 BLAKE2B 4e9d1d910a70acf32ca63cec811b711f692f3cf32dcec084a07f92d281eed07c067740bb5c5447055a6d0b6126e55a635edcd08c105dc59985db72bcd031a8a5 SHA512 17bd5710cfc3efa455428a79c74e63aacc9b9481d59a0b0df07ad4e4c25ef32dd41b3dbbde464a2801363b6d428a23eb52cc935640ce86bbc4d8a01dca8a1585 |
26 |
DIST elasticsearch-5.6.11.tar.gz 33864199 BLAKE2B 08884e6367007835ec1d248912d4127ade4d5fff85927df86ee7de4ebf5ee9bc9639940c89b71739cf17fd389d0c47a23cc48ccd1777b94830f1614663fd7487 SHA512 cc0ec89889e23d7aa3e03a2bb76bf6bb40b3084a8a13da99851c4770533048283d36b4c13322b4689480914e5e57c4c998d4abba44d8caa44ffdb21edb207a9c |
27 |
-DIST elasticsearch-6.2.4.tar.gz 29056810 BLAKE2B 121be27ac1db4fa6bbe285161b3f2b2dd889859b50f46b57b68ed43514568c4aa9629b5ca32edcc2328a6e7245256d64901c8acc8b2dd91337f8ca97b87c46e1 SHA512 9e6c0de8ed0d9e27fdd18ef7bada376af5a8680bb7a4f4d805926da456b349cee731ba90328b5eda5f0e62fa3f00f34646bf1c2b6c662d055f4be338d0690941 |
28 |
DIST elasticsearch-6.3.2.tar.gz 91452574 BLAKE2B c422990fabad70e6e77e8f59f6fb9e9bf5a84eb7e6b8b67dfd91f53e474b1b501b3a1d5ea8f54f0793631504f194a116e816eb3558782b67c8dadecbc2711ee5 SHA512 954cd1e16a5f2e0b0efaeb7e6b19c708d1588d30814a31defb09037c3b90f78c5e9dbd1ca9af9c700d517145a4279bacc1d8ce7cc6894fbe7bf71eec9ed3110d |
29 |
DIST elasticsearch-6.4.0.tar.gz 97901357 BLAKE2B 60263c3b68a91fba2341d45162cac328e5561cfe046bcc0dfff3eb09d2e487374c5e8481b460a54861df7b2c5774ac2cc6c884fc6b5455fb40f0c89848c0ad0b SHA512 6f465378a51c487f1f6a84a0843ac1038db60170ee8a5d96874a759f6dbbf2de9f7bcbbf55616f49f28f1098c82f2e585c917267d02b8b1f43627a1984b3da66 |
30 |
-DIST elasticsearch-oss-6.3.1.tar.gz 29417012 BLAKE2B 356665cde2f12ae5813d95302398f5fced07c53d25e6e1dc7ad41c8dc8ad42cd3d5bd4ffa6cab24af8088c29800f6ec59a483710272b756af2f76b5967d4b932 SHA512 3df0f7f35e150198f7ff660cf4d90fbd1c2ca587287c6340d427f968711b6390123bfafd09a744c9bdf328d57423bcb75f6e4701ce14a7257388611abea62545 |
31 |
DIST elasticsearch-oss-6.3.2.tar.gz 29418577 BLAKE2B 152640dc01a10f44ba43f87f68361cc0dd5e1cf54d0ff92377f3acd1a12a247f002ffe2d003cc53760e891278249c10b1d6d4eb978b0bb1c1ebf8879a2cfcb9a SHA512 3c51a860414f7e55900b1d9a350bdbc3e673c8445e316454c2480315b4b9fc08df58090c6281cecc3ae63d12d78d6bd58e228b3371aa325db799ce18758a21f4 |
32 |
DIST elasticsearch-oss-6.4.0.tar.gz 33727061 BLAKE2B dd0ff95bb124103ca340b480c5192c9919ef226d4c3ef1b61accd0df2ee9b60a8215693b3db0fa327a4d6791de66746654144a9172210687e8a2efa9f6f4dde3 SHA512 0197dcf24bdb81cbcfa492d899363528816143962abd1925a5092e8177c25e8ca490afe5868b41057b3cded296f59f38ed11ba0156a820b6c877c69a5888846c |
33 |
|
34 |
diff --git a/app-misc/elasticsearch/elasticsearch-5.6.10.ebuild b/app-misc/elasticsearch/elasticsearch-5.6.10.ebuild |
35 |
deleted file mode 100644 |
36 |
index 26cfa98675c..00000000000 |
37 |
--- a/app-misc/elasticsearch/elasticsearch-5.6.10.ebuild |
38 |
+++ /dev/null |
39 |
@@ -1,69 +0,0 @@ |
40 |
-# Copyright 1999-2018 Gentoo Foundation |
41 |
-# Distributed under the terms of the GNU General Public License v2 |
42 |
- |
43 |
-EAPI=6 |
44 |
- |
45 |
-inherit systemd user |
46 |
- |
47 |
-DESCRIPTION="Open Source, Distributed, RESTful, Search Engine" |
48 |
-HOMEPAGE="https://www.elastic.co/products/elasticsearch" |
49 |
-SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz" |
50 |
-LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain" |
51 |
-SLOT="0" |
52 |
-KEYWORDS="~amd64" |
53 |
- |
54 |
-RDEPEND="virtual/jre:1.8" |
55 |
- |
56 |
-pkg_setup() { |
57 |
- enewgroup ${PN} |
58 |
- enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN} |
59 |
-} |
60 |
- |
61 |
-src_prepare() { |
62 |
- default |
63 |
- |
64 |
- rm -v bin/*.{bat,exe} LICENSE.txt || die |
65 |
-} |
66 |
- |
67 |
-src_install() { |
68 |
- keepdir /etc/${PN} |
69 |
- keepdir /etc/${PN}/scripts |
70 |
- |
71 |
- insinto /etc/${PN} |
72 |
- doins -r config/. |
73 |
- rm -rv config || die |
74 |
- |
75 |
- insinto /usr/share/${PN} |
76 |
- doins -r . |
77 |
- |
78 |
- exeinto /usr/share/${PN}/bin |
79 |
- doexe "${FILESDIR}/elasticsearch-systemd-pre-exec" |
80 |
- |
81 |
- chmod +x "${ED}"/usr/share/${PN}/bin/* || die |
82 |
- |
83 |
- keepdir /var/{lib,log}/${PN} |
84 |
- fowners ${PN}:${PN} /var/{lib,log}/${PN} |
85 |
- fperms 0750 /var/{lib,log}/${PN} |
86 |
- dodir /usr/share/${PN}/plugins |
87 |
- |
88 |
- insinto /etc/sysctl.d |
89 |
- newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf |
90 |
- |
91 |
- newconfd "${FILESDIR}/${PN}.conf.2" ${PN} |
92 |
- newinitd "${FILESDIR}/${PN}.init.2" ${PN} |
93 |
- |
94 |
- systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf |
95 |
- systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service |
96 |
-} |
97 |
- |
98 |
-pkg_postinst() { |
99 |
- elog |
100 |
- elog "You may create multiple instances of ${PN} by" |
101 |
- elog "symlinking the init script:" |
102 |
- elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance" |
103 |
- elog |
104 |
- elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts" |
105 |
- elog "from /etc/elasticsearch into the configuration directory of the instance:" |
106 |
- elog "/etc/${PN}/instance" |
107 |
- elog |
108 |
-} |
109 |
|
110 |
diff --git a/app-misc/elasticsearch/elasticsearch-6.2.4.ebuild b/app-misc/elasticsearch/elasticsearch-6.2.4.ebuild |
111 |
deleted file mode 100644 |
112 |
index ad26d333245..00000000000 |
113 |
--- a/app-misc/elasticsearch/elasticsearch-6.2.4.ebuild |
114 |
+++ /dev/null |
115 |
@@ -1,72 +0,0 @@ |
116 |
-# Copyright 1999-2018 Gentoo Foundation |
117 |
-# Distributed under the terms of the GNU General Public License v2 |
118 |
- |
119 |
-EAPI=6 |
120 |
- |
121 |
-inherit systemd user |
122 |
- |
123 |
-DESCRIPTION="Open Source, Distributed, RESTful, Search Engine" |
124 |
-HOMEPAGE="https://www.elastic.co/products/elasticsearch" |
125 |
-SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz" |
126 |
-LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain" |
127 |
-SLOT="0" |
128 |
-KEYWORDS="~amd64" |
129 |
- |
130 |
-RDEPEND="virtual/jre:1.8" |
131 |
- |
132 |
-pkg_setup() { |
133 |
- enewgroup ${PN} |
134 |
- enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN} |
135 |
-} |
136 |
- |
137 |
-src_prepare() { |
138 |
- default |
139 |
- |
140 |
- rm -v bin/*.{bat,exe} LICENSE.txt || die |
141 |
-} |
142 |
- |
143 |
-src_install() { |
144 |
- keepdir /etc/${PN} |
145 |
- keepdir /etc/${PN}/scripts |
146 |
- |
147 |
- insinto /etc/${PN} |
148 |
- doins -r config/. |
149 |
- rm -rv config || die |
150 |
- |
151 |
- fowners root:${PN} /etc/${PN} |
152 |
- fperms 2750 /etc/${PN} |
153 |
- |
154 |
- insinto /usr/share/${PN} |
155 |
- doins -r . |
156 |
- |
157 |
- exeinto /usr/share/${PN}/bin |
158 |
- doexe "${FILESDIR}/elasticsearch-systemd-pre-exec" |
159 |
- |
160 |
- chmod +x "${ED}"/usr/share/${PN}/bin/* || die |
161 |
- |
162 |
- keepdir /var/{lib,log}/${PN} |
163 |
- fowners ${PN}:${PN} /var/{lib,log}/${PN} |
164 |
- fperms 0750 /var/{lib,log}/${PN} |
165 |
- dodir /usr/share/${PN}/plugins |
166 |
- |
167 |
- insinto /etc/sysctl.d |
168 |
- newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf |
169 |
- |
170 |
- newconfd "${FILESDIR}/${PN}.conf.3" ${PN} |
171 |
- newinitd "${FILESDIR}/${PN}.init.3" ${PN} |
172 |
- |
173 |
- systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf |
174 |
- systemd_newunit "${FILESDIR}"/${PN}.service.2 ${PN}.service |
175 |
-} |
176 |
- |
177 |
-pkg_postinst() { |
178 |
- elog |
179 |
- elog "You may create multiple instances of ${PN} by" |
180 |
- elog "symlinking the init script:" |
181 |
- elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance" |
182 |
- elog |
183 |
- elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts" |
184 |
- elog "from /etc/elasticsearch into the configuration directory of the instance:" |
185 |
- elog "/etc/${PN}/instance" |
186 |
- elog |
187 |
-} |
188 |
|
189 |
diff --git a/app-misc/elasticsearch/elasticsearch-6.3.1-r1.ebuild b/app-misc/elasticsearch/elasticsearch-6.3.1-r1.ebuild |
190 |
deleted file mode 100644 |
191 |
index 1a6bec30a73..00000000000 |
192 |
--- a/app-misc/elasticsearch/elasticsearch-6.3.1-r1.ebuild |
193 |
+++ /dev/null |
194 |
@@ -1,77 +0,0 @@ |
195 |
-# Copyright 1999-2018 Gentoo Foundation |
196 |
-# Distributed under the terms of the GNU General Public License v2 |
197 |
- |
198 |
-EAPI=6 |
199 |
- |
200 |
-inherit systemd user |
201 |
- |
202 |
-DESCRIPTION="Open Source, Distributed, RESTful, Search Engine" |
203 |
-HOMEPAGE="https://www.elastic.co/products/elasticsearch" |
204 |
-SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${PN}-oss-${PV}.tar.gz" |
205 |
-LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain" |
206 |
-SLOT="0" |
207 |
-KEYWORDS="~amd64" |
208 |
- |
209 |
-RDEPEND="virtual/jre:1.8" |
210 |
- |
211 |
-pkg_setup() { |
212 |
- enewgroup ${PN} |
213 |
- enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN} |
214 |
-} |
215 |
- |
216 |
-src_prepare() { |
217 |
- default |
218 |
- |
219 |
- rm -v bin/*.{bat,exe} LICENSE.txt || die |
220 |
-} |
221 |
- |
222 |
-src_install() { |
223 |
- keepdir /etc/${PN} |
224 |
- keepdir /etc/${PN}/scripts |
225 |
- |
226 |
- insinto /etc/${PN} |
227 |
- doins -r config/. |
228 |
- rm -rv config || die |
229 |
- |
230 |
- fowners root:${PN} /etc/${PN} |
231 |
- fperms 2750 /etc/${PN} |
232 |
- |
233 |
- insinto /usr/share/${PN} |
234 |
- doins -r . |
235 |
- |
236 |
- exeinto /usr/share/${PN}/bin |
237 |
- doexe "${FILESDIR}/elasticsearch-systemd-pre-exec" |
238 |
- |
239 |
- chmod +x "${ED}"/usr/share/${PN}/bin/* || die |
240 |
- |
241 |
- keepdir /var/{lib,log}/${PN} |
242 |
- fowners ${PN}:${PN} /var/{lib,log}/${PN} |
243 |
- fperms 0750 /var/{lib,log}/${PN} |
244 |
- dodir /usr/share/${PN}/plugins |
245 |
- |
246 |
- insinto /etc/sysctl.d |
247 |
- newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf |
248 |
- |
249 |
- newconfd "${FILESDIR}/${PN}.conf.3" ${PN} |
250 |
- newinitd "${FILESDIR}/${PN}.init.4" ${PN} |
251 |
- |
252 |
- systemd_install_serviced "${FILESDIR}/${PN}.service.conf" |
253 |
- systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf |
254 |
- systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service |
255 |
-} |
256 |
- |
257 |
-pkg_postinst() { |
258 |
- elog |
259 |
- elog "You may create multiple instances of ${PN} by" |
260 |
- elog "symlinking the init script:" |
261 |
- elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance" |
262 |
- elog |
263 |
- elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts" |
264 |
- elog "from /etc/${PN} into the configuration directory of the instance:" |
265 |
- elog "/etc/${PN}/instance" |
266 |
- elog |
267 |
- ewarn "Please make sure you have proper permissions on /etc/${PN}" |
268 |
- ewarn "prior to keystore generation or you may experience startup fails." |
269 |
- ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}" |
270 |
- ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore" |
271 |
-} |
272 |
|
273 |
diff --git a/app-misc/elasticsearch/elasticsearch-6.3.1-r2.ebuild b/app-misc/elasticsearch/elasticsearch-6.3.1-r2.ebuild |
274 |
deleted file mode 100644 |
275 |
index 1b8deddcf8c..00000000000 |
276 |
--- a/app-misc/elasticsearch/elasticsearch-6.3.1-r2.ebuild |
277 |
+++ /dev/null |
278 |
@@ -1,77 +0,0 @@ |
279 |
-# Copyright 1999-2018 Gentoo Foundation |
280 |
-# Distributed under the terms of the GNU General Public License v2 |
281 |
- |
282 |
-EAPI=6 |
283 |
- |
284 |
-inherit systemd user |
285 |
- |
286 |
-DESCRIPTION="Open Source, Distributed, RESTful, Search Engine" |
287 |
-HOMEPAGE="https://www.elastic.co/products/elasticsearch" |
288 |
-SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${PN}-oss-${PV}.tar.gz" |
289 |
-LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain" |
290 |
-SLOT="0" |
291 |
-KEYWORDS="~amd64" |
292 |
- |
293 |
-RDEPEND="virtual/jre:1.8" |
294 |
- |
295 |
-pkg_setup() { |
296 |
- enewgroup ${PN} |
297 |
- enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN} |
298 |
-} |
299 |
- |
300 |
-src_prepare() { |
301 |
- default |
302 |
- |
303 |
- rm -v bin/*.{bat,exe} LICENSE.txt || die |
304 |
-} |
305 |
- |
306 |
-src_install() { |
307 |
- keepdir /etc/${PN} |
308 |
- keepdir /etc/${PN}/scripts |
309 |
- |
310 |
- insinto /etc/${PN} |
311 |
- doins -r config/. |
312 |
- rm -rv config || die |
313 |
- |
314 |
- fowners root:${PN} /etc/${PN} |
315 |
- fperms 2750 /etc/${PN} |
316 |
- |
317 |
- insinto /usr/share/${PN} |
318 |
- doins -r . |
319 |
- |
320 |
- exeinto /usr/share/${PN}/bin |
321 |
- doexe "${FILESDIR}/elasticsearch-systemd-pre-exec" |
322 |
- |
323 |
- chmod +x "${ED}"/usr/share/${PN}/bin/* || die |
324 |
- |
325 |
- keepdir /var/{lib,log}/${PN} |
326 |
- fowners ${PN}:${PN} /var/{lib,log}/${PN} |
327 |
- fperms 0750 /var/{lib,log}/${PN} |
328 |
- dodir /usr/share/${PN}/plugins |
329 |
- |
330 |
- insinto /etc/sysctl.d |
331 |
- newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf |
332 |
- |
333 |
- newconfd "${FILESDIR}/${PN}.conf.3" ${PN} |
334 |
- newinitd "${FILESDIR}/${PN}.init.5" ${PN} |
335 |
- |
336 |
- systemd_install_serviced "${FILESDIR}/${PN}.service.conf" |
337 |
- systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf |
338 |
- systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service |
339 |
-} |
340 |
- |
341 |
-pkg_postinst() { |
342 |
- elog |
343 |
- elog "You may create multiple instances of ${PN} by" |
344 |
- elog "symlinking the init script:" |
345 |
- elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance" |
346 |
- elog |
347 |
- elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts" |
348 |
- elog "from /etc/${PN} into the configuration directory of the instance:" |
349 |
- elog "/etc/${PN}/instance" |
350 |
- elog |
351 |
- ewarn "Please make sure you have proper permissions on /etc/${PN}" |
352 |
- ewarn "prior to keystore generation or you may experience startup fails." |
353 |
- ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}" |
354 |
- ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore" |
355 |
-} |