Unbreak and update to 3.0.0-a4.243

Submitted by:	Daniel Engberg
Differential Revision:	https://reviews.freebsd.org/D14582
This commit is contained in:
Dan Langille 2018-03-20 15:33:09 +00:00
parent 3261026f5e
commit 27aa66d076
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=465089
3 changed files with 35 additions and 24 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= snort
DISTVERSION= 3.0.0-a4.242
DISTVERSION= 3.0.0-a4.243
PORTREVISION= 1
CATEGORIES= security
PKGNAMESUFFIX= 3
@ -13,8 +13,6 @@ COMMENT= Lightweight network intrusion detection system
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN= fails to package
BUILD_DEPENDS= daq>=2.2.2:net/daq \
bash>0:shells/bash
LIB_DEPENDS= libpcre.so:devel/pcre \
@ -22,25 +20,44 @@ LIB_DEPENDS= libpcre.so:devel/pcre \
libpcap.so:net/libpcap \
libluajit-5.1.so:lang/luajit \
libhwloc.so:devel/hwloc
RUN_DEPENDS= daq>=2.2.2:net/daq
USES= cmake compiler:c++11-lang cpe libtool pathfix pkgconfig ssl
USES= cmake compiler:c++11-lang cpe libtool pathfix pkgconfig ssl iconv
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
USE_GITHUB= yes
GH_ACCOUNT= snortadmin
GH_PROJECT= snort3
GH_TAGNAME= BUILD_242
GH_TAGNAME= BUILD_243
OPTIONS_DEFINE= DEBUG DOCS LRGPCAP
USE_LDCONFIG= yes
OPTIONS_SUB= yes
OPTIONS_DEFINE= ADDRESSSANITIZER DEBUG DOCS LARGEPCAP PIE THREADSANITIZER STATICDAQ
OPTIONS_DEFINE_amd64= HYPERSCAN TSC
OPTIONS_DEFAULT= DOCS STATICDAQ
LRGPCAP_DESC= Pcaps larger than 2GB
DEBUG_DESC= Enable debugging symbols+core dumps
ADDRESSSANITIZER_DESC= Enable address sanitizer
DEBUG_DESC= Enable debug
DOCS_DESC= Enable documentation
# FLATBUFFERS_DESC= Enable flatbuffers support // Doesn't get detected
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)
DEBUG_CONFIGURE_ENABLE= debug debug-msgs
DEBUG_CONFIGURE_DISABLE= corefiles
DEBUG_MAKE_ENV= DONTSTRIP="yes"
LRGPCAP_CONFIGURE_ENABLE= large-pcap
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
.include <bsd.port.pre.mk>
@ -48,13 +65,6 @@ LRGPCAP_CONFIGURE_ENABLE= large-pcap
EXTRA_PATCHES= ${PATCHDIR}/freebsd103_patch-src_memory_memory__allocator.h
.endif
.include <bsd.port.options.mk>
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CFLAGS+= -I${LOCALBASE}/include
CONFLICTS= snort-2*
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1517327070
SHA256 (snortadmin-snort3-3.0.0-a4.242-BUILD_242_GH0.tar.gz) = e3bbc0a2d36f533bb26bd53b0db9db35776c23f754514f7b03cbd9bd4863eee5
SIZE (snortadmin-snort3-3.0.0-a4.242-BUILD_242_GH0.tar.gz) = 6340850
TIMESTAMP = 1520170188
SHA256 (snortadmin-snort3-3.0.0-a4.243-BUILD_243_GH0.tar.gz) = 5d4699e12fddff0605050f69d5e64be66dcd809cacca72aa96d59638fd41a343
SIZE (snortadmin-snort3-3.0.0-a4.243-BUILD_243_GH0.tar.gz) = 6343357

View File

@ -69,9 +69,10 @@ include/snort/log/u2_packet.h
include/snort/log/unified2.h
include/snort/lua/snort_config.lua
include/snort/lua/snort_plugin.lua
include/snort/main/analyzer_command.h
include/snort/main/policy.h
include/snort/main/snort_config.h
include/snort/main/snort_%%CMAKE_BUILD_TYPE%%.h
include/snort/main/snort_debug.h
include/snort/main/snort_types.h
include/snort/main/thread.h
include/snort/managers/codec_manager.h