From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 23 07:50:23 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8705037B409 for ; Mon, 23 Jun 2003 07:50:23 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AD2343FEC for ; Mon, 23 Jun 2003 07:50:22 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5NEoMUp080769 for ; Mon, 23 Jun 2003 07:50:22 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5NEoMD5080768; Mon, 23 Jun 2003 07:50:22 -0700 (PDT) Resent-Date: Mon, 23 Jun 2003 07:50:22 -0700 (PDT) Resent-Message-Id: <200306231450.h5NEoMD5080768@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kirill Ponomarew Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5502137B401 for ; Mon, 23 Jun 2003 07:42:24 -0700 (PDT) Received: from office.LF.net (office.LF.net [212.9.190.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55ECF43FBD for ; Mon, 23 Jun 2003 07:42:23 -0700 (PDT) (envelope-from krion@voodoo.oberon.net) Received: from voodoo.oberon.net ([212.118.165.100]) by office.LF.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.10) id 19USWP-0004U9-00 for FreeBSD-gnats-submit@freebsd.org; Mon, 23 Jun 2003 16:42:17 +0200 Received: from krion by voodoo.oberon.net with local (Exim 4.20) id 19USUp-000ArB-RO for FreeBSD-gnats-submit@freebsd.org; Mon, 23 Jun 2003 16:40:39 +0200 Message-Id: Date: Mon, 23 Jun 2003 16:40:39 +0200 From: Kirill Ponomarew Sender: Kirill Ponomarew To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/53637: Update net/pmacct (maintainer): 0.4.1 -> 0.4.2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2003 14:50:24 -0000 >Number: 53637 >Category: ports >Synopsis: Update net/pmacct (maintainer): 0.4.1 -> 0.4.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Jun 23 07:50:22 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Kirill Ponomarew >Release: FreeBSD 4.8-STABLE i386 >Organization: Oberon.net >Environment: >Description: Update net/pmacct (maintainer): 0.4.1 -> 0.4.2 New features: + limited support for transport protocols (currently only tcp andudp): aggregation of statistics for source or destination port. + added "-t" pmacctd commandline switch to specify a custom database table. + optimized query mechanism for in-memory table; solved few generalization issues that will enable (in future versions) to support complex queries. >How-To-Repeat: >Fix: diff -urN pmacct.orig/Makefile pmacct/Makefile --- pmacct.orig/Makefile Mon May 19 22:36:35 2003 +++ pmacct/Makefile Mon Jun 23 16:34:48 2003 @@ -6,31 +6,39 @@ # PORTNAME= pmacct -PORTVERSION= 0.4.1 +PORTVERSION= 0.4.2 CATEGORIES= net MASTER_SITES= http://www.ba.cnr.it/~paolo/pmacct/ MAINTAINER= ponomarew@oberon.net COMMENT= Network tool to gather IP traffic information +.if defined(WITH_MYSQL) +LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client +CONFIGURE_ARGS+=--with-mysql-lib=${LOCALBASE}/lib/mysql \ + --with-mysql-includes=${LOCALBASE}/include/mysql \ + --enable-mysql +.else +CONFIGURE_ARGS+= --disable-mysql +.endif + GNU_CONFIGURE= yes USE_GETOPT_LONG=yes USE_REINPLACE= yes - CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ pre-patch: - @${REINPLACE_CMD} -e 's,,,' \ + @${REINPLACE_CMD} -e \ + 's,,,' \ ${WRKSRC}/mysql_plugin.h -.if defined(WITH_MYSQL) -LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client -CONFIGURE_ARGS+=--with-mysql-lib=${LOCALBASE}/lib/mysql \ - --with-mysql-includes=${LOCALBASE}/include/mysql \ - --enable-mysql -.else -CONFIGURE_ARGS+= --disable-mysql +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for i in README EXAMPLES INTERNALS PLUGINS + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor .endif .include diff -urN pmacct.orig/distinfo pmacct/distinfo --- pmacct.orig/distinfo Mon May 12 18:17:50 2003 +++ pmacct/distinfo Mon Jun 23 16:19:01 2003 @@ -1 +1 @@ -MD5 (pmacct-0.4.1.tar.gz) = 67c786bde193b027be6083348e43f901 +MD5 (pmacct-0.4.2.tar.gz) = 457ca33d66ab8d4a636f7765903c778c diff -urN pmacct.orig/pkg-plist pmacct/pkg-plist --- pmacct.orig/pkg-plist Mon May 12 18:17:50 2003 +++ pmacct/pkg-plist Mon Jun 23 16:27:49 2003 @@ -1,2 +1,7 @@ bin/pmacct bin/pmacctd +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/EXAMPLES +%%PORTDOCS%%%%DOCSDIR%%/INTERNALS +%%PORTDOCS%%%%DOCSDIR%%/PLUGINS +%%PORTDOCS%%@dirrm %%DOCSDIR%% >Release-Note: >Audit-Trail: >Unformatted: