1 |
commit: 411b24744617e9400460f62571e77e988c2630ea |
2 |
Author: Matt Jolly <Matt.Jolly <AT> footclan <DOT> ninja> |
3 |
AuthorDate: Fri Jun 3 08:21:27 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 4 02:19:18 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=411b2474 |
7 |
|
8 |
app-misc/elasticsearch: drop 8.2.0 |
9 |
|
10 |
Signed-off-by: Matt Jolly <Matt.Jolly <AT> footclan.ninja> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/25737 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
app-misc/elasticsearch/Manifest | 1 - |
15 |
app-misc/elasticsearch/elasticsearch-8.2.0.ebuild | 94 ----------------------- |
16 |
2 files changed, 95 deletions(-) |
17 |
|
18 |
diff --git a/app-misc/elasticsearch/Manifest b/app-misc/elasticsearch/Manifest |
19 |
index daa1214bdc5d..e4a97701337b 100644 |
20 |
--- a/app-misc/elasticsearch/Manifest |
21 |
+++ b/app-misc/elasticsearch/Manifest |
22 |
@@ -1,5 +1,4 @@ |
23 |
DIST elasticsearch-6.8.23.tar.gz 149672445 BLAKE2B dd7b080f1496f3a20755c183befae74194eab05b04c6f77679e9dad6067eef5222a4c7ce43d6267f1233a7bf864c6f8b23d5caf52278e1fe5f48f465e6603113 SHA512 73258b400cd194768058105a74ca0e811962ccf81bed8c4d3a824d4e5b97a8178a31150e60602fa1e04c6764b139980eb45ae6f246864702120653b45120b597 |
24 |
DIST elasticsearch-7.17.3-no-jdk-linux-x86_64.tar.gz 167378547 BLAKE2B 4bacb075e94587351bb4638da15644ed372ec1ad2b72e1c9b84c511e84666f6b79ccc8519ce5fede119e6c134ac500a1209578f18a26fd8566646e870a17f9ba SHA512 f2d5953710adfe31f1e30a0fdf4c091c0493f613a83927ddec4bbc74d2eccb839e1ffa6d44636ad0ad9c07613915847cc7a68fc87e465a8a851c96e023917bf1 |
25 |
-DIST elasticsearch-8.2.0-linux-x86_64.tar.gz 529729465 BLAKE2B e176a047e49b343673c6f20e45d6ff96650e4ebb6b0d9d09450e4fb435ac56e22527be32c4327b5667ce6b4dbd6824477fc445c1db3e78a42e9c6bd01a1f5934 SHA512 f5e48538a835d61b7321133158c988b536945451f783964a10f50a0208aa46c013c2e55b86a5f4ec06c7ac61700c0f41d47124c91e4bf93b24ad3f150933a77d |
26 |
DIST elasticsearch-8.2.2-linux-x86_64.tar.gz 526116807 BLAKE2B bc30d3532bb62bee88fdfc8e3406d32884add3601363d5bf91f66c110e05241beb6b73cf7a2f8104a843628f4841a313ed5bdf3098030eb5e4567c98b69ac703 SHA512 78d1315a47ae9f082297e049320c5a9787aa9fe44cd2967f3ea37ae954ad34aaa29ca7b3210ac96955be2838d0233b7f86a3e0c66d82dda3724753a0c24c78e8 |
27 |
DIST elasticsearch-oss-6.8.23.tar.gz 68573265 BLAKE2B 80366fdc4eaaf45161a36da112397938a82d08d842d82dd5a9311abf63ca20afb93ecc06387c6852bbb1a861306382d6e7c2314e67635b6f2e75cdc183057ad8 SHA512 14dbb2809b06499373c3ec5035d829d62255c2c93103618fbfe3d7d03cecf8847f654e83c78f765f23224126ff18ed713b959857e8ecf435c475b11bcd143d3f |
28 |
|
29 |
diff --git a/app-misc/elasticsearch/elasticsearch-8.2.0.ebuild b/app-misc/elasticsearch/elasticsearch-8.2.0.ebuild |
30 |
deleted file mode 100644 |
31 |
index 7ca705a24066..000000000000 |
32 |
--- a/app-misc/elasticsearch/elasticsearch-8.2.0.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,94 +0,0 @@ |
35 |
-# Copyright 1999-2022 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=8 |
39 |
- |
40 |
-inherit systemd tmpfiles |
41 |
- |
42 |
-DESCRIPTION="Free and Open, Distributed, RESTful Search Engine" |
43 |
-HOMEPAGE="https://www.elastic.co/elasticsearch/" |
44 |
-SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}-linux-x86_64.tar.gz" |
45 |
-LICENSE="Apache-2.0 BSD-2 Elastic-2.0 LGPL-3 MIT public-domain" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~amd64" |
48 |
- |
49 |
-PATCHES=( |
50 |
- "${FILESDIR}/${PN}-env.patch" |
51 |
-) |
52 |
- |
53 |
-DEPEND="acct-group/elasticsearch |
54 |
- acct-user/elasticsearch" |
55 |
- |
56 |
-RDEPEND="acct-group/elasticsearch |
57 |
- acct-user/elasticsearch |
58 |
- sys-libs/zlib |
59 |
- virtual/jre:17" |
60 |
- |
61 |
-QA_PREBUILT="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*" |
62 |
-QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*" |
63 |
- |
64 |
-src_prepare() { |
65 |
- default |
66 |
- rm -rf jdk || die |
67 |
- sed -i -e "s:logs/:/var/log/${PN}/:g" config/jvm.options || die |
68 |
- rm LICENSE.txt NOTICE.txt || die |
69 |
- rmdir logs || die |
70 |
-} |
71 |
- |
72 |
-src_install() { |
73 |
- keepdir /etc/${PN} |
74 |
- keepdir /etc/${PN}/scripts |
75 |
- |
76 |
- insinto /etc/${PN} |
77 |
- doins -r config/. |
78 |
- rm -r config || die |
79 |
- |
80 |
- fowners -R root:${PN} /etc/${PN} |
81 |
- fperms -R 2750 /etc/${PN} |
82 |
- |
83 |
- insinto /usr/share/${PN} |
84 |
- doins -r . |
85 |
- |
86 |
- keepdir /usr/share/${PN}/plugins |
87 |
- |
88 |
- exeinto /usr/share/${PN}/bin |
89 |
- doexe ${FILESDIR}/elasticsearch-systemd-pre-exec |
90 |
- |
91 |
- fperms -R +x /usr/share/${PN}/bin |
92 |
- fperms -R +x /usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin |
93 |
- |
94 |
- keepdir /var/{lib,log}/${PN} |
95 |
- fowners ${PN}:${PN} /var/{lib,log}/${PN} |
96 |
- fperms 0750 /var/{lib,log}/${PN} |
97 |
- |
98 |
- insinto /etc/sysctl.d |
99 |
- newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf |
100 |
- |
101 |
- newconfd "${FILESDIR}/${PN}.conf.4" ${PN} |
102 |
- newinitd "${FILESDIR}/${PN}.init.8" ${PN} |
103 |
- |
104 |
- systemd_install_serviced "${FILESDIR}/${PN}.service.conf" |
105 |
- systemd_newunit "${FILESDIR}"/${PN}.service.4 ${PN}.service |
106 |
- |
107 |
- newtmpfiles "${FILESDIR}"/${PN}.tmpfiles.d ${PN}.conf |
108 |
-} |
109 |
- |
110 |
-pkg_postinst() { |
111 |
- # Elasticsearch will choke on our keep file and dodir will not preserve the empty dir |
112 |
- rm /usr/share/${PN}/plugins/.keep* || die |
113 |
- tmpfiles_process /usr/lib/tmpfiles.d/${PN}.conf |
114 |
- if [ ! systemd_is_booted ]; then |
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 |
- fi |
124 |
- ewarn "Please make sure you have proper permissions on /etc/${PN}" |
125 |
- ewarn "prior to keystore generation or you may experience startup failures." |
126 |
- ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}" |
127 |
- ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore" |
128 |
-} |