mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Additional Bro to Zeek renaming
Most of these changes are either cmake-related or plugin-related. Added a new test "plugins/legacy.zeek" to test that legacy Bro plugins still work. Also added a symlink bro-path-dev.in because some legacy Bro packages won't install without it.
This commit is contained in:
parent
9d07e4f0b8
commit
fe3d508796
42 changed files with 344 additions and 131 deletions
|
@ -1,6 +1,6 @@
|
|||
include(InstallPackageConfigFile)
|
||||
|
||||
install(DIRECTORY ./ DESTINATION ${BRO_SCRIPT_INSTALL_PATH} FILES_MATCHING
|
||||
install(DIRECTORY ./ DESTINATION ${ZEEK_SCRIPT_INSTALL_PATH} FILES_MATCHING
|
||||
PATTERN "site/local*" EXCLUDE
|
||||
PATTERN "test-all-policy.zeek" EXCLUDE
|
||||
PATTERN "*.zeek"
|
||||
|
@ -14,8 +14,8 @@ if ( NOT BINARY_PACKAGING_MODE )
|
|||
# because ZeekControl will now prefer to load local.zeek rather than local.bro
|
||||
# and we're about to install a default version of local.zeek.
|
||||
|
||||
set(_local_bro_dst ${BRO_SCRIPT_INSTALL_PATH}/site/local.bro)
|
||||
set(_local_zeek_dst ${BRO_SCRIPT_INSTALL_PATH}/site/local.zeek)
|
||||
set(_local_bro_dst ${ZEEK_SCRIPT_INSTALL_PATH}/site/local.bro)
|
||||
set(_local_zeek_dst ${ZEEK_SCRIPT_INSTALL_PATH}/site/local.zeek)
|
||||
|
||||
install(CODE "
|
||||
if ( \"\$ENV{DESTDIR}\" STREQUAL \"\" )
|
||||
|
@ -31,5 +31,5 @@ endif ()
|
|||
# Install local script as a config file since it's meant to be modified directly.
|
||||
InstallPackageConfigFile(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/site/local.zeek
|
||||
${BRO_SCRIPT_INSTALL_PATH}/site
|
||||
${ZEEK_SCRIPT_INSTALL_PATH}/site
|
||||
local.zeek)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue