浏览代码

ndb_redis: Add to Makefile and kamailio/debian packaging

Jon Bonilla 14 年之前
父节点
当前提交
7bc9825052
共有 2 个文件被更改,包括 22 次插入4 次删除
  1. 10 3
      Makefile
  2. 12 1
      pkg/kamailio/deb/debian/control

+ 10 - 3
Makefile

@@ -194,9 +194,11 @@ module_group_stable=cpl-c dbtext jabber osp sms pdb
 # Modules in this group are either not complete, untested, or without enough
 # reports of usage to allow the module into the stable group. They may or may
 # not have dependencies
-module_group_experimental=tls oracle iptrtpproxy
+module_group_experimental=tls oracle iptrtpproxy ndb_redis
 
-# Kamailio specific groups
+
+
+### Kamailio specific groups ###
 # Standard modules in K Debian distro
 module_group_kstandard=acc alias_db auth auth_db benchmark call_control \
 				cfgutils db_text dialog dispatcher diversion domain drouting \
@@ -280,6 +282,9 @@ module_group_ksqlite=db_sqlite
 # K json modules
 module_group_kjson=json jsonrpc-c
 
+# K redis module
+module_group_kredis=ndb_redis
+
 # if not set on the cmd. line, env or in the modules.lst (cfg_group_include)
 # exclude the below modules.
 ifneq ($(group_include)$(cfg_group_include),)
@@ -296,7 +301,7 @@ else
 							unixsock dbg print_lib auth_identity ldap \
 							db_berkeley db_mysql db_postgres db_oracle \
 							db_sqlite db_unixodbc memcached mi_xmlrpc \
-							ndb_redis perl perlvdb purple \
+							perl perlvdb purple \
 							snmpstats xmpp \
 							carrierroute peering \
 							dialplan lcr utils presence presence_mwi \
@@ -319,6 +324,8 @@ else
 	exclude_modules+= xmlops
 	# depends on jsoc-c
 	exclude_modules+= json jsonrpc-c
+	# depends on libhiredis
+	exclude_modules+= ndb_redis
 	# depends on tm being compiled with -DWITH_AS_SUPPORT support
 ifeq (,$(findstring -DWITH_AS_SUPPORT, $(C_DEFS)))
 		exclude_modules+= seas

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

@@ -2,7 +2,7 @@ Source: kamailio
 Section: net
 Priority: optional
 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), libhiredis-dev (>= 0.10.0)
 Standards-Version: 3.8.0
 Homepage: http://www.kamailio.org/
 
@@ -268,6 +268,17 @@ Description: contains the geoip module
  This package provides the geoip module, an extension allowing to
  use GeoIP API within configuration file.
 
+Package: kamailio-redis-modules
+Architecture: any
+Depends: ${shlibs:Depends}, kamailio (= ${binary:Version}), libhiredis0.10
+Replaces: kamailio-mysql-module
+Description: MySQL 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-nth
 Architecture: any
 Depends: screen, gdb, binutils, gcc, bison, flex, ngrep, tcpdump, iftop, lsof, psmisc, vim, bvi, most, mc, sipsak