Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Apr 2018 13:21:58 +0000 (UTC)
From:      Vsevolod Stakhov <vsevolod@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466151 - in head/net-mgmt/ng_ipacct: . files
Message-ID:  <201804011321.w31DLwjh033375@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vsevolod
Date: Sun Apr  1 13:21:57 2018
New Revision: 466151
URL: https://svnweb.freebsd.org/changeset/ports/466151

Log:
  Update ng_ipacct port to 20180401 tag
  
  - Add VIMAGE option [1]
  - Fix build on head [1]
  - Incorporate the existing patches
  - Improve ipacctctl build [1]
  
  Submitted by:	eugen via IRC [1]

Deleted:
  head/net-mgmt/ng_ipacct/files/patch-ipacctctl_Makefile
  head/net-mgmt/ng_ipacct/files/patch-ng_ipacct.c
Modified:
  head/net-mgmt/ng_ipacct/Makefile
  head/net-mgmt/ng_ipacct/distinfo

Modified: head/net-mgmt/ng_ipacct/Makefile
==============================================================================
--- head/net-mgmt/ng_ipacct/Makefile	Sun Apr  1 13:15:17 2018	(r466150)
+++ head/net-mgmt/ng_ipacct/Makefile	Sun Apr  1 13:21:57 2018	(r466151)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	ng_ipacct
-PORTVERSION=	20150304
+PORTVERSION=	20180401
 CATEGORIES=	net-mgmt
 
 MAINTAINER=	vsevolod@FreeBSD.org
@@ -19,7 +19,8 @@ USES=		kmod uidfix
 
 GH_ACCOUNT=	vstakhov
 
-MAKE_ENV=	BINDIR="${PREFIX}/sbin"
+MAKE_ARGS+=	OSVERSION=${OSVERSION}
+MAKE_ENV+=	BINDIR="${PREFIX}/sbin"
 
 USE_RC_SUBR=	ng_ipacct
 SUB_FILES=	pkg-message
@@ -33,5 +34,9 @@ post-install:
 	${INSTALL_DATA} ${WRKSRC}/ng_ipacct/ng_ipacct.h ${STAGEDIR}${PREFIX}/include/netgraph
 	${INSTALL_DATA} ${FILESDIR}/ng_ipacct.conf \
 		${STAGEDIR}${PREFIX}/etc/ng_ipacct.conf.sample
+
+OPTIONS_DEFINE=	VIMAGE
+VIMAGE_DESC=	VIMAGE virtual networking support
+VIMAGE_CFLAGS=	-DVIMAGE
 
 .include <bsd.port.mk>

Modified: head/net-mgmt/ng_ipacct/distinfo
==============================================================================
--- head/net-mgmt/ng_ipacct/distinfo	Sun Apr  1 13:15:17 2018	(r466150)
+++ head/net-mgmt/ng_ipacct/distinfo	Sun Apr  1 13:21:57 2018	(r466151)
@@ -1,2 +1,3 @@
-SHA256 (vstakhov-ng_ipacct-20150304_GH0.tar.gz) = 4ad4412656d415d0841d5ba30dfa367179fc4e7f70f002990540fafdee3bc784
-SIZE (vstakhov-ng_ipacct-20150304_GH0.tar.gz) = 24567
+TIMESTAMP = 1522588704
+SHA256 (vstakhov-ng_ipacct-20180401_GH0.tar.gz) = 5f873006e68a7a1a74a00eac48e940115d2e8e0b6e2628f57f782d7ee73b91fe
+SIZE (vstakhov-ng_ipacct-20180401_GH0.tar.gz) = 24653



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