[arch-commits] Commit in kibana/trunk (PKGBUILD)

Massimiliano Torromeo mtorromeo at archlinux.org
Tue Sep 18 14:53:36 UTC 2018


    Date: Tuesday, September 18, 2018 @ 14:53:36
  Author: mtorromeo
Revision: 383073

upgpkg: kibana 6.4.0-2

Modified:
  kibana/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-18 14:37:05 UTC (rev 383072)
+++ PKGBUILD	2018-09-18 14:53:36 UTC (rev 383073)
@@ -4,20 +4,20 @@
 
 pkgname=kibana
 pkgver=6.4.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Browser based analytics and search dashboard for Elasticsearch'
 url='https://www.elastic.co/products/kibana'
 arch=('any')
 license=('Apache')
-depends=('nodejs')
+depends=('nodejs-lts-carbon')
 optdepends=('elasticsearch')
 backup=('etc/kibana/kibana.yml')
 options=('!strip' 'emptydirs')
-source=(https://artifacts.elastic.co/downloads/${pkgname}/${pkgname}-${pkgver}-linux-x86_64.tar.gz
+source=(https://artifacts.elastic.co/downloads/${pkgname}/${pkgname}-oss-${pkgver}-linux-x86_64.tar.gz
         kibana.service
         tmpfile.conf
         user.conf)
-sha512sums=('ae0f6ede637bf373e44eb5711b5a07ce726bb72009d792c8e9a16d7eb32b2361cdda556a19c3f5fd50207320e86950217cf5e9a1a06607004d4b7f30d3dbb344'
+sha512sums=('eec78bb1935fdc126f7c69ea08c0997abc74f435f5ca24aa6fa370ad201dd1ebe9ab1d177f64ec66652a3c9c0dd3f13a8fa7866697d3f201f8bc124c051ebeba'
             '3216c2864cf184cea0883677a05bf83cf396fda52dbd3d9a187de22f0c45d13db58f8fb4dc926694ba7d7a24000cf6d5f6218805f74fb5d729fc85c643ca8f2f'
             '8571f0b0ec8a55dfcba8298c6f1b1895be3c6e3dad524633411615dd3ad2f73af11a94e0a74fd296a784d6c779df8e9ce0a9f7b3e0182adde221a67293f4adeb'
             '9085884430c656cc68b855c3d6740e5fd0854a8785930341b29e15e201deacc1870d8223255d9ebe096cb111319bea9bf4faa03d0760d5819976ebf912221c7d')
@@ -24,6 +24,10 @@
 
 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
 }
@@ -42,6 +46,8 @@
 
   rm -r "${pkgdir}/usr/share/kibana/node"
   find "${pkgdir}/usr/share/kibana/node_modules" -type d -empty -delete
+
+  # do not package the huge license-only x-pack which includes the whole chromium
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list