Index: head/security/snort3/Makefile =================================================================== --- head/security/snort3/Makefile (revision 498743) +++ head/security/snort3/Makefile (revision 498744) @@ -1,64 +1,64 @@ # Created by: Mark Felder # $FreeBSD$ PORTNAME= snort -DISTVERSION= 3.0.0-251 +DISTVERSION= 3.0.0-252 PORTEPOCH= 1 CATEGORIES= security PKGNAMESUFFIX= 3 MAINTAINER= bofh@FreeBSD.org COMMENT= Lightweight network intrusion detection system LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= daq>=2.2.2:net/daq \ 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= daq>=2.2.2:net/daq USES= cmake compiler:c++11-lang cpe libtool pathfix pkgconfig shebangfix ssl iconv USE_GITHUB= yes GH_ACCOUNT= snort3 GH_PROJECT= snort3 SHEBANG_FILES= tools/appid_detector_builder.sh LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} OPTIONS_DEFINE= ADDRESSSANITIZER DEBUG DOCS 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 // 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) 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 Index: head/security/snort3/distinfo =================================================================== --- head/security/snort3/distinfo (revision 498743) +++ head/security/snort3/distinfo (revision 498744) @@ -1,3 +1,3 @@ -TIMESTAMP = 1554401809 -SHA256 (snort3-snort3-3.0.0-251_GH0.tar.gz) = d815dd0b59ac6f4ff1fa926b4392e67c33042501553f1375b420181f8c4290a4 -SIZE (snort3-snort3-3.0.0-251_GH0.tar.gz) = 6374023 +TIMESTAMP = 1555091119 +SHA256 (snort3-snort3-3.0.0-252_GH0.tar.gz) = 73790d71f5cfee603cf644fb1e98376b640728a92cedb3830b0066bbd89e035a +SIZE (snort3-snort3-3.0.0-252_GH0.tar.gz) = 6376265 Index: head/security/snort3/files/patch-src_file__api_file__cache.cc =================================================================== --- head/security/snort3/files/patch-src_file__api_file__cache.cc (nonexistent) +++ head/security/snort3/files/patch-src_file__api_file__cache.cc (revision 498744) @@ -0,0 +1,29 @@ +--- src/file_api/file_cache.cc.orig 2019-04-10 20:51:55 UTC ++++ src/file_api/file_cache.cc +@@ -134,7 +134,7 @@ FileContext* FileCache::add(const FileHashKey& hashKey + struct timeval now; + packet_gettimeofday(&now); + +- struct timeval time_to_add = { timeout, 0 }; ++ struct timeval time_to_add = { static_cast(timeout), 0 }; + timeradd(&now, &time_to_add, &new_node.cache_expire_time); + + new_node.file = new FileContext; +@@ -187,7 +187,7 @@ FileContext* FileCache::find(const FileHashKey& hashKe + } + + struct timeval next_expire_time; +- struct timeval time_to_add = { timeout, 0 }; ++ struct timeval time_to_add = { static_cast(timeout), 0 }; + timeradd(&now, &time_to_add, &next_expire_time); + + // Refresh the timer on the cache. +@@ -314,7 +314,7 @@ bool FileCache::apply_verdict(Packet* p, FileContext* + + if (!timerisset(&file_ctx->pending_expire_time)) + { +- add_time = { lookup_timeout, 0 }; ++ add_time = { static_cast(lookup_timeout), 0 }; + timeradd(&now, &add_time, &file_ctx->pending_expire_time); + + if (PacketTracer::is_active()) Property changes on: head/security/snort3/files/patch-src_file__api_file__cache.cc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property