[arch-commits] Commit in netdata/repos/community-x86_64 (8 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Tue Nov 6 13:21:10 UTC 2018


    Date: Tuesday, November 6, 2018 @ 13:21:10
  Author: svenstaro
Revision: 401692

archrelease: copy trunk to community-x86_64

Added:
  netdata/repos/community-x86_64/PKGBUILD
    (from rev 401691, netdata/trunk/PKGBUILD)
  netdata/repos/community-x86_64/netdata.install
    (from rev 401691, netdata/trunk/netdata.install)
  netdata/repos/community-x86_64/netdata.sysusers
    (from rev 401691, netdata/trunk/netdata.sysusers)
  netdata/repos/community-x86_64/netdata.tmpfiles
    (from rev 401691, netdata/trunk/netdata.tmpfiles)
Deleted:
  netdata/repos/community-x86_64/PKGBUILD
  netdata/repos/community-x86_64/netdata.install
  netdata/repos/community-x86_64/netdata.sysusers
  netdata/repos/community-x86_64/netdata.tmpfiles

------------------+
 PKGBUILD         |  120 +++++++++++++++++++++++++----------------------------
 netdata.install  |   32 +++++---------
 netdata.sysusers |    2 
 netdata.tmpfiles |    6 +-
 4 files changed, 74 insertions(+), 86 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 13:20:54 UTC (rev 401691)
+++ PKGBUILD	2018-11-06 13:21:10 UTC (rev 401692)
@@ -1,62 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: SanskritFritz (gmail)
-
-pkgname=netdata
-pkgver=1.10.0
-pkgrel=1
-pkgdesc="Real-time performance monitoring, in the greatest possible detail, over the web"
-url="https://github.com/firehol/netdata/wiki"
-arch=('x86_64')
-license=('GPL')
-depends=('libmnl' 'libnetfilter_acct' 'zlib')
-optdepends=('nodejs: for monitoring named and SNMP devices'
-            'lm_sensors: for monitoring hardware sensors'
-            'iproute2: for monitoring Linux QoS'
-            'python: for most of the external plugins'
-            'python-psycopg2: for monitoring PostgreSQL databases'
-            'python-requests: for monitoring elasticsearch'
-            'hddtemp: for monitoring hhd temperature'
-            'apcupsd: for monitoring APC UPS'
-            'iw: for monitoring Linux as access point')
-backup=('etc/netdata/'{apps_groups,charts.d,health_alarm_notify,health_email_recipients,netdata,python.d,stream}.conf
-        'etc/netdata/health.d/'{apache,beanstalkd,couchdb,cpu,disks,entropy,memcached,mysql,named,net,nginx,qos,ram,redis,retroshare,squid,swap,tcp_conn,tcp_mem,tcp_orphans}.conf
-        'etc/netdata/python.d/'{apache_cache,apache,beanstalk,couchdb,cpufreq,dnsdist,dovecot,example,exim,hddtemp,ipfs,memcached,mysql,nginx,nginx_log,phpfpm,powerdns,postfix,redis,retroshare,sensors,squid,tomcat}.conf)
-install="$pkgname.install"
-source=("https://github.com/firehol/netdata/releases/download/v${pkgver}/netdata-${pkgver}.tar.xz"
-        "${pkgname}.tmpfiles"
-        "${pkgname}.sysusers")
-sha512sums=('ae1e3f06b175321d0bfb9818e7c4dbfb73f957b7d086580c33a8db3e4cc6b6fdeb57d84bd210a77db7f63c84286fcf988d7e03627bf6217110b038fd132c44e1'
-            '3f934ddd1f5248f9e11c29050c023d60b76e4098ec9c8d413bb362d43e9242f767fd58310d966076e8400779af8bda2459afcc314b267fcb9f1c84173e14e313'
-            'a910809a823ba58ca7bdaa72e8d68427b48f452c1fbb2343fa182ecb0a091a7640e73af24b8ba2fdd90e00aed8ef53b7fccd25cb8f04ca9b9fa6c8e52223ca66')
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  ./autogen.sh
-  ./configure \
-  	--prefix="/usr" \
-  	--sbindir="/usr/bin" \
-  	--sysconfdir="/etc" \
-  	--libexecdir="/usr/lib" \
-  	--localstatedir="/var" \
-  	--with-zlib --with-math --with-user=netdata
-  make
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  make DESTDIR="$pkgdir" install
-
-  # Remove /var/*, pacman creates it via tmpfiles hook
-  rm -vrf "${pkgdir}/var"
-  touch "$pkgdir/etc/netdata/netdata.conf"
-  chown -R 134:134 "$pkgdir"/etc/netdata
-  chown -R 134:134 "$pkgdir"/usr/share/netdata/web
-
-  install -Dm0644 "system/netdata.service" "$pkgdir/usr/lib/systemd/system/netdata.service"
-  install -Dm0644 "system/netdata.logrotate" "$pkgdir/etc/logrotate.d/netdata"
-  install -Dm0644 "${srcdir}/${pkgname}.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
-  install -Dm0644 "${srcdir}/${pkgname}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
-}
-

