summaryrefslogtreecommitdiff
path: root/net/vnstat
diff options
context:
space:
mode:
authorgls <gls>2012-04-17 21:35:56 +0000
committergls <gls>2012-04-17 21:35:56 +0000
commit7b0c723cbbcc6fec3a9b54328af40cc388b8f293 (patch)
treeb27d2c81d3d9a23cd4de3ace2fb5f7e2b81db739 /net/vnstat
parent9eb5885c6625b0997f733b834069a8bf33e8806a (diff)
downloadpkgsrc-7b0c723cbbcc6fec3a9b54328af40cc388b8f293.tar.gz
Update net/vnstat to 1.11
Fix a few pkglint warnings Upstream changes ---------------- 1.11 / 1-Jun-11 - Fix: Memory allocation was miscalculated when creating interface list from /sys/class/net when /proc/net/dev wasn't available which in turn could crash the daemon - Fix: Daemon database cache could remain empty after a -HUP signal - Fix: Don't make temp directory in vnstat.cgi writable for everyone - Import GNU/kFreeBSD support from Debian (#608963, patch by Mats Erik Andersson) - Remove usage of GNU only '-D' option for install for BSD in Makefile - The daemon now automatically creates databases for available interfaces if no databases are found during startup 1.10 / 2-Jan-10 - Fix: Buffer overflow was possible in hourly image output when RateUnit=1 and HourlyRate=1 - Fix: Minor memory leak was possible in the handling of HUP signal in daemon - Fix: Graphical elements weren't correctly aligned in summary image when header wasn't visible (-nh) - Fix: --delete didn't work - Possibility to merge statistics from several databases and save the end result to a new database (--mergesaved) - Added validation of database cache in daemon in order to be more robust in case of system memory corruption - Support for --style to -l (live mode) - Alternative print mode to -l (live mode) with optional parameter - Present options and elements in man pages in alphabetical order - Code cleanup
Diffstat (limited to 'net/vnstat')
-rw-r--r--net/vnstat/Makefile9
-rw-r--r--net/vnstat/distinfo8
2 files changed, 8 insertions, 9 deletions
diff --git a/net/vnstat/Makefile b/net/vnstat/Makefile
index 1944717b151..5bdd1b92f5e 100644
--- a/net/vnstat/Makefile
+++ b/net/vnstat/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2011/11/01 06:11:57 sbd Exp $
+# $NetBSD: Makefile,v 1.6 2012/04/17 21:35:56 gls Exp $
-DISTNAME= vnstat-1.9
-PKGREVISION= 4
+DISTNAME= vnstat-1.11
CATEGORIES= net
MASTER_SITES= http://humdi.net/vnstat/
#DISTFILES=${DISTNAME}.tar.gz
@@ -58,11 +57,11 @@ do-install:
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/vnstatd.1
${INSTALL_MAN} ${WRKSRC}/man/vnstat.conf.5 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/vnstat.conf.5
- if [ "${PLIST.gd}" = "yes" ]; then \
+ if [ ${PLIST.gd:Q} = "yes" ]; then \
${INSTALL_PROGRAM} ${WRKSRC}/src/vnstati \
${DESTDIR}${PREFIX}/bin/vnstati; \
${INSTALL_MAN} ${WRKSRC}/man/vnstati.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/vnstati.1; \
- fi
+ fi
.include "../../mk/bsd.pkg.mk"
diff --git a/net/vnstat/distinfo b/net/vnstat/distinfo
index 6cea7da4642..62480861d50 100644
--- a/net/vnstat/distinfo
+++ b/net/vnstat/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/11/19 15:48:19 sborrill Exp $
+$NetBSD: distinfo,v 1.2 2012/04/17 21:35:56 gls Exp $
-SHA1 (vnstat-1.9.tar.gz) = e415369053775855dd4f88a0b20b2a56cf3df290
-RMD160 (vnstat-1.9.tar.gz) = 5f9166b0c83b270ee9900dea171d54b693a29b61
-Size (vnstat-1.9.tar.gz) = 76166 bytes
+SHA1 (vnstat-1.11.tar.gz) = 92494f38a752dcf60053af2a6d8977737da7e616
+RMD160 (vnstat-1.11.tar.gz) = c7a8602c6ed86c674b14b2b8708e97f5999fb0e5
+Size (vnstat-1.11.tar.gz) = 79075 bytes