Module: kamailio
Branch: 5.3
Commit: 1373aedd261e77c71a0b27b8c4fff72ceb5cd0e7
URL:
https://github.com/kamailio/kamailio/commit/1373aedd261e77c71a0b27b8c4fff72…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2019-12-21T13:40:33+03:00
pkg/kamailio/obs: packaged evapi module [skip ci]
Releated GH #2098
(cherry picked from commit 298abc9eb6240b9567df5166d64eba9f6da078dd)
---
Modified: pkg/kamailio/obs/kamailio.spec
---
Diff:
https://github.com/kamailio/kamailio/commit/1373aedd261e77c71a0b27b8c4fff72…
Patch:
https://github.com/kamailio/kamailio/commit/1373aedd261e77c71a0b27b8c4fff72…
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index 6e789f9afd..459ced6ce9 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
@@ -444,6 +452,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
@@ -1112,6 +1135,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
@@ -1196,6 +1222,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
@@ -1733,6 +1762,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)