public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick Lauer" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/elasticsearch/
Date: Mon, 28 Nov 2016 11:07:44 +0000 (UTC)	[thread overview]
Message-ID: <1480331261.f6008b4e4caf227800f7899541c5f6e5ab2de5db.patrick@gentoo> (raw)

commit:     f6008b4e4caf227800f7899541c5f6e5ab2de5db
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 28 11:06:12 2016 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Mon Nov 28 11:07:41 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6008b4e

app-misc/elasticsearch: Bump

Package-Manager: portage-2.3.2

 app-misc/elasticsearch/Manifest                   |  1 +
 app-misc/elasticsearch/elasticsearch-5.0.1.ebuild | 84 +++++++++++++++++++++++
 2 files changed, 85 insertions(+)

diff --git a/app-misc/elasticsearch/Manifest b/app-misc/elasticsearch/Manifest
index 602eccb..62aec01 100644
--- a/app-misc/elasticsearch/Manifest
+++ b/app-misc/elasticsearch/Manifest
@@ -13,3 +13,4 @@ DIST elasticsearch-2.3.5.tar.gz 27547995 SHA256 1119a8c18620b98c4b85261318663a1f
 DIST elasticsearch-2.4.0.tar.gz 27364449 SHA256 3ae01140ae7bcbb91436feef381fbed774e36ef6d1e8e6a3153640db82acf4c9 SHA512 931f4d42cba43131718ec7480439b5fda0b9222a51cf9639d99ab4c00bdbedbe7e8da7a6016d88b848772cd416bc49fe7af09202160cecf839e39d803b45e869 WHIRLPOOL e03a2f7a6ea5913ce112b82e8578183c401f2d5901070a77c509ddbe7333fe62622fb2bb3e0f786a914bb15c56793e8b13220ae4588271baa3bbbcdf86223f47
 DIST elasticsearch-2.4.1.tar.gz 27364109 SHA256 23a369ef42955c19aaaf9e34891eea3a055ed217d7fbe76da0998a7a54bbe167 SHA512 69b22d5c2fc93e9bc83c5da415e110105d4d977aa98633041f51f8c55ba9e6045803584965367f6e1f962122ad81a8e07fefcc5a01c5381057ec921d65bc1751 WHIRLPOOL 893056d0cd23ae41e2cb9e3db4591108777b4360ad6be5c52782cc98379ab0f0c36b42758f9815fbaf8557c9e06723c03765fd9eb4cbfcf9fe0d3203d8e6039d
 DIST elasticsearch-5.0.0.tar.gz 32968292 SHA256 a866534f0fa7428e980c985d712024feef1dee04709add6e360fc7b73bb1e7ae SHA512 a4fa650d643c242a1f90059cfe6eb27e3d240b3deafc426abeae72c13aeae84b01ffb8b872b748619dfc58225ca29bde054fe10e1529522f9a06a1051991e4cd WHIRLPOOL a05a6dc785c00bb461ea286490cacc0222f9f95f0dea7ba61c6308cee0284edc53ee0a2047f723e990fa99f7ed09feda46313997b8f6dd487b042a6b26ecf8d6
+DIST elasticsearch-5.0.1.tar.gz 32944777 SHA256 542e197485fbcb1aac46097439337d2e9ac6a54b7b1e29ad17761f4d65898833 SHA512 3c4c5a692cc77b01b978d3a02f049fcce36b573b6a2097a9d6714618ec0e6de0583f750516ba461eb1d13386ffad636d8663134452edaaeb2b8889c701316598 WHIRLPOOL d5ceb8e87e36be880f3bf746bfa52f7431d62ff9cd666c9dc64093760474d973ffcad792fd0a5927bef61a8e36c2fced76e03eae42e77eb1d158dcd05579b858

diff --git a/app-misc/elasticsearch/elasticsearch-5.0.1.ebuild b/app-misc/elasticsearch/elasticsearch-5.0.1.ebuild
new file mode 100644
index 00000000..9f0a619
--- /dev/null
+++ b/app-misc/elasticsearch/elasticsearch-5.0.1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils systemd user
+
+MY_PN="${PN%-bin}"
+DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
+HOMEPAGE="https://www.elastic.co/products/elasticsearch"
+SRC_URI="https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="strip"
+
+RDEPEND="|| ( virtual/jre:1.8 virtual/jre:1.7 )"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+pkg_preinst() {
+	if has_version '<app-misc/elasticsearch-2.3.2'; then
+		export UPDATE_NOTES=1
+	fi
+}
+
+pkg_setup() {
+	enewgroup ${MY_PN}
+	enewuser ${MY_PN} -1 /bin/bash /usr/share/${MY_PN} ${MY_PN}
+	esethome ${MY_PN} /usr/share/${MY_PN}
+}
+
+src_prepare() {
+	rm -rf bin/*.{bat,exe}
+	rm LICENSE.txt
+}
+
+src_install() {
+	dodir /etc/${MY_PN}
+	dodir /etc/${MY_PN}/scripts
+
+	insinto /etc/${MY_PN}
+	doins config/*
+	rm -rf config
+
+	insinto /usr/share/${MY_PN}
+	doins -r ./*
+
+	insinto /usr/share/${MY_PN}/bin
+	doins "${FILESDIR}/elasticsearch-systemd-pre-exec"
+
+	chmod +x "${D}"/usr/share/${MY_PN}/bin/*
+
+	keepdir /var/{lib,log}/${MY_PN}
+	keepdir /usr/share/${MY_PN}/plugins
+
+	insinto /usr/lib/tmpfiles.d
+	newins "${FILESDIR}/${MY_PN}.tmpfiles.d" "${MY_PN}.conf"
+
+	insinto /etc/sysctl.d
+	newins "${FILESDIR}/${MY_PN}.sysctl.d" "${MY_PN}.conf"
+
+	newinitd "${FILESDIR}/elasticsearch.init6" "${MY_PN}"
+	newconfd "${FILESDIR}/${MY_PN}.conf2" "${MY_PN}"
+	systemd_newunit "${FILESDIR}"/${PN}.service5 "${PN}.service"
+}
+
+pkg_postinst() {
+	elog
+	elog "You may create multiple instances of ${MY_PN} by"
+	elog "symlinking the init script:"
+	elog "ln -sf /etc/init.d/${MY_PN} /etc/init.d/${MY_PN}.instance"
+	elog
+	elog "Please make sure you put elasticsearch.yml and logging.yml"
+	elog "into the configuration directory of the instance:"
+	elog "/etc/${MY_PN}/instance"
+	elog
+	if ! [ -z ${UPDATE_NOTES} ]; then
+		elog "This update changes some configuration variables. Please review"
+		elog "/etc/conf.d/elasticsearch before restarting your services."
+	fi
+}


             reply	other threads:[~2016-11-28 11:07 UTC|newest]

Thread overview: 176+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-28 11:07 Patrick Lauer [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-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-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=1480331261.f6008b4e4caf227800f7899541c5f6e5ab2de5db.patrick@gentoo \
    --to=patrick@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