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: Tue, 30 Mar 2021 07:25:36
Message-Id: 1617089119.428fc43f340b1ee3728a93c1b715b7bb8191734e.juippis@gentoo
1 commit: 428fc43f340b1ee3728a93c1b715b7bb8191734e
2 Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Thu Mar 25 14:55:58 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 30 07:25:19 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=428fc43f
7
8 app-misc/elasticsearch: drop old
9
10 Bug: https://bugs.gentoo.org/770148
11 Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 app-misc/elasticsearch/Manifest | 4 -
15 app-misc/elasticsearch/elasticsearch-6.8.14.ebuild | 88 ----------------------
16 app-misc/elasticsearch/elasticsearch-7.9.3.ebuild | 86 ---------------------
17 3 files changed, 178 deletions(-)
18
19 diff --git a/app-misc/elasticsearch/Manifest b/app-misc/elasticsearch/Manifest
20 index 301e1e7feac..054f737244f 100644
21 --- a/app-misc/elasticsearch/Manifest
22 +++ b/app-misc/elasticsearch/Manifest
23 @@ -1,9 +1,5 @@
24 -DIST elasticsearch-6.8.14.tar.gz 149098495 BLAKE2B f1ccfcd9647a3584594a9db78f92488bc6bd5fe403c9b2cdff9001b87168136817084ce28eb8f14c6e54dd75b88118cf0eb6993e5502e74ecf826938f4c2ff57 SHA512 d7ca05707b9e3d8de19aaebc7811891a82897b2407f3de27ac95b2aad0d6669217c741e14bf768c3ea963977e3fa2ecc2f6d297aeafe985db52f6eb6780912b7
25 DIST elasticsearch-6.8.15.tar.gz 149102328 BLAKE2B 0ce9ba565d751cd27721f3d49dd24761937c3476cee4896ba1a4d84e4fc238296129481f18cad64270fe8af71a043c2e8e583df14f2a084850fb10c93fcea0ef SHA512 c62c4d9d1bb83e10d3e1079f56b834f2f89b1f712c29d9ce7e81786199c71d287ecbf6df158eca56a7af711eafe13dfb276e12b34e1a0a6cf6719e1fbb44a142
26 DIST elasticsearch-7.10.2-no-jdk-linux-x86_64.tar.gz 164380146 BLAKE2B 16797ed48c4cb6f91ed891014f275ad86a4852579232df1827413389fc9e505327412729f70783750252190a34b0e0d552ec0b5f25f3d0a811724191eccc6568 SHA512 bd3def00af04670ad04556c911ef8c68b639e1c3b621f36a8973d9700f95873d10bc706a4e3a98f892ac59c1b761d56035a236068d6958af772874e428940dc4
27 DIST elasticsearch-7.12.0-no-jdk-linux-x86_64.tar.gz 173069694 BLAKE2B 5de74b1e6de743246cf48e32254f9646fa25c2820d0be9df886fdefe131a302ddb8906546147f0d284e2fc0faf8cc0238bf854fe1611d28bf1e7cb1518bd4e31 SHA512 205aa2a2fa2ab7eb7b54087420e0123aa97e5456e2e1f31cad9ea7b84be3f9823a2a7c47d4cf1697833e5f795359477d3a3b0ea4955a8f92583cf2228071827e
28 -DIST elasticsearch-7.9.3-no-jdk-linux-x86_64.tar.gz 162808745 BLAKE2B e6a12ec3cc3bec0bdf8dd10680dd86214bf619b1abfdfeb8524b0b0f50a0f1faaf03b13f06ab62055f80c7987dd04b0dd9f2beba16dd59a5d346fc6cceb51acd SHA512 fea21591edc790b9d5c48151619921085d1b0e5dad1f8c43efbd44a58babeb8bfad52f4329f1f34c71d47618e24d7320c0e591f8eb65d15c2b9c3e1492d91680
29 -DIST elasticsearch-oss-6.8.14.tar.gz 68236681 BLAKE2B 09c6c23517b880ee1afb1c3472d4518172927c226386c7d0f2f5b9312e7de236bd6fa7d527b949e3cace759af6a1fdfe7d72f1ccf8e2c6e15919c4c8c989ee9e SHA512 c0372969ec9e5f7aff551bc0aa13684fdaccd5a553e8ee896979488ab2f13181642222ab4eca4dc799181bce1405200b5aea4866c830483ce1e484fa6a714998
30 DIST elasticsearch-oss-6.8.15.tar.gz 68240776 BLAKE2B 431d845e02f2118a98021af4422ece34274b6d0811a32c5a3e679da3f8f56ca9cd45949307268811edbb83327a4a80fb84866cbbaaf01f7d3af042412b1e1bfa SHA512 7e6a819339ac6043af218f9d97d5d68c50ac46900e4293e7fa18992f7a50b10b0ab2434e26ff0dc1546204ae7526de8ac6ef6545fc0db9c862ceeaa0d96c56f5
31 DIST elasticsearch-oss-7.10.2-no-jdk-linux-x86_64.tar.gz 76383466 BLAKE2B e99c04b0d10ef5755986515c7127ebde00b58e0eba69b6a05e12bd0bffee70266bbb023680584bfe0f321d5a3cf79af89cce3a5191923ad721a9f6039ab82743 SHA512 7b63237996569ccdc7c9d9e7cc097fcb23865396eddac30e5f02543484220d2fc70a7285b430877e5e76a5d8716d9682de9fc40d5e57a08f331e82011fc59756
32 -DIST elasticsearch-oss-7.9.3-no-jdk-linux-x86_64.tar.gz 75609441 BLAKE2B 5c638426c4fd64b877b350a6845da5d771e7ea222af245d50d9361ae27193e1ade555a060493b1ec056bd273d37656c37a11445b73866dc5347cd608a9d3333b SHA512 679d02f2576aa04aefee6ab1b8922d20d9fc1606c2454b32b52e7377187435da50566c9000565df8496ae69d0882724fbf2877b8253bd6036c06367e854c55f6
33
34 diff --git a/app-misc/elasticsearch/elasticsearch-6.8.14.ebuild b/app-misc/elasticsearch/elasticsearch-6.8.14.ebuild
35 deleted file mode 100644
36 index 6b347e7957c..00000000000
37 --- a/app-misc/elasticsearch/elasticsearch-6.8.14.ebuild
38 +++ /dev/null
39 @@ -1,88 +0,0 @@
40 -# Copyright 1999-2021 Gentoo Authors
41 -# Distributed under the terms of the GNU General Public License v2
42 -
43 -EAPI=7
44 -
45 -inherit systemd tmpfiles
46 -
47 -DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
48 -HOMEPAGE="https://www.elastic.co/products/elasticsearch"
49 -SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz )
50 - !x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${PN}-oss-${PV}.tar.gz )"
51 -LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain x-pack? ( Elastic )"
52 -SLOT="0"
53 -KEYWORDS="~amd64"
54 -IUSE="x-pack"
55 -
56 -RDEPEND="acct-group/elasticsearch
57 - acct-user/elasticsearch
58 - virtual/jre:1.8"
59 -
60 -QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
61 -
62 -src_prepare() {
63 - default
64 -
65 - rm bin/*.{bat,exe} LICENSE.txt NOTICE.txt || die
66 - rmdir logs || die
67 -
68 - if use x-pack; then
69 - rm bin/x-pack/*.bat || die
70 - rm -r modules/x-pack-ml/platform/{darwin,windows}-x86_64 || die
71 - fi
72 -}
73 -
74 -src_install() {
75 - keepdir /etc/${PN}
76 - keepdir /etc/${PN}/scripts
77 -
78 - insinto /etc/${PN}
79 - doins -r config/.
80 - rm -r config || die
81 -
82 - fowners root:${PN} /etc/${PN}
83 - fperms 2750 /etc/${PN}
84 -
85 - insinto /usr/share/${PN}
86 - doins -r .
87 -
88 - exeinto /usr/share/${PN}/bin
89 - doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
90 -
91 - chmod +x "${ED}"/usr/share/${PN}/bin/* || die
92 -
93 - if use x-pack; then
94 - chmod +x "${ED}"/usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin/* || die
95 - fi
96 -
97 - keepdir /var/{lib,log}/${PN}
98 - fowners ${PN}:${PN} /var/{lib,log}/${PN}
99 - fperms 0750 /var/{lib,log}/${PN}
100 - dodir /usr/share/${PN}/plugins
101 -
102 - insinto /etc/sysctl.d
103 - newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
104 -
105 - newconfd "${FILESDIR}/${PN}.conf.3" ${PN}
106 - newinitd "${FILESDIR}/${PN}.init.6" ${PN}
107 -
108 - systemd_install_serviced "${FILESDIR}/${PN}.service.conf"
109 - newtmpfiles "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf
110 - systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service
111 -}
112 -
113 -pkg_postinst() {
114 - elog
115 - elog "You may create multiple instances of ${PN} by"
116 - elog "symlinking the init script:"
117 - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
118 - elog
119 - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
120 - elog "from /etc/${PN} into the configuration directory of the instance:"
121 - elog "/etc/${PN}/instance"
122 - elog
123 - ewarn "Please make sure you have proper permissions on /etc/${PN}"
124 - ewarn "prior to keystore generation or you may experience startup fails."
125 - ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}"
126 - ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore"
127 -}
128
129 diff --git a/app-misc/elasticsearch/elasticsearch-7.9.3.ebuild b/app-misc/elasticsearch/elasticsearch-7.9.3.ebuild
130 deleted file mode 100644
131 index 826ad97256d..00000000000
132 --- a/app-misc/elasticsearch/elasticsearch-7.9.3.ebuild
133 +++ /dev/null
134 @@ -1,86 +0,0 @@
135 -# Copyright 1999-2020 Gentoo Authors
136 -# Distributed under the terms of the GNU General Public License v2
137 -
138 -EAPI=7
139 -
140 -inherit systemd tmpfiles
141 -
142 -DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
143 -HOMEPAGE="https://www.elastic.co/products/elasticsearch"
144 -SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${P}-no-jdk-linux-x86_64.tar.gz )
145 - !x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${PN}-oss-${PV}-no-jdk-linux-x86_64.tar.gz )"
146 -LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain x-pack? ( Elastic )"
147 -SLOT="0"
148 -KEYWORDS="~amd64"
149 -IUSE="x-pack"
150 -
151 -RDEPEND="acct-group/elasticsearch
152 - acct-user/elasticsearch
153 - virtual/jre"
154 -
155 -QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
156 -
157 -src_prepare() {
158 - default
159 -
160 - rm LICENSE.txt NOTICE.txt || die
161 - rmdir logs || die
162 -}
163 -
164 -src_install() {
165 - keepdir /etc/${PN}
166 - keepdir /etc/${PN}/scripts
167 -
168 - insinto /etc/${PN}
169 - doins -r config/.
170 - rm -r config || die
171 -
172 - fowners root:${PN} /etc/${PN}
173 - fperms 2750 /etc/${PN}
174 -
175 - insinto /usr/share/${PN}
176 - doins -r .
177 -
178 - exeinto /usr/share/${PN}/bin
179 - doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
180 -
181 - fperms -R +x /usr/share/${PN}/bin
182 -
183 - if use x-pack; then
184 - fperms -R +x /usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin
185 - fi
186 -
187 - keepdir /var/{lib,log}/${PN}
188 - fowners ${PN}:${PN} /var/{lib,log}/${PN}
189 - fperms 0750 /var/{lib,log}/${PN}
190 - dodir /usr/share/${PN}/plugins
191 -
192 - insinto /etc/sysctl.d
193 - newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
194 -
195 - newconfd "${FILESDIR}/${PN}.conf.3" ${PN}
196 - newinitd "${FILESDIR}/${PN}.init.7" ${PN}
197 -
198 - systemd_install_serviced "${FILESDIR}/${PN}.service.conf"
199 - systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service
200 -
201 - newtmpfiles "${FILESDIR}"/${PN}.tmpfiles.d ${PN}.conf
202 -}
203 -
204 -pkg_postinst() {
205 - tmpfiles_process /usr/lib/tmpfiles.d/${PN}.conf
206 -
207 - elog
208 - elog "You may create multiple instances of ${PN} by"
209 - elog "symlinking the init script:"
210 - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
211 - elog
212 - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
213 - elog "from /etc/${PN} into the configuration directory of the instance:"
214 - elog "/etc/${PN}/instance"
215 - elog
216 - ewarn "Please make sure you have proper permissions on /etc/${PN}"
217 - ewarn "prior to keystore generation or you may experience startup fails."
218 - ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}"
219 - ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore"
220 -}