pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/daq



Module Name:    pkgsrc
Committed By:   nils
Date:           Thu May 18 18:57:21 UTC 2017

Added Files:
        pkgsrc/net/daq: DESCR Makefile PLIST buildlink3.mk distinfo
        pkgsrc/net/daq/patches: patch-sfbpf_Makefile.am

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/daq/DESCR pkgsrc/net/daq/Makefile \
    pkgsrc/net/daq/PLIST pkgsrc/net/daq/buildlink3.mk pkgsrc/net/daq/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/daq/patches/patch-sfbpf_Makefile.am

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/net/daq/DESCR
diff -u /dev/null pkgsrc/net/daq/DESCR:1.1
--- /dev/null   Thu May 18 18:57:21 2017
+++ pkgsrc/net/daq/DESCR        Thu May 18 18:57:20 2017
@@ -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.
Index: pkgsrc/net/daq/Makefile
diff -u /dev/null pkgsrc/net/daq/Makefile:1.1
--- /dev/null   Thu May 18 18:57:21 2017
+++ pkgsrc/net/daq/Makefile     Thu May 18 18:57:20 2017
@@ -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"
Index: pkgsrc/net/daq/PLIST
diff -u /dev/null pkgsrc/net/daq/PLIST:1.1
--- /dev/null   Thu May 18 18:57:21 2017
+++ pkgsrc/net/daq/PLIST        Thu May 18 18:57:20 2017
@@ -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
Index: pkgsrc/net/daq/buildlink3.mk
diff -u /dev/null pkgsrc/net/daq/buildlink3.mk:1.1
--- /dev/null   Thu May 18 18:57:21 2017
+++ pkgsrc/net/daq/buildlink3.mk        Thu May 18 18:57:20 2017
@@ -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
Index: pkgsrc/net/daq/distinfo
diff -u /dev/null pkgsrc/net/daq/distinfo:1.1
--- /dev/null   Thu May 18 18:57:21 2017
+++ pkgsrc/net/daq/distinfo     Thu May 18 18:57:20 2017
@@ -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

Index: pkgsrc/net/daq/patches/patch-sfbpf_Makefile.am
diff -u /dev/null pkgsrc/net/daq/patches/patch-sfbpf_Makefile.am:1.1
--- /dev/null   Thu May 18 18:57:21 2017
+++ pkgsrc/net/daq/patches/patch-sfbpf_Makefile.am      Thu May 18 18:57:21 2017
@@ -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