1 |
commit: 509b4e69d1d93d815b258bc906a0dec681fe6321 |
2 |
Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Oct 2 09:37:48 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 2 09:37:48 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=509b4e69 |
7 |
|
8 |
app-misc/elasticsearch: drop old |
9 |
|
10 |
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com> |
11 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/10001 |
13 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
14 |
|
15 |
app-misc/elasticsearch/Manifest | 3 - |
16 |
app-misc/elasticsearch/elasticsearch-5.6.11.ebuild | 69 ---------------- |
17 |
app-misc/elasticsearch/elasticsearch-6.4.0.ebuild | 91 ---------------------- |
18 |
3 files changed, 163 deletions(-) |
19 |
|
20 |
diff --git a/app-misc/elasticsearch/Manifest b/app-misc/elasticsearch/Manifest |
21 |
index 23f941474c4..01906eb157b 100644 |
22 |
--- a/app-misc/elasticsearch/Manifest |
23 |
+++ b/app-misc/elasticsearch/Manifest |
24 |
@@ -1,8 +1,5 @@ |
25 |
-DIST elasticsearch-5.6.11.tar.gz 33864199 BLAKE2B 08884e6367007835ec1d248912d4127ade4d5fff85927df86ee7de4ebf5ee9bc9639940c89b71739cf17fd389d0c47a23cc48ccd1777b94830f1614663fd7487 SHA512 cc0ec89889e23d7aa3e03a2bb76bf6bb40b3084a8a13da99851c4770533048283d36b4c13322b4689480914e5e57c4c998d4abba44d8caa44ffdb21edb207a9c |
26 |
DIST elasticsearch-5.6.12.tar.gz 33861038 BLAKE2B 548513d568ffad6373f15671934cce84217d59b8a036847685ad055681f816d3a75fb6ba2c60c7965402e791d6f5b1a11fe8918bca9f4a60fb8e9d43809da0a2 SHA512 bc2436ff34bca652f6a6462920921dce3b085300787e02191c0673d7b3789c0cf81681108573f0ec4dc945e91a2e6ae19898d1b606ca35694bfde6d9cd5762cd |
27 |
DIST elasticsearch-6.3.2.tar.gz 91452574 BLAKE2B c422990fabad70e6e77e8f59f6fb9e9bf5a84eb7e6b8b67dfd91f53e474b1b501b3a1d5ea8f54f0793631504f194a116e816eb3558782b67c8dadecbc2711ee5 SHA512 954cd1e16a5f2e0b0efaeb7e6b19c708d1588d30814a31defb09037c3b90f78c5e9dbd1ca9af9c700d517145a4279bacc1d8ce7cc6894fbe7bf71eec9ed3110d |
28 |
-DIST elasticsearch-6.4.0.tar.gz 97901357 BLAKE2B 60263c3b68a91fba2341d45162cac328e5561cfe046bcc0dfff3eb09d2e487374c5e8481b460a54861df7b2c5774ac2cc6c884fc6b5455fb40f0c89848c0ad0b SHA512 6f465378a51c487f1f6a84a0843ac1038db60170ee8a5d96874a759f6dbbf2de9f7bcbbf55616f49f28f1098c82f2e585c917267d02b8b1f43627a1984b3da66 |
29 |
DIST elasticsearch-6.4.1.tar.gz 97924081 BLAKE2B 179433ebe9fca80517057a0379d67545bfd42af741ca64fc2e5b307f9071634d20f297c46d43cfbcfa8dcc45f269c5db32b70656bd4c3035a47aacae861875a2 SHA512 a023a6db5554dee6f10718dfa297aa06a735c7857542c2db80fa5c2b86ff4bf405bb8167578c5b60741ad05ed96a64b54bc71d128a0ff955468b0449588b053c |
30 |
DIST elasticsearch-oss-6.3.2.tar.gz 29418577 BLAKE2B 152640dc01a10f44ba43f87f68361cc0dd5e1cf54d0ff92377f3acd1a12a247f002ffe2d003cc53760e891278249c10b1d6d4eb978b0bb1c1ebf8879a2cfcb9a SHA512 3c51a860414f7e55900b1d9a350bdbc3e673c8445e316454c2480315b4b9fc08df58090c6281cecc3ae63d12d78d6bd58e228b3371aa325db799ce18758a21f4 |
31 |
-DIST elasticsearch-oss-6.4.0.tar.gz 33727061 BLAKE2B dd0ff95bb124103ca340b480c5192c9919ef226d4c3ef1b61accd0df2ee9b60a8215693b3db0fa327a4d6791de66746654144a9172210687e8a2efa9f6f4dde3 SHA512 0197dcf24bdb81cbcfa492d899363528816143962abd1925a5092e8177c25e8ca490afe5868b41057b3cded296f59f38ed11ba0156a820b6c877c69a5888846c |
32 |
DIST elasticsearch-oss-6.4.1.tar.gz 33725674 BLAKE2B e24809eab213aa34499dcfb1e9a9a2b37d85346d4647282de51c95b17f0ae693f9b48e1649658d700ed8e3d547fd22b5f2276c3b4a2b78aa6c129b8bd1eb096b SHA512 5036adbb091dff95416f4f4b24f615475d7c8c058fcda733ec49a9867b7dafcb90c430f486c667cdc30958280814e609c3f0bc49c20bdb06c0a22d01504a3873 |
33 |
|
34 |
diff --git a/app-misc/elasticsearch/elasticsearch-5.6.11.ebuild b/app-misc/elasticsearch/elasticsearch-5.6.11.ebuild |
35 |
deleted file mode 100644 |
36 |
index 26cfa98675c..00000000000 |
37 |
--- a/app-misc/elasticsearch/elasticsearch-5.6.11.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.4.0.ebuild b/app-misc/elasticsearch/elasticsearch-6.4.0.ebuild |
111 |
deleted file mode 100644 |
112 |
index 2a715bac374..00000000000 |
113 |
--- a/app-misc/elasticsearch/elasticsearch-6.4.0.ebuild |
114 |
+++ /dev/null |
115 |
@@ -1,91 +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="x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz ) |
126 |
- !x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${PN}-oss-${PV}.tar.gz )" |
127 |
-LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain x-pack? ( Elastic )" |
128 |
-SLOT="0" |
129 |
-KEYWORDS="~amd64" |
130 |
-IUSE="x-pack" |
131 |
- |
132 |
-RDEPEND="virtual/jre:1.8" |
133 |
- |
134 |
-QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*" |
135 |
- |
136 |
-pkg_setup() { |
137 |
- enewgroup ${PN} |
138 |
- enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN} |
139 |
-} |
140 |
- |
141 |
-src_prepare() { |
142 |
- default |
143 |
- |
144 |
- rm bin/*.{bat,exe} LICENSE.txt NOTICE.txt || die |
145 |
- rmdir logs || die |
146 |
- |
147 |
- if use x-pack; then |
148 |
- rm bin/x-pack/*.bat || die |
149 |
- rm -r modules/x-pack-ml/platform/{darwin,windows}-x86_64 || die |
150 |
- fi |
151 |
-} |
152 |
- |
153 |
-src_install() { |
154 |
- keepdir /etc/${PN} |
155 |
- keepdir /etc/${PN}/scripts |
156 |
- |
157 |
- insinto /etc/${PN} |
158 |
- doins -r config/. |
159 |
- rm -r config || die |
160 |
- |
161 |
- fowners root:${PN} /etc/${PN} |
162 |
- fperms 2750 /etc/${PN} |
163 |
- |
164 |
- insinto /usr/share/${PN} |
165 |
- doins -r . |
166 |
- |
167 |
- exeinto /usr/share/${PN}/bin |
168 |
- doexe "${FILESDIR}/elasticsearch-systemd-pre-exec" |
169 |
- |
170 |
- chmod +x "${ED}"/usr/share/${PN}/bin/* || die |
171 |
- |
172 |
- if use x-pack; then |
173 |
- chmod +x "${ED}"/usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin/* || die |
174 |
- fi |
175 |
- |
176 |
- keepdir /var/{lib,log}/${PN} |
177 |
- fowners ${PN}:${PN} /var/{lib,log}/${PN} |
178 |
- fperms 0750 /var/{lib,log}/${PN} |
179 |
- dodir /usr/share/${PN}/plugins |
180 |
- |
181 |
- insinto /etc/sysctl.d |
182 |
- newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf |
183 |
- |
184 |
- newconfd "${FILESDIR}/${PN}.conf.3" ${PN} |
185 |
- newinitd "${FILESDIR}/${PN}.init.5" ${PN} |
186 |
- |
187 |
- systemd_install_serviced "${FILESDIR}/${PN}.service.conf" |
188 |
- systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf |
189 |
- systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service |
190 |
-} |
191 |
- |
192 |
-pkg_postinst() { |
193 |
- elog |
194 |
- elog "You may create multiple instances of ${PN} by" |
195 |
- elog "symlinking the init script:" |
196 |
- elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance" |
197 |
- elog |
198 |
- elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts" |
199 |
- elog "from /etc/${PN} into the configuration directory of the instance:" |
200 |
- elog "/etc/${PN}/instance" |
201 |
- elog |
202 |
- ewarn "Please make sure you have proper permissions on /etc/${PN}" |
203 |
- ewarn "prior to keystore generation or you may experience startup fails." |
204 |
- ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}" |
205 |
- ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore" |
206 |
-} |