Merge remote-tracking branch 'origin/topic/timw/cleanup-warnings-from-plugin-btest-builds'

* origin/topic/timw/cleanup-warnings-from-plugin-btest-builds:
  Update zeek-aux to remove BRO_DIST from plugin skeleton
  cmake_minimum_required() should come before project()
This commit is contained in:
Tim Wojtulewicz 2025-08-07 08:39:27 -07:00
commit 54d67c3322
13 changed files with 31 additions and 25 deletions

View file

@ -1,3 +1,9 @@
8.1.0-dev.22 | 2025-08-07 08:39:27 -0700
* Update zeek-aux to remove BRO_DIST from plugin skeleton (Tim Wojtulewicz, Corelight)
* cmake_minimum_required() should come before project() (Tim Wojtulewicz, Corelight)
8.1.0-dev.19 | 2025-08-07 10:48:40 +0200 8.1.0-dev.19 | 2025-08-07 10:48:40 +0200
* btest/tap-analyzer: Update existing test and add new one for UpdateConnVal() (Arne Welzel, Corelight) * btest/tap-analyzer: Update existing test and add new one for UpdateConnVal() (Arne Welzel, Corelight)

View file

@ -1 +1 @@
8.1.0-dev.19 8.1.0-dev.22

@ -1 +1 @@
Subproject commit 6c72725b184cc5fd7d12cea5084f0f51de3e82e3 Subproject commit 9a51ce1940a808aaad253077905c2b34f15f1e08

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Foo-FOO)
cmake_minimum_required(VERSION 3.15) cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Foo-FOO)
if (NOT ZEEK_DIST) if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set") message(FATAL_ERROR "ZEEK_DIST not set")
endif () endif ()

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Conflict-Plugin)
cmake_minimum_required(VERSION 3.15) cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Conflict-Plugin)
if (NOT ZEEK_DIST) if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set") message(FATAL_ERROR "ZEEK_DIST not set")
endif () endif ()

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Demo-Foo)
cmake_minimum_required(VERSION 3.15) cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Demo-Foo)
if (NOT ZEEK_DIST) if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set") message(FATAL_ERROR "ZEEK_DIST not set")
endif () endif ()

View file

@ -1,12 +1,12 @@
project(Zeek-Plugin-Demo-Foo)
cmake_minimum_required(VERSION 3.15) cmake_minimum_required(VERSION 3.15)
if (NOT BRO_DIST) project(Zeek-Plugin-Demo-Foo)
message(FATAL_ERROR "BRO_DIST not set")
if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set")
endif () endif ()
set(CMAKE_MODULE_PATH ${BRO_DIST}/cmake) set(CMAKE_MODULE_PATH ${ZEEK_DIST}/cmake)
include(ZeekPlugin) include(ZeekPlugin)

View file

@ -1,7 +1,7 @@
project(Zeek-Packet-Plugin-Demo)
cmake_minimum_required(VERSION 3.15) cmake_minimum_required(VERSION 3.15)
project(Zeek-Packet-Plugin-Demo)
if (NOT ZEEK_DIST) if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set") message(FATAL_ERROR "ZEEK_DIST not set")
endif () endif ()

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Demo-Foo)
cmake_minimum_required(VERSION 3.15) cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Demo-Foo)
if (NOT ZEEK_DIST) if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set") message(FATAL_ERROR "ZEEK_DIST not set")
endif () endif ()

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Demo-Foo)
cmake_minimum_required(VERSION 3.15) cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Demo-Foo)
if (NOT ZEEK_DIST) if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set") message(FATAL_ERROR "ZEEK_DIST not set")
endif () endif ()

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Demo-Foo)
cmake_minimum_required(VERSION 3.15) cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Demo-Foo)
if (NOT ZEEK_DIST) if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set") message(FATAL_ERROR "ZEEK_DIST not set")
endif () endif ()

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Demo-Foo)
cmake_minimum_required(VERSION 3.15) cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Demo-Foo)
if (NOT ZEEK_DIST) if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set") message(FATAL_ERROR "ZEEK_DIST not set")
endif () endif ()

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Demo-Foo)
cmake_minimum_required(VERSION 3.15) cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Demo-Foo)
if (NOT ZEEK_DIST) if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set") message(FATAL_ERROR "ZEEK_DIST not set")
endif () endif ()