From 65ca79c27f8ea559b784bb461358c8fef55cb176 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Tue, 7 Apr 2015 13:33:33 +0200 Subject: [PATCH] Set module versions to VERSION - Also remove '__DATE__' and '__TIME__', Closes #1764 - Update docs for backend-writers --- modules/bindbackend/bindbackend2.cc | 2 +- modules/geobackend/geobackend.hh | 2 +- modules/geoipbackend/geoipbackend.cc | 2 +- modules/gmysqlbackend/gmysqlbackend.cc | 2 +- modules/goraclebackend/goraclebackend.cc | 2 +- modules/gpgsqlbackend/gpgsqlbackend.cc | 2 +- modules/gsqlite3backend/gsqlite3backend.cc | 2 +- modules/ldapbackend/ldapbackend.cc | 2 +- modules/lmdbbackend/lmdbbackend.cc | 2 +- modules/luabackend/luabackend.cc | 2 +- modules/mydnsbackend/mydnsbackend.cc | 2 +- modules/opendbxbackend/odbxbackend.hh | 2 +- modules/oraclebackend/oraclebackend.cc | 2 +- modules/pipebackend/pipebackend.cc | 2 +- modules/randombackend/randombackend.cc | 2 +- modules/remotebackend/remotebackend.cc | 2 +- modules/tinydnsbackend/tinydnsbackend.cc | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/modules/bindbackend/bindbackend2.cc b/modules/bindbackend/bindbackend2.cc index 90f40ec52..fd7456ef5 100644 --- a/modules/bindbackend/bindbackend2.cc +++ b/modules/bindbackend/bindbackend2.cc @@ -1350,7 +1350,7 @@ public: Bind2Loader() { BackendMakers().report(new Bind2Factory); - L << Logger::Info << "[bind2backend] This is the bind backend version " VERSION " (" __DATE__ ", " __TIME__ ") reporting" << endl; + L << Logger::Info << "[bind2backend] This is the bind backend version " VERSION " reporting" << endl; } }; static Bind2Loader bind2loader; diff --git a/modules/geobackend/geobackend.hh b/modules/geobackend/geobackend.hh index b135f2745..370f1b1fc 100644 --- a/modules/geobackend/geobackend.hh +++ b/modules/geobackend/geobackend.hh @@ -106,7 +106,7 @@ class GeoLoader { public: GeoLoader() { BackendMakers().report(new GeoFactory); - L << Logger::Info << "[geobackend] This is the geo backend version " VERSION " (" __DATE__ ", " __TIME__ ") reporting" << endl; + L << Logger::Info << "[geobackend] This is the geo backend version " VERSION " reporting" << endl; } }; diff --git a/modules/geoipbackend/geoipbackend.cc b/modules/geoipbackend/geoipbackend.cc index dccbc2fd0..78e66baff 100644 --- a/modules/geoipbackend/geoipbackend.cc +++ b/modules/geoipbackend/geoipbackend.cc @@ -638,7 +638,7 @@ class GeoIPLoader { public: GeoIPLoader() { BackendMakers().report(new GeoIPFactory); - L << Logger::Info << "[geobackend] This is the geo backend version " VERSION " (" __DATE__ ", " __TIME__ ") reporting" << endl; + L << Logger::Info << "[geobackend] This is the geo backend version " VERSION " reporting" << endl; } }; diff --git a/modules/gmysqlbackend/gmysqlbackend.cc b/modules/gmysqlbackend/gmysqlbackend.cc index 4f7425c35..bd0129591 100644 --- a/modules/gmysqlbackend/gmysqlbackend.cc +++ b/modules/gmysqlbackend/gmysqlbackend.cc @@ -146,7 +146,7 @@ public: gMySQLLoader() { BackendMakers().report(new gMySQLFactory("gmysql")); - L << Logger::Info << "[gmysqlbackend] This is the gmysql backend version " VERSION " (" __DATE__ ", " __TIME__ ") reporting" << endl; + L << Logger::Info << "[gmysqlbackend] This is the gmysql backend version " VERSION " reporting" << endl; } }; static gMySQLLoader gmysqlloader; diff --git a/modules/goraclebackend/goraclebackend.cc b/modules/goraclebackend/goraclebackend.cc index 1f4d9f647..06cf4a328 100644 --- a/modules/goraclebackend/goraclebackend.cc +++ b/modules/goraclebackend/goraclebackend.cc @@ -159,7 +159,7 @@ public: //! This reports us to the main UeberBackend class gOracleLoader() { BackendMakers().report(new gOracleFactory("goracle")); - L << Logger::Info << "[goraclebackend] This is the goracle backend version " VERSION " (" __DATE__ ", " __TIME__ ") reporting" << endl; + L << Logger::Info << "[goraclebackend] This is the goracle backend version " VERSION " reporting" << endl; } }; diff --git a/modules/gpgsqlbackend/gpgsqlbackend.cc b/modules/gpgsqlbackend/gpgsqlbackend.cc index cb514a241..98b1aedf0 100644 --- a/modules/gpgsqlbackend/gpgsqlbackend.cc +++ b/modules/gpgsqlbackend/gpgsqlbackend.cc @@ -141,7 +141,7 @@ public: gPgSQLLoader() { BackendMakers().report(new gPgSQLFactory("gpgsql")); - L << Logger::Info << "[gpgsqlbackend] This is the gpgsql backend version " VERSION " (" __DATE__ ", " __TIME__ ") reporting" << endl; + L << Logger::Info << "[gpgsqlbackend] This is the gpgsql backend version " VERSION " reporting" << endl; } }; static gPgSQLLoader gpgsqlloader; diff --git a/modules/gsqlite3backend/gsqlite3backend.cc b/modules/gsqlite3backend/gsqlite3backend.cc index c6a2b91b7..707833e32 100644 --- a/modules/gsqlite3backend/gsqlite3backend.cc +++ b/modules/gsqlite3backend/gsqlite3backend.cc @@ -159,7 +159,7 @@ public: gSQLite3Loader() { BackendMakers().report( new gSQLite3Factory( "gsqlite3" )); - L << Logger::Info << "[gsqlite3] This is the gsqlite3 backend version " VERSION " (" __DATE__ ", " __TIME__ ") reporting" << std::endl; + L << Logger::Info << "[gsqlite3] This is the gsqlite3 backend version " VERSION " reporting" << std::endl; } }; diff --git a/modules/ldapbackend/ldapbackend.cc b/modules/ldapbackend/ldapbackend.cc index aafa4dd01..28b7deaec 100644 --- a/modules/ldapbackend/ldapbackend.cc +++ b/modules/ldapbackend/ldapbackend.cc @@ -541,7 +541,7 @@ public: LdapLoader() { BackendMakers().report( &factory ); - L << Logger::Info << "[ldapbackend] This is the ldap backend version " VERSION " (" __DATE__ ", " __TIME__ ") reporting" << endl; + L << Logger::Info << "[ldapbackend] This is the ldap backend version " VERSION " reporting" << endl; } }; diff --git a/modules/lmdbbackend/lmdbbackend.cc b/modules/lmdbbackend/lmdbbackend.cc index ba2175fae..fbd62a5b5 100644 --- a/modules/lmdbbackend/lmdbbackend.cc +++ b/modules/lmdbbackend/lmdbbackend.cc @@ -562,7 +562,7 @@ public: LMDBLoader() { BackendMakers().report(new LMDBFactory); - L << Logger::Info << "[lmdbbackend] This is the lmdb backend version " VERSION " (" __DATE__ ", " __TIME__ ") reporting" << endl; + L << Logger::Info << "[lmdbbackend] This is the lmdb backend version " VERSION " reporting" << endl; } }; diff --git a/modules/luabackend/luabackend.cc b/modules/luabackend/luabackend.cc index cfddf4f7c..1c65a0ed2 100644 --- a/modules/luabackend/luabackend.cc +++ b/modules/luabackend/luabackend.cc @@ -52,7 +52,7 @@ public: { BackendMakers().report(new LUAFactory); - L << Logger::Info << "[luabackend] This is the lua backend version " VERSION " (" __DATE__ ", " __TIME__ ") reporting" << endl; + L << Logger::Info << "[luabackend] This is the lua backend version " VERSION " reporting" << endl; } }; diff --git a/modules/mydnsbackend/mydnsbackend.cc b/modules/mydnsbackend/mydnsbackend.cc index 80ee38a34..96451d828 100644 --- a/modules/mydnsbackend/mydnsbackend.cc +++ b/modules/mydnsbackend/mydnsbackend.cc @@ -462,7 +462,7 @@ class MyDNSLoader { public: MyDNSLoader() { BackendMakers().report(new MyDNSFactory()); - L << Logger::Info << "[mydnsbackend] This is the mydns backend version " VERSION " (" __DATE__ ", " __TIME__ ") reporting" << endl; + L << Logger::Info << "[mydnsbackend] This is the mydns backend version " VERSION " reporting" << endl; } }; diff --git a/modules/opendbxbackend/odbxbackend.hh b/modules/opendbxbackend/odbxbackend.hh index 831d62b5f..ee6b4f8cf 100644 --- a/modules/opendbxbackend/odbxbackend.hh +++ b/modules/opendbxbackend/odbxbackend.hh @@ -164,7 +164,7 @@ public: OdbxLoader() { BackendMakers().report( &factory ); - L.log( "[opendbxbackend] This is the opendbx backend version " VERSION " (" __DATE__ ", " __TIME__ ") reporting", Logger::Info ); + L.log( "[opendbxbackend] This is the opendbx backend version " VERSION " reporting", Logger::Info ); } }; diff --git a/modules/oraclebackend/oraclebackend.cc b/modules/oraclebackend/oraclebackend.cc index 40cfa58d9..ab46114be 100644 --- a/modules/oraclebackend/oraclebackend.cc +++ b/modules/oraclebackend/oraclebackend.cc @@ -2268,7 +2268,7 @@ public: OracleLoader() { BackendMakers().report(new OracleFactory); - L << Logger::Info << "[oraclebackend] This is the oracle backend version " VERSION " (" __DATE__ ", " __TIME__ ") reporting" << endl; + L << Logger::Info << "[oraclebackend] This is the oracle backend version " VERSION " reporting" << endl; } }; diff --git a/modules/pipebackend/pipebackend.cc b/modules/pipebackend/pipebackend.cc index adf74ed9d..219521272 100644 --- a/modules/pipebackend/pipebackend.cc +++ b/modules/pipebackend/pipebackend.cc @@ -292,7 +292,7 @@ class PipeLoader PipeLoader() { BackendMakers().report(new PipeFactory); - L << Logger::Info << kBackendId <<" This is the pipe backend version " VERSION " (" __DATE__ ", " __TIME__ ") reporting" << endl; + L << Logger::Info << kBackendId <<" This is the pipe backend version " VERSION " reporting" << endl; } }; diff --git a/modules/randombackend/randombackend.cc b/modules/randombackend/randombackend.cc index b70dfa07d..8dde8343b 100644 --- a/modules/randombackend/randombackend.cc +++ b/modules/randombackend/randombackend.cc @@ -103,7 +103,7 @@ public: RandomLoader() { BackendMakers().report(new RandomFactory); - L << Logger::Info << "[randombackend] This is the random backend version " VERSION " (" __DATE__ ", " __TIME__ ") reporting" << endl; + L << Logger::Info << "[randombackend] This is the random backend version " VERSION " reporting" << endl; } }; diff --git a/modules/remotebackend/remotebackend.cc b/modules/remotebackend/remotebackend.cc index fe86a0895..1b353c996 100644 --- a/modules/remotebackend/remotebackend.cc +++ b/modules/remotebackend/remotebackend.cc @@ -1068,7 +1068,7 @@ public: RemoteLoader::RemoteLoader() { BackendMakers().report(new RemoteBackendFactory); - L << Logger::Info << kBackendId << " This is the remote backend version " VERSION " (" __DATE__ ", " __TIME__ ") reporting" << endl; + L << Logger::Info << kBackendId << " This is the remote backend version " VERSION " reporting" << endl; } static RemoteLoader remoteloader; diff --git a/modules/tinydnsbackend/tinydnsbackend.cc b/modules/tinydnsbackend/tinydnsbackend.cc index dede52893..0b16c7dc4 100644 --- a/modules/tinydnsbackend/tinydnsbackend.cc +++ b/modules/tinydnsbackend/tinydnsbackend.cc @@ -329,7 +329,7 @@ class TinyDNSLoader public: TinyDNSLoader() { BackendMakers().report(new TinyDNSFactory); - L << Logger::Info << "[tinydnsbackend] This is the tinydns backend version " VERSION " (" __DATE__ ", " __TIME__ ") reporting" << endl; + L << Logger::Info << "[tinydnsbackend] This is the tinydns backend version " VERSION " reporting" << endl; } }; -- 2.50.0