vnstat: update to 2.0.

This commit is contained in:
maxice8 2018-10-21 16:41:03 -03:00 committed by Johannes
parent 4280210967
commit 5720fe7cc0

View file

@ -1,16 +1,16 @@
# Template build file for "vnstat" # Template file for 'vnstat'
pkgname=vnstat pkgname=vnstat
version=1.18 version=2.0
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="automake libtool pkg-config" hostmakedepends="automake libtool pkg-config"
makedepends="gd-devel" makedepends="gd-devel sqlite-devel"
short_desc="A terminal based network traffic monitor" short_desc="A terminal based network traffic monitor"
maintainer="Eivind Uggedal <eivind@uggedal.com>" maintainer="Eivind Uggedal <eivind@uggedal.com>"
homepage="http://humdi.net/vnstat/" homepage="http://humdi.net/vnstat/"
license="GPL-2" license="GPL-2"
distfiles="http://humdi.net/vnstat/${pkgname}-${version}.tar.gz" distfiles="http://humdi.net/vnstat/${pkgname}-${version}.tar.gz"
checksum=d7193592b9e7445fa5cbe8af7d3b39982f165ee8fc58041ff41f509b37c687d5 checksum=6326648d66970802472736ee1a7037676f654b94452b141b88253343595f7e84
conf_files="/etc/vnstat.conf" conf_files="/etc/vnstat.conf"
make_dirs="/var/lib/vnstat 0755 root root" make_dirs="/var/lib/vnstat 0755 root root"
@ -18,6 +18,7 @@ make_dirs="/var/lib/vnstat 0755 root root"
pre_configure() { pre_configure() {
autoreconf -fi autoreconf -fi
} }
post_install() { post_install() {
vconf cfg/vnstat.conf vconf cfg/vnstat.conf
vsv vnstatd vsv vnstatd