[arch-commits] Commit in kibana/repos/community-any (7 files)

Massimiliano Torromeo mtorromeo at archlinux.org
Fri Nov 17 15:02:15 UTC 2017


    Date: Friday, November 17, 2017 @ 15:02:14
  Author: mtorromeo
Revision: 267096

archrelease: copy trunk to community-any

Added:
  kibana/repos/community-any/PKGBUILD
    (from rev 267095, kibana/trunk/PKGBUILD)
  kibana/repos/community-any/kibana.service
    (from rev 267095, kibana/trunk/kibana.service)
  kibana/repos/community-any/tmpfile.conf
    (from rev 267095, kibana/trunk/tmpfile.conf)
  kibana/repos/community-any/user.conf
    (from rev 267095, kibana/trunk/user.conf)
Deleted:
  kibana/repos/community-any/PKGBUILD
  kibana/repos/community-any/kibana.install
  kibana/repos/community-any/kibana.service

----------------+
 PKGBUILD       |   88 ++++++++++++++++++++++++++++---------------------------
 kibana.install |   17 ----------
 kibana.service |   24 +++++++--------
 tmpfile.conf   |    5 +++
 user.conf      |    1 
 5 files changed, 63 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-17 15:02:03 UTC (rev 267095)
+++ PKGBUILD	2017-11-17 15:02:14 UTC (rev 267096)
@@ -1,43 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Spider.007 <archlinux AT spider007 DOT net>
-
-pkgname=kibana
-pkgver=5.6.3
-pkgrel=1
-pkgdesc='Browser based analytics and search dashboard for Elasticsearch'
-url='https://www.elastic.co/products/kibana'
-arch=('any')
-license=('Apache')
-depends=('nodejs')
-optdepends=('elasticsearch>=2.4')
-backup=('etc/kibana/kibana.yml')
-options=('!strip' 'emptydirs')
-install=kibana.install
-source=(https://artifacts.elastic.co/downloads/${pkgname}/${pkgname}-${pkgver}-linux-x86_64.tar.gz
-        kibana.service)
-sha256sums=('6f3df48dabf51917252b1d99bea03a66e981812b27097645cc3cbb53281a1c71'
-            '34fe64b2f7d27b359b3e2c395f1a30ce48ec2b7116cc974b58345e8928bd843a')
-sha512sums=('fe957f0a2def9fb40be32ac77986d5eb7cc3373f828eed8eae074770ef965cf01c36028f2f9790f927e217ee59a283e63273eb768b9d2375aa0cdf15e4963c9a'
-            '68b5104ab57942c4a443fddb34ed8ef06659a8af9ab0db76193aad6ac4c4f9857d8fb07368cfab042c8aac9dd96222500d4da83067787e77a3964df094bba28b')
-
-prepare() {
-  cd ${pkgbase}-${pkgver}-linux-x86_64
-  # set default quiet mode for systemd, cli option forces specified values
-  sed -r 's|#(logging.quiet:) false|\1 true|' -i config/kibana.yml
-}
-
-package() {
-  cd ${pkgbase}-${pkgver}-linux-x86_64
-
-  install -dm 755 "${pkgdir}/usr/share/kibana"
-  cp -a * "${pkgdir}/usr/share/kibana"
-
-  install -dm 750 "${pkgdir}/etc/kibana"
-  install -Dm 640 config/kibana.yml -t "${pkgdir}/etc/kibana"
-  install -Dm 644 "${srcdir}/kibana.service" -t "${pkgdir}/usr/lib/systemd/system"
-
-  chown -R 206:206 "${pkgdir}"/usr/share/kibana/{optimize,data} "${pkgdir}/etc/kibana"
-  rm -r "${pkgdir}/usr/share/kibana/node"
-}
-
-# vim: ts=2 sw=2 et:

