diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2005-05-27 12:57:25 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2005-05-27 12:57:25 +0000 |
commit | 1577a14a242fa67c2dabdd7076a7b91d0ed4dc74 (patch) | |
tree | cfa854295934b7fd2692406bf7c9ad9ac0cd449b /net-mgmt/pmacct | |
parent | - Update to 5.22 (diff) |
Update to 0.8.6
Notes
Notes:
svn path=/head/; revision=136271
Diffstat (limited to 'net-mgmt/pmacct')
-rw-r--r-- | net-mgmt/pmacct/Makefile | 31 | ||||
-rw-r--r-- | net-mgmt/pmacct/distinfo | 4 |
2 files changed, 25 insertions, 10 deletions
diff --git a/net-mgmt/pmacct/Makefile b/net-mgmt/pmacct/Makefile index 75c7cfbe93e7..7bef041f12a2 100644 --- a/net-mgmt/pmacct/Makefile +++ b/net-mgmt/pmacct/Makefile @@ -6,13 +6,27 @@ # PORTNAME= pmacct -PORTVERSION= 0.8.5 +PORTVERSION= 0.8.6 CATEGORIES= net-mgmt MASTER_SITES= http://www.ba.cnr.it/~paolo/pmacct/ MAINTAINER= krion@FreeBSD.org COMMENT= Accounting and aggregation tool for IPv4 and IPv6 traffic +GNU_CONFIGURE= yes +GNUCONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +USE_GETOPT_LONG=yes +USE_REINPLACE= yes + +OPTIONS= MYSQL "Enable MySQL support." Off \ + PGSQL "Enable PostgreSQL support." Off \ + MMAP "Disable mmap(2) support." Off \ + LAYER2 "Disable Layer-2 support: MAC Adresses and VLANs" Off + +.include <bsd.port.pre.mk> + .if defined(WITH_MYSQL) USE_MYSQL= yes CONFIGURE_ARGS+=--enable-mysql @@ -32,15 +46,16 @@ PLIST_SUB+= WITH_PGSQL="@comment " .endif .if defined(WITHOUT_MMAP) +CONFIGURE_ARGS+=--enable-mmap +.else CONFIGURE_ARGS+=--disable-mmap .endif -GNU_CONFIGURE= yes -GNUCONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" -USE_GETOPT_LONG=yes -USE_REINPLACE= yes +.if defined(WITHOUT_LAYER2) +CONFIGURE_ARGS+=--enable-l2 +.else +CONFIGURE_ARGS+=--disable-l2 +.endif post-patch: @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/configure @@ -55,4 +70,4 @@ post-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net-mgmt/pmacct/distinfo b/net-mgmt/pmacct/distinfo index 98e1324927b4..7efa24d41cb0 100644 --- a/net-mgmt/pmacct/distinfo +++ b/net-mgmt/pmacct/distinfo @@ -1,2 +1,2 @@ -MD5 (pmacct-0.8.5.tar.gz) = 996d6402946553f81d94e0a60e6fc509 -SIZE (pmacct-0.8.5.tar.gz) = 238893 +MD5 (pmacct-0.8.6.tar.gz) = b725f7b4af335d2f668cb61621a5c2d9 +SIZE (pmacct-0.8.6.tar.gz) = 244189 |