freebsd-ports/net/daq/Makefile
Muhammad Moinur Rahman de14f6fa57 [NEW] net/libdaq: Data Acquisition abstraction library for snort 3.0+
Snort 2.9 introduces the DAQ, or Data Acquisition library,
for packet I/O.  The DAQ replaces direct calls to PCAP functions
with an abstraction layer that facilitates operation on a variety
of hardware and software interfaces without requiring changes
to Snort.  It is possible to select the DAQ type and mode
when invoking Snort to perform PCAP readback or inline operation, etc.

The DAQ library may be useful for other packet processing applications
and the modular nature allows you to build new modules for other
platforms.

This version is not compatible with Snort 2.X.

WWW: http://www.snort.org/
2019-07-31 11:02:19 +00:00

36 lines
810 B
Makefile

# Created by: Dean Freeman (wfreeman@sourcefire.com)
# $FreeBSD$
PORTNAME= daq
PORTVERSION= 2.2.2
PORTREVISION= 0
CATEGORIES= net
MASTER_SITES= https://snort.org/downloads/snortplus/ \
ZI
MAINTAINER= zi@FreeBSD.org
COMMENT= Data Acquisition abstraction library for snort 2.9+
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libdnet.so:net/libdnet \
libpcap.so.1:net/libpcap # avoid base libpcap
BUILD_DEPENDS= flex:textproc/flex
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= bison gmake libtool
USE_LDCONFIG= yes
PLIST_SUB= PORTVERSION="${PORTVERSION}"
MAKE_JOBS_UNSAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
CONFLICTS= libdaq-3*
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.* ${STAGEDIR}${PREFIX}/lib/daq/*.so
.include <bsd.port.mk>