From c3d998909264b1ff687b9c65cae3046443e66f7e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 26 Aug 2022 14:52:16 +0100 Subject: gentoo auto-resync : 26:08:2022 - 14:52:16 --- app-misc/elasticsearch/Manifest | 4 +- app-misc/elasticsearch/elasticsearch-8.2.2.ebuild | 95 ----------------------- app-misc/elasticsearch/elasticsearch-8.3.3.ebuild | 95 +++++++++++++++++++++++ 3 files changed, 97 insertions(+), 97 deletions(-) delete mode 100644 app-misc/elasticsearch/elasticsearch-8.2.2.ebuild create mode 100644 app-misc/elasticsearch/elasticsearch-8.3.3.ebuild (limited to 'app-misc/elasticsearch') diff --git a/app-misc/elasticsearch/Manifest b/app-misc/elasticsearch/Manifest index 38efc1b54ded..be567251400b 100644 --- a/app-misc/elasticsearch/Manifest +++ b/app-misc/elasticsearch/Manifest @@ -8,7 +8,7 @@ AUX elasticsearch.service.conf 235 BLAKE2B 23ada111be21dff12323edbe981883cb1ed27 AUX elasticsearch.sysctl.d 24 BLAKE2B 4012fbdbc98a8b28df11aed33cb82c113790c44721eae1d69e19c595bfbf329618b9cb67be9528f1994c546233cffd31b20eee39edc142bc86f7a7cf5e08903e SHA512 9f3d8238edff6704bea06b6535ee8915f4a3c9bdc8389d9d4943bcfa49161b61f9a1ca49dbcc415580438f4396fbc3d58eef301554f9426287606a755ada715c AUX elasticsearch.tmpfiles.d 56 BLAKE2B 0c28c612fadfdd86321df797527399fa5073a7350de95ec2b32dfbe51cbf52fe5dcf68ebd4e3fba6cccba1cf252a16dee3b701c4c6692121745c41665cf3c972 SHA512 5cc722abcaae68afffde96e38b2c9572faf898178d3c291c945fe49fbf977e319322b99fb6fb5bf49cfb04e86f071dde0db621849288f712a56571b13af9a11a DIST elasticsearch-7.17.5-no-jdk-linux-x86_64.tar.gz 167410729 BLAKE2B c6e68176705a1ae2c72a945b2a2b7542f2cb6ebc2420fb52cf26cafdc3045c6f82a5f707062d48142875bf1fbc4be65e473ed9515d65ec25d5a460cc2af991e9 SHA512 d8bc819c9ac5a9035d08e45abf8464275cc2cad7c2f091a3e112100ffbd2605759543e111d9e44c3352f92a08230287c2cba6a91f07ab3d92513682e56b97184 -DIST elasticsearch-8.2.2-linux-x86_64.tar.gz 526116807 BLAKE2B bc30d3532bb62bee88fdfc8e3406d32884add3601363d5bf91f66c110e05241beb6b73cf7a2f8104a843628f4841a313ed5bdf3098030eb5e4567c98b69ac703 SHA512 78d1315a47ae9f082297e049320c5a9787aa9fe44cd2967f3ea37ae954ad34aaa29ca7b3210ac96955be2838d0233b7f86a3e0c66d82dda3724753a0c24c78e8 +DIST elasticsearch-8.3.3-linux-x86_64.tar.gz 539315339 BLAKE2B be786e3a05eb8399cdd168d71edb901ffb08bc6f8a564aebbb8b578fbd628a142c36b2ced540801a60b4d962c48f6be426ae27a0fd4dfb5a99bb022d4fa271b5 SHA512 dca98fc78d55e58cfb48a9abe9276f10d7f104b3a60cc8c6850b093fb12342a7f3f379530476324bf97dc69d68511bb1de97e0aa7bb9aa3e27808dc656305b5f EBUILD elasticsearch-7.17.5.ebuild 2404 BLAKE2B b6ec81b233fb31f3fab38aa3aff9ebd05d6c4244e226fb6d7f27a526e3fec59a3ddb51587a358227d2450851512a8fa01c37534b109d1e568b049822d8ae7354 SHA512 697fa490f1092dac9a43006e4a9ac201ae3cbff8eee311cfb90783811ac422d9fdf52be5549695469cd4bdd65aeaa06d79ef21e06b4c4784ed1d9be78c1f7c52 -EBUILD elasticsearch-8.2.2.ebuild 2766 BLAKE2B 181b5480e23a105d046070c04c5fb4866e67c1edae3bb323d6fcc81d9414d37200486b6aa0927a5b30ccc925a033cd2cd1d1ec65e47d67b140c62a0f9635631b SHA512 2c2d3d1ac4dd199931c0017a38e71414af165726d1dee554703193624c23e28f4aec1e58566a5ca437d88d634241ec451fabc741d036062adc3b40006f47444e +EBUILD elasticsearch-8.3.3.ebuild 2766 BLAKE2B 181b5480e23a105d046070c04c5fb4866e67c1edae3bb323d6fcc81d9414d37200486b6aa0927a5b30ccc925a033cd2cd1d1ec65e47d67b140c62a0f9635631b SHA512 2c2d3d1ac4dd199931c0017a38e71414af165726d1dee554703193624c23e28f4aec1e58566a5ca437d88d634241ec451fabc741d036062adc3b40006f47444e MISC metadata.xml 398 BLAKE2B c0e51fd139e20b21ce5c3eb70594d5a50189499af295f4caf4f1ba3d4d3af3e3ad33e9717330cfaed6db182ba45527416664c99c79411fcec369198cf2dabb20 SHA512 f189a42296460148d1c842bda2a91c97f7d9a9a51051361e364547173651b49377ce4c85c50c628f893fffda8c120680b078cce80e42523728eb5f32d3d9f927 diff --git a/app-misc/elasticsearch/elasticsearch-8.2.2.ebuild b/app-misc/elasticsearch/elasticsearch-8.2.2.ebuild deleted file mode 100644 index 74c42298df8a..000000000000 --- a/app-misc/elasticsearch/elasticsearch-8.2.2.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit systemd tmpfiles - -DESCRIPTION="Free and Open, Distributed, RESTful Search Engine" -HOMEPAGE="https://www.elastic.co/elasticsearch/" -SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}-linux-x86_64.tar.gz" - -LICENSE="Apache-2.0 BSD-2 Elastic-2.0 LGPL-3 MIT public-domain" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND="acct-group/elasticsearch - acct-user/elasticsearch" -RDEPEND="acct-group/elasticsearch - acct-user/elasticsearch - sys-libs/zlib - virtual/jre:17" - -QA_PREBUILT="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*" -QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*" - -PATCHES=( - "${FILESDIR}/${PN}-env.patch" -) - -src_prepare() { - default - - rm -rf jdk || die - sed -i -e "s:logs/:/var/log/${PN}/:g" config/jvm.options || die - rm LICENSE.txt NOTICE.txt || die - rmdir logs || die -} - -src_install() { - keepdir /etc/${PN} - keepdir /etc/${PN}/scripts - - insinto /etc/${PN} - doins -r config/. - rm -r config || die - - fowners -R root:${PN} /etc/${PN} - fperms -R 2750 /etc/${PN} - - insinto /usr/share/${PN} - doins -r . - - keepdir /usr/share/${PN}/plugins - - exeinto /usr/share/${PN}/bin - doexe "${FILESDIR}"/elasticsearch-systemd-pre-exec - - fperms -R +x /usr/share/${PN}/bin - fperms -R +x /usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin - - keepdir /var/{lib,log}/${PN} - fowners ${PN}:${PN} /var/{lib,log}/${PN} - fperms 0750 /var/{lib,log}/${PN} - - insinto /etc/sysctl.d - newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf - - newconfd "${FILESDIR}/${PN}.conf.4" ${PN} - newinitd "${FILESDIR}/${PN}.init.8" ${PN} - - systemd_install_serviced "${FILESDIR}/${PN}.service.conf" - systemd_newunit "${FILESDIR}"/${PN}.service.4 ${PN}.service - - newtmpfiles "${FILESDIR}"/${PN}.tmpfiles.d ${PN}.conf -} - -pkg_postinst() { - # Elasticsearch will choke on our keep file and dodir will not preserve the empty dir - rm /usr/share/${PN}/plugins/.keep* || die - tmpfiles_process /usr/lib/tmpfiles.d/${PN}.conf - if ! systemd_is_booted ; then - elog "You may create multiple instances of ${PN} by" - elog "symlinking the init script:" - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance" - elog - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts" - elog "from /etc/${PN} into the configuration directory of the instance:" - elog "/etc/${PN}/instance" - elog - fi - ewarn "Please make sure you have proper permissions on /etc/${PN}" - ewarn "prior to keystore generation or you may experience startup failures." - ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}" - ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore" -} diff --git a/app-misc/elasticsearch/elasticsearch-8.3.3.ebuild b/app-misc/elasticsearch/elasticsearch-8.3.3.ebuild new file mode 100644 index 000000000000..74c42298df8a --- /dev/null +++ b/app-misc/elasticsearch/elasticsearch-8.3.3.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd tmpfiles + +DESCRIPTION="Free and Open, Distributed, RESTful Search Engine" +HOMEPAGE="https://www.elastic.co/elasticsearch/" +SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}-linux-x86_64.tar.gz" + +LICENSE="Apache-2.0 BSD-2 Elastic-2.0 LGPL-3 MIT public-domain" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="acct-group/elasticsearch + acct-user/elasticsearch" +RDEPEND="acct-group/elasticsearch + acct-user/elasticsearch + sys-libs/zlib + virtual/jre:17" + +QA_PREBUILT="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*" +QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*" + +PATCHES=( + "${FILESDIR}/${PN}-env.patch" +) + +src_prepare() { + default + + rm -rf jdk || die + sed -i -e "s:logs/:/var/log/${PN}/:g" config/jvm.options || die + rm LICENSE.txt NOTICE.txt || die + rmdir logs || die +} + +src_install() { + keepdir /etc/${PN} + keepdir /etc/${PN}/scripts + + insinto /etc/${PN} + doins -r config/. + rm -r config || die + + fowners -R root:${PN} /etc/${PN} + fperms -R 2750 /etc/${PN} + + insinto /usr/share/${PN} + doins -r . + + keepdir /usr/share/${PN}/plugins + + exeinto /usr/share/${PN}/bin + doexe "${FILESDIR}"/elasticsearch-systemd-pre-exec + + fperms -R +x /usr/share/${PN}/bin + fperms -R +x /usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin + + keepdir /var/{lib,log}/${PN} + fowners ${PN}:${PN} /var/{lib,log}/${PN} + fperms 0750 /var/{lib,log}/${PN} + + insinto /etc/sysctl.d + newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf + + newconfd "${FILESDIR}/${PN}.conf.4" ${PN} + newinitd "${FILESDIR}/${PN}.init.8" ${PN} + + systemd_install_serviced "${FILESDIR}/${PN}.service.conf" + systemd_newunit "${FILESDIR}"/${PN}.service.4 ${PN}.service + + newtmpfiles "${FILESDIR}"/${PN}.tmpfiles.d ${PN}.conf +} + +pkg_postinst() { + # Elasticsearch will choke on our keep file and dodir will not preserve the empty dir + rm /usr/share/${PN}/plugins/.keep* || die + tmpfiles_process /usr/lib/tmpfiles.d/${PN}.conf + if ! systemd_is_booted ; then + elog "You may create multiple instances of ${PN} by" + elog "symlinking the init script:" + elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance" + elog + elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts" + elog "from /etc/${PN} into the configuration directory of the instance:" + elog "/etc/${PN}/instance" + elog + fi + ewarn "Please make sure you have proper permissions on /etc/${PN}" + ewarn "prior to keystore generation or you may experience startup failures." + ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}" + ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore" +} -- cgit v1.2.3