aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/pmacct
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2005-05-27 20:57:25 +0800
committerkrion <krion@FreeBSD.org>2005-05-27 20:57:25 +0800
commit2e3acfe2b25716c3c9fb059d2c16f2190242c752 (patch)
treee4e2295e16daf1d1a925d2669c1813f077122045 /net-mgmt/pmacct
parentb3b0e153922c8a36aa1f7df5bcec8aba3fdb69ae (diff)
downloadfreebsd-ports-gnome-2e3acfe2b25716c3c9fb059d2c16f2190242c752.tar.gz
freebsd-ports-gnome-2e3acfe2b25716c3c9fb059d2c16f2190242c752.tar.zst
freebsd-ports-gnome-2e3acfe2b25716c3c9fb059d2c16f2190242c752.zip
Update to 0.8.6
Diffstat (limited to 'net-mgmt/pmacct')
-rw-r--r--net-mgmt/pmacct/Makefile31
-rw-r--r--net-mgmt/pmacct/distinfo4
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