1 |
commit: 4382bfac728483fd5cd87de0bef7f719efb488d4 |
2 |
Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jul 29 19:36:49 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 30 18:16:47 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4382bfac |
7 |
|
8 |
app-misc/elasticsearch: drop old |
9 |
|
10 |
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com> |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
app-misc/elasticsearch/Manifest | 4 -- |
14 |
app-misc/elasticsearch/elasticsearch-6.8.8.ebuild | 88 ----------------------- |
15 |
app-misc/elasticsearch/elasticsearch-7.8.0.ebuild | 83 --------------------- |
16 |
3 files changed, 175 deletions(-) |
17 |
|
18 |
diff --git a/app-misc/elasticsearch/Manifest b/app-misc/elasticsearch/Manifest |
19 |
index 8f74a96b910..91ebd917e00 100644 |
20 |
--- a/app-misc/elasticsearch/Manifest |
21 |
+++ b/app-misc/elasticsearch/Manifest |
22 |
@@ -1,12 +1,8 @@ |
23 |
DIST elasticsearch-6.8.11.tar.gz 149101114 BLAKE2B 7d6550f817c9b367a096dd0637c3d4dca6f68b95f2d3554273e5c32b5d72b6583c5ff84d2811b0cb191d2fc91d7f8bf5dbaeda3bacb94feedb018d097006f819 SHA512 a2dcbaac26b3f35437f967848fe7bfb1b873b3051bd976ccef56bd4e9f99099d8b497d60da892151939c6f63ecccbee44f550e313474cf132407d145cd1667e9 |
24 |
-DIST elasticsearch-6.8.8.tar.gz 149927766 BLAKE2B 329bb778100125d9624acc84252fe8281cd4ee3823fbafeabf8aeeca529c3cd8902b197d5e5a852d55f7a56ec410312e3932b34736607890dedad9e12c3afe2e SHA512 c703d6230a42b77fb0f169158afbc18517118375e341ef889c231acc0f096a44716ba4fc1a2558fd000b0ceff4d9c3aff2f2c792f2c2ae92f0e7f82c6a70eaec |
25 |
DIST elasticsearch-7.6.2-no-jdk-linux-x86_64.tar.gz 148140124 BLAKE2B 9a850011533052d7a4041484936dfa2c8fe7f7976314147bc2b1d5f239bbdfe68a3593d3e0d2bb4d709a71e81aa7c200f9530921dab9d50c0ab3e349f4769ffb SHA512 aa5f499b26e92e19a673093fe2ff73c1c03a8da029b59cb83db43f9e2dfd7c650ee6a122bcf647b7e83f658ad9b9cc64092e6e7c1b4f8476f2973a6006b8df3c |
26 |
DIST elasticsearch-7.7.0-no-jdk-linux-x86_64.tar.gz 157716656 BLAKE2B 812c4db511f844fb23cb79bdfe3778281f1b6dad6a45553380829e330231304ce0e18eb975867e8474f652a63bdab2f4fb8c14158753aa8b29db5debfd3f00ae SHA512 a8d6cb7186301f50ba72ee5cde6c26390bdb6a8c13d902a75c63038b3dbb3cd7e544bbf6934d88324d722a213b7bf2efc0b27f9cae64428e6842d640bda5ee54 |
27 |
-DIST elasticsearch-7.8.0-no-jdk-linux-x86_64.tar.gz 162422169 BLAKE2B 035b8405cfad0cc440c5732526b0b9bbf42466598a921c42e4964ffb441475244f6b45803556a93a207e63dfdbfb92eef731add3d71ebe737cdef70e0cb50d34 SHA512 0fdc8e3d9c83c35bc1a01ceeabdbcfe192c6a0243a2def923a14198d5e41ba804725ac39a2b6287a932b4807b3cb359adb0348fd96506d556d4cb280b6c01071 |
28 |
DIST elasticsearch-7.8.1-no-jdk-linux-x86_64.tar.gz 161598020 BLAKE2B 7950d9570760683a939c961c0babdf66a57adfc49d541d75716ce1dc379f211f60edceae06855de0f4bfe50c9a6b1ca0296aa58fe324a28b009fb8cfe5c2a5d7 SHA512 1fd0dc28cc12f4cafe8499ca2894a00f0aef506429a3cd5fa4c9ec006e4dd281099bd0f41f1e0ff9d67ef25d5d1cf3be7f6c43c1758ef3464ee4b650fb560842 |
29 |
DIST elasticsearch-oss-6.8.11.tar.gz 68247334 BLAKE2B d35bd5b2cec24923b03fe21e5f31055d0380c71908f9610d9897d7b97e599b65fbc98d04e905f35e7042f3b2697e89f9e927cf1b2b5b652f3a0e8731caaeaf54 SHA512 f92bd4dc68d8a42c1c5a8f424e375e4996d14d8860aef2e9a3208613a438543647e9999cdaa18870de4fb1f7d514929e535891e5cd6b8a668b2c90dab0106c51 |
30 |
-DIST elasticsearch-oss-6.8.8.tar.gz 68655829 BLAKE2B 808b9dd49f7d9c9968e6e1c5dcd8d1150d3638b8380ad0608f1e85f00d98c6da6d0c9c324f244b510d35ecec0f37b40e29fd0761b83118e137cf394c231cc0e8 SHA512 7c5972d365a8a2a80c351039ff54a274bb1f95379d6f4feab4fa01360541bffa58409ffac6030acade24be54d1cc57e7ea24a7cf29531aba35a565718e30288d |
31 |
DIST elasticsearch-oss-7.6.2-no-jdk-linux-x86_64.tar.gz 72570377 BLAKE2B 5a5ec3e79cba236dd4a6ffd279b0fca4ad882c877b418261b0314d8101885a2d2496c837b44e5dbefe5ed994aeeca488a8f08a2ba26c4b44b156c180dae6004c SHA512 6197a0b62f577cd0692c1fb97a473a9971f8fef383dc6ef618035785dbc662947d2adbc425ce130ef531cbfaf9add9ed5da5a698387e770c49af820644d67e72 |
32 |
DIST elasticsearch-oss-7.7.0-no-jdk-linux-x86_64.tar.gz 73216528 BLAKE2B f0f1a3d3347ea37703e90bd896b24f6e3c58406d9fb20f3607a4d08eee325b5ae293db48d1afdc208468ee775b9085a28f39f2e175b67e4881bfb61d5cb85a9a SHA512 f9b323cff078a0dc856f99efd164775a9cd0718bb0ddb6c4d4817fa53cae71748f1aec5158afa45d4b29076043cbada9743a996e685439436e93d94a9eff2768 |
33 |
-DIST elasticsearch-oss-7.8.0-no-jdk-linux-x86_64.tar.gz 75549734 BLAKE2B 8223e0083d9a5199457957d22c8413f6d0d90c5c21bdcf4d9b573a7f3dc09dfce6c7dce5959e23c3d9c543df21d7fbbe1f7ba1124d40966d13cd7ddf8aeb4813 SHA512 4fe29f5395d938cf51d23ef7531f4d1b4c4a052d842ba2f77fe822a0986703315b2211602bf250170b99bc672fc0de09f0d1a04752322f398b6a55a057d9090b |
34 |
DIST elasticsearch-oss-7.8.1-no-jdk-linux-x86_64.tar.gz 75134201 BLAKE2B a3c88ad5f94a5cebefc1a5a3a913a62bc6c8751a78c179a05667f47da71c41b480edf8d7f962ad34aa8ab0eac8168d7b8cd57f33068c17ae7e0a8d5414fbc924 SHA512 f0caa06c1172b25d8f9cb9ddced72185aaaabb1b6d7f31fe1ba67172346236651ca3bc560e7ef206b4bf9521f228d46ee98df2e41b129253215135b583086ccc |
35 |
|
36 |
diff --git a/app-misc/elasticsearch/elasticsearch-6.8.8.ebuild b/app-misc/elasticsearch/elasticsearch-6.8.8.ebuild |
37 |
deleted file mode 100644 |
38 |
index 6191d3d9e2e..00000000000 |
39 |
--- a/app-misc/elasticsearch/elasticsearch-6.8.8.ebuild |
40 |
+++ /dev/null |
41 |
@@ -1,88 +0,0 @@ |
42 |
-# Copyright 1999-2020 Gentoo Authors |
43 |
-# Distributed under the terms of the GNU General Public License v2 |
44 |
- |
45 |
-EAPI=7 |
46 |
- |
47 |
-inherit systemd |
48 |
- |
49 |
-DESCRIPTION="Open Source, Distributed, RESTful, Search Engine" |
50 |
-HOMEPAGE="https://www.elastic.co/products/elasticsearch" |
51 |
-SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz ) |
52 |
- !x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${PN}-oss-${PV}.tar.gz )" |
53 |
-LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain x-pack? ( Elastic )" |
54 |
-SLOT="0" |
55 |
-KEYWORDS="~amd64" |
56 |
-IUSE="x-pack" |
57 |
- |
58 |
-RDEPEND="acct-group/elasticsearch |
59 |
- acct-user/elasticsearch |
60 |
- virtual/jre:1.8" |
61 |
- |
62 |
-QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*" |
63 |
- |
64 |
-src_prepare() { |
65 |
- default |
66 |
- |
67 |
- rm bin/*.{bat,exe} LICENSE.txt NOTICE.txt || die |
68 |
- rmdir logs || die |
69 |
- |
70 |
- if use x-pack; then |
71 |
- rm bin/x-pack/*.bat || die |
72 |
- rm -r modules/x-pack-ml/platform/{darwin,windows}-x86_64 || die |
73 |
- fi |
74 |
-} |
75 |
- |
76 |
-src_install() { |
77 |
- keepdir /etc/${PN} |
78 |
- keepdir /etc/${PN}/scripts |
79 |
- |
80 |
- insinto /etc/${PN} |
81 |
- doins -r config/. |
82 |
- rm -r config || die |
83 |
- |
84 |
- fowners root:${PN} /etc/${PN} |
85 |
- fperms 2750 /etc/${PN} |
86 |
- |
87 |
- insinto /usr/share/${PN} |
88 |
- doins -r . |
89 |
- |
90 |
- exeinto /usr/share/${PN}/bin |
91 |
- doexe "${FILESDIR}/elasticsearch-systemd-pre-exec" |
92 |
- |
93 |
- chmod +x "${ED}"/usr/share/${PN}/bin/* || die |
94 |
- |
95 |
- if use x-pack; then |
96 |
- chmod +x "${ED}"/usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin/* || die |
97 |
- fi |
98 |
- |
99 |
- keepdir /var/{lib,log}/${PN} |
100 |
- fowners ${PN}:${PN} /var/{lib,log}/${PN} |
101 |
- fperms 0750 /var/{lib,log}/${PN} |
102 |
- dodir /usr/share/${PN}/plugins |
103 |
- |
104 |
- insinto /etc/sysctl.d |
105 |
- newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf |
106 |
- |
107 |
- newconfd "${FILESDIR}/${PN}.conf.3" ${PN} |
108 |
- newinitd "${FILESDIR}/${PN}.init.6" ${PN} |
109 |
- |
110 |
- systemd_install_serviced "${FILESDIR}/${PN}.service.conf" |
111 |
- systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf |
112 |
- systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service |
113 |
-} |
114 |
- |
115 |
-pkg_postinst() { |
116 |
- elog |
117 |
- elog "You may create multiple instances of ${PN} by" |
118 |
- elog "symlinking the init script:" |
119 |
- elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance" |
120 |
- elog |
121 |
- elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts" |
122 |
- elog "from /etc/${PN} into the configuration directory of the instance:" |
123 |
- elog "/etc/${PN}/instance" |
124 |
- elog |
125 |
- ewarn "Please make sure you have proper permissions on /etc/${PN}" |
126 |
- ewarn "prior to keystore generation or you may experience startup fails." |
127 |
- ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}" |
128 |
- ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore" |
129 |
-} |
130 |
|
131 |
diff --git a/app-misc/elasticsearch/elasticsearch-7.8.0.ebuild b/app-misc/elasticsearch/elasticsearch-7.8.0.ebuild |
132 |
deleted file mode 100644 |
133 |
index 2155270debe..00000000000 |
134 |
--- a/app-misc/elasticsearch/elasticsearch-7.8.0.ebuild |
135 |
+++ /dev/null |
136 |
@@ -1,83 +0,0 @@ |
137 |
-# Copyright 1999-2020 Gentoo Authors |
138 |
-# Distributed under the terms of the GNU General Public License v2 |
139 |
- |
140 |
-EAPI=7 |
141 |
- |
142 |
-inherit systemd |
143 |
- |
144 |
-DESCRIPTION="Open Source, Distributed, RESTful, Search Engine" |
145 |
-HOMEPAGE="https://www.elastic.co/products/elasticsearch" |
146 |
-SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${P}-no-jdk-linux-x86_64.tar.gz ) |
147 |
- !x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${PN}-oss-${PV}-no-jdk-linux-x86_64.tar.gz )" |
148 |
-LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain x-pack? ( Elastic )" |
149 |
-SLOT="0" |
150 |
-KEYWORDS="~amd64" |
151 |
-IUSE="x-pack" |
152 |
- |
153 |
-RDEPEND="acct-group/elasticsearch |
154 |
- acct-user/elasticsearch |
155 |
- virtual/jre" |
156 |
- |
157 |
-QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*" |
158 |
- |
159 |
-src_prepare() { |
160 |
- default |
161 |
- |
162 |
- rm LICENSE.txt NOTICE.txt || die |
163 |
- rmdir logs || die |
164 |
-} |
165 |
- |
166 |
-src_install() { |
167 |
- keepdir /etc/${PN} |
168 |
- keepdir /etc/${PN}/scripts |
169 |
- |
170 |
- insinto /etc/${PN} |
171 |
- doins -r config/. |
172 |
- rm -r config || die |
173 |
- |
174 |
- fowners root:${PN} /etc/${PN} |
175 |
- fperms 2750 /etc/${PN} |
176 |
- |
177 |
- insinto /usr/share/${PN} |
178 |
- doins -r . |
179 |
- |
180 |
- exeinto /usr/share/${PN}/bin |
181 |
- doexe "${FILESDIR}/elasticsearch-systemd-pre-exec" |
182 |
- |
183 |
- chmod +x "${ED}"/usr/share/${PN}/bin/* || die |
184 |
- |
185 |
- if use x-pack; then |
186 |
- chmod +x "${ED}"/usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin/* || die |
187 |
- fi |
188 |
- |
189 |
- keepdir /var/{lib,log}/${PN} |
190 |
- fowners ${PN}:${PN} /var/{lib,log}/${PN} |
191 |
- fperms 0750 /var/{lib,log}/${PN} |
192 |
- dodir /usr/share/${PN}/plugins |
193 |
- |
194 |
- insinto /etc/sysctl.d |
195 |
- newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf |
196 |
- |
197 |
- newconfd "${FILESDIR}/${PN}.conf.3" ${PN} |
198 |
- newinitd "${FILESDIR}/${PN}.init.7" ${PN} |
199 |
- |
200 |
- systemd_install_serviced "${FILESDIR}/${PN}.service.conf" |
201 |
- systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf |
202 |
- systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service |
203 |
-} |
204 |
- |
205 |
-pkg_postinst() { |
206 |
- elog |
207 |
- elog "You may create multiple instances of ${PN} by" |
208 |
- elog "symlinking the init script:" |
209 |
- elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance" |
210 |
- elog |
211 |
- elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts" |
212 |
- elog "from /etc/${PN} into the configuration directory of the instance:" |
213 |
- elog "/etc/${PN}/instance" |
214 |
- elog |
215 |
- ewarn "Please make sure you have proper permissions on /etc/${PN}" |
216 |
- ewarn "prior to keystore generation or you may experience startup fails." |
217 |
- ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}" |
218 |
- ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore" |
219 |
-} |