mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'origin/topic/bbannier/issue-3266'
* origin/topic/bbannier/issue-3266: Fix installation of symlink with `DESTDIR`
This commit is contained in:
commit
d7db612b0f
3 changed files with 16 additions and 2 deletions
14
CHANGES
14
CHANGES
|
@ -1,3 +1,17 @@
|
|||
8.1.0-dev.459 | 2025-08-26 08:59:20 -0700
|
||||
|
||||
* Fix installation of symlink with `DESTDIR` (Benjamin Bannier, Corelight)
|
||||
|
||||
We install test data which we also make available under an alternative
|
||||
path for backwards compatibility. The installation of this symlink did
|
||||
not take `DESTDIR` installs like used by Zeek's packaging into account
|
||||
which caused installations from packages to behave different from
|
||||
installs from source.
|
||||
|
||||
This patch fixes the symlink to respect a possible `DESTDIR`.
|
||||
|
||||
Closes #3266.
|
||||
|
||||
8.1.0-dev.456 | 2025-08-25 12:29:32 -0700
|
||||
|
||||
* Bump zeekctl (Arne Welzel, Corelight)
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
8.1.0-dev.456
|
||||
8.1.0-dev.459
|
||||
|
|
|
@ -14,7 +14,7 @@ install(
|
|||
CODE "execute_process( \
|
||||
COMMAND ${CMAKE_COMMAND} -E create_symlink \
|
||||
${ZEEK_CONFIG_BTEST_TOOLS_DIR}/data \
|
||||
${CMAKE_INSTALL_PREFIX}/share/zeek/tests \
|
||||
\$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/share/zeek/tests \
|
||||
)")
|
||||
|
||||
install(DIRECTORY scripts/spicy/ DESTINATION ${ZEEK_CONFIG_BTEST_TOOLS_DIR}/data/Scripts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue