1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/security/snort3/Makefile
Muhammad Moinur Rahman dd1ae28db9 security/snort3: Update version 3.0.0-255=>3.0.0-258
- Change RUN_DEPENDS to libdaq-3*
- Add USES=localbase
- Add FLATBUFFERS option

Reported by:	ozkan.kirik@gmail.com
2019-07-31 19:27:54 +00:00

63 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
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>