Browse Source

further changes after the db name change
- update INSTALL file
- fix Makefile skip modules variable
- fix module Makefile, lib name
- change db_bind_mod to add the db prefix in the function
- change db url defines in db_berkeley and db_text
- change database modules names in module struct
- fix debian packaging
- fix tests


git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3642 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt 17 years ago
parent
commit
1bae0321cd

+ 2 - 2
modules/db_berkeley/km_README

@@ -228,8 +228,8 @@ by default none is loaded
    Modify the OpenSER configuration file to use db_berkeley
    Modify the OpenSER configuration file to use db_berkeley
    module. The database URL for modules must be the path to the
    module. The database URL for modules must be the path to the
    directory where the Berkeley DB table-files are located,
    directory where the Berkeley DB table-files are located,
-   prefixed by "db_berkeley://", e.g.,
-   "db_berkeley:///usr/local/etc/openser/db_berkeley".
+   prefixed by "berkeley://", e.g.,
+   "berkeley:///usr/local/etc/openser/db_berkeley".
 
 
    A couple other IMPORTANT things to consider are the 'db_mode'
    A couple other IMPORTANT things to consider are the 'db_mode'
    and the 'use_domain' modparams. The description of these
    and the 'use_domain' modparams. The description of these

+ 1 - 1
modules/db_berkeley/km_db_berkeley.c

@@ -47,7 +47,7 @@
 #define CFG_DIR "/tmp"
 #define CFG_DIR "/tmp"
 #endif
 #endif
 
 
-#define BDB_ID		"db_berkeley://"
+#define BDB_ID		"berkeley://"
 #define BDB_ID_LEN	(sizeof(BDB_ID)-1)
 #define BDB_ID_LEN	(sizeof(BDB_ID)-1)
 #define BDB_PATH_LEN	256
 #define BDB_PATH_LEN	256
 
 

+ 2 - 2
modules/db_berkeley/km_doc/db_berkeley_user.sgml

@@ -253,8 +253,8 @@ modparam("db_berkeley", "journal_roll_interval", 3600)
 		<para>
 		<para>
 		Modify the OpenSER configuration file to use db_berkeley module. 
 		Modify the OpenSER configuration file to use db_berkeley module. 
 		The database URL for modules must be the path to the directory where 
 		The database URL for modules must be the path to the directory where 
-		the Berkeley DB table-files are located, prefixed by "db_berkeley://", 
-		e.g., "db_berkeley:///usr/local/etc/openser/db_berkeley". 
+		the Berkeley DB table-files are located, prefixed by "berkeley://", 
+		e.g., "berkeley:///usr/local/etc/openser/db_berkeley". 
 		</para>
 		</para>
 		
 		
 		<para>
 		<para>