Browse code

Merge fd1622795f5929bff558dc4a764538de98ae33eb into c2c3c8b5615294989ac81203e65df76b2a08fb02

jailbird777 authored on 25/11/2021 00:19:13 • GitHub committed on 25/11/2021 00:19:13
Showing 2 changed files
... ...
@@ -102,6 +102,7 @@ Requirements:
102 102
 - python and devel headers for the Python module
103 103
 - jdk and gcj for Java module
104 104
 - the jansson library for the jansson module used for JSON document handling
105
+- libsqlite3 if you need SQLite support (the db_sqlite module)
105 106
 
106 107
 Some modules have other requirements on third-party libraries. This is documented
107 108
 in the README for the specific module.
... ...
@@ -120,6 +121,7 @@ OS Notes:
120 121
   - expat-1.95.8 (/usr/ports/textproc/expat2) for libexpat
121 122
   - libxml2-2.6.18 (/usr/ports/textproc/libxml2) for libxml2
122 123
   - radiusclient-0.4.7 (/usr/ports/net/radiusclient) for libradiusclient-ng
124
+  - sqlite3-3.35.5 (/usr/ports/databases/sqlite3) for libsqlite3
123 125
   NOTE: you'll need to add radiusclient_ng=4 to the gmake command line if you
124 126
   use the 0.4.* version.
125 127
 
... ...
@@ -135,6 +137,7 @@ OS Notes:
135 137
    http://download.berlios.de/radiusclient-ng/radiusclient-ng-0.5.1.tar.gz
136 138
    (you need to download and install it, since there is no "official"
137 139
    openbsd port for it) for libradiusclient-ng
140
+  - sqlite3-3.35.5 (/usr/ports/databases/sqlite3) for libsqlite3
138 141
 
139 142
   Compile example (all the modules and SIP server core in a tar.gz):
140 143
      gmake bin include_modules="mysql jabber cpl-c auth_radius group_radius uri_radius pa"
... ...
@@ -145,6 +148,7 @@ OS Notes:
145 148
   - expat-1.95.8nb2 (/usr/pkgsrc/textproc/expat) for libexpat
146 149
   - libxml2-2.6.19 (/usr/pkgsrc/textproc/libxml2) for libxml2
147 150
   - radiusclient-ng-0.5.1 (see OpenBSD)
151
+  - sqlite3-3.36.0 (/usr/pkgsrc/databases/sqlite3) for libsqlite
148 152
 
149 153
   Compile example (all the modules and SIP server in a tar.gz):
150 154
      gmake bin include_modules="mysql jabber cpl-c auth_radius group_radius uri_radius pa"
... ...
@@ -172,6 +176,7 @@ OS Notes:
172 176
       - libexpat1-dev for libexpat
173 177
       - libxml2-dev for libxml2
174 178
       - libradiusclient-ng-dev for libradiusclient
179
+      - libsqlite3-dev for libsqlite
175 180
 	  - other libraries are needed for some other modules,
176 181
 	    see README of the module you want to use
177 182
     Kamailio have APT deb repositories that allow you to
... ...
@@ -258,8 +263,8 @@ Including groups of modules:
258 263
 
259 264
   - db - Modules in this group use databases and need a database driver to run.
260 265
     Included are drivers for the text mode db (dbtext) and for dumping
261
-    large amount of data to files (db_flatstore). See also the mysql or
262
-    postgres groups.
266
+    large amount of data to files (db_flatstore). See also the mysql, 
267
+    postgres, or sqlite groups.
263 268
 
264 269
   - standard_dep -  Modules in this group are considered a standard part of Kamailio
265 270
     (due to widespread usage) but they have dependencies that must be satisfied
... ...
@@ -290,6 +295,7 @@ are grouped based on Debian packaging rules. For example:
290 295
 
291 296
 	mysql 		- Include all the db modules dependent and the MySQL db driver
292 297
 	postgres 	- Include all the db modules and the PostgreSQL db driver
298
+	sqlite	 	- Include all the db modules and the SQLite db driver
293 299
 	radius 		- Include all modules on radiusclient
294 300
 	presence 	- Include all the presence modules
295 301
 
... ...
@@ -319,6 +319,10 @@ module_group_mysql=$(module_group_mysql_driver) $(module_group_db)
319 319
 module_group_postgres_driver=$(mod_list_postgres)
320 320
 module_group_postgres=$(module_group_postgres_driver) $(module_group_db)
321 321
 
322
+# For sqlite
323
+module_group_sqlite_driver=$(mod_list_sqlite)
324
+module_group_sqlite=$(module_group_sqlite_driver) $(module_group_db)
325
+
322 326
 # For radius
323 327
 module_group_radius=$(mod_list_radius)
324 328