diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2014-01-06 19:31:52 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2014-01-06 19:31:52 +0000 |
commit | cfff7adfbcf29f46b1c1400c2874d24925451637 (patch) | |
tree | 0d9c86d0a4ef156651f067ea50416cb9ebba94b8 /security/bro/files | |
parent | ec34a7e86e5ed0368a404ebcbb793a7ec34b0f8e (diff) |
Notes
Diffstat (limited to 'security/bro/files')
-rw-r--r-- | security/bro/files/patch-src-input-readers-Raw.cc | 11 | ||||
-rw-r--r-- | security/bro/files/patch-src-input-readers-SQLite.cc | 11 | ||||
-rw-r--r-- | security/bro/files/patch-src-logging-writers-SQLite.cc | 11 |
3 files changed, 33 insertions, 0 deletions
diff --git a/security/bro/files/patch-src-input-readers-Raw.cc b/security/bro/files/patch-src-input-readers-Raw.cc new file mode 100644 index 000000000000..a620b505c588 --- /dev/null +++ b/security/bro/files/patch-src-input-readers-Raw.cc @@ -0,0 +1,11 @@ +--- src/input/readers/Raw.cc.orig 2014-01-06 21:04:06.000000000 +0200 ++++ src/input/readers/Raw.cc 2014-01-06 21:04:13.000000000 +0200 +@@ -352,7 +352,7 @@ + fname = source.substr(0, fname.length() - 1); + } + +- map<const char*, const char*>::const_iterator it = info.config.find("stdin"); // data that is sent to the child process ++ ReaderInfo::config_map::const_iterator it = info.config.find("stdin"); // data that is sent to the child process + if ( it != info.config.end() ) + { + stdin_string = it->second; diff --git a/security/bro/files/patch-src-input-readers-SQLite.cc b/security/bro/files/patch-src-input-readers-SQLite.cc new file mode 100644 index 000000000000..7e728adfcf99 --- /dev/null +++ b/security/bro/files/patch-src-input-readers-SQLite.cc @@ -0,0 +1,11 @@ +--- src/input/readers/SQLite.cc.orig 2014-01-06 21:07:44.000000000 +0200 ++++ src/input/readers/SQLite.cc 2014-01-06 21:08:00.000000000 +0200 +@@ -85,7 +85,7 @@ + fullpath.append(".sqlite"); + + string query; +- map<const char*, const char*>::const_iterator it = info.config.find("query"); ++ ReaderInfo::config_map::const_iterator it = info.config.find("query"); + if ( it == info.config.end() ) + { + Error(Fmt("No query specified when setting up SQLite data source. Aborting.", info.source)); diff --git a/security/bro/files/patch-src-logging-writers-SQLite.cc b/security/bro/files/patch-src-logging-writers-SQLite.cc new file mode 100644 index 000000000000..dd4db628089e --- /dev/null +++ b/security/bro/files/patch-src-logging-writers-SQLite.cc @@ -0,0 +1,11 @@ +--- src/logging/writers/SQLite.cc.orig 2014-01-06 21:08:34.000000000 +0200 ++++ src/logging/writers/SQLite.cc 2014-01-06 21:08:45.000000000 +0200 +@@ -126,7 +126,7 @@ + fullpath.append(".sqlite"); + string tablename; + +- map<const char*, const char*>::const_iterator it = info.config.find("tablename"); ++ WriterInfo::config_map::const_iterator it = info.config.find("tablename"); + if ( it == info.config.end() ) + { + MsgThread::Info(Fmt("tablename configuration option not found. Defaulting to path %s", info.path)); |