mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'origin/topic/awelzel/builtin-af-packet'
* origin/topic/awelzel/builtin-af-packet: Include in Jan's AF_PACKET plugin as builtin plugin
This commit is contained in:
commit
3237ad0ba2
14 changed files with 95 additions and 4 deletions
|
@ -589,6 +589,16 @@ endif()
|
|||
# Tell the plugin code that we're building as part of the main tree.
|
||||
set(ZEEK_PLUGIN_INTERNAL_BUILD true CACHE INTERNAL "" FORCE)
|
||||
|
||||
if ( ${CMAKE_SYSTEM_NAME} MATCHES Linux )
|
||||
if ( NOT DISABLE_AF_PACKET )
|
||||
if ( NOT AF_PACKET_PLUGIN_PATH )
|
||||
set(AF_PACKET_PLUGIN_PATH ${CMAKE_SOURCE_DIR}/auxil/zeek-af_packet-plugin)
|
||||
endif ()
|
||||
|
||||
string(APPEND ZEEK_INCLUDE_PLUGINS ";${AF_PACKET_PLUGIN_PATH}")
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
set(DEFAULT_ZEEKPATH .:${ZEEK_SCRIPT_INSTALL_PATH}:${ZEEK_SCRIPT_INSTALL_PATH}/policy:${ZEEK_SCRIPT_INSTALL_PATH}/site:${ZEEK_SCRIPT_INSTALL_PATH}/builtin-plugins)
|
||||
|
||||
if ( NOT BINARY_PACKAGING_MODE )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue