Module: kamailio
Branch: 5.2
Commit: d2d78cf21d7278a847bcbc8e90a7a70a1f240cdd
URL:
https://github.com/kamailio/kamailio/commit/d2d78cf21d7278a847bcbc8e90a7a70…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2019-12-21T13:40:40+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/d2d78cf21d7278a847bcbc8e90a7a70…
Patch:
https://github.com/kamailio/kamailio/commit/d2d78cf21d7278a847bcbc8e90a7a70…
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index a2d927a25d..020538ca3d 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
@@ -1099,6 +1122,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
@@ -1183,6 +1209,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
@@ -1716,6 +1745,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)