summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-11-04 04:09:41 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-11-04 04:09:41 (GMT)
commitc6e1d0316e4d586e8975f5444cc1f9db4b045fe2 (patch)
treeb7d30128f9136b46b15d9cf771eae68515e35bcd /abs/extra
parent2a467197055fcb1a97d58540be15163ca77e04d1 (diff)
parent914ae9958bca87e3f219448a60d861b1b36f198b (diff)
downloadlinhes_pkgbuild-c6e1d0316e4d586e8975f5444cc1f9db4b045fe2.zip
linhes_pkgbuild-c6e1d0316e4d586e8975f5444cc1f9db4b045fe2.tar.gz
linhes_pkgbuild-c6e1d0316e4d586e8975f5444cc1f9db4b045fe2.tar.bz2
Merge branch 'testing' of ssh://jams@linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/rrd_stats/PKGBUILD30
-rw-r--r--abs/extra/rrd_stats/rrd_stats.tgzbin8944 -> 18248 bytes
2 files changed, 20 insertions, 10 deletions
diff --git a/abs/extra/rrd_stats/PKGBUILD b/abs/extra/rrd_stats/PKGBUILD
index 6df24f4..b000185 100644
--- a/abs/extra/rrd_stats/PKGBUILD
+++ b/abs/extra/rrd_stats/PKGBUILD
@@ -1,21 +1,31 @@
pkgname=rrd_stats
pkgver=1
-pkgrel=19
+pkgrel=20
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')
+backup=('etc/rrdsettings.cfg' 'data/srv/httpd/htdocs/index-rrd.html'
+ 'data/srv/httpd/htdocs/cgi-bin/rrd.cgi' 'usr/bin/rrd_python.py')
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
+
+ /bin/true
+
}
-md5sums=('4398623b9a8afb62743509e35c15b683')
+
+package() {
+
+ cd ${srcdir}/${pkgname}
+ cp -a * ${pkgdir}/
+ install -d ${pkgdir}/var/lib/rrd
+ echo "RRD files are used by rrd_stats" > ${pkgdir}/var/lib/rrd/README
+ mv ${pkgdir}/data/srv/httpd/htdocs/rrd/index.html ${pkgdir}/data/srv/httpd/htdocs/rrd/index-rrd.html
+ chown -R http:users ${pkgdir}/data/srv/httpd
+ chmod -R 755 ${pkgdir}/data/srv/httpd
+
+}
+md5sums=('1be3b8b684853908aab62aa5130ae30f')
diff --git a/abs/extra/rrd_stats/rrd_stats.tgz b/abs/extra/rrd_stats/rrd_stats.tgz
index 6532648..7dde039 100644
--- a/abs/extra/rrd_stats/rrd_stats.tgz
+++ b/abs/extra/rrd_stats/rrd_stats.tgz
Binary files differ