Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2018 17:29:51 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r485333 - in head/net/vnstat: . files
Message-ID:  <201811191729.wAJHTpNb061641@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Mon Nov 19 17:29:51 2018
New Revision: 485333
URL: https://svnweb.freebsd.org/changeset/ports/485333

Log:
  net/vnstat: Update to 2.0
  
  Changelog:	https://humdi.net/vnstat/CHANGES

Modified:
  head/net/vnstat/Makefile
  head/net/vnstat/distinfo
  head/net/vnstat/files/pkg-message.in
  head/net/vnstat/files/vnstat.in

Modified: head/net/vnstat/Makefile
==============================================================================
--- head/net/vnstat/Makefile	Mon Nov 19 17:17:38 2018	(r485332)
+++ head/net/vnstat/Makefile	Mon Nov 19 17:29:51 2018	(r485333)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	vnstat
-PORTVERSION=	1.15
+PORTVERSION=	2.0
 PORTREVISION=	0
 CATEGORIES=	net
 MASTER_SITES=	https://humdi.net/vnstat/ \
@@ -14,6 +14,8 @@ COMMENT=	Console-based network traffic monitor
 LICENSE=	GPLv2
 
 USE_RC_SUBR=	vnstat
+
+LIB_DEPENDS=	libsqlite3.so:databases/sqlite3
 
 CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib

Modified: head/net/vnstat/distinfo
==============================================================================
--- head/net/vnstat/distinfo	Mon Nov 19 17:17:38 2018	(r485332)
+++ head/net/vnstat/distinfo	Mon Nov 19 17:29:51 2018	(r485333)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1477754840
-SHA256 (vnstat-1.15.tar.gz) = c3814b5baa8b627198a8debfe1dce4b4346a342523818cc8668a5497971dbc39
-SIZE (vnstat-1.15.tar.gz) = 207712
+TIMESTAMP = 1542644161
+SHA256 (vnstat-2.0.tar.gz) = 6326648d66970802472736ee1a7037676f654b94452b141b88253343595f7e84
+SIZE (vnstat-2.0.tar.gz) = 259439

Modified: head/net/vnstat/files/pkg-message.in
==============================================================================
--- head/net/vnstat/files/pkg-message.in	Mon Nov 19 17:17:38 2018	(r485332)
+++ head/net/vnstat/files/pkg-message.in	Mon Nov 19 17:29:51 2018	(r485333)
@@ -6,7 +6,7 @@ Please add your default network interface in the 'Inte
 before starting vnstat service.
 You can add any number of additional interfaces either in
 vnstat_additional_ifaces variable in /etc/rc.conf, or with this command:
-su -m %%USERS%% -c "%%PREFIX%%/bin/vnstat --create --iface <your interface>"
+su -m %%USERS%% -c "%%PREFIX%%/bin/vnstat --add --iface <your interface>"
 and restart vnstat service:
 service vnstat restart
 

Modified: head/net/vnstat/files/vnstat.in
==============================================================================
--- head/net/vnstat/files/vnstat.in	Mon Nov 19 17:17:38 2018	(r485332)
+++ head/net/vnstat/files/vnstat.in	Mon Nov 19 17:29:51 2018	(r485333)
@@ -35,8 +35,8 @@ create_iface_database()
 {
 	local iface="$1"
 	local descr="$2"
-	su -m ${vnstat_user} -c "${user_cmd} --create --iface $iface" >/dev/null 2>&1 ||
-	  ! echo "$name: Failed to create database for the $descr interface $iface" || return 1
+	su -m ${vnstat_user} -c "${user_cmd} --add --iface $iface" >/dev/null 2>&1 ||
+	  ! echo "$name: Failed to add database for the $descr interface $iface" || return 1
 	echo "$name: Created the database for the $descr interface $iface"
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811191729.wAJHTpNb061641>