Преглед на файлове

pkg/debian: Add sqlite module and package

Add db_sqlite k_module package.
Also fix ndb_redis packaging
Jon Bonilla преди 14 години
родител
ревизия
08ad3ec093

+ 12 - 3
pkg/kamailio/deb/debian/control

@@ -2,7 +2,7 @@ Source: kamailio
 Section: net
 Section: net
 Priority: optional
 Priority: optional
 Maintainer: Jon Bonilla <[email protected]>
 Maintainer: Jon Bonilla <[email protected]>
-Build-Depends: debhelper (>= 5), dpatch, libmysqlclient-dev, libexpat1-dev, libxml2-dev, libpq-dev, libradiusclient-ng-dev, flex, bison, zlib1g-dev, unixodbc-dev, libxmlrpc-c3-dev, libperl-dev, libsnmp-dev, dpkg-dev (>= 1.13.19), libdb-dev (>= 4.6.19), xsltproc, libconfuse-dev, libldap2-dev, libssl-dev, libcurl3-openssl-dev, python, libpcre3-dev, docbook-xml, libpurple-dev, libmemcache-dev, libreadline-dev, liblua5.1-0-dev, python-dev, libsasl2-dev, libgeoip-dev (>= 1.4.5), libhiredis-dev (>= 0.10.0)
+Build-Depends: debhelper (>= 5), dpatch, libmysqlclient-dev, libexpat1-dev, libxml2-dev, libpq-dev, libradiusclient-ng-dev, flex, bison, zlib1g-dev, unixodbc-dev, libxmlrpc-c3-dev, libperl-dev, libsnmp-dev, dpkg-dev (>= 1.13.19), libdb-dev (>= 4.6.19), xsltproc, libconfuse-dev, libldap2-dev, libssl-dev, libcurl3-openssl-dev, python, libpcre3-dev, docbook-xml, libpurple-dev, libmemcache-dev, libreadline-dev, liblua5.1-0-dev, python-dev, libsasl2-dev, libgeoip-dev (>= 1.4.5), libhiredis-dev (>= 0.10.0), libsqlite3-dev
 Standards-Version: 3.8.0
 Standards-Version: 3.8.0
 Homepage: http://www.kamailio.org/
 Homepage: http://www.kamailio.org/
 
 
@@ -271,14 +271,23 @@ Description: contains the geoip module
 Package: kamailio-redis-modules
 Package: kamailio-redis-modules
 Architecture: any
 Architecture: any
 Depends: ${shlibs:Depends}, kamailio (= ${binary:Version}), libhiredis0.10
 Depends: ${shlibs:Depends}, kamailio (= ${binary:Version}), libhiredis0.10
-Replaces: kamailio-mysql-module
-Description: MySQL database connectivity module for Kamailio
+Description: Redis database connectivity module for Kamailio
  Kamailio is a very fast and flexible SIP (RFC3261)
  Kamailio is a very fast and flexible SIP (RFC3261)
  proxy server. Written entirely in C, Kamailio can handle thousands calls
  proxy server. Written entirely in C, Kamailio can handle thousands calls
  per second even on low-budget hardware.
  per second even on low-budget hardware.
  .
  .
  This package provides the Redis NOSQL database driver for Kamailio.
  This package provides the Redis NOSQL database driver for Kamailio.
 
 
+Package: kamailio-sqlite-modules
+Architecture: any
+Depends: ${shlibs:Depends}, kamailio (= ${binary:Version}), libsqlite3-0
+Description: SQLite database connectivity module for Kamailio
+ Kamailio is a very fast and flexible SIP (RFC3261)
+ proxy server. Written entirely in C, Kamailio can handle thousands calls
+ per second even on low-budget hardware.
+ .
+ This package provides the SQLite database driver for Kamailio.
+
 Package: kamailio-nth
 Package: kamailio-nth
 Architecture: any
 Architecture: any
 Depends: screen, gdb, binutils, gcc, bison, flex, ngrep, tcpdump, iftop, lsof, psmisc, vim, bvi, most, mc, sipsak
 Depends: screen, gdb, binutils, gcc, bison, flex, ngrep, tcpdump, iftop, lsof, psmisc, vim, bvi, most, mc, sipsak

+ 2 - 1
pkg/kamailio/deb/debian/rules

@@ -42,7 +42,8 @@ MODULES_SP=
 # on which other depend first)
 # on which other depend first)
 PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 			   ldap xml perl utils purple memcached tls \
 			   ldap xml perl utils purple memcached tls \
