Date: Mon, 23 Jun 2003 16:40:39 +0200 From: Kirill Ponomarew <ponomarew@oberon.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/53637: Update net/pmacct (maintainer): 0.4.1 -> 0.4.2 Message-ID: <E19USUp-000ArB-RO@voodoo.oberon.net> Resent-Message-ID: <200306231450.h5NEoMD5080768@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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,<mysql/mysql.h>,<mysql.h>,' \ + @${REINPLACE_CMD} -e \ + 's,<mysql/mysql.h>,<mysql.h>,' \ ${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 <bsd.port.mk> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19USUp-000ArB-RO>