diff options
Diffstat (limited to 'community/sysstat')
-rw-r--r-- | community/sysstat/PKGBUILD | 8 | ||||
-rw-r--r-- | community/sysstat/sysstat | 25 |
2 files changed, 3 insertions, 30 deletions
diff --git a/community/sysstat/PKGBUILD b/community/sysstat/PKGBUILD index 4a1e94626..85dfb62ac 100644 --- a/community/sysstat/PKGBUILD +++ b/community/sysstat/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 87478 2013-04-01 10:36:38Z spupykin $ +# $Id: PKGBUILD 91152 2013-05-20 09:56:57Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Martin Devera <devik@cdi.cz> pkgname=sysstat pkgver=10.1.5 -pkgrel=1 +pkgrel=3 pkgdesc="a collection of performance monitoring tools (iostat,isag,mpstat,pidstat,sadf,sar)" arch=('i686' 'x86_64' 'mips64el') url="http://pagesperso-orange.fr/sebastien.godard/" @@ -16,10 +16,8 @@ options=(zipman) backup=('etc/conf.d/sysstat' 'etc/conf.d/sysstat.ioconf') source=(http://pagesperso-orange.fr/sebastien.godard/$pkgname-$pkgver.tar.gz - sysstat sysstat.service) md5sums=('cdf66d6acd5c8cab709e07980b77ea6b' - '3ce41ebf7330aba01e70b38658afed1f' '12ba479c606620193e8b7c6e982d5088') build() { @@ -37,7 +35,7 @@ package() { make DESTDIR=$pkgdir install install -D -m 744 cron/sysstat.cron.hourly $pkgdir/etc/cron.hourly/sysstat install -D -m 744 cron/sysstat.cron.daily $pkgdir/etc/cron.daily/sysstat - install -D -m 755 $srcdir/sysstat $pkgdir/etc/rc.d/sysstat chown -R root:root $pkgdir install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service + mv $pkgdir/usr/bin/nfsiostat $pkgdir/usr/bin/$pkgname-nfsiostat } diff --git a/community/sysstat/sysstat b/community/sysstat/sysstat deleted file mode 100644 index d0e40aa05..000000000 --- a/community/sysstat/sysstat +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -. /etc/rc.d/functions -. /etc/conf.d/sysstat -. /etc/rc.conf - -case "$1" in - start) - stat_busy "Writing SysStat restart record" - /usr/lib/sa/sadc -L -F ${SADC_OPTIONS} - - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon sysstat - stat_done - fi - ;; - stop) - echo "Stopping SysStat is useless" - rm_daemon sysstat - ;; - *) - echo "usage: $0 {start|stop}" -esac -exit 0 |