summaryrefslogtreecommitdiffstats
path: root/vnstat
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2009-09-14 15:09:40 +0200
committerFlorian Pritz <bluewind@xssn.at>2009-09-14 15:09:40 +0200
commitfa1b252578c375ae31a8cf6ee231d512cfa86b5b (patch)
tree21c4804ddcd203dcfd9b95e4b780207c22770497 /vnstat
parent2207bb74c2df04db6f1de8c0ac9514376e3c77ce (diff)
downloadaur-packages-fa1b252578c375ae31a8cf6ee231d512cfa86b5b.tar.gz
aur-packages-fa1b252578c375ae31a8cf6ee231d512cfa86b5b.tar.xz
moved to community
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'vnstat')
-rw-r--r--vnstat/PKGBUILD26
-rw-r--r--vnstat/vnstat.install9
2 files changed, 0 insertions, 35 deletions
diff --git a/vnstat/PKGBUILD b/vnstat/PKGBUILD
deleted file mode 100644
index 124dcd8..0000000
--- a/vnstat/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id: PKGBUILD,v 1.6 2009/04/13 09:19:05 sergej Exp $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-
-pkgname=vnstat
-pkgver=1.7
-pkgrel=1
-pkgdesc="network traffic monitor for Linux that keeps a log of daily network traffic for the selected interface(s)"
-arch=(i686 x86_64)
-url="http://humdi.net/vnstat"
-license=('GPL')
-depends=()
-makedepends=()
-install=vnstat.install
-source=(http://humdi.net/vnstat/$pkgname-$pkgver.tar.gz)
-md5sums=('e5788e8122e34f2c93561e2a84c19432')
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
- mkdir -p $startdir/pkg/usr/share/vnstat/cron
- mkdir -p $startdir/pkg/etc/cron.d
- cp cron/vnstat $startdir/pkg/usr/share/vnstat/cron
- make || return 1
- make DESTDIR=$startdir/pkg/ install || return 1
- install -D -m0644 cron/vnstat $pkgdir/etc/cron.d/vnstat && \
- sed -i 's#root##' $pkgdir/etc/cron.d/vnstat
-}
diff --git a/vnstat/vnstat.install b/vnstat/vnstat.install
deleted file mode 100644
index f9c2258..0000000
--- a/vnstat/vnstat.install
+++ /dev/null
@@ -1,9 +0,0 @@
-post_install() {
- echo '==> Testing the kernel ...'
- /usr/bin/vnstat --testkernel
- echo '==> Every interface you want to monitor has to be introduced to vnStat!'
- echo '==> eg. vnstat -u -i eth0'
- echo '==> An example of a crontab to update vnStats database every 5 minutes'
- echo '==> has been put in /etc/cron.d/vnstat'
- /bin/true
-}