From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/kibana-bin/
Date: Fri, 28 Sep 2018 09:45:14 +0000 (UTC) [thread overview]
Message-ID: <1538127872.712d3d3706f682c0f64895d2d2a17d5486093007.mgorny@gentoo> (raw)
commit: 712d3d3706f682c0f64895d2d2a17d5486093007
Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Mon Sep 17 10:47:56 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep 28 09:44:32 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=712d3d37
www-apps/kibana-bin: allow using newer node.js version
Closes: https://github.com/gentoo/gentoo/pull/9892
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
www-apps/kibana-bin/kibana-bin-6.4.0-r1.ebuild | 74 ++++++++++++++++++++++++++
1 file changed, 74 insertions(+)
diff --git a/www-apps/kibana-bin/kibana-bin-6.4.0-r1.ebuild b/www-apps/kibana-bin/kibana-bin-6.4.0-r1.ebuild
new file mode 100644
index 00000000000..fda8f3b78d7
--- /dev/null
+++ b/www-apps/kibana-bin/kibana-bin-6.4.0-r1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd user
+
+MY_PN="${PN%-bin}"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Analytics and search dashboard for Elasticsearch"
+HOMEPAGE="https://www.elastic.co/products/kibana"
+SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz )
+ !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}-linux-x86_64.tar.gz )"
+
+# source: LICENSE.txt and NOTICE.txt
+LICENSE="Apache-2.0 Artistic-2 BSD BSD-2 CC-BY-3.0 CC-BY-4.0 icu ISC MIT MPL-2.0 OFL-1.1 openssl public-domain Unlicense WTFPL-2 ZLIB x-pack? ( Elastic )"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="x-pack"
+
+RDEPEND=">=net-libs/nodejs-8.11.4"
+
+S="${WORKDIR}/${MY_P}-linux-x86_64"
+
+pkg_setup() {
+ enewgroup ${MY_PN}
+ enewuser ${MY_PN} -1 -1 /opt/${MY_PN} ${MY_PN}
+}
+
+src_prepare() {
+ default
+
+ # remove bundled nodejs
+ rm -r node || die
+
+ # remove empty unused directory
+ rmdir data || die
+
+ # handle node.js version with RDEPEND
+ sed -i /node_version_validator/d src/setup_node_env/index.js || die
+}
+
+src_install() {
+ insinto /etc/${MY_PN}
+ doins -r config/.
+ rm -r config || die
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN}
+
+ newconfd "${FILESDIR}"/${MY_PN}.confd ${MY_PN}
+ newinitd "${FILESDIR}"/${MY_PN}.initd ${MY_PN}
+ systemd_dounit "${FILESDIR}"/${MY_PN}.service
+
+ insinto /opt/${MY_PN}
+ doins -r .
+
+ fperms -R +x /opt/${MY_PN}/bin
+
+ diropts -m 0750 -o ${MY_PN} -g ${MY_PN}
+ keepdir /var/log/${MY_PN}
+}
+
+pkg_postinst() {
+ elog "This version of Kibana is compatible with Elasticsearch $(ver_cut 1-2) and"
+ elog "Node.js 8. Some plugins may fail with other versions of Node.js (Bug #656008)."
+ elog
+ elog "To set a customized Elasticsearch instance:"
+ elog " OpenRC: set ES_INSTANCE in /etc/conf.d/${MY_PN}"
+ elog " systemd: set elasticsearch.url in /etc/${MY_PN}/kibana.yml"
+ elog
+ elog "Elasticsearch can run local or remote."
+}
next reply other threads:[~2018-09-28 9:45 UTC|newest]
Thread overview: 129+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-28 9:45 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-20 13:33 [gentoo-commits] repo/gentoo:master commit in: www-apps/kibana-bin/ Sam James
2024-01-20 13:33 Sam James
2023-09-16 7:57 Joonas Niilola
2023-05-27 7:49 Joonas Niilola
2023-03-11 16:26 Sam James
2023-01-08 3:37 Sam James
2022-11-18 8:51 Joonas Niilola
2022-07-15 8:38 Joonas Niilola
2022-07-15 8:38 Joonas Niilola
2022-05-06 5:21 Joonas Niilola
2022-04-24 7: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-11-11 23:49 Sam James
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-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-04-16 5:40 Joonas Niilola
2021-04-16 5:40 Joonas Niilola
2021-03-30 7:25 Joonas Niilola
2021-03-30 7:25 Joonas Niilola
2021-03-30 7:25 Joonas Niilola
2021-01-21 23:23 Sam James
2020-12-03 20:34 Thomas Deutschmann
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-06-12 14:33 Thomas Deutschmann
2020-03-20 14:30 Joonas Niilola
2020-02-26 16:17 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-07-02 9:58 Manuel Rüger
2019-07-02 9:58 Manuel Rüger
2019-04-25 13:36 Manuel Rüger
2019-04-25 13:36 Manuel Rüger
2019-04-25 13:36 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:13 Mikle Kolyada
2018-11-10 20:57 Thomas Deutschmann
2018-11-10 20:57 Thomas Deutschmann
2018-11-10 20:57 Thomas Deutschmann
2018-09-28 9:45 Michał Górny
2018-09-09 20:41 Thomas Deutschmann
2018-09-09 20:41 Thomas Deutschmann
2018-08-05 13:58 Manuel Rüger
2018-07-11 15:46 Manuel Rüger
2018-07-11 15:46 Manuel Rüger
2018-07-11 15:46 Manuel Rüger
2018-07-11 15:46 Manuel Rüger
2018-05-02 22:04 Patrice Clement
2018-05-02 22:04 Patrice Clement
2018-03-12 22:59 Patrice Clement
2018-03-12 22:59 Patrice Clement
2018-01-31 22:02 Michał Górny
2018-01-31 22:02 Michał Górny
2017-12-14 18:25 Patrice Clement
2017-12-14 18:25 Patrice Clement
2017-11-25 13:22 Amy Liffey
2017-11-16 15:46 Amy Liffey
2017-11-16 15:46 Amy Liffey
2017-10-15 21:11 Patrice Clement
2017-10-15 21:11 Patrice Clement
2017-09-30 8:05 Patrice Clement
2017-09-30 8:05 Patrice Clement
2017-09-21 14:51 Amy Liffey
2017-08-26 7:09 Patrice Clement
2017-08-15 21:03 Patrice Clement
2017-08-15 21:03 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-03-15 20:04 Amy Liffey
2017-01-17 22:58 Patrice Clement
2016-12-25 2:21 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-09-12 15:35 Patrick Lauer
2016-09-08 6:51 Patrice Clement
2016-09-02 5:26 Patrick Lauer
2016-09-01 14:14 Patrick Lauer
2016-08-11 8:01 Patrice Clement
2016-08-11 8:01 Patrice Clement
2016-07-18 13:08 Patrick Lauer
2016-07-11 18:10 Patrick Lauer
2016-05-21 5:01 Ian Delaney
2016-04-05 9:40 Patrick Lauer
2016-04-01 14:24 Patrick Lauer
2016-03-14 13:54 Patrice Clement
2016-02-15 13:16 Patrice Clement
2016-02-09 10:26 Ian Delaney
2016-02-09 10:26 Ian Delaney
2015-12-22 15:12 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=1538127872.712d3d3706f682c0f64895d2d2a17d5486093007.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