pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/vnstat Update net/vnstat to 1.11



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e2994ea0d59
branches:  trunk
changeset: 602689:6e2994ea0d59
user:      gls <gls%pkgsrc.org@localhost>
date:      Tue Apr 17 21:35:56 2012 +0000

description:
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:

 net/vnstat/Makefile |  9 ++++-----
 net/vnstat/distinfo |  8 ++++----
 2 files changed, 8 insertions(+), 9 deletions(-)

diffs (40 lines):

diff -r c4ed2156ca85 -r 6e2994ea0d59 net/vnstat/Makefile
--- a/net/vnstat/Makefile       Tue Apr 17 21:14:53 2012 +0000
+++ b/net/vnstat/Makefile       Tue Apr 17 21:35:56 2012 +0000
@@ -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 @@
                ${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 -r c4ed2156ca85 -r 6e2994ea0d59 net/vnstat/distinfo
--- a/net/vnstat/distinfo       Tue Apr 17 21:14:53 2012 +0000
+++ b/net/vnstat/distinfo       Tue Apr 17 21:35:56 2012 +0000
@@ -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



Home | Main Index | Thread Index | Old Index