[sr-dev] git:master:2df6f9d6: pkg/kamailio/obs: added lwsc module packaging

Sergey Safarov s.safarov at gmail.com
Fri Apr 16 14:28:59 CEST 2021


Module: kamailio
Branch: master
Commit: 2df6f9d6cb74bc115206e8b200af7234267f74d5
URL: https://github.com/kamailio/kamailio/commit/2df6f9d6cb74bc115206e8b200af7234267f74d5

Author: Sergey Safarov <s.safarov at gmail.com>
Committer: Sergey Safarov <s.safarov at 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/2df6f9d6cb74bc115206e8b200af7234267f74d5.diff
Patch: https://github.com/kamailio/kamailio/commit/2df6f9d6cb74bc115206e8b200af7234267f74d5.patch

---

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)




More information about the sr-dev mailing list