Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jul 2019 11:02:20 +0000 (UTC)
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r507706 - in head/net: . daq libdaq
Message-ID:  <201907311102.x6VB2KRM059993@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bofh
Date: Wed Jul 31 11:02:19 2019
New Revision: 507706
URL: https://svnweb.freebsd.org/changeset/ports/507706

Log:
  [NEW] net/libdaq: Data Acquisition abstraction library for snort 3.0+
  
  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.
  
  This version is not compatible with Snort 2.X.
  
  WWW: http://www.snort.org/

Added:
  head/net/libdaq/
  head/net/libdaq/Makefile   (contents, props changed)
  head/net/libdaq/distinfo   (contents, props changed)
  head/net/libdaq/pkg-descr   (contents, props changed)
  head/net/libdaq/pkg-plist   (contents, props changed)
Modified:
  head/net/Makefile
  head/net/daq/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Wed Jul 31 10:10:35 2019	(r507705)
+++ head/net/Makefile	Wed Jul 31 11:02:19 2019	(r507706)
@@ -342,6 +342,7 @@
     SUBDIR += libcapn
     SUBDIR += libcmis
     SUBDIR += libcoap
+    SUBDIR += libdaq
     SUBDIR += libdmapsharing
     SUBDIR += libdnet
     SUBDIR += libexosip2

Modified: head/net/daq/Makefile
==============================================================================
--- head/net/daq/Makefile	Wed Jul 31 10:10:35 2019	(r507705)
+++ head/net/daq/Makefile	Wed Jul 31 11:02:19 2019	(r507706)
@@ -28,6 +28,8 @@ MAKE_JOBS_UNSAFE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LIBS+=		-L${LOCALBASE}/lib
 
+CONFLICTS=	libdaq-3*
+
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.* ${STAGEDIR}${PREFIX}/lib/daq/*.so
 

Added: head/net/libdaq/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libdaq/Makefile	Wed Jul 31 11:02:19 2019	(r507706)
@@ -0,0 +1,28 @@
+# Created by: Muhammad Moinur Rahman <bofh@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	libdaq
+DISTVERSIONPREFIX=	v
+DISTVERSION=	3.0.0-alpha1
+CATEGORIES=	net
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Data Acquisition abstraction library for snort 3.0+
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libpcap.so:net/libpcap	# avoid base libpcap
+
+USES=		autoreconf libtool pkgconfig
+USE_GITHUB=	yes
+USE_LDCONFIG=	yes
+
+GH_ACCOUNT=	snort3
+GNU_CONFIGURE=	yes
+CPPFLAGS+=	-I${LOCALBASE}/include
+LIBS+=		-L${LOCALBASE}/lib
+INSTALL_TARGET=	install-strip
+
+CONFLICTS=	daq-2*
+.include <bsd.port.mk>

Added: head/net/libdaq/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libdaq/distinfo	Wed Jul 31 11:02:19 2019	(r507706)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1563994415
+SHA256 (snort3-libdaq-v3.0.0-alpha1_GH0.tar.gz) = 0ede444bdda671fc0a08400b5b7607f80cee20a70a3577263faf28fd28dff734
+SIZE (snort3-libdaq-v3.0.0-alpha1_GH0.tar.gz) = 150809

Added: head/net/libdaq/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libdaq/pkg-descr	Wed Jul 31 11:02:19 2019	(r507706)
@@ -0,0 +1,14 @@
+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.
+
+This version is not compatible with Snort 2.X.
+
+WWW: http://www.snort.org/

Added: head/net/libdaq/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libdaq/pkg-plist	Wed Jul 31 11:02:19 2019	(r507706)
@@ -0,0 +1,33 @@
+bin/daqtest
+bin/daqtest-static
+include/daq.h
+include/daq_common.h
+include/daq_dlt.h
+include/daq_module_api.h
+include/daq_version.h
+lib/daq/daq_bpf.so
+lib/daq/daq_divert.so
+lib/daq/daq_dump.so
+lib/daq/daq_fst.so
+lib/daq/daq_netmap.so
+lib/daq/daq_pcap.so
+lib/daq/daq_trace.so
+lib/libdaq.a
+lib/libdaq.so
+lib/libdaq.so.3
+lib/libdaq.so.3.0.0
+lib/libdaq_static_bpf.a
+lib/libdaq_static_divert.a
+lib/libdaq_static_dump.a
+lib/libdaq_static_fst.a
+lib/libdaq_static_netmap.a
+lib/libdaq_static_pcap.a
+lib/libdaq_static_trace.a
+libdata/pkgconfig/libdaq.pc
+libdata/pkgconfig/libdaq_static_bpf.pc
+libdata/pkgconfig/libdaq_static_divert.pc
+libdata/pkgconfig/libdaq_static_dump.pc
+libdata/pkgconfig/libdaq_static_fst.pc
+libdata/pkgconfig/libdaq_static_netmap.pc
+libdata/pkgconfig/libdaq_static_pcap.pc
+libdata/pkgconfig/libdaq_static_trace.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907311102.x6VB2KRM059993>