Module: kamailio
Branch: master
Commit: 2df6f9d6cb74bc115206e8b200af7234267f74d5
URL:
https://github.com/kamailio/kamailio/commit/2df6f9d6cb74bc115206e8b200af723…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2021-04-16T15:28:43+03:00
pkg/kamailio/obs: added lwsc module packaging
---
Modified: pkg/kamailio/obs/kamailio.spec
---
Diff:
https://github.com/kamailio/kamailio/commit/2df6f9d6cb74bc115206e8b200af723…
Patch:
https://github.com/kamailio/kamailio/commit/2df6f9d6cb74bc115206e8b200af723…
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index 29d074cac4..4f5a833a57 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -661,6 +661,16 @@ Lua extensions for Kamailio.
%endif
+%package lwsc
+Summary: Websocket client implementation to interact with external systems, similar to
http client
+Group: %{PKGGROUP}
+Requires: libwebsockets, kamailio = %ver
+BuildRequires: libwebsockets-devel
+
+%description lwsc
+Websocket client implementation to interact with external systems, similar to http
client.
+
+
%if %{with memcached}
%package memcached
Summary: Memcached configuration file support for Kamailio
@@ -1178,6 +1188,7 @@ make every-module skip_modules="app_mono db_cassandra db_oracle
iptrtpproxy \
%if %{with lua}
klua \
%endif
+ klwsc \
%if %{with memcached}
kmemcached \
%endif
@@ -1270,6 +1281,7 @@ make install-modules-all skip_modules="app_mono db_cassandra
db_oracle \
%if %{with lua}
klua \
%endif
+ klwsc \
%if %{with memcached}
kmemcached \
%endif
@@ -1932,6 +1944,11 @@ fi
%endif
+%files lwsc
+%defattr(-,root,root)
+%doc %{_docdir}/kamailio/modules/README.lwsc
+%{_libdir}/kamailio/modules/lwsc.so
+
%if %{with memcached}
%files memcached
%defattr(-,root,root)