diff options
author | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:17:40 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:19:39 (GMT) |
commit | adbcf19958300e9b6598990184c8815b945ba0ee (patch) | |
tree | f4283c850ac0ac202c17e78a637ee7ca8147621b /abs/extra-testing/rrd_stats | |
parent | 61a68250df10d29b624650948484898334ff22d0 (diff) | |
download | linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2 |
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/extra-testing/rrd_stats')
-rw-r--r-- | abs/extra-testing/rrd_stats/PKGBUILD | 21 | ||||
-rw-r--r-- | abs/extra-testing/rrd_stats/rrd_stats.install | 34 | ||||
-rw-r--r-- | abs/extra-testing/rrd_stats/rrd_stats.tgz | bin | 8444 -> 0 bytes | |||
-rw-r--r-- | abs/extra-testing/rrd_stats/run_rrd.sh | 8 |
4 files changed, 0 insertions, 63 deletions
diff --git a/abs/extra-testing/rrd_stats/PKGBUILD b/abs/extra-testing/rrd_stats/PKGBUILD deleted file mode 100644 index 1f987e4..0000000 --- a/abs/extra-testing/rrd_stats/PKGBUILD +++ /dev/null @@ -1,21 +0,0 @@ -pkgname=rrd_stats -pkgver=1 -pkgrel=18 -pkgdesc="graph system stats" -arch=('i686' 'x86_64') -url="" -license=('GPL') -source=(rrd_stats.tgz) -depends=('hddtemp' 'sysstat' 'xmbmon' 'rrdtool' 'perl' 'local-website') -backup=('etc/rrdsettings.cfg' 'data/srv/httpd/htdocs/index-rrd.html') -install=rrd_stats.install -build() { - cd $startdir/src/$pkgname - cp -a * $startdir/pkg - mkdir -p $startdir/pkg/var/lib/rrd - echo "RRD files are used by rrd_stats" > $startdir/pkg/var/lib/rrd/README - mv $startdir/pkg/data/srv/httpd/htdocs/rrd/index.html $startdir/pkg/data/srv/httpd/htdocs/rrd/index-rrd.html - chown -R http:users $startdir/pkg/data/srv/httpd - chmod -R 755 $startdir/pkg/data/srv/httpd -} -md5sums=('e3d5f7d56fd1a3f26af0226ddcc53bfa') diff --git a/abs/extra-testing/rrd_stats/rrd_stats.install b/abs/extra-testing/rrd_stats/rrd_stats.install deleted file mode 100644 index 126e4f0..0000000 --- a/abs/extra-testing/rrd_stats/rrd_stats.install +++ /dev/null @@ -1,34 +0,0 @@ -post_install() { - PFIX="/data/srv/httpd/htdocs/rrd" - if [ ! -e $PFIX/index.html.orig ] - then - mv $PFIX/index.html $PFIX/index.html.orig - ln -s $PFIX/index-rrd.html $PFIX/index.html - fi - - ct=`crontab -l` - echo $ct | grep -q run_rrd.sh - if [ $? != 0 ] - then - line="*/5 * * * * /usr/bin/run_rrd.sh > /dev/null" - (crontab -l; echo "$line") | crontab - - fi - - -} - -post_upgrade() { - post_install $1 -} - - -pre_remove() { - crontab -l | grep -v run_rrd | crontab - - PFIX="/data/srv/httpd/htdocs/rrd" - if [ -e $PFIX/index.html.orig ] - then - rm $PFIX/index.html - mv $PFIX/index.html.orig $PFIX/index.html - fi - -} diff --git a/abs/extra-testing/rrd_stats/rrd_stats.tgz b/abs/extra-testing/rrd_stats/rrd_stats.tgz Binary files differdeleted file mode 100644 index 4f1f3f5..0000000 --- a/abs/extra-testing/rrd_stats/rrd_stats.tgz +++ /dev/null diff --git a/abs/extra-testing/rrd_stats/run_rrd.sh b/abs/extra-testing/rrd_stats/run_rrd.sh deleted file mode 100644 index 19150a4..0000000 --- a/abs/extra-testing/rrd_stats/run_rrd.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -RRD='hddtemp disk traffic mem cpu usage ups' -DIR='/usr/bin' -# -for x in $RRD -do - $DIR/rrd_${x}.pl >& /dev/null -done |