Browse code

pkg/kamailio/obs: added lwsc module packaging

Sergey Safarov authored on 16/04/2021 09:36:55
Showing 1 changed files
... ...
@@ -661,6 +661,16 @@ Lua extensions for Kamailio.
661 661
 %endif
662 662
 
663 663
 
664
+%package    lwsc
665
+Summary:    Websocket client implementation to interact with external systems, similar to http client
666
+Group:      %{PKGGROUP}
667
+Requires:   libwebsockets, kamailio = %ver
668
+BuildRequires:  libwebsockets-devel
669
+
670
+%description    lwsc
671
+Websocket client implementation to interact with external systems, similar to http client.
672
+
673
+
664 674
 %if %{with memcached}
665 675
 %package    memcached
666 676
 Summary:    Memcached configuration file support for Kamailio
... ...
@@ -1178,6 +1188,7 @@ make every-module skip_modules="app_mono db_cassandra db_oracle iptrtpproxy \
1178 1188
 %if %{with lua}
1179 1189
     klua \
1180 1190
 %endif
1191
+    klwsc \
1181 1192
 %if %{with memcached}
1182 1193
     kmemcached \
1183 1194
 %endif
... ...
@@ -1270,6 +1281,7 @@ make install-modules-all skip_modules="app_mono db_cassandra db_oracle \
1270 1281
 %if %{with lua}
1271 1282
     klua \
1272 1283
 %endif
1284
+    klwsc \
1273 1285
 %if %{with memcached}
1274 1286
     kmemcached \
1275 1287
 %endif
... ...
@@ -1932,6 +1944,11 @@ fi
1932 1944
 %endif
1933 1945
 
1934 1946
 
1947
+%files      lwsc
1948
+%defattr(-,root,root)
1949
+%doc %{_docdir}/kamailio/modules/README.lwsc
1950
+%{_libdir}/kamailio/modules/lwsc.so
1951
+
1935 1952
 %if %{with memcached}
1936 1953
 %files      memcached
1937 1954
 %defattr(-,root,root)