1 |
commit: 165b072b3d0fc34d1166da6fa52291e97a400a96 |
2 |
Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Jan 17 14:51:06 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 17 19:32:34 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=165b072b |
7 |
|
8 |
app-misc/elasticsearch: drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.55, Repoman-2.3.12 |
11 |
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com> |
12 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
13 |
|
14 |
app-misc/elasticsearch/Manifest | 1 - |
15 |
app-misc/elasticsearch/elasticsearch-5.6.13.ebuild | 69 ---------------------- |
16 |
2 files changed, 70 deletions(-) |
17 |
|
18 |
diff --git a/app-misc/elasticsearch/Manifest b/app-misc/elasticsearch/Manifest |
19 |
index 6f292367609..5fbc256cb2d 100644 |
20 |
--- a/app-misc/elasticsearch/Manifest |
21 |
+++ b/app-misc/elasticsearch/Manifest |
22 |
@@ -1,4 +1,3 @@ |
23 |
-DIST elasticsearch-5.6.13.tar.gz 33894848 BLAKE2B d6b486154c4b4df155e443adee7d07200822f4a14f9cc50753e5b4621630c3b5de7b6b3d3ad7745b898f5a24c02aaddbec05aaf0f5d38fbda8acd78eed433939 SHA512 dbda463f0fba0b921ac65ca8743f53cb21410001cb6113aeaa2bfe3e22fbdac9f9010a3bdd2df5b8bc6c7cd59513d9fbac8b408d22d2b885ff5dadbb463b7981 |
24 |
DIST elasticsearch-5.6.14.tar.gz 33898195 BLAKE2B d153ec39f2e74f9a600f6a12d609d24999c08d0af4da521865f1c8fa22c642d57bcf24f4907e390399c538bc14bef17862759be7e9b5362a283f9aff1d3ef672 SHA512 d384797c652d5ceb2e081c3a05d62a8af3c543e818fa501bc0caff0826e6a56447f0dfc03d1e7391f7eb043e500c8a9942083bb141d18a02d464c5e5d8011bb2 |
25 |
DIST elasticsearch-6.3.2.tar.gz 91452574 BLAKE2B c422990fabad70e6e77e8f59f6fb9e9bf5a84eb7e6b8b67dfd91f53e474b1b501b3a1d5ea8f54f0793631504f194a116e816eb3558782b67c8dadecbc2711ee5 SHA512 954cd1e16a5f2e0b0efaeb7e6b19c708d1588d30814a31defb09037c3b90f78c5e9dbd1ca9af9c700d517145a4279bacc1d8ce7cc6894fbe7bf71eec9ed3110d |
26 |
DIST elasticsearch-6.4.3.tar.gz 97872736 BLAKE2B e8c5db4f7238afccce4cf1ca0eced7b7e97891455cd28583eafd7ba028ba3cbc3596cedb2dc4267e677b3c7bbd459b8144284eca358f8c0e34a9a0b8a33426a8 SHA512 2f48720fd1644b1d0f103ca93bd19632c2a12bd3c94434ddf58bc692cb0b23631222f8d23cc0d0e85e271e11099fe0fc8aedf402906b76845ad680eb592f8987 |
27 |
|
28 |
diff --git a/app-misc/elasticsearch/elasticsearch-5.6.13.ebuild b/app-misc/elasticsearch/elasticsearch-5.6.13.ebuild |
29 |
deleted file mode 100644 |
30 |
index 32370ac9f8a..00000000000 |
31 |
--- a/app-misc/elasticsearch/elasticsearch-5.6.13.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,69 +0,0 @@ |
34 |
-# Copyright 1999-2018 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=6 |
38 |
- |
39 |
-inherit systemd user |
40 |
- |
41 |
-DESCRIPTION="Open Source, Distributed, RESTful, Search Engine" |
42 |
-HOMEPAGE="https://www.elastic.co/products/elasticsearch" |
43 |
-SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz" |
44 |
-LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="~amd64" |
47 |
- |
48 |
-RDEPEND="virtual/jre:1.8" |
49 |
- |
50 |
-pkg_setup() { |
51 |
- enewgroup ${PN} |
52 |
- enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN} |
53 |
-} |
54 |
- |
55 |
-src_prepare() { |
56 |
- default |
57 |
- |
58 |
- rm -v bin/*.{bat,exe} LICENSE.txt || die |
59 |
-} |
60 |
- |
61 |
-src_install() { |
62 |
- keepdir /etc/${PN} |
63 |
- keepdir /etc/${PN}/scripts |
64 |
- |
65 |
- insinto /etc/${PN} |
66 |
- doins -r config/. |
67 |
- rm -rv config || die |
68 |
- |
69 |
- insinto /usr/share/${PN} |
70 |
- doins -r . |
71 |
- |
72 |
- exeinto /usr/share/${PN}/bin |
73 |
- doexe "${FILESDIR}/elasticsearch-systemd-pre-exec" |
74 |
- |
75 |
- chmod +x "${ED}"/usr/share/${PN}/bin/* || die |
76 |
- |
77 |
- keepdir /var/{lib,log}/${PN} |
78 |
- fowners ${PN}:${PN} /var/{lib,log}/${PN} |
79 |
- fperms 0750 /var/{lib,log}/${PN} |
80 |
- dodir /usr/share/${PN}/plugins |
81 |
- |
82 |
- insinto /etc/sysctl.d |
83 |
- newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf |
84 |
- |
85 |
- newconfd "${FILESDIR}/${PN}.conf.2" ${PN} |
86 |
- newinitd "${FILESDIR}/${PN}.init.2" ${PN} |
87 |
- |
88 |
- systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf |
89 |
- systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service |
90 |
-} |
91 |
- |
92 |
-pkg_postinst() { |
93 |
- elog |
94 |
- elog "You may create multiple instances of ${PN} by" |
95 |
- elog "symlinking the init script:" |
96 |
- elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance" |
97 |
- elog |
98 |
- elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts" |
99 |
- elog "from /etc/elasticsearch into the configuration directory of the instance:" |
100 |
- elog "/etc/${PN}/instance" |
101 |
- elog |
102 |
-} |