Rename magic __bro_plugin__ file to __zeek_plugin__

This commit is contained in:
Tim Wojtulewicz 2023-06-27 09:24:05 -07:00
parent 1a54e66b53
commit 1f415a7775
3 changed files with 8 additions and 2 deletions

6
NEWS
View file

@ -11,6 +11,12 @@ Breaking Changes
- ``assert`` is now a reserved keyword for the new ``assert`` statement.
- The ``__bro_plugin__`` file that gets generated as part of plugin builds was
renamed to ``__zeek_plugin__``. This will affect the ability for older
versions of ``zkg`` to use the ``zkg unload`` and ``zkg load`` commands. This
should only cause breakage for people using a version of ``zkg` that doesn't
come bundled with Zeek (which we generally don't recommend doing).
New Functionality
-----------------

2
cmake

@ -1 +1 @@
Subproject commit 1be78cc8a889d95db047f473a0f48e0baee49f33
Subproject commit 50c5bf96c32038014f8517479c5ce3908c3b6100

View file

@ -94,7 +94,7 @@ void Manager::SearchDynamicPlugins(const std::string& dir)
// Check if it's a plugin directory.
const std::string magic = dir + "/__bro_plugin__";
const std::string magic = dir + "/__zeek_plugin__";
if ( util::is_file(magic) )
{