Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/kibana-bin/
Date: Fri, 28 Sep 2018 09:45:38
Message-Id: 1538127874.76c7093c8864e6ad1fb37f9959164a637dade5e4.mgorny@gentoo
1 commit: 76c7093c8864e6ad1fb37f9959164a637dade5e4
2 Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Mon Sep 17 10:48:32 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 28 09:44:34 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76c7093c
7
8 www-apps/kibana-bin: drop old
9
10 Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
11 Package-Manager: Portage-2.3.49, Repoman-2.3.10
12 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
13
14 www-apps/kibana-bin/kibana-bin-6.4.0.ebuild | 71 -----------------------------
15 1 file changed, 71 deletions(-)
16
17 diff --git a/www-apps/kibana-bin/kibana-bin-6.4.0.ebuild b/www-apps/kibana-bin/kibana-bin-6.4.0.ebuild
18 deleted file mode 100644
19 index ad544d11f39..00000000000
20 --- a/www-apps/kibana-bin/kibana-bin-6.4.0.ebuild
21 +++ /dev/null
22 @@ -1,71 +0,0 @@
23 -# Copyright 1999-2018 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -
28 -inherit systemd user
29 -
30 -MY_PN="${PN%-bin}"
31 -MY_P=${MY_PN}-${PV}
32 -
33 -DESCRIPTION="Analytics and search dashboard for Elasticsearch"
34 -HOMEPAGE="https://www.elastic.co/products/kibana"
35 -SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz )
36 - !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}-linux-x86_64.tar.gz )"
37 -
38 -# source: LICENSE.txt and NOTICE.txt
39 -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 )"
40 -SLOT="0"
41 -KEYWORDS="~amd64"
42 -IUSE="x-pack"
43 -
44 -RDEPEND="net-libs/nodejs"
45 -
46 -S="${WORKDIR}/${MY_P}-linux-x86_64"
47 -
48 -pkg_setup() {
49 - enewgroup ${MY_PN}
50 - enewuser ${MY_PN} -1 -1 /opt/${MY_PN} ${MY_PN}
51 -}
52 -
53 -src_prepare() {
54 - default
55 -
56 - # remove bundled nodejs
57 - rm -r node || die
58 -
59 - # remove empty unused directory
60 - rmdir data || die
61 -}
62 -
63 -src_install() {
64 - insinto /etc/${MY_PN}
65 - doins -r config/.
66 - rm -r config || die
67 -
68 - insinto /etc/logrotate.d
69 - newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN}
70 -
71 - newconfd "${FILESDIR}"/${MY_PN}.confd ${MY_PN}
72 - newinitd "${FILESDIR}"/${MY_PN}.initd ${MY_PN}
73 - systemd_dounit "${FILESDIR}"/${MY_PN}.service
74 -
75 - insinto /opt/${MY_PN}
76 - doins -r .
77 -
78 - chmod +x "${ED%/}"/opt/${MY_PN}/bin/* || die
79 -
80 - diropts -m 0750 -o ${MY_PN} -g ${MY_PN}
81 - keepdir /var/log/${MY_PN}
82 -}
83 -
84 -pkg_postinst() {
85 - elog "This version of Kibana is compatible with Elasticsearch $(ver_cut 1-2) and"
86 - elog "Node.js 8. Some plugins may fail with other versions of Node.js (Bug #656008)."
87 - elog
88 - elog "To set a customized Elasticsearch instance:"
89 - elog " OpenRC: set ES_INSTANCE in /etc/conf.d/${MY_PN}"
90 - elog " systemd: set elasticsearch.url in /etc/${MY_PN}/kibana.yml"
91 - elog
92 - elog "Elasticsearch can run local or remote."
93 -}