-			   snmpstats carrierroute xmpp cpl lua python geoip
+			   snmpstats carrierroute xmpp cpl lua python geoip\
+			   redis sqlite	
 
 
 # name of libdir in the path for libraries (e.g., lib for 32b, lib64 for 64b)
 # name of libdir in the path for libraries (e.g., lib for 32b, lib64 for 64b)
 LIBDIR ?= lib
 LIBDIR ?= lib

+ 21 - 1
pkg/kamailio/deb/lenny/control

@@ -2,7 +2,7 @@ Source: kamailio
 Section: net
 Section: net
 Priority: optional
 Priority: optional
 Maintainer: Jon Bonilla <[email protected]>
 Maintainer: Jon Bonilla <[email protected]>
-Build-Depends: debhelper (>= 5), dpatch, libmysqlclient-dev, libexpat1-dev, libxml2-dev, libpq-dev, libradiusclient-ng-dev, flex, bison, zlib1g-dev, unixodbc-dev, libxmlrpc-c3-dev, libperl-dev, libsnmp-dev, dpkg-dev (>= 1.13.19), libdb-dev (>= 4.6.19), xsltproc, libconfuse-dev, libldap2-dev, libssl-dev, libcurl3-openssl-dev, python, libpcre3-dev, docbook-xml, libpurple-dev, libmemcache-dev, libreadline-dev, liblua5.1-0-dev, python-dev, libsasl2-dev
+Build-Depends: debhelper (>= 5), dpatch, libmysqlclient-dev, libexpat1-dev, libxml2-dev, libpq-dev, libradiusclient-ng-dev, flex, bison, zlib1g-dev, unixodbc-dev, libxmlrpc-c3-dev, libperl-dev, libsnmp-dev, dpkg-dev (>= 1.13.19), libdb-dev (>= 4.6.19), xsltproc, libconfuse-dev, libldap2-dev, libssl-dev, libcurl3-openssl-dev, python, libpcre3-dev, docbook-xml, libpurple-dev, libmemcache-dev, libreadline-dev, liblua5.1-0-dev, python-dev, libsasl2-dev, libsqlite3-dev
 Standards-Version: 3.8.0
 Standards-Version: 3.8.0
 Homepage: http://www.kamailio.org/
 Homepage: http://www.kamailio.org/
 
 
@@ -268,6 +268,26 @@ Description: contains the app_python module
 # This package provides the geoip module, an extension allowing to
 # This package provides the geoip module, an extension allowing to
 # use GeoIP API within configuration file.
 # use GeoIP API within configuration file.
 
 
+#Package: kamailio-redis-modules
+#Architecture: any
+#Depends: ${shlibs:Depends}, kamailio (= ${binary:Version}), libhiredis0.10
+#Description: Redis database connectivity module for Kamailio
+# Kamailio is a very fast and flexible SIP (RFC3261)
+# proxy server. Written entirely in C, Kamailio can handle thousands calls
+# per second even on low-budget hardware.
+# .
+# This package provides the Redis NOSQL database driver for Kamailio.
+
+Package: kamailio-sqlite-modules
+Architecture: any
+Depends: ${shlibs:Depends}, kamailio (= ${binary:Version}), libsqlite3-0
+Description: SQLite database connectivity module for Kamailio
+ Kamailio is a very fast and flexible SIP (RFC3261)
+ proxy server. Written entirely in C, Kamailio can handle thousands calls
+ per second even on low-budget hardware.
+ .
+ This package provides the SQLite database driver for Kamailio.
+
 Package: kamailio-nth
 Package: kamailio-nth
 Architecture: any
 Architecture: any
 Depends: screen, gdb, binutils, gcc, bison, flex, ngrep, tcpdump, iftop, lsof, psmisc, vim, bvi, most, mc, sipsak
 Depends: screen, gdb, binutils, gcc, bison, flex, ngrep, tcpdump, iftop, lsof, psmisc, vim, bvi, most, mc, sipsak

+ 2 - 1
pkg/kamailio/deb/lenny/rules

@@ -42,7 +42,8 @@ MODULES_SP=
 # on which other depend first)
 # on which other depend first)
 PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 			   ldap xml perl utils purple memcached tls \
 			   ldap xml perl utils purple memcached tls \
