Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 007CD7A170 for ; Thu, 18 May 2017 18:57:22 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 6DC0385824; Thu, 18 May 2017 18:57:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id F2B6784DB7 for ; Thu, 18 May 2017 18:57:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id Q1skDGthMUll for ; Thu, 18 May 2017 18:57:21 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 3839684D85 for ; Thu, 18 May 2017 18:57:21 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 328BEFBE4; Thu, 18 May 2017 18:57:21 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1495133841152980" MIME-Version: 1.0 Date: Thu, 18 May 2017 18:57:21 +0000 From: "Nils Ratusznik" Subject: CVS commit: pkgsrc/net/daq To: pkgsrc-changes@NetBSD.org Reply-To: nils@netbsd.org X-Mailer: log_accum Message-Id: <20170518185721.328BEFBE4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1495133841152980 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1495133841152980 Content-Disposition: inline Content-Length: 3726 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 +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 --_----------=_1495133841152980--