From owner-svn-ports-head@freebsd.org Wed Jul 31 11:02:21 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DDD9ABB40A; Wed, 31 Jul 2019 11:02:21 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BDC1797FF9; Wed, 31 Jul 2019 11:02:21 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 95F848EC; Wed, 31 Jul 2019 11:02:21 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x6VB2LGL059999; Wed, 31 Jul 2019 11:02:21 GMT (envelope-from bofh@FreeBSD.org) Received: (from bofh@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x6VB2KRM059993; Wed, 31 Jul 2019 11:02:20 GMT (envelope-from bofh@FreeBSD.org) Message-Id: <201907311102.x6VB2KRM059993@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bofh set sender to bofh@FreeBSD.org using -f From: Muhammad Moinur Rahman Date: Wed, 31 Jul 2019 11:02:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r507706 - in head/net: . daq libdaq X-SVN-Group: ports-head X-SVN-Commit-Author: bofh X-SVN-Commit-Paths: in head/net: . daq libdaq X-SVN-Commit-Revision: 507706 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: BDC1797FF9 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.69 / 15.00]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_SHORT(0.69)[0.689,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jul 2019 11:02:21 -0000 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 +# $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 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