Copied: kibana/repos/community-any/PKGBUILD (from rev 267095, kibana/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-17 15:02:14 UTC (rev 267096)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Spider.007 <archlinux AT spider007 DOT net>
+
+pkgname=kibana
+pkgver=6.0.0
+pkgrel=1
+pkgdesc='Browser based analytics and search dashboard for Elasticsearch'
+url='https://www.elastic.co/products/kibana'
+arch=('any')
+license=('Apache')
+depends=('nodejs')
+optdepends=('elasticsearch')
+backup=('etc/kibana/kibana.yml')
+options=('!strip' 'emptydirs')
+source=(https://artifacts.elastic.co/downloads/${pkgname}/${pkgname}-${pkgver}-linux-x86_64.tar.gz
+        kibana.service
+        tmpfile.conf
+        user.conf)
+sha256sums=('52c582846cd814639cd5888ff6ad20c81d7319a673784935bc579cdcfb04680f'
+            '34fe64b2f7d27b359b3e2c395f1a30ce48ec2b7116cc974b58345e8928bd843a'
+            '2a495d4688af59a3f675517aff49a11a07baf346e7de73a35605cef30faf3ff7'
+            '036b00956f3640f80b7e9604ae66ddbeb6ee9eb29bcb171d8e09a4679fd317ef')
+
+prepare() {
+  cd ${pkgbase}-${pkgver}-linux-x86_64
+  # set default quiet mode for systemd, cli option forces specified values
+  sed -r 's|#(logging.quiet:) false|\1 true|' -i config/kibana.yml
+}
+
+package() {
+  cd ${pkgbase}-${pkgver}-linux-x86_64
+
+  install -dm 755 "${pkgdir}/usr/share/kibana"
+  cp -a * "${pkgdir}/usr/share/kibana"
+
+  install -dm 750 "${pkgdir}/etc/kibana"
+  install -Dm 640 config/kibana.yml -t "${pkgdir}/etc/kibana"
+  install -Dm 644 "${srcdir}/kibana.service" -t "${pkgdir}/usr/lib/systemd/system"
+
+  rm -r "${pkgdir}/usr/share/kibana/node"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: kibana.install
===================================================================
--- kibana.install	2017-11-17 15:02:03 UTC (rev 267095)
+++ kibana.install	2017-11-17 15:02:14 UTC (rev 267096)
@@ -1,17 +0,0 @@
-post_install() {
-  if ! getent passwd kibana &>/dev/null; then
-    groupadd -r -g 206 kibana &>/dev/null
-    useradd -r -u 206 -g kibana -d /var/lib/kibana -s /bin/nologin -c 'kibana user' kibana &>/dev/null
-    passwd -l kibana &>/dev/null
-  fi
-}
-
-post_upgrade() {
-  post_install $1
-  if (( $(vercmp $2 5.5.0-2) <= 0 )); then
-    chown -R 206:206 /usr/share/kibana/{optimize,data}
-    chmod -R o-w,g-w /usr/share/kibana/{optimize,data}
-  fi
-}
-
-# vim: ts=2 sw=2 et:

Deleted: kibana.service
===================================================================
--- kibana.service	2017-11-17 15:02:03 UTC (rev 267095)
+++ kibana.service	2017-11-17 15:02:14 UTC (rev 267096)
@@ -1,12 +0,0 @@
-[Unit]
-Description=Kibana - dashboard for Elasticsearch
-After=elasticsearch.service
-
-[Service]
-User=kibana
-Group=kibana
-Environment="NODE_ENV=production"
-ExecStart=/usr/bin/node --max-old-space-size=512 /usr/share/kibana/src/cli --config=/etc/kibana/kibana.yml
-
-[Install]
-WantedBy=multi-user.target

Copied: kibana/repos/community-any/kibana.service (from rev 267095, kibana/trunk/kibana.service)
===================================================================
--- kibana.service	                        (rev 0)
+++ kibana.service	2017-11-17 15:02:14 UTC (rev 267096)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Kibana - dashboard for Elasticsearch
+After=elasticsearch.service
+
+[Service]
+User=kibana
+Group=kibana
+Environment="NODE_ENV=production"
+ExecStart=/usr/bin/node --max-old-space-size=512 /usr/share/kibana/src/cli --config=/etc/kibana/kibana.yml
+
+[Install]
+WantedBy=multi-user.target

Copied: kibana/repos/community-any/tmpfile.conf (from rev 267095, kibana/trunk/tmpfile.conf)
===================================================================
--- tmpfile.conf	                        (rev 0)
+++ tmpfile.conf	2017-11-17 15:02:14 UTC (rev 267096)
@@ -0,0 +1,5 @@
+d /etc/kibana 0755 kibana kibana -
+d /usr/share/kibana 0755 kibana kibana -
+z /etc/kibana/kibana.yml - kibana kibana -
+Z /usr/share/kibana/optimize - kibana kibana -
+Z /usr/share/kibana/data - kibana kibana -

Copied: kibana/repos/community-any/user.conf (from rev 267095, kibana/trunk/user.conf)
===================================================================
--- user.conf	                        (rev 0)
+++ user.conf	2017-11-17 15:02:14 UTC (rev 267096)
@@ -0,0 +1 @@
+u kibana 206 "Kibana user" /usr/share/kibana


More information about the arch-commits mailing list