New port: net/daq

DAQ is the data acquisition library for Snort 2.9.

PR: 153997
Feature safe: yes
Approved by: erwin (mentor)
This commit is contained in:
Eygene Ryabinkin 2011-01-18 16:46:53 +00:00
parent 4f169b63af
commit 6fcf257b8d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=267950
5 changed files with 69 additions and 0 deletions

View file

@ -107,6 +107,7 @@
SUBDIR += daemonlogger
SUBDIR += danamics
SUBDIR += dante
SUBDIR += daq
SUBDIR += datapipe
SUBDIR += dbeacon
SUBDIR += delegate

29
net/daq/Makefile Normal file
View file

@ -0,0 +1,29 @@
# New ports collection makefile for: daq
# Date created: 13 January 2011
# Whom: Dean Freeman (wfreeman@sourcefire.com)
#
# $FreeBSD$
#
PORTNAME= daq
PORTVERSION= 0.5
CATEGORIES= net
MASTER_SITES= SF/snort/snort
MAINTAINER= wfreeman@sourcefire.com
COMMENT= Data Acquisition abstraction library for snort 2.9+
LIB_DEPENDS= dnet.1:${PORTSDIR}/net/libdnet \
pcap.1:${PORTSDIR}/net/libpcap
BUILD_DEPENDS= flex:${PORTSDIR}/textproc/flex
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
USE_BISON= build
CONFIGURE_ENV= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.mk>

2
net/daq/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (daq-0.5.tar.gz) = 36f2954a5994e0047c43a6e48e033712a4f2dbabb63556aa07d6344f3f834eec
SIZE (daq-0.5.tar.gz) = 449703

12
net/daq/pkg-descr Normal file
View file

@ -0,0 +1,12 @@
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.
WWW: http://www.snort.org/

25
net/daq/pkg-plist Normal file
View file

@ -0,0 +1,25 @@
bin/daq-modules-config
include/daq.h
include/daq_api.h
include/daq_common.h
include/sfbpf.h
include/sfbpf_dlt.h
lib/libdaq.so.0
lib/libdaq.so
lib/libdaq.la
lib/libdaq_static.la
lib/libdaq.a
lib/libdaq_static.a
lib/libsfbpf.so.0
lib/libsfbpf.so
lib/libsfbpf.la
lib/libsfbpf.a
lib/libdaq_static_modules.la
lib/libdaq_static_modules.a
lib/daq/daq_pcap.so
lib/daq/daq_pcap.la
lib/daq/daq_dump.so
lib/daq/daq_dump.la
lib/daq/daq_ipfw.so
lib/daq/daq_ipfw.la
@dirrm lib/daq