[arch-commits] Commit in netdata/repos/community-x86_64 (7 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat Mar 21 07:03:55 UTC 2020
Date: Saturday, March 21, 2020 @ 07:03:55
Author: svenstaro
Revision: 602340
archrelease: copy trunk to community-x86_64
Added:
netdata/repos/community-x86_64/PKGBUILD
(from rev 602339, netdata/trunk/PKGBUILD)
netdata/repos/community-x86_64/netdata.install
(from rev 602339, netdata/trunk/netdata.install)
netdata/repos/community-x86_64/netdata.sysusers
(from rev 602339, netdata/trunk/netdata.sysusers)
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 | 123 ++++++++++++++++++++++++++---------------------------
netdata.install | 24 +++++-----
netdata.sysusers | 2
netdata.tmpfiles | 3 -
4 files changed, 74 insertions(+), 78 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-21 07:03:48 UTC (rev 602339)
+++ PKGBUILD 2020-03-21 07:03:55 UTC (rev 602340)
@@ -1,62 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: SanskritFritz (gmail)
-
-pkgname=netdata
-pkgver=1.20.0
-pkgrel=3
-pkgdesc="Real-time performance monitoring, in the greatest possible detail, over the web"
-url="https://github.com/netdata/netdata"
-arch=('x86_64')
-license=('GPL')
-backup=('etc/netdata/netdata.conf')
-depends=('libmnl' 'libnetfilter_acct' 'zlib' 'judy' 'libuv' 'json-c' 'libcap' 'lz4')
-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-mysqlclient: for monitoring MySQL/MariaDB 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=("$pkgname-$pkgver.tar.gz::https://github.com/netdata/netdata/archive/v${pkgver}.tar.gz"
- "$pkgname.sysusers")
-sha512sums=('ada398cdccf1b1b4dbac5b24d4539f86aafb964458aa4f3bdfac336362504aab6d74b7f2f12bad18b62a44bb62d1a2a8ddd0c2ed80a7c16bc388854d4210bcb6'
- 'a910809a823ba58ca7bdaa72e8d68427b48f452c1fbb2343fa182ecb0a091a7640e73af24b8ba2fdd90e00aed8ef53b7fccd25cb8f04ca9b9fa6c8e52223ca66')
-
-prepare() {
- cd "$pkgname-$pkgver"
-
- # Use advanced service file (FS#65027)
- mv system/netdata.service.v235.in system/netdata.service.in
-}
-
-build() {
- cd "$pkgname-$pkgver"
-
- autoreconf -i
- ./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
-
- install -Dm644 system/netdata.conf "$pkgdir"/etc/netdata/netdata.conf
- chown -R 0:134 "$pkgdir"/etc/netdata
- chown -R 0: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}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
-}
Copied: netdata/repos/community-x86_64/PKGBUILD (from rev 602339, netdata/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-21 07:03:55 UTC (rev 602340)
@@ -0,0 +1,61 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: SanskritFritz (gmail)
+
+pkgname=netdata
+pkgver=1.20.0
+pkgrel=4
+pkgdesc="Real-time performance monitoring, in the greatest possible detail, over the web"
+url="https://github.com/netdata/netdata"
+arch=('x86_64')
+license=('GPL')
+backup=('etc/netdata/netdata.conf')
+depends=('libmnl' 'libnetfilter_acct' 'zlib' 'judy' 'libuv' 'json-c' 'libcap' 'lz4')
+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-mysqlclient: for monitoring MySQL/MariaDB 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=("$pkgname-$pkgver.tar.gz::https://github.com/netdata/netdata/archive/v${pkgver}.tar.gz"
+ "$pkgname.sysusers")
+sha512sums=('ada398cdccf1b1b4dbac5b24d4539f86aafb964458aa4f3bdfac336362504aab6d74b7f2f12bad18b62a44bb62d1a2a8ddd0c2ed80a7c16bc388854d4210bcb6'
+ 'a910809a823ba58ca7bdaa72e8d68427b48f452c1fbb2343fa182ecb0a091a7640e73af24b8ba2fdd90e00aed8ef53b7fccd25cb8f04ca9b9fa6c8e52223ca66')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ # Use advanced service file (FS#65027)
+ mv system/netdata.service.v235.in system/netdata.service.in
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ autoreconf -i
+ ./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
+
+ install -Dm644 system/netdata.conf "$pkgdir"/etc/netdata/netdata.conf
+ chown -R 0: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}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
+}
Deleted: netdata.install
===================================================================
--- netdata.install 2020-03-21 07:03:48 UTC (rev 602339)
+++ netdata.install 2020-03-21 07:03:55 UTC (rev 602340)
@@ -1,12 +0,0 @@
-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
-}
Copied: netdata/repos/community-x86_64/netdata.install (from rev 602339, netdata/trunk/netdata.install)
===================================================================
--- netdata.install (rev 0)
+++ netdata.install 2020-03-21 07:03:55 UTC (rev 602340)
@@ -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 2020-03-21 07:03:48 UTC (rev 602339)
+++ netdata.sysusers 2020-03-21 07:03:55 UTC (rev 602340)
@@ -1 +0,0 @@
-u netdata 134 - /var/cache/netdata
Copied: netdata/repos/community-x86_64/netdata.sysusers (from rev 602339, netdata/trunk/netdata.sysusers)
===================================================================
--- netdata.sysusers (rev 0)
+++ netdata.sysusers 2020-03-21 07:03:55 UTC (rev 602340)
@@ -0,0 +1 @@
+u netdata 134 - /var/cache/netdata
Deleted: netdata.tmpfiles
===================================================================
--- netdata.tmpfiles 2020-03-21 07:03:48 UTC (rev 602339)
+++ netdata.tmpfiles 2020-03-21 07:03:55 UTC (rev 602340)
@@ -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
More information about the arch-commits
mailing list