Hello, here is an update to recent daq 2.0.2. Tested on sparc64 with snort 2.9.6.0.
Please test, comment, ... Regards, Markus
Index: Makefile =================================================================== RCS file: /cvs/ports/net/daq/Makefile,v retrieving revision 1.8 diff -u -p -r1.8 Makefile --- Makefile 21 Aug 2013 02:21:14 -0000 1.8 +++ Makefile 25 Jan 2014 17:55:55 -0000 @@ -2,9 +2,9 @@ COMMENT = data acquisition library for snort -DISTNAME = daq-2.0.1 +DISTNAME = daq-2.0.2 -SHARED_LIBS += daq 2.0 # 2.1 +SHARED_LIBS += daq 2.0 # 2.2 SHARED_LIBS += sfbpf 1.0 # 0.1 CATEGORIES = net Index: distinfo =================================================================== RCS file: /cvs/ports/net/daq/distinfo,v retrieving revision 1.3 diff -u -p -r1.3 distinfo --- distinfo 21 Aug 2013 02:21:14 -0000 1.3 +++ distinfo 25 Jan 2014 17:55:55 -0000 @@ -1,2 +1,2 @@ -SHA256 (daq-2.0.1.tar.gz) = 67qHwux2rGXSmAk0QjsFl5Ccrq06hs5dG6HqbOUY7G0= -SIZE (daq-2.0.1.tar.gz) = 472510 +SHA256 (daq-2.0.2.tar.gz) = 1l0eZ8SZTgLDFCxJpkhkLngLfj2UK0pR9gUwm+rCaag= +SIZE (daq-2.0.2.tar.gz) = 474447 Index: patches/patch-configure =================================================================== RCS file: /cvs/ports/net/daq/patches/patch-configure,v retrieving revision 1.3 diff -u -p -r1.3 patch-configure --- patches/patch-configure 21 Aug 2013 02:21:15 -0000 1.3 +++ patches/patch-configure 25 Jan 2014 17:55:55 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-configure,v 1.3 2013/08/21 02:21:15 lteo Exp $ ---- configure.orig Wed Jul 3 01:36:06 2013 -+++ configure Mon Aug 5 14:33:20 2013 -@@ -12727,12 +12727,20 @@ else +--- configure.orig Tue Nov 5 16:10:24 2013 ++++ configure Thu Jan 23 22:05:29 2014 +@@ -12806,12 +12806,20 @@ else #include <pcap.h> #include <string.h> Index: patches/patch-os-daq-modules_daq_ipfw_c =================================================================== RCS file: /cvs/ports/net/daq/patches/patch-os-daq-modules_daq_ipfw_c,v retrieving revision 1.2 diff -u -p -r1.2 patch-os-daq-modules_daq_ipfw_c --- patches/patch-os-daq-modules_daq_ipfw_c 21 Aug 2013 02:21:15 -0000 1.2 +++ patches/patch-os-daq-modules_daq_ipfw_c 25 Jan 2014 17:55:55 -0000 @@ -4,9 +4,9 @@ This patch removes DAQ_CAPA_UNPRIV_START Snort can run as an unprivileged user in inline mode. Sent upstream: http://marc.info/?l=snort-devel&m=136254358118711&w=2 ---- os-daq-modules/daq_ipfw.c.orig Mon Jul 1 12:44:59 2013 -+++ os-daq-modules/daq_ipfw.c Mon Aug 5 14:33:20 2013 -@@ -401,7 +401,7 @@ static int ipfw_daq_get_snaplen (void* handle) +--- os-daq-modules/daq_ipfw.c.orig Tue Nov 5 16:00:32 2013 ++++ os-daq-modules/daq_ipfw.c Thu Jan 23 22:05:29 2014 +@@ -403,7 +403,7 @@ static int ipfw_daq_get_snaplen (void* handle) static uint32_t ipfw_daq_get_capabilities (void* handle) { return DAQ_CAPA_BLOCK | DAQ_CAPA_REPLACE | DAQ_CAPA_INJECT | DAQ_CAPA_INJECT_RAW