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

2015-02-20 Thread Robin Sommer (JIRA)

 [ 
https://bro-tracker.atlassian.net/browse/BIT-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robin Sommer updated BIT-1318:
--
Status: Merge Request  (was: Open)

 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)
___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


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

2015-02-20 Thread Robin Sommer (JIRA)
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)
___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


Re: [Bro-Dev] Compiling Bro on RedHat, CentOs 6 and earlier (cmake)

2015-02-20 Thread Robin Sommer


On Wed, Feb 18, 2015 at 23:10 +, you wrote:

 I’m not that familiar either, but think it may be fine to provide our
 own preprocessor definition if it doesn’t exist.

I'll remove the dependency on the macro, it's used mainly as
placeholder value, and we can use our own for that.

Robin

-- 
Robin Sommer * ICSI/LBNL * ro...@icir.org * www.icir.org/robin
___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev