[sr-dev] git:master: ndb_redis: Add to Makefile and kamailio/debian packaging

Jon Bonilla manwe at aholab.ehu.es
Sun Oct 2 07:45:33 CEST 2011


Module: sip-router
Branch: master
Commit: 7bc98250523f2e9620b7afa265f1d747ef9c4ddb
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7bc98250523f2e9620b7afa265f1d747ef9c4ddb

Author: Jon Bonilla <manwe at aholab.ehu.es>
Committer: Jon Bonilla <manwe at aholab.ehu.es>
Date:   Sun Oct  2 07:44:39 2011 +0200

ndb_redis: Add to Makefile and kamailio/debian packaging

---

 Makefile                        |   13 ++++++++++---
 pkg/kamailio/deb/debian/control |   13 ++++++++++++-
 2 files changed, 22 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 52d1a67..fd2069a 100644
--- a/Makefile
+++ b/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
diff --git a/pkg/kamailio/deb/debian/control b/pkg/kamailio/deb/debian/control
index e708de9..d4c1268 100644
--- a/pkg/kamailio/deb/debian/control
+++ b/pkg/kamailio/deb/debian/control
@@ -2,7 +2,7 @@ Source: kamailio
 Section: net
 Priority: optional
 Maintainer: Jon Bonilla <manwe at aholab.ehu.es>
-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




More information about the sr-dev mailing list