Date: Thursday, July 4, 2013 @ 12:11:09
  Author: spupykin
Revision: 93484

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  vnstat/repos/community-staging-i686/
  vnstat/repos/community-staging-i686/PKGBUILD
    (from rev 93483, vnstat/trunk/PKGBUILD)
  vnstat/repos/community-staging-i686/service
    (from rev 93483, vnstat/trunk/service)
  vnstat/repos/community-staging-x86_64/
  vnstat/repos/community-staging-x86_64/PKGBUILD
    (from rev 93483, vnstat/trunk/PKGBUILD)
  vnstat/repos/community-staging-x86_64/service
    (from rev 93483, vnstat/trunk/service)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   36 ++++++++++++++++++++++++++++++++++++
 community-staging-i686/service    |    9 +++++++++
 community-staging-x86_64/PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/service  |    9 +++++++++
 4 files changed, 90 insertions(+)

Copied: vnstat/repos/community-staging-i686/PKGBUILD (from rev 93483, 
vnstat/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2013-07-04 10:11:09 UTC (rev 93484)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer:  Sergej Pupykin <[email protected]>
+# Maintainer:  Bartłomiej Piotrowski <[email protected]>
+# Contributor: Thorsten Töpper <[email protected]>
+
+pkgname=vnstat
+pkgver=1.11
+pkgrel=7
+pkgdesc="A console-based network traffic monitor"
+arch=('i686' 'x86_64')
+url="http://humdi.net/vnstat/";
+license=('GPL')
+depends=('bash')
+makedepends=('gd')
+optdepends=('gd: image output')
+backup=(etc/vnstat.conf)
+source=(http://humdi.net/vnstat/$pkgname-$pkgver.tar.gz
+       service)
+md5sums=('a5a113f9176cd61fb954f2ba297f5fdb'
+         'df452896729db4a569005f1ebf6b57f4')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  make all SBIN=/usr/bin
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install SBIN=$pkgdir/usr/bin
+
+  install -Dm644 $srcdir/service $pkgdir/usr/lib/systemd/system/vnstat.service
+
+  install -D -m0644 examples/vnstat.cron 
$pkgdir/usr/share/doc/vnstat/examples/vnstat.cron
+  install -D -m0755 examples/vnstat.cgi 
$pkgdir/usr/share/doc/vnstat/examples/vnstat.cgi
+  sed -i 's#root##' $pkgdir/usr/share/doc/vnstat/examples/vnstat.cron
+}

Copied: vnstat/repos/community-staging-i686/service (from rev 93483, 
vnstat/trunk/service)
===================================================================
--- community-staging-i686/service                              (rev 0)
+++ community-staging-i686/service      2013-07-04 10:11:09 UTC (rev 93484)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Network traffic monitor
+
+[Service]
+ExecStart=/usr/bin/vnstatd -n
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target

Copied: vnstat/repos/community-staging-x86_64/PKGBUILD (from rev 93483, 
vnstat/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2013-07-04 10:11:09 UTC (rev 93484)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer:  Sergej Pupykin <[email protected]>
+# Maintainer:  Bartłomiej Piotrowski <[email protected]>
+# Contributor: Thorsten Töpper <[email protected]>
+
+pkgname=vnstat
+pkgver=1.11
+pkgrel=7
+pkgdesc="A console-based network traffic monitor"
+arch=('i686' 'x86_64')
+url="http://humdi.net/vnstat/";
+license=('GPL')
+depends=('bash')
+makedepends=('gd')
+optdepends=('gd: image output')
+backup=(etc/vnstat.conf)
+source=(http://humdi.net/vnstat/$pkgname-$pkgver.tar.gz
+       service)
+md5sums=('a5a113f9176cd61fb954f2ba297f5fdb'
+         'df452896729db4a569005f1ebf6b57f4')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  make all SBIN=/usr/bin
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install SBIN=$pkgdir/usr/bin
+
+  install -Dm644 $srcdir/service $pkgdir/usr/lib/systemd/system/vnstat.service
+
+  install -D -m0644 examples/vnstat.cron 
$pkgdir/usr/share/doc/vnstat/examples/vnstat.cron
+  install -D -m0755 examples/vnstat.cgi 
$pkgdir/usr/share/doc/vnstat/examples/vnstat.cgi
+  sed -i 's#root##' $pkgdir/usr/share/doc/vnstat/examples/vnstat.cron
+}

Copied: vnstat/repos/community-staging-x86_64/service (from rev 93483, 
vnstat/trunk/service)
===================================================================
--- community-staging-x86_64/service                            (rev 0)
+++ community-staging-x86_64/service    2013-07-04 10:11:09 UTC (rev 93484)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Network traffic monitor
+
+[Service]
+ExecStart=/usr/bin/vnstatd -n
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target

Reply via email to