pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/daq Initial import of daq, version 2.0.6, into pkg...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cd1af213a1c0
branches:  trunk
changeset: 362586:cd1af213a1c0
user:      nils <nils%pkgsrc.org@localhost>
date:      Thu May 18 18:57:20 2017 +0000

description:
Initial import of daq, version 2.0.6, into pkgsrc.

Snort 2.9 introduces the DAQ, or Data Acquisition library, for packet I/O. The
DAQ replaces direct calls to libpcap 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.

diffstat:

 net/daq/DESCR                           |   7 +++++++
 net/daq/Makefile                        |  19 +++++++++++++++++++
 net/daq/PLIST                           |  14 ++++++++++++++
 net/daq/buildlink3.mk                   |  13 +++++++++++++
 net/daq/distinfo                        |   6 ++++++
 net/daq/patches/patch-sfbpf_Makefile.am |  16 ++++++++++++++++
 6 files changed, 75 insertions(+), 0 deletions(-)

diffs (99 lines):

diff -r 528b3d77bad7 -r cd1af213a1c0 net/daq/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/daq/DESCR     Thu May 18 18:57:20 2017 +0000
@@ -0,0 +1,7 @@
+Snort 2.9 introduces the DAQ, or Data Acquisition library, for packet I/O. The
+DAQ replaces direct calls to libpcap 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.
diff -r 528b3d77bad7 -r cd1af213a1c0 net/daq/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/daq/Makefile  Thu May 18 18:57:20 2017 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2017/05/18 18:57:20 nils Exp $
+
+DISTNAME=      daq-2.0.6
+CATEGORIES=    net security
+MASTER_SITES=  https://snort.org/downloads/snort/
+
+MAINTAINER=    nils%NetBSD.org@localhost
+HOMEPAGE=      http://www.snort.org/
+COMMENT=       Abstraction layer for libpcap
+LICENSE=       gnu-gpl-v2
+
+BUILD_DEPENDS+=        bison-[0-9]*:../../devel/bison
+.include "../../net/libdnet/buildlink3.mk"
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+
+.include "../../net/libpcap/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 528b3d77bad7 -r cd1af213a1c0 net/daq/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/daq/PLIST     Thu May 18 18:57:20 2017 +0000
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2017/05/18 18:57:20 nils Exp $
+bin/daq-modules-config
+include/daq.h
+include/daq_api.h
+include/daq_common.h
+include/sfbpf.h
+include/sfbpf_dlt.h
+lib/daq/daq_dump.la
+lib/daq/daq_ipfw.la
+lib/daq/daq_pcap.la
+lib/libdaq.la
+lib/libdaq_static.la
+lib/libdaq_static_modules.la
+lib/libsfbpf.la
diff -r 528b3d77bad7 -r cd1af213a1c0 net/daq/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/daq/buildlink3.mk     Thu May 18 18:57:20 2017 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/05/18 18:57:20 nils Exp $
+
+BUILDLINK_TREE+=       daq
+
+.if !defined(DAQ_BUILDLINK3_MK)
+DAQ_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.daq+=    daq>=2.0.0
+BUILDLINK_ABI_DEPENDS.daq+=    daq>=2.0.0
+BUILDLINK_PKGSRCDIR.daq?=      ../../net/daq
+.endif # DAQ_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -daq
diff -r 528b3d77bad7 -r cd1af213a1c0 net/daq/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/daq/distinfo  Thu May 18 18:57:20 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/05/18 18:57:20 nils Exp $
+
+SHA1 (daq-2.0.6.tar.gz) = ec0ebfcd4568a3e4e58c774982c808c414dd71bc
+RMD160 (daq-2.0.6.tar.gz) = cf3a9df96829f63324a44dae5f2248d835e6ac4d
+Size (daq-2.0.6.tar.gz) = 514687 bytes
+SHA1 (patch-sfbpf_Makefile.am) = 200e15424d2a6e8b5ec4f78b92c2203ae63726b6
diff -r 528b3d77bad7 -r cd1af213a1c0 net/daq/patches/patch-sfbpf_Makefile.am
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/daq/patches/patch-sfbpf_Makefile.am   Thu May 18 18:57:20 2017 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-sfbpf_Makefile.am,v 1.1 2017/05/18 18:57:21 nils Exp $
+
+tokdefs.h is created but after checkinf of this file existence.
+Patch from MacPorts waiting to get upstream :
+https://trac.macports.org/ticket/45159
+
+--- sfbpf/Makefile.am.orig     2015-04-01 18:56:48.000000000 +0000
++++ sfbpf/Makefile.am
+@@ -51,6 +51,7 @@ sf_scanner.o: sf_scanner.c tokdefs.h
+ 
+ tokdefs.h: sf_grammar.c
+ sf_grammar.c: $(srcdir)/grammar.y
++      sleep 5
+       @rm -f sf_grammar.c tokdefs.h
+       $(V_YACC) -d $(srcdir)/grammar.y
+       mv y.tab.c sf_grammar.c



Home | Main Index | Thread Index | Old Index