-			   snmpstats carrierroute xmpp cpl lua python
+			   snmpstats carrierroute xmpp cpl lua python \
+			   sqlite
 
 
 # name of libdir in the path for libraries (e.g., lib for 32b, lib64 for 64b)
 # name of libdir in the path for libraries (e.g., lib for 32b, lib64 for 64b)
 LIBDIR ?= lib
 LIBDIR ?= lib

+ 21 - 1
pkg/kamailio/deb/lucid/control

@@ -2,7 +2,7 @@ Source: kamailio
 Section: net
 Section: net
 Priority: optional
 Priority: optional
 Maintainer: Jon Bonilla <[email protected]>
 Maintainer: Jon Bonilla <[email protected]>
-Build-Depends: debhelper (>= 5), dpatch, libmysqlclient-dev, libexpat1-dev, libxml2-dev, libpq-dev, libradiusclient-ng-dev, flex, bison, zlib1g-dev, unixodbc-dev, libxmlrpc-c3-dev, libperl-dev, libsnmp-dev, dpkg-dev (>= 1.13.19), libdb-dev (>= 4.6.19), xsltproc, libconfuse-dev, libldap2-dev, libssl-dev, libcurl3-openssl-dev, python, libpcre3-dev, docbook-xml, libpurple-dev, libmemcache-dev, libreadline-dev, liblua5.1-0-dev, python-dev, libsasl2-dev, libgeoip-dev (>= 1.4.5)
+Build-Depends: debhelper (>= 5), dpatch, libmysqlclient-dev, libexpat1-dev, libxml2-dev, libpq-dev, libradiusclient-ng-dev, flex, bison, zlib1g-dev, unixodbc-dev, libxmlrpc-c3-dev, libperl-dev, libsnmp-dev, dpkg-dev (>= 1.13.19), libdb-dev (>= 4.6.19), xsltproc, libconfuse-dev, libldap2-dev, libssl-dev, libcurl3-openssl-dev, python, libpcre3-dev, docbook-xml, libpurple-dev, libmemcache-dev, libreadline-dev, liblua5.1-0-dev, python-dev, libsasl2-dev, libgeoip-dev (>= 1.4.5), libsqlite3-dev
 Standards-Version: 3.8.0
 Standards-Version: 3.8.0
 Homepage: http://www.kamailio.org/
 Homepage: http://www.kamailio.org/
 
 
@@ -268,6 +268,26 @@ Description: contains the geoip module
  This package provides the geoip module, an extension allowing to
  This package provides the geoip module, an extension allowing to
  use GeoIP API within configuration file.
  use GeoIP API within configuration file.
 
 
+#Package: kamailio-redis-modules
+#Architecture: any
+#Depends: ${shlibs:Depends}, kamailio (= ${binary:Version}), libhiredis0.10
+#Description: Redis database connectivity module for Kamailio
+# Kamailio is a very fast and flexible SIP (RFC3261)
+# proxy server. Written entirely in C, Kamailio can handle thousands calls
+# per second even on low-budget hardware.
+# .
+# This package provides the Redis NOSQL database driver for Kamailio.
+
+Package: kamailio-sqlite-modules
+Architecture: any
+Depends: ${shlibs:Depends}, kamailio (= ${binary:Version}), libsqlite3-0
+Description: SQLite database connectivity module for Kamailio
+ Kamailio is a very fast and flexible SIP (RFC3261)
+ proxy server. Written entirely in C, Kamailio can handle thousands calls
+ per second even on low-budget hardware.
+ .
+ This package provides the SQLite database driver for Kamailio.
+
 Package: kamailio-nth
 Package: kamailio-nth
 Architecture: any
 Architecture: any
 Depends: screen, gdb, binutils, gcc, bison, flex, ngrep, tcpdump, iftop, lsof, psmisc, vim, bvi, most, mc, sipsak
 Depends: screen, gdb, binutils, gcc, bison, flex, ngrep, tcpdump, iftop, lsof, psmisc, vim, bvi, most, mc, sipsak

+ 2 - 1
pkg/kamailio/deb/lucid/rules

@@ -42,7 +42,8 @@ MODULES_SP=
 # on which other depend first)
 # on which other depend first)
 PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 			   ldap xml perl utils purple memcached tls \
 			   ldap xml perl utils purple memcached tls \
-			   snmpstats carrierroute xmpp cpl lua python geoip
+			   snmpstats carrierroute xmpp cpl lua python geoip \
+			   sqlite
 
 
 # name of libdir in the path for libraries (e.g., lib for 32b, lib64 for 64b)
 # name of libdir in the path for libraries (e.g., lib for 32b, lib64 for 64b)
 LIBDIR ?= lib
 LIBDIR ?= lib

