[Bro-Dev] [JIRA] (BIT-1318) topic/robin/plugin-updates

Robin Sommer (JIRA) jira at bro-tracker.atlassian.net
Fri Feb 20 13:22:00 PST 2015


Robin Sommer created BIT-1318:
---------------------------------

             Summary: topic/robin/plugin-updates
                 Key: BIT-1318
                 URL: https://bro-tracker.atlassian.net/browse/BIT-1318
             Project: Bro Issue Tracker
          Issue Type: Improvement
          Components: Bro
    Affects Versions: git/master
            Reporter: Robin Sommer


A set of improvements to Bro's support for dynamic plugins.

Branch topic/robin/plugin-updates in bro, bro-aux, cmake, and bro-plugins.

This includes primarily updates to the init-plugin helper script:

    - the script now sets up the skeleton plugin so that the *build/* directory becomes the place where the final plugin lives (rather than the top-level source directory). BRO_PLUGIN_PATH needs to point there now. "make distclean" simply deletes the build directory.

    - the skeleton builds a binary plugin distribution in build/dist, and "make install" uses that to put the plugin in place. The Makefile targets "bdist" and "sdist" are gone.

    - CMakeList.txt supports a new macro "bro_plugin_dist_files" to specify additional files to include into the binary plugin distribution.

    - init-plugin now takes an additional parameter with a directory where to create the plugin.

   - the "configure" script now sources a local "configure.plugin" for adding custom options without touch the main script.

  - Makefile reloads cached CMake variables when Bro has been reconfigured. Addresses #1302. 
 
The changes further include:

- Bro's "make install" now always creates the plugin installation directory.

- Removed setting BRO_PLUGIN_PATH from bro-path-dev.sh. Addresses #1312.

- Adapting plugin documentation to the changes.

- Adapting the three plugins aux/plugins to changes.

- Bro's "make install" removes some old scripts that have moved into plugins, but might still exist from a previous installation.

- Plugin managers treats plugin names as case-insenstive for some internal lookups to be a bit more tolerant in cases that could be hard to catch otherwise.

  



--
This message was sent by Atlassian JIRA
(v6.4-OD-14-082#64012)


More information about the bro-dev mailing list