public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/elasticsearch/
Date: Thu, 11 May 2017 08:26:13 +0000 (UTC)	[thread overview]
Message-ID: <1494491157.87df9e7e26152ca172b46c832715cf640240f0e3.mgorny@gentoo> (raw)

commit:     87df9e7e26152ca172b46c832715cf640240f0e3
Author:     Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Thu May 11 07:50:08 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May 11 08:25:57 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87df9e7e

app-misc/elasticsearch: bump to 5.3.2

Closes: https://github.com/gentoo/gentoo/pull/4514
Package-Manager: Portage-2.3.5, Repoman-2.3.2

 app-misc/elasticsearch/Manifest                   |  1 +
 app-misc/elasticsearch/elasticsearch-5.3.2.ebuild | 68 +++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/app-misc/elasticsearch/Manifest b/app-misc/elasticsearch/Manifest
index 82a178c779e..7243ea18d39 100644
--- a/app-misc/elasticsearch/Manifest
+++ b/app-misc/elasticsearch/Manifest
@@ -1,3 +1,4 @@
 DIST elasticsearch-2.4.4.tar.gz 27343272 SHA256 981092e6ca65ba5560b8b97a74e5ed0eb2236e9128efdb85bb652cec340158e2 SHA512 899a4d2fc64548bcd488ece223f5f189dfb191eceb36390c4b9d8d0d90ef9d2cb67ada475223b9b2e0bd0fb521a4ab978bc7f60781195927e36d027925338c14 WHIRLPOOL 1a90bb8c923a9eab6cc4390b3daaa44cd85d5c1a3a1a5ef7d274050eb25b061a11a91b0f57ebe9f3cb27aafee3267af8f63ca87837f79d622ff362fbc5b6ae1a
 DIST elasticsearch-5.1.2.tar.gz 33299777 SHA256 74d752f9a8b46898d306ad169b72f328e17215c0909149e156a576089ef11c42 SHA512 1867626e8a87f11ed109e1325fd1d16c9e0af06ebe6a30c78ea679ab533ab377f5da8ea55af6871be33af226f02187a2aadd77e5e23c097dd24055be21e9d691 WHIRLPOOL 2e9df71c915343e2cc8ad82c59b877f41f5e093cbeba21f471c32cb51a195eccc6223bc48da48bb4af2e6bea9f2539f2e93b866963148f4ca2940ba4466e614e
 DIST elasticsearch-5.2.2.tar.gz 33799732 SHA256 cf88930695794a8949342d386f028548bd10b26ecc8c4b422a94ea674faf8ac9 SHA512 670f8aa81a34191a13cc8c608a9dc7bec60c63bbed8fdb9bc0619585d644867576a7677eb0f14b4e4d064e59def186d4b431930bf79b54bcbf59a29b0b327e85 WHIRLPOOL 4ec1f3b5ed15b9f22d27512ea784ffe9e32e00808fec89418860955d2f4759d045775e18c0a61693da47f39de9f235de954eada231fbd6de5fbfd17f552e8452
+DIST elasticsearch-5.3.2.tar.gz 33704368 SHA256 a94fe46bc90eb271a0d448d20e49cb02526ac032281c683c79a219240280a1e8 SHA512 430021202fd747ea376e36e9035f05eaa27f06c25f2f8616e218a248f0aeaaffd8577d689c790b618e3fdbcbae23b7bd664d4380d0e323483f6e158675a4bc00 WHIRLPOOL 0fee048029880dabe901c0f9842ac331ef78204a70d0c71993cddbb8e76b7614af0e4b8e8181b36b9039b64093c9fd0720f5c8a2e7c515fc6634ac465c5f283a

diff --git a/app-misc/elasticsearch/elasticsearch-5.3.2.ebuild b/app-misc/elasticsearch/elasticsearch-5.3.2.ebuild
new file mode 100644
index 00000000000..d1e49f508e0
--- /dev/null
+++ b/app-misc/elasticsearch/elasticsearch-5.3.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd user
+
+DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
+HOMEPAGE="https://www.elastic.co/products/elasticsearch"
+SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz"
+LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="virtual/jre:1.8"
+
+pkg_setup() {
+	enewgroup ${PN}
+	enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN}
+}
+
+src_prepare() {
+	rm -rf bin/*.{bat,exe} || die
+	rm LICENSE.txt || die
+
+	default
+}
+
+src_install() {
+	keepdir /etc/${PN}
+	keepdir /etc/${PN}/scripts
+
+	insinto /etc/${PN}
+	doins config/*
+	rm -rf config || die
+
+	insinto /usr/share/${PN}
+	doins -r ./*
+
+	exeinto /usr/share/${PN}/bin
+	doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
+
+	chmod +x "${D}"/usr/share/${PN}/bin/* || die
+
+	keepdir /var/{lib,log}/${PN}
+	keepdir /usr/share/${PN}/plugins
+
+	systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" "${PN}.conf"
+
+	insinto /etc/sysctl.d
+	newins "${FILESDIR}/${PN}.sysctl.d" "${PN}.conf"
+
+	newinitd "${FILESDIR}/${PN}.init8" "${PN}"
+	newconfd "${FILESDIR}/${PN}.conf3" "${PN}"
+	systemd_newunit "${FILESDIR}"/${PN}.service6 "${PN}.service"
+}
+
+pkg_postinst() {
+	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/elasticsearch into the configuration directory of the instance:"
+	elog "/etc/${PN}/instance"
+	elog
+}


             reply	other threads:[~2017-05-11  8:26 UTC|newest]

Thread overview: 176+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-11  8:26 Michał Górny [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-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-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=1494491157.87df9e7e26152ca172b46c832715cf640240f0e3.mgorny@gentoo \
    --to=mgorny@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