bro scripts generated from bifs now install to $prefix/share/bro/base/

Addresses #545
This commit is contained in:
Jon Siwek 2011-08-10 17:16:26 -05:00
parent ac257c7a6d
commit 7b07a19cd6
3 changed files with 15 additions and 8 deletions

View file

@ -149,7 +149,7 @@ export {
# We keep a script-level copy of all filters so that we can manipulate them.
global filters: table[ID, string] of Filter;
@load logging.bif.bro # Needs Filter and Stream defined.
@load base/logging.bif # Needs Filter and Stream defined.
module Log;

View file

@ -1,5 +1,5 @@
@load const.bif.bro
@load types.bif.bro
@load base/const.bif
@load base/types.bif
# Type declarations
type string_array: table[count] of string;
@ -298,9 +298,9 @@ type entropy_test_result: record {
};
# Prototypes of Bro built-in functions.
@load strings.bif.bro
@load bro.bif.bro
@load reporter.bif.bro
@load base/strings.bif
@load base/bro.bif
@load base/reporter.bif
global log_file_name: function(tag: string): string &redef;
global open_log_file: function(tag: string): file &redef;
@ -1264,7 +1264,7 @@ type bittorrent_benc_dir: table[string] of bittorrent_benc_value;
# The header table type used by the bittorrenttracker analyzer.
type bt_tracker_headers: table[string] of string;
@load event.bif.bro
@load base/event.bif
# The filter the user has set via the -f command line options, or
# empty if none.