aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorrea <rea@FreeBSD.org>2011-01-19 00:46:53 +0800
committerrea <rea@FreeBSD.org>2011-01-19 00:46:53 +0800
commit2c4e2e89a03646f4c59b205c641b947c25d1f141 (patch)
tree2f0d95665700d48736aa020584c732d7f6c3f70f /net
parentb81f876167ab586d39ac96e200164cfca4c81473 (diff)
downloadfreebsd-ports-graphics-2c4e2e89a03646f4c59b205c641b947c25d1f141.tar.gz
freebsd-ports-graphics-2c4e2e89a03646f4c59b205c641b947c25d1f141.tar.zst
freebsd-ports-graphics-2c4e2e89a03646f4c59b205c641b947c25d1f141.zip
New port: net/daq
DAQ is the data acquisition library for Snort 2.9. PR: 153997 Feature safe: yes Approved by: erwin (mentor)
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/daq/Makefile29
-rw-r--r--net/daq/distinfo2
-rw-r--r--net/daq/pkg-descr12
-rw-r--r--net/daq/pkg-plist25
5 files changed, 69 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index c905c5a8bc4..a19b7ec430e 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -107,6 +107,7 @@
SUBDIR += daemonlogger
SUBDIR += danamics
SUBDIR += dante
+ SUBDIR += daq
SUBDIR += datapipe
SUBDIR += dbeacon
SUBDIR += delegate
diff --git a/net/daq/Makefile b/net/daq/Makefile
new file mode 100644
index 00000000000..77e846a077a
--- /dev/null
+++ b/net/daq/Makefile
@@ -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>
diff --git a/net/daq/distinfo b/net/daq/distinfo
new file mode 100644
index 00000000000..7a37bebeb80
--- /dev/null
+++ b/net/daq/distinfo
@@ -0,0 +1,2 @@
+SHA256 (daq-0.5.tar.gz) = 36f2954a5994e0047c43a6e48e033712a4f2dbabb63556aa07d6344f3f834eec
+SIZE (daq-0.5.tar.gz) = 449703
diff --git a/net/daq/pkg-descr b/net/daq/pkg-descr
new file mode 100644
index 00000000000..2efc959e163
--- /dev/null
+++ b/net/daq/pkg-descr
@@ -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/
diff --git a/net/daq/pkg-plist b/net/daq/pkg-plist
new file mode 100644
index 00000000000..148fd25a6aa
--- /dev/null
+++ b/net/daq/pkg-plist
@@ -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