vnstat: update to 1.15.

This commit is contained in:
Juan RP 2015-12-22 07:45:42 +01:00
parent ef14107ea6
commit c42232171a
2 changed files with 5 additions and 16 deletions

View file

@ -1,10 +0,0 @@
--- src/common.h.orig 2015-07-15 11:51:26.241748048 +0200
+++ src/common.h 2015-07-15 11:51:33.086404222 +0200
@@ -22,6 +22,7 @@
#include <pwd.h>
#include <grp.h>
#include <libgen.h>
+#include <fcntl.h>
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__FreeBSD_kernel__)
#include <sys/param.h>

View file

@ -1,19 +1,18 @@
# Template build file for "vnstat"
pkgname=vnstat
version=1.14
revision=6
build_style=gnu-makefile
version=1.15
revision=1
build_style=gnu-configure
short_desc="A terminal based network traffic monitor"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
homepage="http://humdi.net/vnstat/"
license="GPL-2"
distfiles="http://humdi.net/vnstat/${pkgname}-${version}.tar.gz"
checksum=f8462a47d85d0890493dc9eaeafbc725ae631aa5b103fb7f8af4ddb2314e8386
checksum=c3814b5baa8b627198a8debfe1dce4b4346a342523818cc8668a5497971dbc39
conf_files="/etc/vnstat.conf"
make_dirs="/var/lib/vnstat 0755 root root"
do_install() {
make DESTDIR=${DESTDIR} SBIN=${DESTDIR}/usr/bin PREFIX=/usr install
post_install() {
vsv vnstatd
}