mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
51a6f315e3
/wrkdirs/usr/ports/security/snort3/work/snort3-3.0.0-258/src/codecs/ip/cd_ipv4.cc:223:28: error: use of undeclared identifier 'DAQ_PKT_FLAG_REAL_ADDRESSES' if ((raw.pkth->flags & DAQ_PKT_FLAG_REAL_ADDRESSES) and codec.ip_layer_cnt == 1) ^ /wrkdirs/usr/ports/security/snort3/work/snort3-3.0.0-258/src/codecs/ip/cd_ipv4.cc:227:33: error: no member named 'real_sIP' in '_daq_pkt_hdr' real_src.set(&raw.pkth->real_sIP, ~~~~~~~~ ^ /wrkdirs/usr/ports/security/snort3/work/snort3-3.0.0-258/src/codecs/ip/cd_ipv4.cc:228:33: error: use of undeclared identifier 'DAQ_PKT_FLAG_REAL_SIP_V6' ((raw.pkth->flags & DAQ_PKT_FLAG_REAL_SIP_V6) ? AF_INET6 : AF_INET)); ^ /wrkdirs/usr/ports/security/snort3/work/snort3-3.0.0-258/src/codecs/ip/cd_ipv4.cc:229:33: error: no member named 'real_dIP' in '_daq_pkt_hdr' real_dst.set(&raw.pkth->real_dIP, ~~~~~~~~ ^ /wrkdirs/usr/ports/security/snort3/work/snort3-3.0.0-258/src/codecs/ip/cd_ipv4.cc:230:33: error: use of undeclared identifier 'DAQ_PKT_FLAG_REAL_DIP_V6' ((raw.pkth->flags & DAQ_PKT_FLAG_REAL_DIP_V6) ? AF_INET6 : AF_INET)); ^ Reported by: pkg-fallout
65 lines
1.8 KiB
Makefile
65 lines
1.8 KiB
Makefile
# Created by: Mark Felder <feld@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= snort
|
|
DISTVERSION= 3.0.0-258
|
|
PORTEPOCH= 1
|
|
CATEGORIES= security
|
|
PKGNAMESUFFIX= 3
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Lightweight network intrusion detection system
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BROKEN= fails to build
|
|
|
|
BUILD_DEPENDS= libdaq>=0:net/libdaq \
|
|
bash>0:shells/bash
|
|
LIB_DEPENDS= libpcre.so:devel/pcre \
|
|
libdnet.so:net/libdnet \
|
|
libpcap.so:net/libpcap \
|
|
libluajit-5.1.so:lang/luajit \
|
|
libhwloc.so:devel/hwloc
|
|
RUN_DEPENDS= libdaq>=0:net/libdaq
|
|
|
|
USES= cmake compiler:c++11-lang cpe libtool localbase pathfix pkgconfig shebangfix ssl iconv
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= snort3
|
|
GH_PROJECT= snort3
|
|
|
|
SHEBANG_FILES= tools/appid_detector_builder.sh
|
|
|
|
OPTIONS_DEFINE= ADDRESSSANITIZER DEBUG DOCS FLATBUFFERS LARGEPCAP PIE THREADSANITIZER STATICDAQ
|
|
OPTIONS_DEFINE_amd64= HYPERSCAN TSC
|
|
OPTIONS_DEFAULT= STATICDAQ
|
|
|
|
ADDRESSSANITIZER_DESC= Enable address sanitizer
|
|
DEBUG_DESC= Enable debug
|
|
DOCS_DESC= Enable documentation
|
|
FLATBUFFERS_DESC= Enable flatbuffers support
|
|
HYPERSCAN_DESC= Enable high-performance regular expression lib
|
|
LARGEPCAP_DESC= Enable support for pcaps larger than 2 GB
|
|
PIE_DESC= Enable PIE (Broken)
|
|
STATICDAQ_DESC= Link static DAQ modules
|
|
THREADSANITIZER_DESC= Enable thread sanitizer
|
|
TSC_DESC= Use timestamp counter register clock (x86 only)
|
|
|
|
ADDRESSSANITIZER_CMAKE_BOOL= ENABLE_ADDRESS_SANITIZER
|
|
DEBUG_CMAKE_BOOL= ENABLE_COREFILES ENABLE_GDB
|
|
DOCS_CMAKE_BOOL= MAKE_HTML_DOC MAKE_PDF_DOC MAKE_TEXT_DOC
|
|
LARGEPCAP_CMAKE_BOOL= ENABLE_LARGE_PCAP
|
|
PIE_CMAKE_BOOL= ENABLE_PIE
|
|
STATICDAQ_CMAKE_BOOL= ENABLE_STATIC_DAQ
|
|
THREADSANITIZER_CMAKE_BOOL= ENABLE_THREAD_SANITIZER
|
|
TSC_CMAKE_BOOL= ENABLE_TSC_CLOCK
|
|
|
|
FLATBUFFERS_LIB_DEPENDS= libflatbuffers.so:devel/flatbuffers
|
|
HYPERSCAN_LIB_DEPENDS= libhs.so:devel/hyperscan
|
|
|
|
CONFLICTS= snort-2*
|
|
|
|
.include <bsd.port.mk>
|