Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F138065882
D14582.id39983.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.id39983.diff
View Options
Index: snort3/Makefile
===================================================================
--- snort3/Makefile
+++ 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,25 +20,46 @@
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
-
-OPTIONS_DEFINE= DEBUG DOCS LRGPCAP
-
-OPTIONS_SUB= yes
-
-LRGPCAP_DESC= Pcaps larger than 2GB
-DEBUG_DESC= Enable debugging symbols+core dumps
-
-DEBUG_CONFIGURE_ENABLE= debug debug-msgs
-DEBUG_CONFIGURE_DISABLE= corefiles
-DEBUG_MAKE_ENV= DONTSTRIP="yes"
-LRGPCAP_CONFIGURE_ENABLE= large-pcap
+GH_TAGNAME= BUILD_243
+
+USE_LDCONFIG= yes
+
+# OPTIONS_DEFINE= ADDRESSSANITIZER DEBUG DOCS FLATBUFFERS LARGEPCAP PIE THREADSANITIZER STATICDAQ
+OPTIONS_DEFINE= ADDRESSSANITIZER DEBUG DOCS LARGEPCAP PIE THREADSANITIZER STATICDAQ
+OPTIONS_DEFINE_amd64= HYPERSCAN TSC
+
+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
+
+OPTIONS_DEFAULT= DOCS STATICDAQ
.include <bsd.port.pre.mk>
@@ -48,13 +67,6 @@
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>
Index: snort3/distinfo
===================================================================
--- snort3/distinfo
+++ 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: snort3/pkg-plist
===================================================================
--- snort3/pkg-plist
+++ 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
Sat, Nov 29, 2:59 PM (12 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26341432
Default Alt Text
D14582.id39983.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