[arch-commits] Commit in kibana/repos (5 files)

Levente Polyak anthraxx at archlinux.org
Thu Jul 16 19:18:23 UTC 2020


    Date: Thursday, July 16, 2020 @ 19:18:22
  Author: anthraxx
Revision: 664159

archrelease: copy trunk to community-testing-any

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

----------------+
 PKGBUILD       |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 kibana.service |   15 +++++++++++++++
 tmpfile.conf   |    5 +++++
 user.conf      |    1 +
 4 files changed, 72 insertions(+)

Copied: kibana/repos/community-testing-any/PKGBUILD (from rev 664158, kibana/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-07-16 19:18:22 UTC (rev 664159)
@@ -0,0 +1,51 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Spider.007 <archlinux AT spider007 DOT net>
+
+pkgname=kibana
+pkgver=7.8.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}-oss-${pkgver}-linux-x86_64.tar.gz
+        kibana.service
+        tmpfile.conf
+        user.conf)
+sha512sums=('637c291623fdd10cd57a2599afe221d5af1724773a02da08a6ce808a6336a64d8278f7711fdaa95c6e1557c675d417698ec40c92062c5623917b78494dfe3d63'
+            '3216c2864cf184cea0883677a05bf83cf396fda52dbd3d9a187de22f0c45d13db58f8fb4dc926694ba7d7a24000cf6d5f6218805f74fb5d729fc85c643ca8f2f'
+            'afed49c164561f3c658a6d2423519adcf4d5293c416cd93fa5c9d12421416c1e9cb4287e832009049cfd014b365dc1cd93d9cf879117c701cce4caad3b772a8e'
+            '9085884430c656cc68b855c3d6740e5fd0854a8785930341b29e15e201deacc1870d8223255d9ebe096cb111319bea9bf4faa03d0760d5819976ebf912221c7d')
+
+prepare() {
+  cd ${pkgbase}-${pkgver}-linux-x86_64
+
+  # remove nodejs strict version requirements
+  sed "s@^require('./node_version_validator');@// \0@" -i src/setup_node_env/index.js
+
+  # 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"
+  install -Dm 644 "${srcdir}/user.conf" "${pkgdir}/usr/lib/sysusers.d/kibana.conf"
+  install -Dm 644 "${srcdir}/tmpfile.conf" "${pkgdir}/usr/lib/tmpfiles.d/kibana.conf"
+
+  rm -r "${pkgdir}/usr/share/kibana/node"
+  find "${pkgdir}/usr/share/kibana/node_modules" -type d -empty -delete
+}
+
+# vim: ts=2 sw=2 et:

Copied: kibana/repos/community-testing-any/kibana.service (from rev 664158, kibana/trunk/kibana.service)
===================================================================
--- community-testing-any/kibana.service	                        (rev 0)
+++ community-testing-any/kibana.service	2020-07-16 19:18:22 UTC (rev 664159)
@@ -0,0 +1,15 @@
+[Unit]
+Description=Kibana - dashboard for Elasticsearch
+After=network.target 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
+PrivateTmp=true
+NoNewPrivileges=true
+Restart=always
+
+[Install]
+WantedBy=multi-user.target

Copied: kibana/repos/community-testing-any/tmpfile.conf (from rev 664158, kibana/trunk/tmpfile.conf)
===================================================================
--- community-testing-any/tmpfile.conf	                        (rev 0)
+++ community-testing-any/tmpfile.conf	2020-07-16 19:18:22 UTC (rev 664159)
@@ -0,0 +1,5 @@
+d /etc/kibana 0750 kibana kibana -
+Z /etc/kibana/kibana.yml 0640 kibana kibana -
+d /usr/share/kibana 0755 kibana kibana -
+Z /usr/share/kibana/optimize - kibana kibana -
+Z /usr/share/kibana/data - kibana kibana -

Copied: kibana/repos/community-testing-any/user.conf (from rev 664158, kibana/trunk/user.conf)
===================================================================
--- community-testing-any/user.conf	                        (rev 0)
+++ community-testing-any/user.conf	2020-07-16 19:18:22 UTC (rev 664159)
@@ -0,0 +1 @@
+u kibana 206 "Kibana user" /usr/share/kibana


More information about the arch-commits mailing list