diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-08-21 20:29:38 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-08-21 21:36:39 -0300 |
commit | 29ebb1091fbba05d023198acbf164f9369112b90 (patch) | |
tree | 961f7dfd328a85ee47411ff5ded786a27b9aa15d | |
parent | 8ab9c40d13b9715f7fb419650962ee19038b25a7 (diff) | |
download | aports-29ebb1091fbba05d023198acbf164f9369112b90.tar.bz2 aports-29ebb1091fbba05d023198acbf164f9369112b90.tar.xz |
community/munin: upgrade to 2.0.49
-rw-r--r-- | community/munin/APKBUILD | 24 | ||||
-rw-r--r-- | community/munin/munin-node.initd | 5 |
2 files changed, 12 insertions, 17 deletions
diff --git a/community/munin/APKBUILD b/community/munin/APKBUILD index 5868f7d87a..ffd9970223 100644 --- a/community/munin/APKBUILD +++ b/community/munin/APKBUILD @@ -2,12 +2,12 @@ # Contributor: Stefan Wagner <stw@bit-strickerei.de> # Maintainer: Stefan Wagner <stw@bit-strickerei.de> pkgname=munin -pkgver=2.0.39 +pkgver=2.0.49 pkgrel=0 pkgdesc="A distributed monitoring/graphing tool" url="http://munin-monitoring.org/" arch="noarch" -license="GPL" +license="GPL-2.0-only" _perl_modules="perl-rrd perl-net-snmp perl-log-log4perl perl-html-template perl-net-ssleay perl-net-server perl-date-manip perl-io-socket-inet6 perl-file-copy-recursive perl-fcgi perl-uri" @@ -16,30 +16,26 @@ makedepends="bash rrdtool perl-dev perl-module-build $_perl_modules" pkgusers=munin pkggroups=munin subpackages="$pkgname-node" -source="http://downloads.munin-monitoring.org/munin/stable/$pkgver/$pkgname-$pkgver.tar.gz +source="http://downloads.munin-monitoring.org/munin/stable/$pkgver/munin-$pkgver.tar.gz munin-config.patch fix-build.patch $pkgname.crond $pkgname-node.initd $pkgname.logrotate $pkgname-node.logrotate" -builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$builddir" make -j1 } package() { - cd "$builddir" - - make DESTDIR="$pkgdir" install-master-prime || return 1 + make DESTDIR="$pkgdir" install-master-prime rm -rf "$pkgdir"/usr/share/man install -m644 -D "$srcdir"/$pkgname.crond \ - "$pkgdir"/etc/munin/munin.cron.sample || return 1 + "$pkgdir"/etc/munin/munin.cron.sample install -m644 -D "$srcdir"/$pkgname.logrotate \ - "$pkgdir"/etc/logrotate.d/$pkgname || return 1 + "$pkgdir"/etc/logrotate.d/$pkgname install -d -o $pkgusers -g $pkggroups "$pkgdir"/usr/share/webapps/munin/html } @@ -52,19 +48,19 @@ node() { mkdir -p "$subpkgdir" make DESTDIR="$subpkgdir" install-common-prime install-node-prime \ - install-plugins-prime || return 1 + install-plugins-prime rm -rf "$subpkgdir"/usr/share/man install -m644 -D "$srcdir"/$subpkgname.logrotate \ - "$pkgdir"/etc/logrotate.d/$subpkgname || return 1 + "$pkgdir"/etc/logrotate.d/$subpkgname install -m755 -D "$srcdir"/$subpkgname.initd \ "$subpkgdir"/etc/init.d/$subpkgname } -sha512sums="8dac18de92ff39b6a13a5da7eb5778549fa43d86561dbae308dba3561e57c8012d4b055e66046aa9e97304bee1d9ef51e51cead862b36fc53256e24c7272b4df munin-2.0.39.tar.gz +sha512sums="20f1f27aa1ff39ed92c967a13581ae199930323f5d2b62b62ce0a548a4cf561595e85d069e836b156c05d4a94c66328009aba56cb1b06c4b2719fbd9e1061ca4 munin-2.0.49.tar.gz d39760b9c0546638feaf164ad132a0f384f1b70872de2251a328a27a64797501f926141a7273cd5e41a8c11ec4d7a4adda1863b02439d9caa8b216fac60d3062 munin-config.patch 06061feb63a451fe45ea4271dac3d0b0f4758f877df9b0d734cc6057eadfec26765b65fd91d3a00febb66ac79c70c9468cc1548e39362adfc19809900aaf8aa9 fix-build.patch 194b742b2ff8312c4c42a8a77d1d9a80bc53ced2343248c36f4229b0b0d366e898487fb5e415f1f5ccea7210a7a86e25de5e45193dbb5d26d2d6a195f0597642 munin.crond -4b2a49a7bcb64eef65eee3b77ce86ca2cd8afef681922fdb830cb382f334c07356576f1151f4423f066ba8ac1c2d9a51cf9ff3d4dd4b18a5c1e2c95abcd9a940 munin-node.initd +ee055a2bcb0ee3895190ac28b9474a50896e9c6d8f88bb93bc00fd802f313c00bc92fcbb46e22c545fb1c111d63398725c09a8bf7adc8a8977e1832b19f61044 munin-node.initd 0f4768033f63103cb41b3f3869ebe378098f85409a909afa311a49587cb6afcffe2b2199821cd41a08f41bbeba3d37121561406978960e3345fbccfd230040e6 munin.logrotate 34cdc04e83067d2fc839efaf06d96da892d76b77555a4b7b633f9a88fb86dc5f4413fe7a4f6c540e95724b23e8a4ad0ff37f521d44046bfcf18cb0428b94e6e2 munin-node.logrotate" diff --git a/community/munin/munin-node.initd b/community/munin/munin-node.initd index ad497eae22..2bf87b1468 100644 --- a/community/munin/munin-node.initd +++ b/community/munin/munin-node.initd @@ -1,14 +1,13 @@ #!/sbin/openrc-run # munin-node init.d file for alpine linux. - -name=munin-node +name="munin-node" +description="Daemon for reporting statistics on system performance" pidfile=/run/munin/${name}.pid command=/usr/sbin/munin-node command_args="${EXTRA_OPTS}" -command_background="no" depend() { need net |