From owner-svn-ports-all@FreeBSD.ORG Fri Nov 1 16:55:14 2013 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9D6CBC79; Fri, 1 Nov 2013 16:55:14 +0000 (UTC) (envelope-from vsevolod@FreeBSD.org) 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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 708D42A17; Fri, 1 Nov 2013 16:55:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA1GtE7J067484; Fri, 1 Nov 2013 16:55:14 GMT (envelope-from vsevolod@svn.freebsd.org) Received: (from vsevolod@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA1GtEUt067482; Fri, 1 Nov 2013 16:55:14 GMT (envelope-from vsevolod@svn.freebsd.org) Message-Id: <201311011655.rA1GtEUt067482@svn.freebsd.org> From: Vsevolod Stakhov Date: Fri, 1 Nov 2013 16:55:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332396 - head/net-mgmt/ng_ipacct 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.14 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: Fri, 01 Nov 2013 16:55:14 -0000 Author: vsevolod Date: Fri Nov 1 16:55:13 2013 New Revision: 332396 URL: http://svnweb.freebsd.org/changeset/ports/332396 Log: - Support staging. - Use kmod. Modified: head/net-mgmt/ng_ipacct/Makefile head/net-mgmt/ng_ipacct/pkg-plist Modified: head/net-mgmt/ng_ipacct/Makefile ============================================================================== --- head/net-mgmt/ng_ipacct/Makefile Fri Nov 1 16:08:21 2013 (r332395) +++ head/net-mgmt/ng_ipacct/Makefile Fri Nov 1 16:55:13 2013 (r332396) @@ -3,42 +3,33 @@ PORTNAME= ng_ipacct PORTVERSION= 20061223 -PORTREVISION= 1 -CATEGORIES= net-mgmt kld +PORTREVISION= 2 +CATEGORIES= net-mgmt MASTER_SITES= ${MASTER_SITE_LOCAL:S!$!skv/!} \ http://highsecure.ru/distfiles/ MAINTAINER= vsevolod@FreeBSD.org COMMENT= Netgraph IP accounting -.ifndef PACKAGE_BUILDING -NO_PACKAGE= depends on kernel -.else -IGNORE= depends on kernel -.endif - -KMODDIR= /boot/modules -PLIST_SUB+= KMODDIR=${KMODDIR:S!^/!!} - -MAKE_ENV= BINDIR="${PREFIX}/sbin" KMODDIR=${KMODDIR} - -MAN8= ipacctctl.8 -MANLANG= ru.KOI8-R -MANCOMPRESSED= yes +LICENSE= BSD + +USES= kmod + +MAKE_ENV= BINDIR="${PREFIX}/sbin" KMODDIR=${KMODDIR} NO_XREF=yes USE_RC_SUBR= ng_ipacct SUB_FILES= pkg-message CFLAGS+= -DMEM_USE_ZONE +NEED_ROOT= yes -NO_STAGE= yes post-extract: @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC} post-install: - @${MKDIR} ${PREFIX}/include/netgraph - ${INSTALL_DATA} ${WRKSRC}/ng_ipacct/ng_ipacct.h ${PREFIX}/include/netgraph + @${MKDIR} ${STAGEDIR}${PREFIX}/include/netgraph + ${INSTALL_DATA} ${WRKSRC}/ng_ipacct/ng_ipacct.h ${STAGEDIR}${PREFIX}/include/netgraph ${INSTALL_DATA} ${FILESDIR}/ng_ipacct.conf \ - ${PREFIX}/etc/ng_ipacct.conf.sample + ${STAGEDIR}${PREFIX}/etc/ng_ipacct.conf.sample @${CAT} ${PKGMESSAGE} .include Modified: head/net-mgmt/ng_ipacct/pkg-plist ============================================================================== --- head/net-mgmt/ng_ipacct/pkg-plist Fri Nov 1 16:08:21 2013 (r332395) +++ head/net-mgmt/ng_ipacct/pkg-plist Fri Nov 1 16:55:13 2013 (r332396) @@ -1,3 +1,4 @@ +man/ru.KOI8-R/man8/ipacctctl.8.gz include/netgraph/ng_ipacct.h etc/ng_ipacct.conf.sample sbin/ipacctctl