From owner-svn-ports-all@FreeBSD.ORG Mon Dec 1 14:32:19 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 64A47882; Mon, 1 Dec 2014 14:32:19 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4EEF26CB; Mon, 1 Dec 2014 14:32:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sB1EWJC7071792; Mon, 1 Dec 2014 14:32:19 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sB1EWI1i071783; Mon, 1 Dec 2014 14:32:18 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201412011432.sB1EWI1i071783@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Mon, 1 Dec 2014 14:32:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r373707 - in head/net/vnstat: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2014 14:32:19 -0000 X-List-Received-Date: Mon, 01 Dec 2014 14:32:19 -0000 Author: feld Date: Mon Dec 1 14:32:17 2014 New Revision: 373707 URL: https://svnweb.freebsd.org/changeset/ports/373707 QAT: https://qat.redports.org/buildarchive/r373707/ Log: Update to 1.12 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 Dec 1 14:18:09 2014 (r373706) +++ head/net/vnstat/Makefile Mon Dec 1 14:32:17 2014 (r373707) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= vnstat -PORTVERSION= 1.11 -PORTREVISION= 6 +PORTVERSION= 1.12 CATEGORIES= net MASTER_SITES= http://humdi.net/vnstat/ \ http://mirror.mcx2.org/ @@ -11,16 +10,19 @@ MASTER_SITES= http://humdi.net/vnstat/ \ MAINTAINER= feld@FreeBSD.org COMMENT= Console-based network traffic monitor +LICENSE= GPLv2 + MAKE_ARGS= CC="${CC}" CFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" INSTALL_TARGET= bsdinstall USE_RC_SUBR= vnstat +USES= gmake USERS= vnstat GROUPS= vnstat -PORTDOCS= README INSTALL_BSD UPGRADE vnstat-cron +PORTDOCS= README INSTALL_BSD UPGRADE SUB_FILES= pkg-message SUB_LIST= USERS=${USERS} \ GROUPS=${GROUPS} @@ -40,11 +42,6 @@ ALL_TARGET="vnstat" PLIST_SUB+= GUI="@comment " .endif -post-extract: - @cd ${WRKSRC} && ${CP} examples/vnstat.cron vnstat-cron - @${REINPLACE_CMD} -e 's|/usr/bin|/usr/local/bin|g' \ - -e 's|ls /var/lib|ls -l /var/db|g' ${WRKSRC}/vnstat-cron - post-patch: @${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' \ ${WRKSRC}/src/cfg.c Modified: head/net/vnstat/distinfo ============================================================================== --- head/net/vnstat/distinfo Mon Dec 1 14:18:09 2014 (r373706) +++ head/net/vnstat/distinfo Mon Dec 1 14:32:17 2014 (r373707) @@ -1,2 +1,2 @@ -SHA256 (vnstat-1.11.tar.gz) = b71876d817bbb6a16d31b4236e22a2eb6c39666a7f7bfea581f5ff441cade026 -SIZE (vnstat-1.11.tar.gz) = 79075 +SHA256 (vnstat-1.12.tar.gz) = af1050d9c1b22d4b9742fe0d1818de9eb1037b8e7f9ba67b962e108d8527be69 +SIZE (vnstat-1.12.tar.gz) = 98435 Modified: head/net/vnstat/files/pkg-message.in ============================================================================== --- head/net/vnstat/files/pkg-message.in Mon Dec 1 14:18:09 2014 (r373706) +++ head/net/vnstat/files/pkg-message.in Mon Dec 1 14:32:17 2014 (r373707) @@ -1,9 +1,7 @@ ########################################################################### vnstat has been installed. -This port neeeds a cron entry. Please copy the contents of: -%%DOCSDIR%%/vnstat-cron to your crontab. A Sample -configuration file has be installed in %%PREFIX%%/etc/ +A Sample configuration file has be installed in %%PREFIX%%/etc/ For more information about vnStat use "man vnstat" or visit: http://humdi.net/vnstat/ Modified: head/net/vnstat/files/vnstat.in ============================================================================== --- head/net/vnstat/files/vnstat.in Mon Dec 1 14:18:09 2014 (r373706) +++ head/net/vnstat/files/vnstat.in Mon Dec 1 14:32:17 2014 (r373707) @@ -17,9 +17,9 @@ rcvar=vnstat_enable load_rc_config $name : ${vnstat_enable:=NO} -: ${vnstat_pidfile:=/var/run/vnstat/vnstat.pid} -: ${vnstat_config:=%%PREFIX%%/etc/vnstat.conf} -: ${vnstat_flags:="-d --noadd"} +: ${vnstat_pidfile=/var/run/vnstat/vnstat.pid} +: ${vnstat_config=%%PREFIX%%/etc/vnstat.conf} +: ${vnstat_flags="-d --noadd"} : ${vnstat_user:=%%USERS%%} : ${vnstat_group:=%%GROUPS%%}