Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137515453
D14582.id40500.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D14582.id40500.diff
View Options
Index: head/security/snort3/Makefile
===================================================================
--- head/security/snort3/Makefile
+++ head/security/snort3/Makefile
@@ -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 @@
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,38 +20,50 @@
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>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1004000
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*
Index: head/security/snort3/distinfo
===================================================================
--- head/security/snort3/distinfo
+++ head/security/snort3/distinfo
@@ -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
Index: head/security/snort3/pkg-plist
===================================================================
--- head/security/snort3/pkg-plist
+++ head/security/snort3/pkg-plist
@@ -69,9 +69,10 @@
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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 25, 2:48 AM (17 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26080851
Default Alt Text
D14582.id40500.diff (3 KB)
Attached To
Mode
D14582: security/snort3: Unbreak and update to 3.0.0-a4.243
Attached
Detach File
Event Timeline
Log In to Comment