Module: kamailio
Branch: master
Commit: 298abc9eb6240b9567df5166d64eba9f6da078dd
URL:
https://github.com/kamailio/kamailio/commit/298abc9eb6240b9567df5166d64eba9…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2019-12-21T10:29:52+03:00
pkg/kamailio/obs: packaged evapi module [skip ci]
Releated GH #2098
---
Modified: pkg/kamailio/obs/kamailio.spec
---
Diff:
https://github.com/kamailio/kamailio/commit/298abc9eb6240b9567df5166d64eba9…
Patch:
https://github.com/kamailio/kamailio/commit/298abc9eb6240b9567df5166d64eba9…
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index fcda889665..3f305ba851 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -7,6 +7,7 @@
%define dist_version %{?fedora}
%bcond_without cnxcc
%bcond_with dnssec
+%bcond_without evapi
%bcond_without geoip
%bcond_without http_async_client
%bcond_without ims
@@ -32,6 +33,7 @@
%define dist_version %{?centos}
%bcond_with cnxcc
%bcond_without dnssec
+%bcond_without evapi
%bcond_without geoip
%bcond_without http_async_client
%bcond_without ims
@@ -58,6 +60,7 @@
%define dist .el7.centos
%bcond_without cnxcc
%bcond_with dnssec
+%bcond_without evapi
%bcond_without geoip
%bcond_without http_async_client
%bcond_without ims
@@ -84,6 +87,7 @@
%define dist .el8.centos
%bcond_without cnxcc
%bcond_with dnssec
+%bcond_without evapi
%bcond_with geoip
%bcond_without http_async_client
%bcond_without ims
@@ -109,6 +113,7 @@
%define dist_version %{?suse_version}
%bcond_without cnxcc
%bcond_with dnssec
+%bcond_with evapi
%bcond_without geoip
%bcond_without http_async_client
%bcond_without ims
@@ -134,6 +139,7 @@
%define dist_version %{?rhel}
%bcond_with cnxcc
%bcond_without dnssec
+%bcond_without evapi
%bcond_with geoip
%bcond_with http_async_client
%bcond_with ims
@@ -159,6 +165,7 @@
%define dist_version %{?rhel}
%bcond_without cnxcc
%bcond_with dnssec
+%bcond_without evapi
%bcond_without geoip
%bcond_without http_async_client
%bcond_without ims
@@ -184,6 +191,7 @@
%define dist_version %{?rhel}
%bcond_without cnxcc
%bcond_with dnssec
+%bcond_without evapi
%bcond_with geoip
%bcond_without http_async_client
%bcond_without ims
@@ -448,6 +456,21 @@ DNSSEC support for Kamailio.
%endif
+%if %{with evapi}
+%package evapi
+Summary: Module can be used to create an event message flow from Kamailio to any
application that can connect to a TCP socket
+Group: %{PKGGROUP}
+Requires: libev, kamailio = %ver
+BuildRequires: libev-devel
+
+%description evapi
+The remote application can also issue messages received by Kamailio.
+There is no protocol definition, it is all up to the author of the routing script.
+Events can be generated for any event in Kamailio. For 3rd party transaction control, a
transaction can be automatically
+suspended when sending the event, to be resumed at a later point, maybe triggered by an
incoming message on the event socket.
+%endif
+
+
%if %{with geoip}
%package geoip
Summary: MaxMind GeoIP support for Kamailio
@@ -1116,6 +1139,9 @@ make every-module skip_modules="app_mono db_cassandra db_oracle
iptrtpproxy \
%if %{with dnssec}
kdnssec \
%endif
+%if %{with evapi}
+ kev \
+%endif
%if %{with geoip}
kgeoip \
%endif
@@ -1204,6 +1230,9 @@ make install-modules-all skip_modules="app_mono db_cassandra
db_oracle \
%if %{with dnssec}
kdnssec \
%endif
+%if %{with evapi}
+ kev \
+%endif
%if %{with geoip}
kgeoip \
%endif
@@ -1755,6 +1784,14 @@ fi
%endif
+%if %{with evapi}
+%files evapi
+%defattr(-,root,root)
+%doc %{_docdir}/kamailio/modules/README.evapi
+%{_libdir}/kamailio/modules/evapi.so
+%endif
+
+
%if %{with geoip}
%files geoip
%defattr(-,root,root)