ba93f617f3
NOTE: The names of the default configuration files has changed. They now end in `.cfg' or `.sym'. Approved by MAINTAINER. Changes since last packaged version: * 4-3-2003 flow-tools-0.66 released * reapply flow-fanout linux patch, also infected flow-send * 4-3-2003 flow-tools-0.65 released * flow-send, flow-fanout: -s source IP address spoofing. * build: builddir != srcdir problems - noted by jos@catnook.com * build: All default config files installed by default. * build: config files end in .cfg, symbol files end in .sym. Note this changes the names of the default configuration files. * ftlib: ftfil.c - random sample filter - reqested by Edward Balas <ebalas@iu.edu> * ftlib: ftstat.c - ip-destination-address-source-count missing count - noted by Christian Cinetto <cinetto@garr.it> * build: example tags file installed by default. * ftlib: ftstat.c - broken ip-source-address/ip-destination-port - noted by Gerhard.Haindl@t-systems.at * ftlib: ftstat.c - broken ip-destination-address/destination-as - noted by carsten.strahler@lambdanet.net * remove bin scripts (mostly historical OSU stuff) * upgrade to automake 1.7.3 and autoconf 2.57 * docs: flow-report.sgml missing ip-source/destination-address/ip-protocol/ip-tos/ip-source/destination-port noted by shane.dawalt@wright.edu * flow-fanout: will not compile under linux - patch from alex.shepard@gettyimages.com * ftlib: ftstat.c - use FMT_SYM_LEN instead of hard coded 32 byte length. increase len to 64 bytes. * ftlib: fmt.c - fmt_uint*s() did not properly null terminate when symbol strlen >= max - noted by jed@onenet.net * 2-23-2003 flow-tools-0.64 released * flow-fanout, flow-capture, flow-receive: add startup= to STAT: line * docs: flow-fanout - missing -f -F - noted by RAR@syssrc.com * flow-split: consuming too many resources, noted by fin@finseth.com * ftlib: ftstat.c - rec2: in summary-detail report missing time_real field - noted by shane.dawalt@wright.edu * build: strouq() -> strtoull(). Check if strtoul() is really strtoull() - noted by shane.dawalt@wright.edu * ftlib: ftstat.c - protect potential divide by 0 errors - noted by shane.dawalt@wright.edu * flow-split: stag not initialized - patch from fin@finseth.com * build: ftlib.h should not require ftconfig.h - noted by jan@kneschke.de * build: lib/ftconfig.h does not belong in dist - noted by jos@catnook.com * ftlib: ftlib.h - FT_SO_RCV_BUFSIZE default to 4MB * ftlib: suppport.c - bigsockbuf() - more agressive reduction on large buffers. Report size. * ftlib: ftmask.c - flow-mask: rn_deladdr(): failed. Missing masklen set - noted by nik.hinson@assurance-dynamics.com * ftlib: ftfil.c - invert option to filter-definition req by mhyde@escape.ca * ftlib: shadowed variable names - fumerola@yahoo-inc.com * flow-cat: exit status 1 if no streams processed - req by mhunter@ack.Berkeley.EDU * ftlib: ftstat.c - bucket_dump_1(): loop typo noted by nik.hinson@assurance-dynamics.com * flow-capture: reload tags and filters with SIGHUP * flow-import: format4 wire format. * ftlib: ftstat.c - tag mask option should not require local tagging - noted by clay@bloomcounty.org * flow-*: catch extra command line args - noted by rcarrara@augustmail.com * ftlib: fttag.c - fix ToS tagging, add ANY tagging.
61 lines
1.9 KiB
Makefile
61 lines
1.9 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2003/05/23 07:19:41 seb Exp $
|
|
|
|
DISTNAME= flow-tools-0.66
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.eng.oar.net/pub/flow-tools/
|
|
|
|
MAINTAINER= cjs@netbsd.org
|
|
HOMEPAGE= http://www.splintered.net/sw/flow-tools/
|
|
COMMENT= Collect and store NetFlow data
|
|
|
|
GNU_CONFIGURE= YES
|
|
USE_BUILDLINK2= YES
|
|
USE_PKGINSTALL= YES
|
|
|
|
PKG_SYSCONFSUBDIR= flow-tools
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
|
|
EGDIR= ${PREFIX}/share/examples/flow-tools
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}/sym
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}/cfg
|
|
|
|
# These files are config files that are unlikely to be modified in most cases
|
|
# so we install them via SUPPORT_FILES.
|
|
_SYM_FILES= ip-prot.sym ip-type.sym tcp-port.sym asn.sym tag.sym
|
|
.for _f_ in ${_SYM_FILES}
|
|
SUPPORT_FILES+= ${EGDIR}/sym/${_f_} ${PKG_SYSCONFDIR}/sym/${_f_}
|
|
.endfor
|
|
MESSAGE_SUBST+= EGDIR=${EGDIR}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
# MySQL support
|
|
.if defined(FLOW_TOOLS_USE_MYSQL) && ${FLOW_TOOLS_USE_MYSQL} == "YES"
|
|
.include "../../databases/mysql-client/buildlink2.mk"
|
|
CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_PREFIX.mysql-client}
|
|
LDFLAGS+= -Wl,${_OPSYS_RPATH_NAME}${BUILDLINK_PREFIX.mysql-client}/lib/mysql
|
|
.endif
|
|
|
|
# Touch these or else config.status being touched the manpages
|
|
# generated by it will be made twice
|
|
AUTOMAKE_POST_PATTERNS+= *.1
|
|
|
|
# To avoid providing more patch files we do the following...
|
|
# Order is important here or else dependencies requiring docbook-to-man/jade
|
|
# will be triggered
|
|
post-patch:
|
|
${_PKG_SILENT}${_PKG_DEBUG} \
|
|
cd ${WRKSRC}/docs && \
|
|
for m in flow-*.1.in; do \
|
|
h=`${BASENAME} $${m} .1.in`.html.in; \
|
|
s=`${BASENAME} $${m} .1.in`.sgml; \
|
|
for f in $${s} $${h} $${m}; do \
|
|
${MV} $${f} $${f}.bak && \
|
|
${SED} -e 's,@localstatedir@,@sysconfdir@,g' \
|
|
< $${f}.bak > $${f}; \
|
|
done; \
|
|
done
|
|
|
|
.include "../../devel/zlib/buildlink2.mk"
|
|
.include "../../security/tcp_wrappers/buildlink2.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|