public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: www-apps/kibana-bin/files/, www-apps/kibana-bin/
@ 2016-12-18 14:23 Michael Palimaka
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Palimaka @ 2016-12-18 14:23 UTC (permalink / raw
  To: gentoo-commits

commit:     aee8f29bb79a9ac24bef40157b7777e50b2bd47b
Author:     Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Sun Dec 18 12:06:15 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Dec 18 14:22:54 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aee8f29b

www-apps/kibana-bin: allow to store uuid

 www-apps/kibana-bin/files/kibana.initd-r4      | 19 ++++++++
 www-apps/kibana-bin/kibana-bin-5.0.1-r1.ebuild | 67 ++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

diff --git a/www-apps/kibana-bin/files/kibana.initd-r4 b/www-apps/kibana-bin/files/kibana.initd-r4
new file mode 100644
index 00000000..35c9239
--- /dev/null
+++ b/www-apps/kibana-bin/files/kibana.initd-r4
@@ -0,0 +1,19 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+KIBANA_USER=${KIBANA_USER:-kibana}
+KIBANA_CONFIG=${KIBANA_CONFIG:-/etc/kibana/kibana.yml}
+
+command="/opt/kibana/bin/kibana"
+command_args="--elasticsearch ${ES_INSTANCE} --config ${KIBANA_CONFIG}"
+
+pidfile="/run/kibana.pid"
+command_background="true"
+start_stop_daemon_args="--user=\"${KIBANA_USER}\" --stdout /var/log/kibana/kibana.log --stderr /var/log/kibana/kibana.err"
+
+start_pre() {
+	checkpath -d -o "${KIBANA_USER}" -m750 "/var/log/kibana"
+	checkpath -f -o "${KIBANA_USER}" -m644 "/opt/kibana/optimize/.babelcache.json"
+	checkpath -f -o "${KIBANA_USER}" -m644 "/opt/kibana/data/uuid"
+}

diff --git a/www-apps/kibana-bin/kibana-bin-5.0.1-r1.ebuild b/www-apps/kibana-bin/kibana-bin-5.0.1-r1.ebuild
new file mode 100644
index 00000000..1fd8529
--- /dev/null
+++ b/www-apps/kibana-bin/kibana-bin-5.0.1-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit pax-utils user
+
+MY_PN="kibana"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Explore and visualize data"
+HOMEPAGE="https://www.elastic.co/products/kibana"
+SRC_URI="amd64? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz )
+	x86? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86.tar.gz )"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RESTRICT="strip"
+QA_PREBUILT="opt/kibana/node/bin/node"
+
+pkg_setup() {
+	enewgroup ${MY_PN}
+	enewuser ${MY_PN} -1 -1 /opt/${MY_PN} ${MY_PN}
+}
+
+src_unpack() {
+	if use amd64; then
+		S="${WORKDIR}/${MY_P}-linux-x86_64"
+	elif use x86; then
+		S="${WORKDIR}/${MY_P}-linux-x86"
+	fi
+
+	default
+}
+
+src_install() {
+	keepdir /opt/${MY_PN}
+	keepdir /var/log/${MY_PN}
+	keepdir /etc/${MY_PN}
+
+	insinto /etc/${MY_PN}
+	doins config/*
+	rm -rf 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-r4 ${MY_PN}
+
+	mv * "${ED%/}"/opt/${MY_PN} || die
+
+	# bug 567934
+	pax-mark m "${ED%/}/opt/${MY_PN}/node/bin/node"
+}
+
+pkg_postinst() {
+	elog "This version of Kibana is compatible with Elasticsearch 5.0+"
+	elog
+	elog "Be sure to point ES_INSTANCE to your Elasticsearch instance"
+	elog "in /etc/conf.d/${MY_PN}."
+	elog
+	elog "Elasticsearch can run local or remote."
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-apps/kibana-bin/files/, www-apps/kibana-bin/
@ 2017-01-15  4:14 Göktürk Yüksek
  0 siblings, 0 replies; 6+ messages in thread
From: Göktürk Yüksek @ 2017-01-15  4:14 UTC (permalink / raw
  To: gentoo-commits

commit:     b6c6fb653d74cdbab710e4997740fcb43b2e0373
Author:     Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Sun Jan  8 06:58:56 2017 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 04:04:08 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6c6fb65

www-apps/kibana-bin: bump to 4.6.3, drop old

 www-apps/kibana-bin/Manifest                       | 12 +---
 www-apps/kibana-bin/files/kibana.initd-r2          | 17 ------
 www-apps/kibana-bin/files/kibana.initd-r3          |  2 +-
 www-apps/kibana-bin/files/kibana.initd-r4          |  2 +-
 www-apps/kibana-bin/kibana-bin-4.1.11.ebuild       | 67 ----------------------
 www-apps/kibana-bin/kibana-bin-4.5.4.ebuild        | 67 ----------------------
 ...na-bin-4.6.1.ebuild => kibana-bin-4.6.3.ebuild} |  4 +-
 www-apps/kibana-bin/kibana-bin-5.0.0.ebuild        | 67 ----------------------
 www-apps/kibana-bin/kibana-bin-5.0.1-r1.ebuild     | 67 ----------------------
 www-apps/kibana-bin/kibana-bin-5.0.1.ebuild        | 67 ----------------------
 www-apps/kibana-bin/kibana-bin-5.1.1.ebuild        |  2 +-
 11 files changed, 7 insertions(+), 367 deletions(-)

diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest
index d6341ec..07969ae 100644
--- a/www-apps/kibana-bin/Manifest
+++ b/www-apps/kibana-bin/Manifest
@@ -1,12 +1,4 @@
-DIST kibana-4.1.11-linux-x64.tar.gz 18896066 SHA256 406fd817ce9e95bc65ac06361726361bdf82fdccdee1a7f6509fc10ab77654e9 SHA512 f36060bfa0e1d97753b0d330c171d9737cc3fb4d57120924364a619d340f2a6267e0c744bcdf76695df88779acd084309f7ad7d3df16e20ea7617a86a725f9f4 WHIRLPOOL 01eaa82f0af1ed72c18ebdf8ad37bd544ccd7c8c37083d8588e9194bc361b62739f99de9267b53f5af4924d6688b0c4c4f8cd7b240bdc9b2d202a9b4ba459806
-DIST kibana-4.1.11-linux-x86.tar.gz 18398607 SHA256 abd72b6c7bad0fd7903c7e39a3f14756e6b8a62cc5b38242bce93a3412feffee SHA512 666f3a7966093eb7a102712fbb0b092ecfc7ef0b8c256791d6bb87d2b894c7b12b2264e239841d42c7e0ca19a7f09e53ce5e1cd3913f2bb04dc720f78500c425 WHIRLPOOL 8424285c83820594fa81fad5a1ca5dc68b50a980d0692695fc941c547bf5d75cc581bf43dfb2e59b270a09d308650aeed487b1bfc06ecce712cd0caf77bdab8f
-DIST kibana-4.5.4-linux-x64.tar.gz 33265835 SHA256 f4f11ce06679f734d01446d0e4016256c4d9f57be6d07a790dbf97bed0998b44 SHA512 a654ba721d24afe9f7428d6ed3f134db4f0f4063056a7f2d7fed99aab146d061ad7fafb7311cea6515e448280af819b264a1a085d791ba5ed18748fd9316216b WHIRLPOOL 0441d13e3442e460bfe88a9e70cc3f79412fb6f1619ddba85a79b5a0fb7fb0645e15086ae616f582d5244dc52186c2959ee6971b085a50869625815c172926ef
-DIST kibana-4.5.4-linux-x86.tar.gz 32766907 SHA256 c0f99975a9679c56aa4c0258bdad8befe0add56c1a5e313c2d55e4e3de7dc9df SHA512 0c8b78fcb2fe8c2f1ca61f0a70c93d68839915f573a81c6b4ae4e58350fb96eb05b95d69fa700e0de0f79038789227482a25e19d701e0012aa37c1fe45b39170 WHIRLPOOL bfe15953ee5a33ad826ddf51578d46c93ce8e63f077fa0be8f27e71cf9807942b943347aa6f2c942fab61a331b83115ad92e32d16c3373f144bd79ea21a16013
-DIST kibana-4.6.1-linux-x86.tar.gz 33590940 SHA256 ab2a95222419286c7a3c32c17623fea9325cb95c383ade3e4c8ae29d0b1cd6ee SHA512 8a1147ab3cdbe5562e15056b797412330bc8ea38c099c4ff4ca565a3296405e978988d85ef1ad0883dc2d3ce335f74403960159ee1f4c77032178f9ee7b0cfaf WHIRLPOOL 54f363a0d043ce30a78d73cb89009210a9d3985aecdcec8021ec5ff35a9fc3426b51f50c9acfb6843612ce15d4826bcb948db49b9f8218c84d17caf0dd354557
-DIST kibana-4.6.1-linux-x86_64.tar.gz 34114110 SHA256 2cc005b7bfbe2436f4cf93fcdb957ab5683e7d7843537dfd2bd51644c835dcaf SHA512 9418f03a82b5e8865b915a97445b9e3ba84c354435588815606220e720c6e9e115792e9fa8185241d0ff9e6c2b2862d1c26210a467a58069d6879eef0301fa93 WHIRLPOOL 14cf7d1cd9582fa379c413d757e04471fd94f1647d467040c2333585feb897557514882cbe9020cd8970b2e41f471f5856af863c7439ba518bac0ff0a1f144ef
-DIST kibana-5.0.0-linux-x86.tar.gz 39564812 SHA256 8ca381bfa2d490919f4469bbf356d1ef19eddb424eaeac819d585191fdd759fd SHA512 9cbe41f901736b20408c85505807a989ef85f02a8a5765ec0b523cb1caaa597a8df17a356839c42e9c2abf5c5895830d7fbdb40d42f993ad971468cd072aa99d WHIRLPOOL 64be8b7d95036f0658afb14719641776612fdb2a8c454ba15f401b167040d2301c179a3e9d8e3b37ee1febe403a1879b216d14f6128e7a1f3a689d64fa87bdf6
-DIST kibana-5.0.0-linux-x86_64.tar.gz 40124789 SHA256 39cf5bc9e249df7ef98f0b7883f4ff23514a40290dfc48c5101b1d1ab67d60ae SHA512 4f7b6ac1acd539d0cfbd242e10912aac7e7ba010bb4fe3ceb09eb86b3b363acc0a2373916b09d9767e1e6b4ac804561c1b926791222e648c63498b1fc7498a8a WHIRLPOOL d76003089b7f1743651de98715f78e7be5c87d863cb5f8ad3671eeec8c48803a5b053fd98a57d5250e7e9ca2c952f5c481880e929f2bb326daf98f2a99d14c02
-DIST kibana-5.0.1-linux-x86.tar.gz 39568060 SHA256 2609f26ad122a49cc8c3aff250526612e3b1634f28f47a358baf2847b970b520 SHA512 6878be6960373a6c80f1ee2459b48bb8dfe2534300fad6aef5cde750ae796c44fc4804edd60d378d2ecac75788d64d85483e6ac6a13011f402683d7774077705 WHIRLPOOL d3e9891cf063516b9000bb3a33d6b92faca30bd987510400d6f0143850fe350ff55bf448dcf6065e548ebdaf1f7e637fbc69a1f249a293d44e48b36d12f80619
-DIST kibana-5.0.1-linux-x86_64.tar.gz 40119079 SHA256 bf845a27d37c24a8d63f8407691001d3c8dd31d2317e6866a4473d421aa9acd9 SHA512 7f1efc235b85f9f2eeb31cebfcb3e2c84c033a7cfdff65b1d4faa1e8192ece05fb28356a2aca7f2918b68104fc2428a386a9f7ae76f3379e87c4c581a4737b52 WHIRLPOOL 150c8a8133127de6dd3c4f52a48c0aa16b122e6339e004426f47374802db76b356804646c0f4d14c1f70469201d8be7a8c2536d692159718f8a2c681832364f4
+DIST kibana-4.6.3-linux-x86.tar.gz 33610389 SHA256 942550e1f74fd491c7e42d056ab9165bbd86aaa53385b5b1cba07171aaea5b59 SHA512 aaad8306c12624ebf080d248b6ab7c002543ba2db8c035ba0168e84fe20dc7af92d22c64ca3a0a1e5ff087f492da9208dd388175cb5fafed84d1dedc56334aa9 WHIRLPOOL 960b5d41f084142dac18d78a57f6ef486532fc4cfc781568a8816a845d28b67d01c9df11679087ecd97a68a2968af06556e051d769cc03a29c6a951e5e58c031
+DIST kibana-4.6.3-linux-x86_64.tar.gz 34135857 SHA256 483d49d7d03052f4885c88d905b602f3fa432cb12e2c2cbdab82bb0d259d00c7 SHA512 5e3b5abc81637fcfc8d1b0318bede20432f6b9ddc70c7e2ce2a61b36c983e0fbf1667f0939481ffe542e3000239a84568684c398edcabae1658ebf09b1314b39 WHIRLPOOL f3930869e8148647fe1c1cd053cdc6ef0787cd01d473972f6da9f34ac516fe96aa4d2907ac7491c62df186f2a938907eef320bf97a3ca3450bdf9c3f9c12bbf6
 DIST kibana-5.1.1-linux-x86.tar.gz 38350169 SHA256 59ea9ceefbcc55c3283a8da5cfee72c865162a1bff70d128c04ca63f7f80ea8c SHA512 fac89049e30450f2876dfa544d9571b6fbe9230083b074f3d4348824d1fb05fec67782c67522ef5ac9479ebab417b37e3d4d0178d048d7e8c60825b205922e5e WHIRLPOOL dfb8c97052f9f5b6cc126d57261b5418690257583e62b97a9e9f222172cf58828f61213dba9db44ad2726fbdea228386edd7756b4f08254266847ec7b5c6e00d
 DIST kibana-5.1.1-linux-x86_64.tar.gz 38909731 SHA256 da0383be8a12936c7d2a0a145e7bf0eb15abf972e585e0115ed8742032c79245 SHA512 6dd86aa15c563060ba52d87d68258e694c552826ec8a74578c19d0c9bcdfe1e6107f39e756af771495a88ba0ebda994f3e5b45e0afb07e6cbeb80e6d8ed685ea WHIRLPOOL 3b76c3280173ce6c203adb243d07d3df42cdeae6dc177169e4aa205fdd82bbc6e1605322ac2087c42b5b069158fd70a7a9822380f02515a2de41c9990bda5059

diff --git a/www-apps/kibana-bin/files/kibana.initd-r2 b/www-apps/kibana-bin/files/kibana.initd-r2
deleted file mode 100644
index 903be17..00000000
--- a/www-apps/kibana-bin/files/kibana.initd-r2
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-KIBANA_USER=${KIBANA_USER:-kibana}
-KIBANA_CONFIG=${KIBANA_CONFIG:-/etc/kibana/kibana.yml}
-
-command="/opt/kibana/bin/kibana"
-command_args="--elasticsearch ${ES_INSTANCE} --config ${KIBANA_CONFIG}"
-
-pidfile="/run/kibana.pid"
-command_background="true"
-start_stop_daemon_args="--user=\"${KIBANA_USER}\" --stdout /var/log/kibana/kibana.log --stderr /var/log/kibana/kibana.err"
-
-start_pre() {
-	checkpath -d -o "${KIBANA_USER}" -m750 "/var/log/kibana"
-}

diff --git a/www-apps/kibana-bin/files/kibana.initd-r3 b/www-apps/kibana-bin/files/kibana.initd-r3
index 3929394..99f78bf 100644
--- a/www-apps/kibana-bin/files/kibana.initd-r3
+++ b/www-apps/kibana-bin/files/kibana.initd-r3
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 KIBANA_USER=${KIBANA_USER:-kibana}

diff --git a/www-apps/kibana-bin/files/kibana.initd-r4 b/www-apps/kibana-bin/files/kibana.initd-r4
index 35c9239..97fed68 100644
--- a/www-apps/kibana-bin/files/kibana.initd-r4
+++ b/www-apps/kibana-bin/files/kibana.initd-r4
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 KIBANA_USER=${KIBANA_USER:-kibana}

diff --git a/www-apps/kibana-bin/kibana-bin-4.1.11.ebuild b/www-apps/kibana-bin/kibana-bin-4.1.11.ebuild
deleted file mode 100644
index 8373d22..00000000
--- a/www-apps/kibana-bin/kibana-bin-4.1.11.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit pax-utils user
-
-MY_PN="kibana"
-MY_P=${MY_PN}-${PV/_rc/-rc}
-
-DESCRIPTION="Explore and visualize data"
-HOMEPAGE="https://www.elastic.co/products/kibana"
-SRC_URI="amd64? ( https://download.elastic.co/${MY_PN}/${MY_PN}/${MY_P}-linux-x64.tar.gz )
-	x86? ( https://download.elastic.co/${MY_PN}/${MY_PN}/${MY_P}-linux-x86.tar.gz )"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RESTRICT="strip"
-QA_PREBUILT="opt/kibana/node/bin/node"
-
-pkg_setup() {
-	enewgroup ${MY_PN}
-	enewuser ${MY_PN} -1 -1 /opt/${MY_PN} ${MY_PN}
-}
-
-src_unpack() {
-	if use amd64; then
-	  S="${WORKDIR}/${MY_P}-linux-x64"
-	elif use x86; then
-	  S="${WORKDIR}/${MY_P}-linux-x86"
-	fi
-
-	default
-}
-
-src_install() {
-	keepdir /opt/${MY_PN}
-	keepdir /var/log/${MY_PN}
-	keepdir /etc/${MY_PN}
-
-	insinto /etc/${MY_PN}
-	doins config/*
-	rm -rf config
-
-	insinto /etc/logrotate.d
-	newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN}
-
-	newconfd "${FILESDIR}"/${MY_PN}.confd ${MY_PN}
-	newinitd "${FILESDIR}"/${MY_PN}.initd-r2 ${MY_PN}
-
-	mv * "${D}"/opt/${MY_PN}
-
-	# bug 567934
-	pax-mark m "${ED}/opt/${MY_PN}/node/bin/node"
-}
-
-pkg_postinst() {
-	elog "This version of Kibana is compatible with Elasticsearch 1.4.4 - 1.7."
-	elog
-	elog "Be sure to point ES_INSTANCE to your Elasticsearch instance"
-	elog "in /etc/conf.d/${MY_PN}."
-	elog
-	elog "Elasticsearch can run local or remote."
-}

diff --git a/www-apps/kibana-bin/kibana-bin-4.5.4.ebuild b/www-apps/kibana-bin/kibana-bin-4.5.4.ebuild
deleted file mode 100644
index 8a36b27..00000000
--- a/www-apps/kibana-bin/kibana-bin-4.5.4.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit pax-utils user
-
-MY_PN="kibana"
-MY_P=${MY_PN}-${PV/_rc/-rc}
-
-DESCRIPTION="Explore and visualize data"
-HOMEPAGE="https://www.elastic.co/products/kibana"
-SRC_URI="amd64? ( https://download.elastic.co/${MY_PN}/${MY_PN}/${MY_P}-linux-x64.tar.gz )
-	x86? ( https://download.elastic.co/${MY_PN}/${MY_PN}/${MY_P}-linux-x86.tar.gz )"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RESTRICT="strip"
-QA_PREBUILT="opt/kibana/node/bin/node"
-
-pkg_setup() {
-	enewgroup ${MY_PN}
-	enewuser ${MY_PN} -1 -1 /opt/${MY_PN} ${MY_PN}
-}
-
-src_unpack() {
-	if use amd64; then
-	  S="${WORKDIR}/${MY_P}-linux-x64"
-	elif use x86; then
-	  S="${WORKDIR}/${MY_P}-linux-x86"
-	fi
-
-	default
-}
-
-src_install() {
-	keepdir /opt/${MY_PN}
-	keepdir /var/log/${MY_PN}
-	keepdir /etc/${MY_PN}
-
-	insinto /etc/${MY_PN}
-	doins config/*
-	rm -rf config
-
-	insinto /etc/logrotate.d
-	newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN}
-
-	newconfd "${FILESDIR}"/${MY_PN}.confd ${MY_PN}
-	newinitd "${FILESDIR}"/${MY_PN}.initd-r3 ${MY_PN}
-
-	mv * "${D}"/opt/${MY_PN}
-
-	# bug 567934
-	pax-mark m "${ED}/opt/${MY_PN}/node/bin/node"
-}
-
-pkg_postinst() {
-	elog "This version of Kibana is compatible with Elasticsearch 2.3+"
-	elog
-	elog "Be sure to point ES_INSTANCE to your Elasticsearch instance"
-	elog "in /etc/conf.d/${MY_PN}."
-	elog
-	elog "Elasticsearch can run local or remote."
-}

diff --git a/www-apps/kibana-bin/kibana-bin-4.6.1.ebuild b/www-apps/kibana-bin/kibana-bin-4.6.3.ebuild
similarity index 96%
rename from www-apps/kibana-bin/kibana-bin-4.6.1.ebuild
rename to www-apps/kibana-bin/kibana-bin-4.6.3.ebuild
index 4ab82a6..e3ac8c1 100644
--- a/www-apps/kibana-bin/kibana-bin-4.6.1.ebuild
+++ b/www-apps/kibana-bin/kibana-bin-4.6.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -58,7 +58,7 @@ src_install() {
 }
 
 pkg_postinst() {
-	elog "This version of Kibana is compatible with Elasticsearch 2.4+"
+	elog "This version of Kibana is compatible with Elasticsearch 2.4"
 	elog
 	elog "Be sure to point ES_INSTANCE to your Elasticsearch instance"
 	elog "in /etc/conf.d/${MY_PN}."

diff --git a/www-apps/kibana-bin/kibana-bin-5.0.0.ebuild b/www-apps/kibana-bin/kibana-bin-5.0.0.ebuild
deleted file mode 100644
index c64d92c..00000000
--- a/www-apps/kibana-bin/kibana-bin-5.0.0.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-inherit pax-utils user
-
-MY_PN="kibana"
-MY_P=${MY_PN}-${PV}
-
-DESCRIPTION="Explore and visualize data"
-HOMEPAGE="https://www.elastic.co/products/kibana"
-SRC_URI="amd64? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz )
-	x86? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86.tar.gz )"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RESTRICT="strip"
-QA_PREBUILT="opt/kibana/node/bin/node"
-
-pkg_setup() {
-	enewgroup ${MY_PN}
-	enewuser ${MY_PN} -1 -1 /opt/${MY_PN} ${MY_PN}
-}
-
-src_unpack() {
-	if use amd64; then
-		S="${WORKDIR}/${MY_P}-linux-x86_64"
-	elif use x86; then
-		S="${WORKDIR}/${MY_P}-linux-x86"
-	fi
-
-	default
-}
-
-src_install() {
-	keepdir /opt/${MY_PN}
-	keepdir /var/log/${MY_PN}
-	keepdir /etc/${MY_PN}
-
-	insinto /etc/${MY_PN}
-	doins config/*
-	rm -rf 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-r3 ${MY_PN}
-
-	mv * "${ED%/}"/opt/${MY_PN} || die
-
-	# bug 567934
-	pax-mark m "${ED%/}/opt/${MY_PN}/node/bin/node"
-}
-
-pkg_postinst() {
-	elog "This version of Kibana is compatible with Elasticsearch 5.0+"
-	elog
-	elog "Be sure to point ES_INSTANCE to your Elasticsearch instance"
-	elog "in /etc/conf.d/${MY_PN}."
-	elog
-	elog "Elasticsearch can run local or remote."
-}

diff --git a/www-apps/kibana-bin/kibana-bin-5.0.1-r1.ebuild b/www-apps/kibana-bin/kibana-bin-5.0.1-r1.ebuild
deleted file mode 100644
index 1fd8529..00000000
--- a/www-apps/kibana-bin/kibana-bin-5.0.1-r1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-inherit pax-utils user
-
-MY_PN="kibana"
-MY_P=${MY_PN}-${PV}
-
-DESCRIPTION="Explore and visualize data"
-HOMEPAGE="https://www.elastic.co/products/kibana"
-SRC_URI="amd64? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz )
-	x86? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86.tar.gz )"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RESTRICT="strip"
-QA_PREBUILT="opt/kibana/node/bin/node"
-
-pkg_setup() {
-	enewgroup ${MY_PN}
-	enewuser ${MY_PN} -1 -1 /opt/${MY_PN} ${MY_PN}
-}
-
-src_unpack() {
-	if use amd64; then
-		S="${WORKDIR}/${MY_P}-linux-x86_64"
-	elif use x86; then
-		S="${WORKDIR}/${MY_P}-linux-x86"
-	fi
-
-	default
-}
-
-src_install() {
-	keepdir /opt/${MY_PN}
-	keepdir /var/log/${MY_PN}
-	keepdir /etc/${MY_PN}
-
-	insinto /etc/${MY_PN}
-	doins config/*
-	rm -rf 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-r4 ${MY_PN}
-
-	mv * "${ED%/}"/opt/${MY_PN} || die
-
-	# bug 567934
-	pax-mark m "${ED%/}/opt/${MY_PN}/node/bin/node"
-}
-
-pkg_postinst() {
-	elog "This version of Kibana is compatible with Elasticsearch 5.0+"
-	elog
-	elog "Be sure to point ES_INSTANCE to your Elasticsearch instance"
-	elog "in /etc/conf.d/${MY_PN}."
-	elog
-	elog "Elasticsearch can run local or remote."
-}

diff --git a/www-apps/kibana-bin/kibana-bin-5.0.1.ebuild b/www-apps/kibana-bin/kibana-bin-5.0.1.ebuild
deleted file mode 100644
index c64d92c..00000000
--- a/www-apps/kibana-bin/kibana-bin-5.0.1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-inherit pax-utils user
-
-MY_PN="kibana"
-MY_P=${MY_PN}-${PV}
-
-DESCRIPTION="Explore and visualize data"
-HOMEPAGE="https://www.elastic.co/products/kibana"
-SRC_URI="amd64? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz )
-	x86? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86.tar.gz )"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RESTRICT="strip"
-QA_PREBUILT="opt/kibana/node/bin/node"
-
-pkg_setup() {
-	enewgroup ${MY_PN}
-	enewuser ${MY_PN} -1 -1 /opt/${MY_PN} ${MY_PN}
-}
-
-src_unpack() {
-	if use amd64; then
-		S="${WORKDIR}/${MY_P}-linux-x86_64"
-	elif use x86; then
-		S="${WORKDIR}/${MY_P}-linux-x86"
-	fi
-
-	default
-}
-
-src_install() {
-	keepdir /opt/${MY_PN}
-	keepdir /var/log/${MY_PN}
-	keepdir /etc/${MY_PN}
-
-	insinto /etc/${MY_PN}
-	doins config/*
-	rm -rf 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-r3 ${MY_PN}
-
-	mv * "${ED%/}"/opt/${MY_PN} || die
-
-	# bug 567934
-	pax-mark m "${ED%/}/opt/${MY_PN}/node/bin/node"
-}
-
-pkg_postinst() {
-	elog "This version of Kibana is compatible with Elasticsearch 5.0+"
-	elog
-	elog "Be sure to point ES_INSTANCE to your Elasticsearch instance"
-	elog "in /etc/conf.d/${MY_PN}."
-	elog
-	elog "Elasticsearch can run local or remote."
-}

diff --git a/www-apps/kibana-bin/kibana-bin-5.1.1.ebuild b/www-apps/kibana-bin/kibana-bin-5.1.1.ebuild
index bae693f..cc99e73 100644
--- a/www-apps/kibana-bin/kibana-bin-5.1.1.ebuild
+++ b/www-apps/kibana-bin/kibana-bin-5.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-apps/kibana-bin/files/, www-apps/kibana-bin/
@ 2017-05-07 11:25 Michał Górny
  0 siblings, 0 replies; 6+ messages in thread
From: Michał Górny @ 2017-05-07 11:25 UTC (permalink / raw
  To: gentoo-commits

commit:     777af3f9e13d400dace299f64ccbf51ae5d54ee6
Author:     Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Fri Apr 28 09:22:38 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May  7 11:24:33 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=777af3f9

www-apps/kibana-bin: bump to 5.3.2

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

 www-apps/kibana-bin/Manifest                |  2 +
 www-apps/kibana-bin/files/kibana.initd-r5   | 23 ++++++++++
 www-apps/kibana-bin/kibana-bin-5.3.2.ebuild | 66 +++++++++++++++++++++++++++++
 3 files changed, 91 insertions(+)

diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest
index 425c5596862..7934a6b6d6c 100644
--- a/www-apps/kibana-bin/Manifest
+++ b/www-apps/kibana-bin/Manifest
@@ -4,3 +4,5 @@ DIST kibana-5.1.2-linux-x86.tar.gz 38506277 SHA256 e612e0669de687d20ac9896c4cb7a
 DIST kibana-5.1.2-linux-x86_64.tar.gz 39069457 SHA256 c2e30b9581e7222e8f2536d4b08087dc282a6b31a24ec0e43b905507fe2f2b04 SHA512 d1bebb18d1b3af49b7306f6192ba46bf2485b2eb9a6ddbe9028b5dec921104fbd22ab44d028a9d8ca16730d8f8f7533abb79561b420620859a32edda07369b01 WHIRLPOOL cecadd767316d1404bf60afd57dcb52da289197d173bffd5e320daa4a31c43624ff3ca4f75569916ec960beb2e5a4626159c5eaa26846060331e2bff879b3439
 DIST kibana-5.2.2-linux-x86.tar.gz 38297223 SHA256 de0421728aca00e9d4114b45ad5519b843b700006eb0795fcc2df4371d6baa1d SHA512 189def5722ac05e58cec27902a9e72ddb9bcbf65183ce7cd488e30000cabbfa934e10765a68cc2efaca190cfc148adb0b85d0edd6d15dc557a1fae6bed3c9f2e WHIRLPOOL 2d1257ae2f641ac2b83decc8aec191fd0351ab6a821cda906ea176d1a37ac2bd7476046cac15e43e3ea18bbd230dc6cf2d62c03c541232a1aa153c1b41c6bbc1
 DIST kibana-5.2.2-linux-x86_64.tar.gz 38853061 SHA256 9c7c526ce286da7f63aed9fb9f9d752ec182ff16bf374c55e55e5a0536a33563 SHA512 15e3c7919e24f0161b734e80513747655d7dad9996c26c07f96a4b4fe8408cae310f01b518d0555d8bbfc883604b3c95a0e4323fdb0c675d5e0ea384c2e7755c WHIRLPOOL d7e3e1cbf037eba0ff76b088eafd377a54d2f0962b416f6f85790bf781c9206026c5bb34dbe80ac8601bce7ed8274eec02667f95458057dcb8fda1de685405ed
+DIST kibana-5.3.2-linux-x86.tar.gz 38184703 SHA256 312aec766105a5638459bf2e6a2c3abc841dc7fc7cf0f18308e67dc15bde8fc2 SHA512 d9c81e9cea11eb5417fc9af19a1de8c7add4684dc904f670df509ebbbabbe82d0d7aa9790dd20017020707d32cbd7324a098bd9c2b492f850e4b382557298590 WHIRLPOOL 218f70607e7ac2c524a658b2b37fb3cfab11ca42414fd065eb4ee9f45a13453e5f3d272ecf5cb7370b6b886f60dc1c602d7682b299b388b5f77d5fe916fffed9
+DIST kibana-5.3.2-linux-x86_64.tar.gz 38743345 SHA256 3c0a548dd38bc1a6ba700b161ce059e0144d27f4000856bd5d577a3bd3200518 SHA512 db22a1cb2f42fb9751f08c5acb26b6af7b317e3ecd6832f2191d536d316d621a4b8efa63b1dd82372cccf52c67d0adf7a85bf1afe232317dae3a3878d11334bb WHIRLPOOL 1c4d047720a4edc30a22c5619091cd470e4ab6cbb1b914b321062f57f59bb875e44ad345dbff11ada29824fb901a6678fddd7b144fa8193dc67e9d4028a758a6

diff --git a/www-apps/kibana-bin/files/kibana.initd-r5 b/www-apps/kibana-bin/files/kibana.initd-r5
new file mode 100644
index 00000000000..84f38e9aeef
--- /dev/null
+++ b/www-apps/kibana-bin/files/kibana.initd-r5
@@ -0,0 +1,23 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+KIBANA_USER="${KIBANA_USER:-kibana}"
+KIBANA_CONFIG="${KIBANA_CONFIG:-/etc/kibana/kibana.yml}"
+KIBANA_CACHE_DIR="${KIBANA_CACHE_DIR:-/var/cache/kibana}"
+KIBANA_BABEL_CACHE_PATH="${KIBANA_CACHE_DIR}/.babelcache.json"
+KIBANA_DATA_DIR="${KIBANA_DATA_DIR:-/var/lib/kibana}"
+KIBANA_LOG_DIR="${KIBANA_LOG_DIR:-/var/log/kibana}"
+
+command="/opt/kibana/bin/kibana"
+command_args="--elasticsearch ${ES_INSTANCE} --config ${KIBANA_CONFIG} --path.data=${KIBANA_DATA_DIR}"
+
+pidfile="/run/kibana.pid"
+command_background="true"
+start_stop_daemon_args="--user=\"${KIBANA_USER}\" --stdout ${KIBANA_LOG_DIR}/kibana.log --stderr ${KIBANA_LOG_DIR}/kibana.err --env BABEL_CACHE_PATH=${KIBANA_BABEL_CACHE_PATH}"
+
+start_pre() {
+	checkpath -d -o "${KIBANA_USER}" -m750 "${KIBANA_CACHE_DIR}"
+	checkpath -d -o "${KIBANA_USER}" -m750 "${KIBANA_DATA_DIR}"
+	checkpath -d -o "${KIBANA_USER}" -m750 "${KIBANA_LOG_DIR}"
+}

diff --git a/www-apps/kibana-bin/kibana-bin-5.3.2.ebuild b/www-apps/kibana-bin/kibana-bin-5.3.2.ebuild
new file mode 100644
index 00000000000..24fff7fe327
--- /dev/null
+++ b/www-apps/kibana-bin/kibana-bin-5.3.2.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit pax-utils user
+
+MY_PN="${PN%-bin}"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Explore and visualize data"
+HOMEPAGE="https://www.elastic.co/products/kibana"
+SRC_URI="amd64? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz )
+	x86? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86.tar.gz )"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RESTRICT="strip"
+QA_PREBUILT="opt/kibana/node/bin/node"
+
+pkg_setup() {
+	enewgroup ${MY_PN}
+	enewuser ${MY_PN} -1 -1 /opt/${MY_PN} ${MY_PN}
+}
+
+src_unpack() {
+	if use amd64; then
+		S="${WORKDIR}/${MY_P}-linux-x86_64"
+	elif use x86; then
+		S="${WORKDIR}/${MY_P}-linux-x86"
+	fi
+
+	default
+}
+
+src_install() {
+	keepdir /opt/${MY_PN}
+	keepdir /var/log/${MY_PN}
+	keepdir /etc/${MY_PN}
+
+	insinto /etc/${MY_PN}
+	doins config/*
+	rm -rf 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-r5 ${MY_PN}
+
+	mv * "${ED%/}"/opt/${MY_PN} || die
+
+	# bug 567934
+	pax-mark m "${ED%/}/opt/${MY_PN}/node/bin/node"
+}
+
+pkg_postinst() {
+	elog "This version of Kibana is compatible with Elasticsearch 5.3"
+	elog
+	elog "Be sure to point ES_INSTANCE to your Elasticsearch instance"
+	elog "in /etc/conf.d/${MY_PN}."
+	elog
+	elog "Elasticsearch can run local or remote."
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-apps/kibana-bin/files/, www-apps/kibana-bin/
@ 2017-08-15 21:03 Patrice Clement
  0 siblings, 0 replies; 6+ messages in thread
From: Patrice Clement @ 2017-08-15 21:03 UTC (permalink / raw
  To: gentoo-commits

commit:     85605ae0ca15fe1c4943711773b88c615ac04bf0
Author:     Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Mon Aug 14 14:33:17 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Aug 15 21:03:26 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85605ae0

www-apps/kibana-bin: drop old.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 www-apps/kibana-bin/Manifest                |  4 --
 www-apps/kibana-bin/files/kibana.initd-r4   | 19 --------
 www-apps/kibana-bin/kibana-bin-5.1.2.ebuild | 66 ----------------------------
 www-apps/kibana-bin/kibana-bin-5.2.2.ebuild | 67 -----------------------------
 4 files changed, 156 deletions(-)

diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest
index 6c12dc00f87..886f433fdb4 100644
--- a/www-apps/kibana-bin/Manifest
+++ b/www-apps/kibana-bin/Manifest
@@ -1,7 +1,3 @@
-DIST kibana-5.1.2-linux-x86.tar.gz 38506277 SHA256 e612e0669de687d20ac9896c4cb7a1d7a2bdcb7205af531188013044d659ab90 SHA512 f8d80f3c8d9643dcbf5abb8035dbde15b48f099a1bba9a9d7b18c9894f4d9cb427bc5b850d4005182cde127f9967b2d2786964518637c5312e00020e0fe8e68e WHIRLPOOL abf990db0cf0fd50f6f4d4ea1a56703d955b603b0c80b61860800886546fadd1d79fe402cfa31aa414169290f623c1877e1826c3c4dccaad230657360289d785
-DIST kibana-5.1.2-linux-x86_64.tar.gz 39069457 SHA256 c2e30b9581e7222e8f2536d4b08087dc282a6b31a24ec0e43b905507fe2f2b04 SHA512 d1bebb18d1b3af49b7306f6192ba46bf2485b2eb9a6ddbe9028b5dec921104fbd22ab44d028a9d8ca16730d8f8f7533abb79561b420620859a32edda07369b01 WHIRLPOOL cecadd767316d1404bf60afd57dcb52da289197d173bffd5e320daa4a31c43624ff3ca4f75569916ec960beb2e5a4626159c5eaa26846060331e2bff879b3439
-DIST kibana-5.2.2-linux-x86.tar.gz 38297223 SHA256 de0421728aca00e9d4114b45ad5519b843b700006eb0795fcc2df4371d6baa1d SHA512 189def5722ac05e58cec27902a9e72ddb9bcbf65183ce7cd488e30000cabbfa934e10765a68cc2efaca190cfc148adb0b85d0edd6d15dc557a1fae6bed3c9f2e WHIRLPOOL 2d1257ae2f641ac2b83decc8aec191fd0351ab6a821cda906ea176d1a37ac2bd7476046cac15e43e3ea18bbd230dc6cf2d62c03c541232a1aa153c1b41c6bbc1
-DIST kibana-5.2.2-linux-x86_64.tar.gz 38853061 SHA256 9c7c526ce286da7f63aed9fb9f9d752ec182ff16bf374c55e55e5a0536a33563 SHA512 15e3c7919e24f0161b734e80513747655d7dad9996c26c07f96a4b4fe8408cae310f01b518d0555d8bbfc883604b3c95a0e4323fdb0c675d5e0ea384c2e7755c WHIRLPOOL d7e3e1cbf037eba0ff76b088eafd377a54d2f0962b416f6f85790bf781c9206026c5bb34dbe80ac8601bce7ed8274eec02667f95458057dcb8fda1de685405ed
 DIST kibana-5.3.3-linux-x86.tar.gz 38182559 SHA256 d5d2d3f234fc7f9bb1405733655755829ead2f29ee143fb77166252e6cf0bc8f SHA512 8607e2ca994fdcc5112e81b1603343926e808aede8f77ec95bb68bde535336926c0432a491c572453024f0106405a00b7e8dfaf6f6ba94c10f0ecfc52cae1ad7 WHIRLPOOL fab69d3be37c6d4c6ca40ddc32e4f1a55d8d065dbb88ead5bac8663104eb1877f4e5859abf36c0bf460a16d8d86fa423800b9e037b08b457c2b882b59afd94fd
 DIST kibana-5.3.3-linux-x86_64.tar.gz 38736812 SHA256 b35b955a705ed1f46acb20eac50931ddeb12e6b15357f65384a1c4cc47dcc6fb SHA512 e770a7f57cc4968a44e2e94598ba9f63be2cb971f1a943540d39301ee4233d37a8f5b20d5ea2a636ca368cbefada447f6cdb1dcf097b1831029cce904dabae13 WHIRLPOOL 5a064cb6fbe14384bf47959569e2bf5ca719bda528b886cbe3e782a5ac583db4c52675e41aac3f10f9d10ad1bc4fc1068967215b504e1732dd23d0ce22511753
 DIST kibana-5.4.3-linux-x86.tar.gz 52848765 SHA256 7e2ab20c5c85bf7ba606fc372d841fb068067dce23555a1a8787e1020c0bf02d SHA512 0319c36a5c5e27fd8e4c8ed3d218d4cdb1b9818d5de401f572464a7e5e5ef5a92a93aea5178498442e2d139b226f38dbeebb8eb4a0b09837b0cbaef49ab1b315 WHIRLPOOL 90d1a8558b27b9a06dd3fe015272c4cf4fe661829cb87c8b13520c542b6e1080b84e961c1dfa9fb3505ecf781b7bf43e9955138b72a2b29dfc2021289f9fa9ad

diff --git a/www-apps/kibana-bin/files/kibana.initd-r4 b/www-apps/kibana-bin/files/kibana.initd-r4
deleted file mode 100644
index 97fed68a2c2..00000000000
--- a/www-apps/kibana-bin/files/kibana.initd-r4
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-KIBANA_USER=${KIBANA_USER:-kibana}
-KIBANA_CONFIG=${KIBANA_CONFIG:-/etc/kibana/kibana.yml}
-
-command="/opt/kibana/bin/kibana"
-command_args="--elasticsearch ${ES_INSTANCE} --config ${KIBANA_CONFIG}"
-
-pidfile="/run/kibana.pid"
-command_background="true"
-start_stop_daemon_args="--user=\"${KIBANA_USER}\" --stdout /var/log/kibana/kibana.log --stderr /var/log/kibana/kibana.err"
-
-start_pre() {
-	checkpath -d -o "${KIBANA_USER}" -m750 "/var/log/kibana"
-	checkpath -f -o "${KIBANA_USER}" -m644 "/opt/kibana/optimize/.babelcache.json"
-	checkpath -f -o "${KIBANA_USER}" -m644 "/opt/kibana/data/uuid"
-}

diff --git a/www-apps/kibana-bin/kibana-bin-5.1.2.ebuild b/www-apps/kibana-bin/kibana-bin-5.1.2.ebuild
deleted file mode 100644
index b93c41f279e..00000000000
--- a/www-apps/kibana-bin/kibana-bin-5.1.2.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit pax-utils user
-
-MY_PN="${PN%-bin}"
-MY_P=${MY_PN}-${PV}
-
-DESCRIPTION="Explore and visualize data"
-HOMEPAGE="https://www.elastic.co/products/kibana"
-SRC_URI="amd64? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz )
-	x86? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86.tar.gz )"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RESTRICT="strip"
-QA_PREBUILT="opt/kibana/node/bin/node"
-
-pkg_setup() {
-	enewgroup ${MY_PN}
-	enewuser ${MY_PN} -1 -1 /opt/${MY_PN} ${MY_PN}
-}
-
-src_unpack() {
-	if use amd64; then
-		S="${WORKDIR}/${MY_P}-linux-x86_64"
-	elif use x86; then
-		S="${WORKDIR}/${MY_P}-linux-x86"
-	fi
-
-	default
-}
-
-src_install() {
-	keepdir /opt/${MY_PN}
-	keepdir /var/log/${MY_PN}
-	keepdir /etc/${MY_PN}
-
-	insinto /etc/${MY_PN}
-	doins config/*
-	rm -rf 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-r4 ${MY_PN}
-
-	mv * "${ED%/}"/opt/${MY_PN} || die
-
-	# bug 567934
-	pax-mark m "${ED%/}/opt/${MY_PN}/node/bin/node"
-}
-
-pkg_postinst() {
-	elog "This version of Kibana is compatible with Elasticsearch 5.1"
-	elog
-	elog "Be sure to point ES_INSTANCE to your Elasticsearch instance"
-	elog "in /etc/conf.d/${MY_PN}."
-	elog
-	elog "Elasticsearch can run local or remote."
-}

diff --git a/www-apps/kibana-bin/kibana-bin-5.2.2.ebuild b/www-apps/kibana-bin/kibana-bin-5.2.2.ebuild
deleted file mode 100644
index 1fd6bda66bd..00000000000
--- a/www-apps/kibana-bin/kibana-bin-5.2.2.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit pax-utils user
-
-MY_PN="${PN%-bin}"
-MY_P=${MY_PN}-${PV}
-
-DESCRIPTION="Explore and visualize data"
-HOMEPAGE="https://www.elastic.co/products/kibana"
-SRC_URI="amd64? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz )
-	x86? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86.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"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RESTRICT="strip"
-QA_PREBUILT="opt/kibana/node/bin/node"
-
-pkg_setup() {
-	enewgroup ${MY_PN}
-	enewuser ${MY_PN} -1 -1 /opt/${MY_PN} ${MY_PN}
-}
-
-src_unpack() {
-	if use amd64; then
-		S="${WORKDIR}/${MY_P}-linux-x86_64"
-	elif use x86; then
-		S="${WORKDIR}/${MY_P}-linux-x86"
-	fi
-
-	default
-}
-
-src_install() {
-	keepdir /opt/${MY_PN}
-	keepdir /var/log/${MY_PN}
-	keepdir /etc/${MY_PN}
-
-	insinto /etc/${MY_PN}
-	doins config/*
-	rm -rf 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-r4 ${MY_PN}
-
-	mv * "${ED%/}"/opt/${MY_PN} || die
-
-	# bug 567934
-	pax-mark m "${ED%/}/opt/${MY_PN}/node/bin/node"
-}
-
-pkg_postinst() {
-	elog "This version of Kibana is compatible with Elasticsearch 5.2"
-	elog
-	elog "Be sure to point ES_INSTANCE to your Elasticsearch instance"
-	elog "in /etc/conf.d/${MY_PN}."
-	elog
-	elog "Elasticsearch can run local or remote."
-}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-apps/kibana-bin/files/, www-apps/kibana-bin/
@ 2018-05-01 10:39 Michał Górny
  0 siblings, 0 replies; 6+ messages in thread
From: Michał Górny @ 2018-05-01 10:39 UTC (permalink / raw
  To: gentoo-commits

commit:     249db3f337d4c0efb3be62564e61a691301b0691
Author:     Xiami <i <AT> f2light <DOT> com>
AuthorDate: Thu Apr 26 10:15:59 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May  1 10:29:17 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=249db3f3

www-apps/kibana-bin: version bump to 6.2.4

Starting with this version, systemd support is added.

Closes: https://bugs.gentoo.org/653368
Closes: https://bugs.gentoo.org/654104
Closes: https://github.com/gentoo/gentoo/pull/8145
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 www-apps/kibana-bin/Manifest                |  1 +
 www-apps/kibana-bin/files/kibana.service    | 22 ++++++++++
 www-apps/kibana-bin/kibana-bin-6.2.4.ebuild | 68 +++++++++++++++++++++++++++++
 www-apps/kibana-bin/metadata.xml            |  3 ++
 4 files changed, 94 insertions(+)

diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest
index 3012b7eae9f..8abec126f0e 100644
--- a/www-apps/kibana-bin/Manifest
+++ b/www-apps/kibana-bin/Manifest
@@ -2,3 +2,4 @@ DIST kibana-5.6.8-linux-x86_64.tar.gz 51974963 BLAKE2B d90b3e56e9d19c3846b7fae29
 DIST kibana-6.0.1-linux-x86_64.tar.gz 62720465 BLAKE2B 81c3cb130067483cc6138c5274555c01102e365d873bf753a534cbcd96487516af41fbb91878cea4f80ffc02c5d18c82d322b0530cf1d3a55adffeefe60d9574 SHA512 3761f8abff5d949631f365c228af2f205597e1f05137d0140917b35128d2dcb79e32db355873864c1f01bce06121af71f1bfcb1679ae25903e1121bc76f68ecc
 DIST kibana-6.1.2-linux-x86_64.tar.gz 65093343 BLAKE2B 08254af4fcc261a49f5f6e4e1c734acca799708394d95d3203d6355d1e9dc3fa6bfa3eb85b1cb40e5d52a4558b6ea202d54e87ff6274823767f8332a7b01b9c7 SHA512 eefe3ae73e08c0cd14c5c7d7f962dc78cdfff1096895a1ab539f172b84dfa0d8c197d99573ac7dea6c60adb89b5e3fd5be10dddd749c060c540b30c34426c8a1
 DIST kibana-6.2.2-linux-x86_64.tar.gz 83415765 BLAKE2B 86f7511c82b6954a8769673b856eb46f2b633490535a013d4e30138e8abee470776493de43284f2e68b2cac6b74ba2b76245fd35803b8b5834f79ea5f488dd6b SHA512 8d26eb8293028aa0c35942a7b5025401f9b717d5c548d6cdbcf2761c0d8cc1189fdbf12c6f39468d4c809a3975f5f3c817e0f02424b296ce36183e118b0c72c6
+DIST kibana-6.2.4-linux-x86_64.tar.gz 85348919 BLAKE2B ce062a5a7d96c0266143f1091f7dbe5ade6236068a73f6fedbe253957f7ddf2d00b441d985f72e9936aa3bfa7ecd9e7b7672b301b726a7d78c3e2b71d52c3b24 SHA512 125c2002e1a3b197f9f0d6200f2979f2e5974a902bfec2baa4b34a0c8d55babccafdb87b8a7b69c61ca4c02b8ae97e69b9b2743f7d445f0e53e31c69288296d5

diff --git a/www-apps/kibana-bin/files/kibana.service b/www-apps/kibana-bin/files/kibana.service
new file mode 100644
index 00000000000..9e2840d3862
--- /dev/null
+++ b/www-apps/kibana-bin/files/kibana.service
@@ -0,0 +1,22 @@
+[Unit]
+Description=Kibana Web Application
+After=network.target
+
+[Service]
+Environment=BABEL_CACHE_PATH=%C/kibana/.babelcache.json
+
+WorkingDirectory=/opt/kibana
+StateDirectory=kibana
+StateDirectoryMode=0750
+CacheDirectory=kibana
+CacheDirectoryMode=0750
+
+User=kibana
+Group=kibana
+
+# DATA_DIR should be set in config (path.data directive)
+# But to comply with OpenRC script, preserve this
+ExecStart=/opt/kibana/bin/kibana --config /etc/kibana/kibana.yml --path.data=%S/kibana
+
+[Install]
+WantedBy=multi-user.target

diff --git a/www-apps/kibana-bin/kibana-bin-6.2.4.ebuild b/www-apps/kibana-bin/kibana-bin-6.2.4.ebuild
new file mode 100644
index 00000000000..481a185aa4b
--- /dev/null
+++ b/www-apps/kibana-bin/kibana-bin-6.2.4.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eapi7-ver 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="https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-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"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="net-libs/nodejs"
+
+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
+}
+
+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 .
+
+	chmod +x "${ED%/}"/opt/${MY_PN}/bin/* || die
+
+	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)"
+	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."
+}

diff --git a/www-apps/kibana-bin/metadata.xml b/www-apps/kibana-bin/metadata.xml
index 1b662aaef98..235a4590e78 100644
--- a/www-apps/kibana-bin/metadata.xml
+++ b/www-apps/kibana-bin/metadata.xml
@@ -9,4 +9,7 @@
     <email>proxy-maint@gentoo.org</email>
     <name>Proxy Maintainers</name>
   </maintainer>
+  <upstream>
+    <remote-id type="github">elastic/kibana</remote-id>
+  </upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-apps/kibana-bin/files/, www-apps/kibana-bin/
@ 2019-09-21 14:49 Joonas Niilola
  0 siblings, 0 replies; 6+ messages in thread
From: Joonas Niilola @ 2019-09-21 14:49 UTC (permalink / raw
  To: gentoo-commits

commit:     a52fb0572f13258fa5b075e1b8e5dd90d327b1c2
Author:     Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Sat Sep 21 05:51:05 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Sep 21 14:49:10 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a52fb057

www-apps/kibana-bin: bump to 6.8.3

Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
Closes: https://bugs.gentoo.org/693374
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 www-apps/kibana-bin/Manifest                |  2 +
 www-apps/kibana-bin/files/kibana.initd      |  2 +-
 www-apps/kibana-bin/kibana-bin-6.8.3.ebuild | 88 +++++++++++++++++++++++++++++
 3 files changed, 91 insertions(+), 1 deletion(-)

diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest
index 5300d33e6a7..8a24131f7ba 100644
--- a/www-apps/kibana-bin/Manifest
+++ b/www-apps/kibana-bin/Manifest
@@ -2,10 +2,12 @@ DIST kibana-5.6.16-linux-x86_64.tar.gz 53468981 BLAKE2B dda2aacad7043e4ed259c194
 DIST kibana-6.6.1-linux-x86_64.tar.gz 180675854 BLAKE2B 7c911f6715f1bb526e09a47de55b10b197dd78bcd5c9a6e710890cd333d23c8556d8efb12d34b0c0cdf1e989bb456da8f79e54b1798c02ea57658d90fbb80f83 SHA512 df4547a0056b46d6351948e7f67439b5a7fe46c27f20c9cb7783046abea04d28aa85ba74751f54c7a1524dbca55ee9c9bfaec50be903f964dedc1ceeb5d823b0
 DIST kibana-6.7.1-linux-x86_64.tar.gz 186430753 BLAKE2B 10d3b4d7996ee88ea3fc7062585dd0b00618650779e779c2fc18dcb9e0c62d964abb2806997f0712c495fb54ad2399a8b55745c67b6ff77ec1fa8e6041e7a075 SHA512 5ad5af43c18f12312d8bf5b50e8550ed8a008fb36efddb1756498c6a44cbb40cfa3ae7d307f5cb88daee0690dfd3aacfbb7bd526f098c140886a821af4b28e9d
 DIST kibana-6.8.1-linux-x86_64.tar.gz 186486884 BLAKE2B 6fc640637a2bca675726f485aef7931f475c91f92682101b987972ec9f39b57f5a7e3029dd9de102971356d17a6ce9fef197d8cd7a720e9a2511a4bb73a256b5 SHA512 31f3224bc4b571b24275dab21d3eb09fc592e7989887073985e17ccb718867d71e686f0299d28d0fb9f64388f1dfb98c82dbfaa6e7adc2d07685deffac2fed53
+DIST kibana-6.8.3-linux-x86_64.tar.gz 186404046 BLAKE2B aa4220fe060dce823c22a1b366dbe941e5f0930cde290b7272fade5e330a8f4f4dbe8fb4215d55b88edef3c8e65418e8f3659b7658355197f38b20316e0c3dff SHA512 54c3b9ad197bb8f100905c8b933b94a2dccd38ae3c4482d9b798fc3bd86e53a1e8d60d30554223da537012da47f9aefdbd0d41b9fc01bf01f7bcb45ffe60ebbc
 DIST kibana-7.0.0-linux-x86_64.tar.gz 167679944 BLAKE2B 55e1e36134861a063e6a2e844e717fc1e90130403d1f08be87c27582b822e866d8703b7a16a9cf1371ec65e0ff1a314bf6e838ce4b1b5905911325a1a4850b5a SHA512 647dd3900d70dfcf7c8f97d8a020f204b4e2f11c2fc23b4733618ad931f7876b37bfd885809632bbd05fdac75fbc0e233d48367ddb34801e1450b452af8e3f4a
 DIST kibana-7.2.0-linux-x86_64.tar.gz 213198521 BLAKE2B 64ce95baa14107c3789d4aff748310cacd41cdabe227cb3fedab4bdd5d65d86d4bc8883dd7f8fbced3fda2ed25ed294ce49a8f28311fcbcfcae3c7bdc960c4ac SHA512 78368be3c55ef09cfed6903cc6556edb1a77f9e548614535b261d13c3190052ee9571cbb686470662f5563c564f1256e3a31ca233a26e8b734f3df44ab5a97f0
 DIST kibana-oss-6.6.1-linux-x86_64.tar.gz 59466869 BLAKE2B 593563976b4d1c89b6042dbd1a945c6fc7ae2a8c3ea18d142d9e7e5f8307d72e7b358059316130880c64c6879e5df41d80005a1dad82d8a5ae223bf292bdf392 SHA512 1131ce7cab882166478be89426a8885fb53e2b1154100b6fa5dd0a431b1d9aa20df73c687159c18e1b9703e42f953fb10b3ab7fbfe634ed253331238249bf574
 DIST kibana-oss-6.7.1-linux-x86_64.tar.gz 62807564 BLAKE2B 8fec550769f4a2a88a4fab72b0ecb49d81d25d2f13d365cfefce2f70ed5c088a72f750a0b5807d729621a78c7fe393a5f9875012b6559aa82bb049083eaff5bf SHA512 309c25a16d535b1c5f0853ea89b7b69b61e3472afdabdd6f60a86fabba4c76c034b620cbe3d7f988cc78d21e5ed058b4f97e4995d868876a55fcc30769822882
 DIST kibana-oss-6.8.1-linux-x86_64.tar.gz 62862417 BLAKE2B ac421af54dff10dec2cd414f3a2101df6fa7691092865d53a35a80cd015679d3d749ef8b37bd67bf6a709741f310fc1ebfeb54ee705f2e81c044ae714e90c932 SHA512 853d920253e1c55ad284d713065174696d228634a90bfef20d7ada1f76a8db94b1d61b62c5e715356381780dcb28f87ae71c2d509282e97c524a8cb313a79e66
+DIST kibana-oss-6.8.3-linux-x86_64.tar.gz 62872100 BLAKE2B e47755708b7fa1a7a2b8d74b4fde352b554b350f31541eb98467f66e599ba1075c5833e1926e1f2cf6ec7accfc302bfd271dbba2ef6a9526683950d67442be0f SHA512 baa8ad7bb9388d6f969509ff1c8fe6273d8ec0b377aa15942a41a8f3934a670bf84fd84b96b76dbfb8fc4c053084b38dc26a6d2ce02efcb2ddf7b4530dfdeae4
 DIST kibana-oss-7.0.0-linux-x86_64.tar.gz 70548795 BLAKE2B b41f6073548f1cf09fd1e49504775f4802a1e86ed561870b60507054583f73bc0c531fadb831c7145d5234832eabf94a1b7e23ba78c88481be154d4b24ee07c4 SHA512 091ab4fbf0aec782307b7313dec82e6437be4cb76efac49eed6434c393e9adda3f925d6a75be4b78c9768c943168881dc38aa7b1b23462af80d5d158b3806136
 DIST kibana-oss-7.2.0-linux-x86_64.tar.gz 82672623 BLAKE2B 770e35f8025fb65513e51cb6a582dfe456e348efc7493c3710f2fa8ee49207392494aa437d7fe2d7115e5f607926e185264b6f92dacdc202331aab3d8ab10254 SHA512 ea735ecd18fc4441f29adcd7fd5a08a61e8bf1e82170219f598edf4a7726a11166e16b36f125edbfecafb6ed2c7cf003880d428960765861868e22cf55542e6b

diff --git a/www-apps/kibana-bin/files/kibana.initd b/www-apps/kibana-bin/files/kibana.initd
index 84f38e9aeef..80623fe54b3 100644
--- a/www-apps/kibana-bin/files/kibana.initd
+++ b/www-apps/kibana-bin/files/kibana.initd
@@ -12,7 +12,7 @@ KIBANA_LOG_DIR="${KIBANA_LOG_DIR:-/var/log/kibana}"
 command="/opt/kibana/bin/kibana"
 command_args="--elasticsearch ${ES_INSTANCE} --config ${KIBANA_CONFIG} --path.data=${KIBANA_DATA_DIR}"
 
-pidfile="/run/kibana.pid"
+pidfile="/run/${RC_SVCNAME}.pid"
 command_background="true"
 start_stop_daemon_args="--user=\"${KIBANA_USER}\" --stdout ${KIBANA_LOG_DIR}/kibana.log --stderr ${KIBANA_LOG_DIR}/kibana.err --env BABEL_CACHE_PATH=${KIBANA_BABEL_CACHE_PATH}"
 

diff --git a/www-apps/kibana-bin/kibana-bin-6.8.3.ebuild b/www-apps/kibana-bin/kibana-bin-6.8.3.ebuild
new file mode 100644
index 00000000000..2cc05a87027
--- /dev/null
+++ b/www-apps/kibana-bin/kibana-bin-6.8.3.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+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="
+	acct-group/kibana
+	acct-user/kibana
+	>=net-libs/nodejs-10.15.2
+	x-pack? (
+		dev-libs/expat
+		dev-libs/nss
+	)"
+
+S="${WORKDIR}/${MY_P}-linux-x86_64"
+
+src_prepare() {
+	default
+
+	# remove empty unused directory
+	rmdir data || die
+
+	# remove bundled nodejs
+	rm -r node || die
+
+	# move optimize/plugins to /var/lib/kibana
+	rm -r optimize plugins || 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/lib/${MY_PN}/optimize
+	keepdir /var/lib/${MY_PN}/plugins
+	keepdir /var/log/${MY_PN}
+
+	dosym ../../var/lib/kibana/optimize /opt/kibana/optimize # Bug 667214
+	dosym ../../var/lib/kibana/plugins /opt/kibana/plugins
+}
+
+pkg_postinst() {
+	ewarn "Kibana optimize/plugins directories were moved to /var/lib/kibana."
+	ewarn "In case of startup failures (FATAL Error: Cannot find module...),"
+	ewarn "please remove the optimize directory content:"
+	ewarn "rm -r /var/lib/kibana/optimize/*"
+	elog "This version of Kibana is compatible with Elasticsearch $(ver_cut 1-2) and"
+	elog "Node.js 10. 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."
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-09-21 14:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-07 11:25 [gentoo-commits] repo/gentoo:master commit in: www-apps/kibana-bin/files/, www-apps/kibana-bin/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2019-09-21 14:49 Joonas Niilola
2018-05-01 10:39 Michał Górny
2017-08-15 21:03 Patrice Clement
2017-01-15  4:14 Göktürk Yüksek
2016-12-18 14:23 Michael Palimaka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox