Update to 0.9.5

This commit is contained in:
Kirill Ponomarev 2005-12-10 09:45:32 +00:00
parent cc2f417157
commit 303b1c78db
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150783
3 changed files with 14 additions and 5 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= pmacct
PORTVERSION= 0.9.4p1
PORTVERSION= 0.9.5
CATEGORIES= net-mgmt
MASTER_SITES= http://www.ba.cnr.it/~paolo/pmacct/
@ -17,12 +17,12 @@ GNU_CONFIGURE= yes
GNUCONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
WRKSRC= ${WRKDIR}/${PORTNAME}-0.9.4
USE_GETOPT_LONG=yes
USE_REINPLACE= yes
OPTIONS= MYSQL "Enable MySQL support." Off \
PGSQL "Enable PostgreSQL support." Off \
SQLITE "Enable SQLite support." Off \
MMAP "Enable mmap(2) support." On \
LAYER2 "Enable Layer-2 support: MAC Adresses and VLANs" On
@ -50,6 +50,14 @@ CONFIGURE_ARGS+= --disable-pgsql
PLIST_SUB+= WITH_PGSQL="@comment "
.endif
.if defined(WITH_SQLITE)
LIB_DEPENDS+= sqlite3.8:${PORTSDIR}/databases/sqlite3
CONFIGURE_ARGS+=--enable-sqlite3 \
--with-sqlite3-includes=${LOCALBASE}/include
.else
CONFIGURE_ARGS+=--disable-sqlite3
.endif
.if defined(WITHOUT_MMAP)
CONFIGURE_ARGS+=--disable-mmap
.else

View File

@ -1,3 +1,3 @@
MD5 (pmacct-0.9.4p1.tar.gz) = a11e70b0474061bcd0f336c72fa79f74
SHA256 (pmacct-0.9.4p1.tar.gz) = 06111542c7e222a5822e315fc7a0a8007c688480d270cdce051bd6e855d75ab8
SIZE (pmacct-0.9.4p1.tar.gz) = 301266
MD5 (pmacct-0.9.5.tar.gz) = b4780356c1285f518e934c2b3b55c8f8
SHA256 (pmacct-0.9.5.tar.gz) = fd288d73f299852d11d20f2f85340dc878f11360ae0970464f72866162a9d635
SIZE (pmacct-0.9.5.tar.gz) = 304129

View File

@ -23,6 +23,7 @@ sbin/sfacctd
%%EXAMPLESDIR%%/pmacctd-sql.conf.example
%%EXAMPLESDIR%%/pmacctd-sql_v1.conf.example
%%EXAMPLESDIR%%/pmacctd-sql_v2.conf.example
%%EXAMPLESDIR%%/pmacctd-sqlite3_v4.conf.example
%%EXAMPLESDIR%%/ports.lst.example
%%EXAMPLESDIR%%/pretag.map.example
%%EXAMPLESDIR%%/rrdtool-example.sh