community/netdata to 1.21.0-1

This commit is contained in:
Kevin Mihelich 2020-04-06 12:33:25 +00:00
parent 6f4e715b2f
commit b522179c14

View file

@ -5,8 +5,8 @@
# - disable LTO
pkgname=netdata
pkgver=1.20.0
pkgrel=4
pkgver=1.21.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')
@ -26,16 +26,9 @@ optdepends=('nodejs: for monitoring named and SNMP devices'
install=$pkgname.install
source=("$pkgname-$pkgver.tar.gz::https://github.com/netdata/netdata/archive/v${pkgver}.tar.gz"
"$pkgname.sysusers")
sha512sums=('ada398cdccf1b1b4dbac5b24d4539f86aafb964458aa4f3bdfac336362504aab6d74b7f2f12bad18b62a44bb62d1a2a8ddd0c2ed80a7c16bc388854d4210bcb6'
sha512sums=('65d3bd7dc3cace861184f8293f24e9d4ba20389c6d5e4176631c04ecf4a5e92c328fb6673fcefaecf2d2cc1296bfc0aa35d81b3284c7d3fb6729bb101fef8475'
'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"
@ -58,7 +51,7 @@ package() {
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.service.v235" "$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"
}