diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2016-02-28 17:57:15 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2016-02-28 17:57:15 +0000 |
commit | 5099ad3bf30c6c55ed59e30ef03f8ae73f9a8b8e (patch) | |
tree | f320091a02c0d5e3b18a0c09f04aea61e47a816e /net-mgmt/super_mediator/Makefile | |
parent | abd5cba34ac53f7ce64f444f0afca55411b58e0c (diff) | |
download | ports-5099ad3bf30c6c55ed59e30ef03f8ae73f9a8b8e.tar.gz ports-5099ad3bf30c6c55ed59e30ef03f8ae73f9a8b8e.zip |
Notes
Diffstat (limited to 'net-mgmt/super_mediator/Makefile')
-rw-r--r-- | net-mgmt/super_mediator/Makefile | 48 |
1 files changed, 48 insertions, 0 deletions
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 <nacho319+freebsdZilla@gmail.com> +# $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 <bsd.port.mk> |