[sr-dev] git:master:2ad3d81d: Added optional package kazoo
Victor Seva
linuxmaniac at torreviejawireless.org
Sat Feb 4 10:55:27 CET 2017
Module: kamailio
Branch: master
Commit: 2ad3d81dd069ba59b0506e164a70bce34fb6ca85
URL: https://github.com/kamailio/kamailio/commit/2ad3d81dd069ba59b0506e164a70bce34fb6ca85
Author: Sergey Safarov <s.safarov at gmail.com>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2017-02-04T10:55:15+01:00
Added optional package kazoo
---
Modified: pkg/kamailio/centos/7/kamailio.spec
---
Diff: https://github.com/kamailio/kamailio/commit/2ad3d81dd069ba59b0506e164a70bce34fb6ca85.diff
Patch: https://github.com/kamailio/kamailio/commit/2ad3d81dd069ba59b0506e164a70bce34fb6ca85.patch
---
diff --git a/pkg/kamailio/centos/7/kamailio.spec b/pkg/kamailio/centos/7/kamailio.spec
index d563594..6ffecd6 100644
--- a/pkg/kamailio/centos/7/kamailio.spec
+++ b/pkg/kamailio/centos/7/kamailio.spec
@@ -2,6 +2,7 @@
%define ver 5.0.0
%define rel dev0.0%{dist}
%bcond_with dnssec
+%bcond_with kazoo
@@ -22,6 +23,9 @@ Conflicts: kamailio-dialplan < %ver, kamailio-dnssec < %ver
Conflicts: kamailio-geoip < %ver, kamailio-gzcompress < %ver
Conflicts: kamailio-ims < %ver, kamailio-java < %ver, kamailio-json < %ver
Conflicts: kamailio-lcr < %ver, kamailio-ldap < %ver, kamailio-lua < %ver
+%if %{with kazoo}
+Conflicts: kamailio-kazoo < %ver
+%endif
Conflicts: kamailio-memcached < %ver, kamailio-mysql < %ver
Conflicts: kamailio-outbound < %ver, kamailio-perl < %ver
Conflicts: kamailio-postgresql < %ver, kamailio-presence < %ver
@@ -206,6 +210,18 @@ BuildRequires: json-c-devel, libevent-devel
json string handling and RPC modules for Kamailio.
+%if %{with kazoo}
+%package kazoo
+Summary: Kazoo middle layer connector support for Kamailio
+Group: System Environment/Daemons
+Requires: libuuid, kamailio = %ver
+BuildRequires: rabbitmq-c-devel, json-c-devel, libuuid-devel
+
+%description kazoo
+Kazoo module for Kamailio.
+%endif
+
+
%package lcr
Summary: Least cost routing for Kamailio.
Group: System Environment/Daemons
@@ -535,7 +551,11 @@ make every-module skip_modules="app_mono db_cassandra db_oracle iptrtpproxy \
%if %{with dnssec}
kdnssec \
%endif
- kgeoip kgzcompress kims kjson kjsonrpcs kldap klua kmemcached \
+ kgeoip kgzcompress kims kjson kjsonrpcs \
+%if %{with kazoo}
+ kkazoo \
+%endif
+ kldap klua kmemcached \
kmi_xmlrpc kmysql koutbound kperl kpostgres kpresence kpython \
kradius kredis ksctp ksnmpstats ksqlite ktls kunixodbc kutils \
kwebsocket kxml kxmpp kuuid"
@@ -554,7 +574,11 @@ make install-modules-all skip_modules="app_mono db_cassandra db_oracle \
%if %{with dnssec}
kdnssec \
%endif
- kgeoip kgzcompress kims kjson kjsonrpcs kldap klua kmemcached \
+ kgeoip kgzcompress kims kjson kjsonrpcs \
+%if %{with kazoo}
+ kkazoo \
+%endif
+ kldap klua kmemcached \
kmi_xmlrpc kmysql koutbound kperl kpostgres kpresence kpython \
kradius kredis ksctp ksnmpstats ksqlite ktls kunixodbc kutils \
kwebsocket kxml kxmpp kuuid"
@@ -1014,6 +1038,14 @@ fi
%{_libdir}/kamailio/modules/jsonrpcc.so
+%if %{with kazoo}
+%files kazoo
+%defattr(-,root,root)
+%doc %{_docdir}/kamailio/modules/README.kazoo
+%{_libdir}/kamailio/modules/kazoo.so
+%endif
+
+
%files lcr
%defattr(-,root,root)
%doc %{_docdir}/kamailio/modules/README.lcr
More information about the sr-dev
mailing list