From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/elasticsearch/
Date: Mon, 4 Oct 2021 12:51:50 +0000 (UTC) [thread overview]
Message-ID: <1633351733.4e90763fd54093539bbd17cecb66f4367a0e310e.juippis@gentoo> (raw)
commit: 4e90763fd54093539bbd17cecb66f4367a0e310e
Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Fri Sep 24 21:20:50 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Oct 4 12:48:53 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e90763f
app-misc/elasticsearch: drop old
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
app-misc/elasticsearch/Manifest | 7 --
app-misc/elasticsearch/elasticsearch-6.8.15.ebuild | 90 ----------------------
app-misc/elasticsearch/elasticsearch-6.8.16.ebuild | 90 ----------------------
app-misc/elasticsearch/elasticsearch-7.12.0.ebuild | 84 --------------------
app-misc/elasticsearch/elasticsearch-7.12.1.ebuild | 82 --------------------
app-misc/elasticsearch/elasticsearch-7.13.2.ebuild | 82 --------------------
6 files changed, 435 deletions(-)
diff --git a/app-misc/elasticsearch/Manifest b/app-misc/elasticsearch/Manifest
index e1dd8c04c22..d7f39ffbf85 100644
--- a/app-misc/elasticsearch/Manifest
+++ b/app-misc/elasticsearch/Manifest
@@ -1,13 +1,6 @@
-DIST elasticsearch-6.8.15.tar.gz 149102328 BLAKE2B 0ce9ba565d751cd27721f3d49dd24761937c3476cee4896ba1a4d84e4fc238296129481f18cad64270fe8af71a043c2e8e583df14f2a084850fb10c93fcea0ef SHA512 c62c4d9d1bb83e10d3e1079f56b834f2f89b1f712c29d9ce7e81786199c71d287ecbf6df158eca56a7af711eafe13dfb276e12b34e1a0a6cf6719e1fbb44a142
-DIST elasticsearch-6.8.16.tar.gz 149125098 BLAKE2B cafdb7fd97b3df087472c65ede9eb9c703f6499a03d70c5fcc497bdaafc0757d0b9e7fe84d0a8c710cdecbe85654fdad1f854209015a545e0bf43d8e585a481f SHA512 0b15f77ba5962970ef38869a233ee3d091a64b218cf42dc5f4bdd8a81322739992f75e3c438295435f28af20af1e138c2f5e3afed76a7ebc0f348764528dd0f3
DIST elasticsearch-6.8.17.tar.gz 149132823 BLAKE2B a83d4e81059a717e48ac54e7565efe282f42103718ba9cef9994a6970769bb01248e99ffbfe061ca85a7b44890604c6174dc11046a94c455dc01da7f495524ea SHA512 5eb365efccff4e371d9ac873b45684c36cfd7f25ec51a86c3cd74beff4491dbc0097dba22f91335c35478e3b25decc6ae4bc5d538add0e17a39eb063dfa2d88c
DIST elasticsearch-6.8.19.tar.gz 149143102 BLAKE2B 74b529d9b9944101c0371c2e1a43697aca0ca5907a4fc25cb7a54b30d9d27a6e876317c8946636314db48ffab59be732ee9a52f2d989c1cff12c11ca91e68cb5 SHA512 2d12a201496668da7547eef77000d2317df083a0d03390549ded9aa80e8ea69d836b62355bb1b8ff363be446887579a34cf417b0b1b8e4d0f6a178598a3cdac1
-DIST elasticsearch-7.12.0-no-jdk-linux-x86_64.tar.gz 173069694 BLAKE2B 5de74b1e6de743246cf48e32254f9646fa25c2820d0be9df886fdefe131a302ddb8906546147f0d284e2fc0faf8cc0238bf854fe1611d28bf1e7cb1518bd4e31 SHA512 205aa2a2fa2ab7eb7b54087420e0123aa97e5456e2e1f31cad9ea7b84be3f9823a2a7c47d4cf1697833e5f795359477d3a3b0ea4955a8f92583cf2228071827e
-DIST elasticsearch-7.12.1-no-jdk-linux-x86_64.tar.gz 173079845 BLAKE2B 98214508c2c1dcb631f59d9e51d5949f9a7c5d1f68ff78c8d93af04c6a21fa1e1c6e2051f04bbdb8154443d6295ad54af2016695fcb9193b7595e1486777ba98 SHA512 c91fd66668977280d7339caf6b4fef9fce5640492f0e2a65bc537c6da8397c801a3727f1ff56b7a1591b11ea47195720c588a4eba473043f829a87cd3dcc0af4
-DIST elasticsearch-7.13.2-no-jdk-linux-x86_64.tar.gz 174688419 BLAKE2B e8541581dfc856b9b005bc7fda29c9aaf82d61c406df1f7e06ea8997a71567047d4822e5e873aee41f7a295f2eba10508c966e9ebc4e8b7c734f1c100f4a05f3 SHA512 4d02faf019eab1fc590d76fdc50c6396cfe5bc4363baaa3d1e63ca7210942cbdf5c08d28e5d4b7d2cf47fb18ee83b94529ecb2bdaba6521798721398c8a06165
DIST elasticsearch-7.13.4-no-jdk-linux-x86_64.tar.gz 174690446 BLAKE2B bab17a006f14d262ee85918c8b2e5f610a1e726d158cf423bf306971826f182963e0231456539253f5054069b82672e8803c0da06166215d128bdea02e6738db SHA512 5d6d53d9d6c6faf5d6599019882aa4b5d91f04944ab26c496cab033880b71f1ce2addb98bcf12b21891c005e810ce4a0493627b9ec9f0f78b4f7786efa398eab
DIST elasticsearch-7.15.0-no-jdk-linux-x86_64.tar.gz 196775804 BLAKE2B c08a77a03dd98acbbbdabdf408c33cc7786d8b00e64558b0658e6952d3c32842b2ede48a54e58ee85ece882f56675d77ff39bc2b6ede7d8c7e446bbfd0b23965 SHA512 dbd5c5ce9a08ea0bbc55e9f470a7455d99f1458287cb1d885f07f2670cc8885dbe764315c1267f31ef745a424ece52b4e60239993e0ed7d0bec70dd8c022f7fa
-DIST elasticsearch-oss-6.8.15.tar.gz 68240776 BLAKE2B 431d845e02f2118a98021af4422ece34274b6d0811a32c5a3e679da3f8f56ca9cd45949307268811edbb83327a4a80fb84866cbbaaf01f7d3af042412b1e1bfa SHA512 7e6a819339ac6043af218f9d97d5d68c50ac46900e4293e7fa18992f7a50b10b0ab2434e26ff0dc1546204ae7526de8ac6ef6545fc0db9c862ceeaa0d96c56f5
-DIST elasticsearch-oss-6.8.16.tar.gz 68248767 BLAKE2B 2c8c14a6e2f837bc547de2e8c97f2fbe2dbf7743978a00e2fc37cd61eb46144df2a24f67360761e0342987b9194176109cfbd07545d2e8f88cae48f9508c659c SHA512 0f46c69136312d535ccff4663655500538ffc924bbe50350c2eed3372609a28e642bb906cbb9a631af5fa10568a16c1a630ef181c383ee247c98325ddc85e04c
DIST elasticsearch-oss-6.8.17.tar.gz 68247749 BLAKE2B 12e85804a7d58dc27d85fbed6501831d92428405cb4636355c523a370863e00301bd75d7d12404ee0c7eefc32c53bc4b23e8fc1fecf2f606faf85369b2262cc7 SHA512 0f165357b1f389fbd01f07397a2b3ea5d493fae720c15213f2ee47a0c2c75bc4a448384767646d7585a18d4577899b840121c1829a987a16d2de68f216b28f7c
DIST elasticsearch-oss-6.8.19.tar.gz 68255213 BLAKE2B 7fba24a70dafbaf94d2c9f2f25dfc976f831759e8be67ce0a5f15ffe11b9f8d4d62b7906ad5250bcbaacab43139b4471328978c8adc4be527e178597b6bf3294 SHA512 d0a371a4bf19db38b8b0379856a3535c6472e373abd1e9cae0171cffed97005b9fb7b6f7d3d67edc3d67feb5265a9f33d974d6abad8e398148be94566735c2c0
diff --git a/app-misc/elasticsearch/elasticsearch-6.8.15.ebuild b/app-misc/elasticsearch/elasticsearch-6.8.15.ebuild
deleted file mode 100644
index e090a2d2fed..00000000000
--- a/app-misc/elasticsearch/elasticsearch-6.8.15.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd tmpfiles
-
-DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
-HOMEPAGE="https://www.elastic.co/products/elasticsearch"
-SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz )
- !x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${PN}-oss-${PV}.tar.gz )"
-LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain x-pack? ( Elastic )"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="x-pack"
-
-RDEPEND="acct-group/elasticsearch
- acct-user/elasticsearch
- virtual/jre:1.8"
-
-QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
-
-src_prepare() {
- default
-
- rm bin/*.{bat,exe} LICENSE.txt NOTICE.txt || die
- rmdir logs || die
-
- if use x-pack; then
- rm bin/x-pack/*.bat || die
- rm -r modules/x-pack-ml/platform/{darwin,windows}-x86_64 || die
- fi
-}
-
-src_install() {
- keepdir /etc/${PN}
- keepdir /etc/${PN}/scripts
-
- insinto /etc/${PN}
- doins -r config/.
- rm -r config || die
-
- fowners root:${PN} /etc/${PN}
- fperms 2750 /etc/${PN}
-
- insinto /usr/share/${PN}
- doins -r .
-
- exeinto /usr/share/${PN}/bin
- doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
-
- chmod +x "${ED}"/usr/share/${PN}/bin/* || die
-
- if use x-pack; then
- chmod +x "${ED}"/usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin/* || die
- fi
-
- keepdir /var/{lib,log}/${PN}
- fowners ${PN}:${PN} /var/{lib,log}/${PN}
- fperms 0750 /var/{lib,log}/${PN}
- dodir /usr/share/${PN}/plugins
-
- insinto /etc/sysctl.d
- newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
-
- newconfd "${FILESDIR}/${PN}.conf.3" ${PN}
- newinitd "${FILESDIR}/${PN}.init.6" ${PN}
-
- systemd_install_serviced "${FILESDIR}/${PN}.service.conf"
- newtmpfiles "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf
- systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service
-}
-
-pkg_postinst() {
- tmpfiles_process ${PN}.conf
-
- elog
- 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
- ewarn "Please make sure you have proper permissions on /etc/${PN}"
- ewarn "prior to keystore generation or you may experience startup fails."
- 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-6.8.16.ebuild b/app-misc/elasticsearch/elasticsearch-6.8.16.ebuild
deleted file mode 100644
index e090a2d2fed..00000000000
--- a/app-misc/elasticsearch/elasticsearch-6.8.16.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd tmpfiles
-
-DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
-HOMEPAGE="https://www.elastic.co/products/elasticsearch"
-SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz )
- !x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${PN}-oss-${PV}.tar.gz )"
-LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain x-pack? ( Elastic )"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="x-pack"
-
-RDEPEND="acct-group/elasticsearch
- acct-user/elasticsearch
- virtual/jre:1.8"
-
-QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
-
-src_prepare() {
- default
-
- rm bin/*.{bat,exe} LICENSE.txt NOTICE.txt || die
- rmdir logs || die
-
- if use x-pack; then
- rm bin/x-pack/*.bat || die
- rm -r modules/x-pack-ml/platform/{darwin,windows}-x86_64 || die
- fi
-}
-
-src_install() {
- keepdir /etc/${PN}
- keepdir /etc/${PN}/scripts
-
- insinto /etc/${PN}
- doins -r config/.
- rm -r config || die
-
- fowners root:${PN} /etc/${PN}
- fperms 2750 /etc/${PN}
-
- insinto /usr/share/${PN}
- doins -r .
-
- exeinto /usr/share/${PN}/bin
- doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
-
- chmod +x "${ED}"/usr/share/${PN}/bin/* || die
-
- if use x-pack; then
- chmod +x "${ED}"/usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin/* || die
- fi
-
- keepdir /var/{lib,log}/${PN}
- fowners ${PN}:${PN} /var/{lib,log}/${PN}
- fperms 0750 /var/{lib,log}/${PN}
- dodir /usr/share/${PN}/plugins
-
- insinto /etc/sysctl.d
- newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
-
- newconfd "${FILESDIR}/${PN}.conf.3" ${PN}
- newinitd "${FILESDIR}/${PN}.init.6" ${PN}
-
- systemd_install_serviced "${FILESDIR}/${PN}.service.conf"
- newtmpfiles "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf
- systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service
-}
-
-pkg_postinst() {
- tmpfiles_process ${PN}.conf
-
- elog
- 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
- ewarn "Please make sure you have proper permissions on /etc/${PN}"
- ewarn "prior to keystore generation or you may experience startup fails."
- 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-7.12.0.ebuild b/app-misc/elasticsearch/elasticsearch-7.12.0.ebuild
deleted file mode 100644
index 45949c1449d..00000000000
--- a/app-misc/elasticsearch/elasticsearch-7.12.0.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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}-no-jdk-linux-x86_64.tar.gz"
-LICENSE="Apache-2.0 BSD-2 Elastic-2.0 LGPL-3 MIT public-domain"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="acct-group/elasticsearch
- acct-user/elasticsearch
- virtual/jre"
-
-QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
-QA_PREBUILT="
- usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/bin/.*
- usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/.*"
-
-src_prepare() {
- default
-
- 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 root:${PN} /etc/${PN}
- fperms 2750 /etc/${PN}
-
- insinto /usr/share/${PN}
- doins -r .
-
- 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}
- dodir /usr/share/${PN}/plugins
-
- 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.3 ${PN}.service
-
- newtmpfiles "${FILESDIR}"/${PN}.tmpfiles.d ${PN}.conf
-}
-
-pkg_postinst() {
- tmpfiles_process ${PN}.conf
-
- elog
- 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
- ewarn "Please make sure you have proper permissions on /etc/${PN}"
- ewarn "prior to keystore generation or you may experience startup fails."
- 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-7.12.1.ebuild b/app-misc/elasticsearch/elasticsearch-7.12.1.ebuild
deleted file mode 100644
index bdf9f6e767d..00000000000
--- a/app-misc/elasticsearch/elasticsearch-7.12.1.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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}-no-jdk-linux-x86_64.tar.gz"
-LICENSE="Apache-2.0 BSD-2 Elastic-2.0 LGPL-3 MIT public-domain"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="acct-group/elasticsearch
- acct-user/elasticsearch
- virtual/jre"
-
-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\)/.*"
-
-src_prepare() {
- default
-
- 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 root:${PN} /etc/${PN}
- fperms 2750 /etc/${PN}
-
- insinto /usr/share/${PN}
- doins -r .
-
- 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}
- dodir /usr/share/${PN}/plugins
-
- 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.3 ${PN}.service
-
- newtmpfiles "${FILESDIR}"/${PN}.tmpfiles.d ${PN}.conf
-}
-
-pkg_postinst() {
- tmpfiles_process ${PN}.conf
-
- elog
- 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
- ewarn "Please make sure you have proper permissions on /etc/${PN}"
- ewarn "prior to keystore generation or you may experience startup fails."
- 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-7.13.2.ebuild b/app-misc/elasticsearch/elasticsearch-7.13.2.ebuild
deleted file mode 100644
index bdf9f6e767d..00000000000
--- a/app-misc/elasticsearch/elasticsearch-7.13.2.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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}-no-jdk-linux-x86_64.tar.gz"
-LICENSE="Apache-2.0 BSD-2 Elastic-2.0 LGPL-3 MIT public-domain"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="acct-group/elasticsearch
- acct-user/elasticsearch
- virtual/jre"
-
-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\)/.*"
-
-src_prepare() {
- default
-
- 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 root:${PN} /etc/${PN}
- fperms 2750 /etc/${PN}
-
- insinto /usr/share/${PN}
- doins -r .
-
- 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}
- dodir /usr/share/${PN}/plugins
-
- 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.3 ${PN}.service
-
- newtmpfiles "${FILESDIR}"/${PN}.tmpfiles.d ${PN}.conf
-}
-
-pkg_postinst() {
- tmpfiles_process ${PN}.conf
-
- elog
- 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
- ewarn "Please make sure you have proper permissions on /etc/${PN}"
- ewarn "prior to keystore generation or you may experience startup fails."
- ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}"
- ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore"
-}
next reply other threads:[~2021-10-04 12:51 UTC|newest]
Thread overview: 176+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-04 12:51 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-24 6:31 [gentoo-commits] repo/gentoo:master commit in: app-misc/elasticsearch/ Matt Jolly
2024-09-24 6:31 Matt Jolly
2024-07-14 11:15 Matt Jolly
2024-07-14 11:15 Matt Jolly
2024-06-29 15:31 Matt Jolly
2024-06-24 6:25 Matt Jolly
2024-06-24 6:25 Matt Jolly
2024-03-10 1:35 Matt Jolly
2024-03-10 1:35 Matt Jolly
2024-02-14 15:45 Matt Jolly
2024-02-14 15:45 Matt Jolly
2024-01-20 13:33 Sam James
2024-01-20 13:33 Sam James
2024-01-20 12:51 Sam James
2023-11-25 3:59 Sam James
2023-11-25 3:59 Sam James
2023-11-25 3:59 Sam James
2023-10-12 6:23 Sam James
2023-10-12 6:23 Sam James
2023-09-18 7:40 Sam James
2023-09-18 7:40 Sam James
2023-09-16 7:57 Joonas Niilola
2023-05-27 7:49 Joonas Niilola
2023-05-17 1:38 Sam James
2023-05-17 1:38 Sam James
2023-03-11 16:26 Sam James
2023-02-20 23:52 John Helmert III
2023-02-20 23:52 John Helmert III
2023-02-20 23:52 John Helmert III
2023-01-08 3:37 Sam James
2022-12-03 11:07 Sam James
2022-12-03 11:07 Sam James
2022-09-21 0:12 Sam James
2022-09-21 0:12 Sam James
2022-08-26 7:44 Sam James
2022-08-26 7:44 Sam James
2022-07-15 8:38 Joonas Niilola
2022-06-21 7:25 Joonas Niilola
2022-06-04 2:19 Sam James
2022-06-04 2:19 Sam James
2022-06-04 2:19 Sam James
2022-05-26 12:58 Joonas Niilola
2022-04-24 7:58 Joonas Niilola
2022-04-24 7:58 Joonas Niilola
2022-03-16 22:35 Sam James
2022-01-28 8:36 Sam James
2022-01-28 8:36 Sam James
2021-12-21 1:56 Sam James
2021-12-14 1:19 Sam James
2021-11-11 23:49 Sam James
2021-10-15 7:19 Joonas Niilola
2021-10-04 12:51 Joonas Niilola
2021-10-04 12:51 Joonas Niilola
2021-10-04 12:51 Joonas Niilola
2021-10-02 12:46 Joonas Niilola
2021-07-31 10:03 Joonas Niilola
2021-07-31 10:03 Joonas Niilola
2021-07-30 22:55 David Seifert
2021-06-16 9:50 Thomas Deutschmann
2021-06-16 9:50 Thomas Deutschmann
2021-05-31 8:20 Sam James
2021-05-11 15:47 Thomas Deutschmann
2021-05-04 22:17 Sam James
2021-03-30 7:25 Joonas Niilola
2021-03-30 7:25 Joonas Niilola
2021-03-22 14:05 Joonas Niilola
2021-03-22 14:05 Joonas Niilola
2021-01-21 23:23 Sam James
2020-11-14 9:49 Mikle Kolyada
2020-11-14 9:49 Mikle Kolyada
2020-10-16 13:26 Joonas Niilola
2020-09-12 18:39 Thomas Deutschmann
2020-08-30 21:46 Thomas Deutschmann
2020-07-30 18:17 Thomas Deutschmann
2020-07-30 18:17 Thomas Deutschmann
2020-07-30 18:17 Thomas Deutschmann
2020-06-26 23:00 Thomas Deutschmann
2020-06-12 14:33 Thomas Deutschmann
2020-04-13 8:31 Joonas Niilola
2020-04-13 8:31 Joonas Niilola
2020-03-20 14:30 Joonas Niilola
2020-03-20 14:30 Joonas Niilola
2020-03-20 14:30 Joonas Niilola
2020-02-26 16:17 Joonas Niilola
2020-01-03 9:15 Joonas Niilola
2019-10-29 6:53 Joonas Niilola
2019-10-29 6:53 Joonas Niilola
2019-10-29 6:53 Joonas Niilola
2019-09-21 14:49 Joonas Niilola
2019-09-21 14:49 Joonas Niilola
2019-07-16 15:44 Michał Górny
2019-07-02 9:57 Manuel Rüger
2019-07-02 9:57 Manuel Rüger
2019-05-08 22:56 Andreas Sturmlechner
2019-04-25 12:00 Manuel Rüger
2019-04-25 12:00 Manuel Rüger
2019-03-04 15:58 Thomas Deutschmann
2019-03-04 15:58 Thomas Deutschmann
2019-03-04 15:58 Thomas Deutschmann
2019-01-17 19:32 Mikle Kolyada
2019-01-17 19:32 Mikle Kolyada
2018-12-22 7:08 Mikle Kolyada
2018-12-22 7:08 Mikle Kolyada
2018-12-15 9:02 Mikle Kolyada
2018-12-15 9:02 Mikle Kolyada
2018-12-04 15:27 Mikle Kolyada
2018-11-10 20:57 Thomas Deutschmann
2018-11-10 20:57 Thomas Deutschmann
2018-11-10 20:57 Thomas Deutschmann
2018-10-02 9:40 Thomas Deutschmann
2018-10-02 9:40 Thomas Deutschmann
2018-10-02 9:40 Thomas Deutschmann
2018-09-13 15:34 Thomas Deutschmann
2018-09-09 20:41 Thomas Deutschmann
2018-09-09 20:41 Thomas Deutschmann
2018-09-09 20:41 Thomas Deutschmann
2018-08-05 13:57 Manuel Rüger
2018-07-16 13:44 Tony Vroon
2018-07-11 14:32 Manuel Rüger
2018-07-11 14:32 Manuel Rüger
2018-05-12 17:45 Michał Górny
2018-05-12 17:45 Michał Górny
2018-05-12 17:45 Michał Górny
2018-04-03 22:15 Marc Schiffbauer
2018-04-03 22:14 Marc Schiffbauer
2018-01-31 21:56 Michał Górny
2018-01-31 21:56 Michał Górny
2018-01-08 11:08 Tony Vroon
2017-12-12 20:27 Patrice Clement
2017-12-12 20:27 Patrice Clement
2017-11-16 16:05 Amy Liffey
2017-11-16 16:05 Amy Liffey
2017-10-20 7:45 Patrice Clement
2017-10-20 7:45 Patrice Clement
2017-09-30 8:05 Patrice Clement
2017-09-30 8:05 Patrice Clement
2017-09-21 15:05 Amy Liffey
2017-08-29 17:40 Guilherme Amadio
2017-08-28 14:11 Patrice Clement
2017-08-26 7:09 Patrice Clement
2017-08-26 7:09 Patrice Clement
2017-08-26 7:09 Patrice Clement
2017-08-09 20:57 Patrice Clement
2017-07-08 21:35 Patrice Clement
2017-06-04 17:52 Michał Górny
2017-05-23 19:58 Michał Górny
2017-05-19 10:52 Michał Górny
2017-05-19 10:52 Michał Górny
2017-05-18 22:25 Michał Górny
2017-05-17 16:37 Patrick Lauer
2017-05-11 8:26 Michał Górny
2017-01-15 17:37 Göktürk Yüksek
2017-01-15 17:37 Göktürk Yüksek
2017-01-05 16:30 Göktürk Yüksek
2016-11-28 11:07 Patrick Lauer
2016-10-28 19:25 Patrick Lauer
2016-10-15 9:25 Patrick Lauer
2016-10-02 12:59 Göktürk Yüksek
2016-10-01 19:05 Patrick Lauer
2016-10-01 19:05 Patrick Lauer
2016-09-02 5:26 Patrick Lauer
2016-09-01 14:14 Patrick Lauer
2016-07-11 9:24 Patrick Lauer
2016-05-25 9:21 Patrick Lauer
2016-04-19 15:30 Patrick Lauer
2016-04-01 8:49 Patrick Lauer
2016-04-01 8:21 Patrick Lauer
2016-02-05 11:51 Patrick Lauer
2016-02-05 11:51 Patrick Lauer
2016-01-08 10:35 Patrick Lauer
2016-01-06 8:59 Patrick Lauer
2015-12-20 10:59 Ian Delaney
2015-12-16 10:56 Ian Delaney
2015-12-16 10:56 Ian Delaney
2015-11-05 5:01 Ian Delaney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1633351733.4e90763fd54093539bbd17cecb66f4367a0e310e.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox