mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
update net/pmacct: 0.4.1 --> 0.4.2
PR: 53637 Submitted by: Kirill Ponomarew <ponomarew@oberon.net> (maintainer)
This commit is contained in:
parent
3eabf42be3
commit
85bb989732
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84038
@ -6,24 +6,13 @@
|
||||
#
|
||||
|
||||
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
|
||||
|
||||
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>,' \
|
||||
${WRKSRC}/mysql_plugin.h
|
||||
|
||||
.if defined(WITH_MYSQL)
|
||||
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
|
||||
CONFIGURE_ARGS+=--with-mysql-lib=${LOCALBASE}/lib/mysql \
|
||||
@ -33,4 +22,23 @@ CONFIGURE_ARGS+=--with-mysql-lib=${LOCALBASE}/lib/mysql \
|
||||
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>,' \
|
||||
${WRKSRC}/mysql_plugin.h
|
||||
|
||||
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>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (pmacct-0.4.1.tar.gz) = 67c786bde193b027be6083348e43f901
|
||||
MD5 (pmacct-0.4.2.tar.gz) = fefad3dc7097b0b39965719af6e76683
|
||||
|
@ -1,2 +1,7 @@
|
||||
bin/pmacct
|
||||
bin/pmacctd
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/EXAMPLES
|
||||
%%PORTDOCS%%%%DOCSDIR%%/INTERNALS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/PLUGINS
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
@ -6,24 +6,13 @@
|
||||
#
|
||||
|
||||
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
|
||||
|
||||
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>,' \
|
||||
${WRKSRC}/mysql_plugin.h
|
||||
|
||||
.if defined(WITH_MYSQL)
|
||||
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
|
||||
CONFIGURE_ARGS+=--with-mysql-lib=${LOCALBASE}/lib/mysql \
|
||||
@ -33,4 +22,23 @@ CONFIGURE_ARGS+=--with-mysql-lib=${LOCALBASE}/lib/mysql \
|
||||
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>,' \
|
||||
${WRKSRC}/mysql_plugin.h
|
||||
|
||||
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>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (pmacct-0.4.1.tar.gz) = 67c786bde193b027be6083348e43f901
|
||||
MD5 (pmacct-0.4.2.tar.gz) = fefad3dc7097b0b39965719af6e76683
|
||||
|
@ -1,2 +1,7 @@
|
||||
bin/pmacct
|
||||
bin/pmacctd
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/EXAMPLES
|
||||
%%PORTDOCS%%%%DOCSDIR%%/INTERNALS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/PLUGINS
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user