From 5099ad3bf30c6c55ed59e30ef03f8ae73f9a8b8e Mon Sep 17 00:00:00 2001 From: Raphael Kubo da Costa Date: Sun, 28 Feb 2016 17:57:15 +0000 Subject: New port: net-mgmt/super_mediator. super_mediator is an IPFIX mediator designed to split IPFIX sensing flows and distribute the network telemetry information to multiple sources. It can export the network telemetry data gathered into formats designed for bulk loading into databases (e.g. MySQL) or as JSON outputs, as well as directly loading MySQL tables. super_mediator is primarily designed to get network telemetry data from YAF. WWW: http://tools.netsa.cert.org/super_mediator/ PR: 207530 Submitted by: Chris Inacio --- net-mgmt/Makefile | 1 + net-mgmt/super_mediator/Makefile | 48 +++++++++++++++++++++++++++++++++++++++ net-mgmt/super_mediator/distinfo | 6 +++++ net-mgmt/super_mediator/pkg-descr | 8 +++++++ net-mgmt/super_mediator/pkg-plist | 6 +++++ 5 files changed, 69 insertions(+) create mode 100644 net-mgmt/super_mediator/Makefile create mode 100644 net-mgmt/super_mediator/distinfo create mode 100644 net-mgmt/super_mediator/pkg-descr create mode 100644 net-mgmt/super_mediator/pkg-plist (limited to 'net-mgmt') diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index a78c41b1bf78..2526bda515d1 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -311,6 +311,7 @@ SUBDIR += statsd SUBDIR += statsite SUBDIR += subcalc + SUBDIR += super_mediator SUBDIR += sx SUBDIR += sysmon SUBDIR += tcpreplay diff --git a/net-mgmt/super_mediator/Makefile b/net-mgmt/super_mediator/Makefile new file mode 100644 index 000000000000..9ac8ffd0bfe0 --- /dev/null +++ b/net-mgmt/super_mediator/Makefile @@ -0,0 +1,48 @@ +# Created by: Inacio +# $FreeBSD$ + +PORTNAME= super_mediator +PORTVERSION= 1.2.2 +CATEGORIES= net-mgmt +MASTER_SITES= http://tools.netsa.cert.org/releases/ + +MAINTAINER= nacho319+freebsdZilla@gmail.com +COMMENT= SuperMediator is an IPFIX mediator by CMU CERT generally used with YAF + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libfixbuf.so:${PORTSDIR}/net/libfixbuf \ + libltdl.so:${PORTSDIR}/devel/libltdl + +GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip +USES= libtool pathfix perl5 pkgconfig +USE_GNOME= glib20 +USE_LDCONFIG= yes + +PLIST_SUB+= PORTVERSION="${PORTVERSION}" + +OPTIONS_DEFINE= SPREAD MYSQL SKIPSET +OPTIONS_DEFAULT= MYSQL SKIPSET + +SPREAD_DESC= Enable Spread libary as a pub/sub distribution capability +MYSQL_DESC= Enable SuperMediator to directly write into MySQL +SKIPSET_DESC= Enable SiLK IPSET files for filtering + +SKIPSET_LIB_DEPENDS= libsilk.so:${PORTSDIR}/security/silktools +SPREAD_LIB_DEPENDS= libspread.so:${PORTSDIR}/net/spread4 +MYSQL_LIB_DEPENDS= libmysqlclient.so:${PORTSDIR}/${_MYSQL_CLIENT} + +MYSQL_USE= mysql=yes + +MYSQL_CONFIGURE_WITH= mysql +SKIPSET_CONFIGURE_WITH= skipset +SPREAD_CONFIGURE_WITH= spread + +post-install: +.for f in super_mediator.conf + ${MV} ${STAGEDIR}${PREFIX}/etc/$f ${STAGEDIR}${PREFIX}/etc/$f.sample +.endfor + +.include diff --git a/net-mgmt/super_mediator/distinfo b/net-mgmt/super_mediator/distinfo new file mode 100644 index 000000000000..a5af3bd3e5c0 --- /dev/null +++ b/net-mgmt/super_mediator/distinfo @@ -0,0 +1,6 @@ +SHA256 (super_mediator-1.2.2.tar.gz) = 13c8680d322a2aeb2c4142ffad260ffe24033767c5a7423aff77a0111bbf780c +SIZE (super_mediator-1.2.2.tar.gz) = 677300 +SHA256 (super_mediator-1.2.0.tar.gz) = b38f9d7bca53ac03a49ea82750cc7788bb44605472b192afbcfad000976fa64f +SIZE (super_mediator-1.2.0.tar.gz) = 675848 +SHA256 (super_mediator-1.1.1.tar.gz) = a23afd76b1517b21b6226b6aee0736d7d0ae60c2c0e8aa4a27241392794ab9b2 +SIZE (super_mediator-1.1.1.tar.gz) = 637677 diff --git a/net-mgmt/super_mediator/pkg-descr b/net-mgmt/super_mediator/pkg-descr new file mode 100644 index 000000000000..b547a7651053 --- /dev/null +++ b/net-mgmt/super_mediator/pkg-descr @@ -0,0 +1,8 @@ +super_mediator is an IPFIX mediator designed to split IPFIX sensing flows +and distribute the network telemetry information to multiple sources. It +can export the network telemetry data gathered into formats designed for +bulk loading into databases (e.g. MySQL) or as JSON outputs, as well as +directly loading MySQL tables. super_mediator is primarily designed to get +network telemetry data from YAF. + +WWW: http://tools.netsa.cert.org/super_mediator/ diff --git a/net-mgmt/super_mediator/pkg-plist b/net-mgmt/super_mediator/pkg-plist new file mode 100644 index 000000000000..60b3836e02db --- /dev/null +++ b/net-mgmt/super_mediator/pkg-plist @@ -0,0 +1,6 @@ +man/man1/super_mediator.conf.1.gz +man/man1/super_table_creator.1.gz +man/man1/super_mediator.1.gz +bin/super_table_creator +bin/super_mediator +@sample etc/super_mediator.conf.sample -- cgit v1.2.3