+ 21 - 1
pkg/kamailio/deb/squeeze/control

@@ -2,7 +2,7 @@ Source: kamailio
 Section: net
 Section: net
 Priority: optional
 Priority: optional
 Maintainer: Jon Bonilla <[email protected]>
 Maintainer: Jon Bonilla <[email protected]>
-Build-Depends: debhelper (>= 5), dpatch, libmysqlclient-dev, libexpat1-dev, libxml2-dev, libpq-dev, libradiusclient-ng-dev, flex, bison, zlib1g-dev, unixodbc-dev, libxmlrpc-c3-dev, libperl-dev, libsnmp-dev, dpkg-dev (>= 1.13.19), libdb-dev (>= 4.6.19), xsltproc, libconfuse-dev, libldap2-dev, libssl-dev, libcurl3-openssl-dev, python, libpcre3-dev, docbook-xml, libgeoip-dev (>= 1.4.5), libmemcache-dev, libreadline-dev, liblua5.1-0-dev, python-dev, libsasl2-dev
+Build-Depends: debhelper (>= 5), dpatch, libmysqlclient-dev, libexpat1-dev, libxml2-dev, libpq-dev, libradiusclient-ng-dev, flex, bison, zlib1g-dev, unixodbc-dev, libxmlrpc-c3-dev, libperl-dev, libsnmp-dev, dpkg-dev (>= 1.13.19), libdb-dev (>= 4.6.19), xsltproc, libconfuse-dev, libldap2-dev, libssl-dev, libcurl3-openssl-dev, python, libpcre3-dev, docbook-xml, libgeoip-dev (>= 1.4.5), libmemcache-dev, libreadline-dev, liblua5.1-0-dev, python-dev, libsasl2-dev, libsqlite3-dev
 Standards-Version: 3.8.0
 Standards-Version: 3.8.0
 Homepage: http://www.kamailio.org/
 Homepage: http://www.kamailio.org/
 
 
@@ -268,6 +268,26 @@ Description: contains the geoip module
  This package provides the geoip module, an extension allowing to
  This package provides the geoip module, an extension allowing to
  use GeoIP API within configuration file.
  use GeoIP API within configuration file.
 
 
+#Package: kamailio-redis-modules
+#Architecture: any
+#Depends: ${shlibs:Depends}, kamailio (= ${binary:Version}), libhiredis0.10
+#Description: Redis database connectivity module for Kamailio
+# Kamailio is a very fast and flexible SIP (RFC3261)
+# proxy server. Written entirely in C, Kamailio can handle thousands calls
+# per second even on low-budget hardware.
+# .
+# This package provides the Redis NOSQL database driver for Kamailio.
+
+Package: kamailio-sqlite-modules
+Architecture: any
+Depends: ${shlibs:Depends}, kamailio (= ${binary:Version}), libsqlite3-0
+Description: SQLite database connectivity module for Kamailio
+ Kamailio is a very fast and flexible SIP (RFC3261)
+ proxy server. Written entirely in C, Kamailio can handle thousands calls
+ per second even on low-budget hardware.
+ .
+ This package provides the SQLite database driver for Kamailio.
+
 Package: kamailio-nth
 Package: kamailio-nth
 Architecture: any
 Architecture: any
 Depends: screen, gdb, binutils, gcc, bison, flex, ngrep, tcpdump, iftop, lsof, psmisc, vim, bvi, most, mc, sipsak
 Depends: screen, gdb, binutils, gcc, bison, flex, ngrep, tcpdump, iftop, lsof, psmisc, vim, bvi, most, mc, sipsak

+ 2 - 1
pkg/kamailio/deb/squeeze/rules

@@ -42,7 +42,8 @@ MODULES_SP=
 # on which other depend first)
 # on which other depend first)
 PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 			   ldap xml perl utils geoip memcached tls \
 			   ldap xml perl utils geoip memcached tls \
-			   snmpstats carrierroute xmpp cpl lua python
+			   snmpstats carrierroute xmpp cpl lua python \
+			   sqlite
 
 
 # name of libdir in the path for libraries (e.g., lib for 32b, lib64 for 64b)
 # name of libdir in the path for libraries (e.g., lib for 32b, lib64 for 64b)
 LIBDIR ?= lib
 LIBDIR ?= lib