Skip to content

Commit

Permalink
pkg/kamailio/obs: added lwsc module packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-safarov committed Apr 16, 2021
1 parent e450638 commit 2df6f9d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pkg/kamailio/obs/kamailio.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 2df6f9d

Please sign in to comment.