Copied: netdata/repos/community-x86_64/PKGBUILD (from rev 401691, netdata/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-06 13:21:10 UTC (rev 401692)
@@ -0,0 +1,58 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: SanskritFritz (gmail)
+
+pkgname=netdata
+pkgver=1.11.0
+pkgrel=1
+pkgdesc="Real-time performance monitoring, in the greatest possible detail, over the web"
+url="https://github.com/netdata/netdata"
+arch=('x86_64')
+license=('GPL')
+depends=('libmnl' 'libnetfilter_acct' 'zlib')
+optdepends=('nodejs: for monitoring named and SNMP devices'
+            'lm_sensors: for monitoring hardware sensors'
+            'iproute2: for monitoring Linux QoS'
+            'python: for most of the external plugins'
+            'python-psycopg2: for monitoring PostgreSQL databases'
+            'python-requests: for monitoring elasticsearch'
+            'hddtemp: for monitoring hhd temperature'
+            'apcupsd: for monitoring APC UPS'
+            'iw: for monitoring Linux as access point')
+install="$pkgname.install"
+source=("https://github.com/netdata/netdata/releases/download/v${pkgver}/netdata-v${pkgver}.tar.gz"
+        "${pkgname}.tmpfiles"
+        "${pkgname}.sysusers")
+sha512sums=('9e0fb1755785d6fa4c878ed7b7765d363d1afd3c97496f20715bb17745e727dbe72e06504bd26339b5bd459364b585cd9453b8cc9e48833cb0c70e4ded278129'
+            '3f934ddd1f5248f9e11c29050c023d60b76e4098ec9c8d413bb362d43e9242f767fd58310d966076e8400779af8bda2459afcc314b267fcb9f1c84173e14e313'
+            'a910809a823ba58ca7bdaa72e8d68427b48f452c1fbb2343fa182ecb0a091a7640e73af24b8ba2fdd90e00aed8ef53b7fccd25cb8f04ca9b9fa6c8e52223ca66')
+
+build() {
+  cd "$pkgname-$pkgver"*
+
+  ./configure \
+  	--prefix="/usr" \
+  	--sbindir="/usr/bin" \
+  	--sysconfdir="/etc" \
+  	--libexecdir="/usr/lib" \
+  	--localstatedir="/var" \
+  	--with-zlib --with-math --with-user=netdata
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"*
+
+  make DESTDIR="$pkgdir" install
+
+  # Remove /var/*, pacman creates it via tmpfiles hook
+  rm -vrf "${pkgdir}/var"
+  touch "$pkgdir/etc/netdata/netdata.conf"
+  chown -R 134:134 "$pkgdir"/etc/netdata
+  chown -R 134:134 "$pkgdir"/usr/share/netdata/web
+
+  install -Dm0644 "system/netdata.service" "$pkgdir/usr/lib/systemd/system/netdata.service"
+  install -Dm0644 "system/netdata.logrotate" "$pkgdir/etc/logrotate.d/netdata"
+  install -Dm0644 "${srcdir}/${pkgname}.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
+  install -Dm0644 "${srcdir}/${pkgname}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
+}
+

Deleted: netdata.install
===================================================================
--- netdata.install	2018-11-06 13:20:54 UTC (rev 401691)
+++ netdata.install	2018-11-06 13:21:10 UTC (rev 401692)
@@ -1,20 +0,0 @@
-setcap_netdata() {
-  #https://github.com/firehol/netdata/wiki/Apps-Plugin#apps-plugin-is-missing-information
-  setcap cap_dac_read_search,cap_sys_ptrace+ep /usr/lib/netdata/plugins.d/apps.plugin || chmod 1755 /usr/lib/netdata/plugins.d/apps.plugin
-}
-
-post_install() {
-	setcap_netdata
-
-	echo
-	echo "After the daemon has been started for the first time,"
-	echo "download the default config file from"
-	echo "http://127.0.0.1:19999/netdata.conf"
-	echo
-	echo "Copy it to /etc/netdata/ and modify it."
-	echo
-}
-
-post_upgrade() {
-	setcap_netdata
-}

Copied: netdata/repos/community-x86_64/netdata.install (from rev 401691, netdata/trunk/netdata.install)
===================================================================
--- netdata.install	                        (rev 0)
+++ netdata.install	2018-11-06 13:21:10 UTC (rev 401692)
@@ -0,0 +1,12 @@
+setcap_netdata() {
+  # https://github.com/netdata/netdata/tree/master/collectors/apps.plugin#permissions
+  setcap cap_dac_read_search,cap_sys_ptrace+ep /usr/lib/netdata/plugins.d/apps.plugin || chmod 1755 /usr/lib/netdata/plugins.d/apps.plugin
+}
+
+post_install() {
+  setcap_netdata
+}
+
+post_upgrade() {
+  setcap_netdata
+}

Deleted: netdata.sysusers
===================================================================
--- netdata.sysusers	2018-11-06 13:20:54 UTC (rev 401691)
+++ netdata.sysusers	2018-11-06 13:21:10 UTC (rev 401692)
@@ -1 +0,0 @@
-u netdata 134 - /var/cache/netdata

Copied: netdata/repos/community-x86_64/netdata.sysusers (from rev 401691, netdata/trunk/netdata.sysusers)
===================================================================
--- netdata.sysusers	                        (rev 0)
+++ netdata.sysusers	2018-11-06 13:21:10 UTC (rev 401692)
@@ -0,0 +1 @@
+u netdata 134 - /var/cache/netdata

Deleted: netdata.tmpfiles
===================================================================
--- netdata.tmpfiles	2018-11-06 13:20:54 UTC (rev 401691)
+++ netdata.tmpfiles	2018-11-06 13:21:10 UTC (rev 401692)
@@ -1,3 +0,0 @@
-d /var/lib/netdata 0750 netdata netdata
-d /var/log/netdata 0750 netdata netdata
-d /var/cache/netdata 0750 netdata netdata

Copied: netdata/repos/community-x86_64/netdata.tmpfiles (from rev 401691, netdata/trunk/netdata.tmpfiles)
===================================================================
--- netdata.tmpfiles	                        (rev 0)
+++ netdata.tmpfiles	2018-11-06 13:21:10 UTC (rev 401692)
@@ -0,0 +1,3 @@
+d /var/lib/netdata 0750 netdata netdata
+d /var/log/netdata 0750 netdata netdata
+d /var/cache/netdata 0750 netdata netdata


More information about the arch-commits mailing list