Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/kibana-bin/
Date: Sun, 09 Sep 2018 20:41:35
Message-Id: 1536525668.43528cf3660aac2da7ab62a59ce88e82cd015367.whissi@gentoo
1 commit: 43528cf3660aac2da7ab62a59ce88e82cd015367
2 Author: Tomas Mozes <tmozes <AT> sygic <DOT> com>
3 AuthorDate: Sun Sep 9 20:04:21 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 9 20:41:08 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43528cf3
7
8 www-apps/kibana-bin: drop old
9
10 Closes: https://github.com/gentoo/gentoo/pull/9797
11 Package-Manager: Portage-2.3.49, Repoman-2.3.10
12
13 www-apps/kibana-bin/Manifest | 2 -
14 www-apps/kibana-bin/kibana-bin-6.2.4.ebuild | 69 -----------------------------
15 www-apps/kibana-bin/kibana-bin-6.3.1.ebuild | 69 -----------------------------
16 www-apps/kibana-bin/kibana-bin-6.4.0.ebuild | 4 +-
17 4 files changed, 2 insertions(+), 142 deletions(-)
18
19 diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest
20 index ec238fa4e6c..2d3bc090784 100644
21 --- a/www-apps/kibana-bin/Manifest
22 +++ b/www-apps/kibana-bin/Manifest
23 @@ -1,7 +1,5 @@
24 DIST kibana-5.6.10-linux-x86_64.tar.gz 52586941 BLAKE2B cb4e1716c640c80be980541e5496a96fc6baa04152e11f754b46dc71a9995809038b8a82c3404d9d86d1bd0381e9fc55fca44c66f046cb41e005c760aa077092 SHA512 c56c600c79bf2f5d2991d6c1442db300c78dd4135bf8dec5b9f500d609e2f041d09649195cfdae2f6d30cf8de2c2c865ac607283f865c4aa8ec1d400af84c270
25 -DIST kibana-6.2.4-linux-x86_64.tar.gz 85348919 BLAKE2B ce062a5a7d96c0266143f1091f7dbe5ade6236068a73f6fedbe253957f7ddf2d00b441d985f72e9936aa3bfa7ecd9e7b7672b301b726a7d78c3e2b71d52c3b24 SHA512 125c2002e1a3b197f9f0d6200f2979f2e5974a902bfec2baa4b34a0c8d55babccafdb87b8a7b69c61ca4c02b8ae97e69b9b2743f7d445f0e53e31c69288296d5
26 DIST kibana-6.3.2-linux-x86_64.tar.gz 205331616 BLAKE2B 17273e641a9f146943cc4aebbce1114706dcf5d4c5f4d865a79d5b576a845c40268ea4389c358d555ca278c0bed4a68baef661472f80f7957dd013f0ce2e9835 SHA512 35eb97ca2f8d0bd80dc7dcdc5bc03f8ab21d1280d11d892f12eda5a173a951dfe88718d45c94ff0a748bb324e44f243cda0ba314c6dcd249cd960928f7c7b7ea
27 DIST kibana-6.4.0-linux-x86_64.tar.gz 187936225 BLAKE2B 826962a18522b81311f26bb70f0a4591493676cd3bc750045476780f5c8ea7f5c8e78fe06b55cc8c330654278363c9f8fa98a6905eda59cc76a1b04b3b435d9b SHA512 ae0f6ede637bf373e44eb5711b5a07ce726bb72009d792c8e9a16d7eb32b2361cdda556a19c3f5fd50207320e86950217cf5e9a1a06607004d4b7f30d3dbb344
28 -DIST kibana-oss-6.3.1-linux-x86_64.tar.gz 89617065 BLAKE2B bdadf0ddecb060d64ed07f4f3f62934b4ae686f00d1dafbe8030acf95431b13049f53ffe7a6f8eb695d9cb1dc45151110f430c1953e1c0e1edd3656819ee0cb8 SHA512 6be02af23878dae1d48b81e8a46704f35a0bc136dd0952d997ba1f00d080868960fc3fc86d37e1e1fad5acb74dc2345e09ccc7d27862575d5783708d058c6831
29 DIST kibana-oss-6.3.2-linux-x86_64.tar.gz 89561513 BLAKE2B 37031653e171d683a18f25c957545b6b143c2f0d8c07da6c02ea61c8296657d190540f4ffee2c6a62a9146800971041d7e4e30767892ba2bbff0486aef31cda5 SHA512 87236fa1a45a5c5e0ecdc033f864e9a1f74cb148e350b83c6c024b37eb71e3c16236fe52525898532f286f816cb6d03de23cba3d97e0cc0c4d622cdd18c7defb
30 DIST kibana-oss-6.4.0-linux-x86_64.tar.gz 75103937 BLAKE2B 6fa7b731a15f2fb2088740a59706bf4085b049cd880f63b10cdcc0cd9e3e7d197384731360c285adab2a6838454761f6fa95bddbc470b4895728f87b14b946ff SHA512 eec78bb1935fdc126f7c69ea08c0997abc74f435f5ca24aa6fa370ad201dd1ebe9ab1d177f64ec66652a3c9c0dd3f13a8fa7866697d3f201f8bc124c051ebeba
31
32 diff --git a/www-apps/kibana-bin/kibana-bin-6.2.4.ebuild b/www-apps/kibana-bin/kibana-bin-6.2.4.ebuild
33 deleted file mode 100644
34 index 96789c5c556..00000000000
35 --- a/www-apps/kibana-bin/kibana-bin-6.2.4.ebuild
36 +++ /dev/null
37 @@ -1,69 +0,0 @@
38 -# Copyright 1999-2018 Gentoo Foundation
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=6
42 -
43 -inherit eapi7-ver systemd user
44 -
45 -MY_PN="${PN%-bin}"
46 -MY_P=${MY_PN}-${PV}
47 -
48 -DESCRIPTION="Analytics and search dashboard for Elasticsearch"
49 -HOMEPAGE="https://www.elastic.co/products/kibana"
50 -SRC_URI="https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz"
51 -
52 -# source: LICENSE.txt and NOTICE.txt
53 -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"
54 -SLOT="0"
55 -KEYWORDS="~amd64"
56 -
57 -RDEPEND="net-libs/nodejs"
58 -
59 -S="${WORKDIR}/${MY_P}-linux-x86_64"
60 -
61 -pkg_setup() {
62 - enewgroup ${MY_PN}
63 - enewuser ${MY_PN} -1 -1 /opt/${MY_PN} ${MY_PN}
64 -}
65 -
66 -src_prepare() {
67 - default
68 -
69 - # remove bundled nodejs
70 - rm -r node || die
71 -
72 - # remove empty unused directory
73 - rmdir data || die
74 -}
75 -
76 -src_install() {
77 - insinto /etc/${MY_PN}
78 - doins -r config/.
79 - rm -r config || die
80 -
81 - insinto /etc/logrotate.d
82 - newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN}
83 -
84 - newconfd "${FILESDIR}"/${MY_PN}.confd ${MY_PN}
85 - newinitd "${FILESDIR}"/${MY_PN}.initd ${MY_PN}
86 - systemd_dounit "${FILESDIR}"/${MY_PN}.service
87 -
88 - insinto /opt/${MY_PN}
89 - doins -r .
90 -
91 - chmod +x "${ED%/}"/opt/${MY_PN}/bin/* || die
92 -
93 - diropts -m 0750 -o ${MY_PN} -g ${MY_PN}
94 - keepdir /var/log/${MY_PN}
95 -}
96 -
97 -pkg_postinst() {
98 - elog "This version of Kibana is compatible with Elasticsearch $(ver_cut 1-2) and"
99 - elog "Node.js 6. Some plugins may fail with other versions of Node.js (Bug #656008)."
100 - elog
101 - elog "To set a customized Elasticsearch instance:"
102 - elog " OpenRC: set ES_INSTANCE in /etc/conf.d/${MY_PN}"
103 - elog " systemd: set elasticsearch.url in /etc/${MY_PN}/kibana.yml"
104 - elog
105 - elog "Elasticsearch can run local or remote."
106 -}
107
108 diff --git a/www-apps/kibana-bin/kibana-bin-6.3.1.ebuild b/www-apps/kibana-bin/kibana-bin-6.3.1.ebuild
109 deleted file mode 100644
110 index 964f443c817..00000000000
111 --- a/www-apps/kibana-bin/kibana-bin-6.3.1.ebuild
112 +++ /dev/null
113 @@ -1,69 +0,0 @@
114 -# Copyright 1999-2018 Gentoo Foundation
115 -# Distributed under the terms of the GNU General Public License v2
116 -
117 -EAPI=6
118 -
119 -inherit eapi7-ver systemd user
120 -
121 -MY_PN="${PN%-bin}"
122 -MY_P=${MY_PN}-${PV}
123 -
124 -DESCRIPTION="Analytics and search dashboard for Elasticsearch"
125 -HOMEPAGE="https://www.elastic.co/products/kibana"
126 -SRC_URI="https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}-linux-x86_64.tar.gz"
127 -
128 -# source: LICENSE.txt and NOTICE.txt
129 -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"
130 -SLOT="0"
131 -KEYWORDS="~amd64"
132 -
133 -RDEPEND="net-libs/nodejs"
134 -
135 -S="${WORKDIR}/${MY_P}-linux-x86_64"
136 -
137 -pkg_setup() {
138 - enewgroup ${MY_PN}
139 - enewuser ${MY_PN} -1 -1 /opt/${MY_PN} ${MY_PN}
140 -}
141 -
142 -src_prepare() {
143 - default
144 -
145 - # remove bundled nodejs
146 - rm -r node || die
147 -
148 - # remove empty unused directory
149 - rmdir data || die
150 -}
151 -
152 -src_install() {
153 - insinto /etc/${MY_PN}
154 - doins -r config/.
155 - rm -r config || die
156 -
157 - insinto /etc/logrotate.d
158 - newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN}
159 -
160 - newconfd "${FILESDIR}"/${MY_PN}.confd ${MY_PN}
161 - newinitd "${FILESDIR}"/${MY_PN}.initd ${MY_PN}
162 - systemd_dounit "${FILESDIR}"/${MY_PN}.service
163 -
164 - insinto /opt/${MY_PN}
165 - doins -r .
166 -
167 - chmod +x "${ED%/}"/opt/${MY_PN}/bin/* || die
168 -
169 - diropts -m 0750 -o ${MY_PN} -g ${MY_PN}
170 - keepdir /var/log/${MY_PN}
171 -}
172 -
173 -pkg_postinst() {
174 - elog "This version of Kibana is compatible with Elasticsearch $(ver_cut 1-2) and"
175 - elog "Node.js 8. Some plugins may fail with other versions of Node.js (Bug #656008)."
176 - elog
177 - elog "To set a customized Elasticsearch instance:"
178 - elog " OpenRC: set ES_INSTANCE in /etc/conf.d/${MY_PN}"
179 - elog " systemd: set elasticsearch.url in /etc/${MY_PN}/kibana.yml"
180 - elog
181 - elog "Elasticsearch can run local or remote."
182 -}
183
184 diff --git a/www-apps/kibana-bin/kibana-bin-6.4.0.ebuild b/www-apps/kibana-bin/kibana-bin-6.4.0.ebuild
185 index e6790f0a74f..ad544d11f39 100644
186 --- a/www-apps/kibana-bin/kibana-bin-6.4.0.ebuild
187 +++ b/www-apps/kibana-bin/kibana-bin-6.4.0.ebuild
188 @@ -1,9 +1,9 @@
189 # Copyright 1999-2018 Gentoo Foundation
190 # Distributed under the terms of the GNU General Public License v2
191
192 -EAPI=6
193 +EAPI=7
194
195 -inherit eapi7-ver systemd user
196 +inherit systemd user
197
198 MY_PN="${PN%-bin}"
199 MY_P=${MY_PN}-${PV}