[arch-commits] Commit in kibana/trunk (PKGBUILD kibana.install tmpfile.conf user.conf)

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


    Date: Friday, November 17, 2017 @ 15:02:03
  Author: mtorromeo
Revision: 267095

upgpkg: kibana 6.0.0-1

Added:
  kibana/trunk/tmpfile.conf
  kibana/trunk/user.conf
Modified:
  kibana/trunk/PKGBUILD	(contents, properties)
Deleted:
  kibana/trunk/kibana.install

----------------+
 PKGBUILD       |   20 +++++++++++---------
 kibana.install |   17 -----------------
 tmpfile.conf   |    5 +++++
 user.conf      |    1 +
 4 files changed, 17 insertions(+), 26 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-17 15:01:34 UTC (rev 267094)
+++ PKGBUILD	2017-11-17 15:02:03 UTC (rev 267095)
@@ -1,8 +1,10 @@
+# $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=5.6.3
+pkgver=6.0.0
 pkgrel=1
 pkgdesc='Browser based analytics and search dashboard for Elasticsearch'
 url='https://www.elastic.co/products/kibana'
@@ -9,16 +11,17 @@
 arch=('any')
 license=('Apache')
 depends=('nodejs')
-optdepends=('elasticsearch>=2.4')
+optdepends=('elasticsearch')
 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')
+        kibana.service
+        tmpfile.conf
+        user.conf)
+sha256sums=('52c582846cd814639cd5888ff6ad20c81d7319a673784935bc579cdcfb04680f'
+            '34fe64b2f7d27b359b3e2c395f1a30ce48ec2b7116cc974b58345e8928bd843a'
+            '2a495d4688af59a3f675517aff49a11a07baf346e7de73a35605cef30faf3ff7'
+            '036b00956f3640f80b7e9604ae66ddbeb6ee9eb29bcb171d8e09a4679fd317ef')
 
 prepare() {
   cd ${pkgbase}-${pkgver}-linux-x86_64
@@ -36,7 +39,6 @@
   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"
 }
 


Property changes on: kibana/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Deleted: kibana.install
===================================================================
--- kibana.install	2017-11-17 15:01:34 UTC (rev 267094)
+++ kibana.install	2017-11-17 15:02:03 UTC (rev 267095)
@@ -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:

Added: tmpfile.conf
===================================================================
--- tmpfile.conf	                        (rev 0)
+++ tmpfile.conf	2017-11-17 15:02:03 UTC (rev 267095)
@@ -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 -

Added: user.conf
===================================================================
--- user.conf	                        (rev 0)
+++ user.conf	2017-11-17 15:02:03 UTC (rev 267095)
@@ -0,0 +1 @@
+u kibana 206 "Kibana user" /usr/share/kibana


More information about the arch-commits mailing list