[sr-dev] git:5.5:01d43e2d: pkg/kamailio/obs: disabled lwsc build on CentOS 6 dist

Sergey Safarov s.safarov at gmail.com
Sun Jun 20 11:22:09 CEST 2021


Module: kamailio
Branch: 5.5
Commit: 01d43e2d6f78fff7fca8d6fc00adfab7f62a5320
URL: https://github.com/kamailio/kamailio/commit/01d43e2d6f78fff7fca8d6fc00adfab7f62a5320

Author: Sergey Safarov <s.safarov at gmail.com>
Committer: Sergey Safarov <s.safarov at gmail.com>
Date: 2021-06-20T12:21:12+03:00

pkg/kamailio/obs: disabled lwsc build on CentOS 6 dist

(cherry picked from commit 03c2ea28767106333ee04c5e19ee490c010dfb58)

---

Modified: pkg/kamailio/obs/kamailio.spec

---

Diff:  https://github.com/kamailio/kamailio/commit/01d43e2d6f78fff7fca8d6fc00adfab7f62a5320.diff
Patch: https://github.com/kamailio/kamailio/commit/01d43e2d6f78fff7fca8d6fc00adfab7f62a5320.patch

---

diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index cb70c1af90..28dc1c9720 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -14,6 +14,7 @@
 %bcond_without jansson
 %bcond_without json
 %bcond_without lua
+%bcond_without lwsc
 %bcond_without kazoo
 %bcond_without memcached
 %bcond_without mongodb
@@ -46,6 +47,7 @@
 %bcond_without jansson
 %bcond_without json
 %bcond_without lua
+%bcond_with lwsc
 %bcond_without kazoo
 %bcond_without memcached
 %bcond_with mongodb
@@ -79,6 +81,7 @@
 %bcond_without jansson
 %bcond_without json
 %bcond_without lua
+%bcond_without lwsc
 %bcond_without kazoo
 %bcond_without memcached
 %bcond_without mongodb
@@ -122,6 +125,7 @@
 %bcond_without jansson
 %bcond_without json
 %bcond_without lua
+%bcond_without lwsc
 %bcond_without kazoo
 %bcond_without memcached
 %bcond_without mongodb
@@ -148,6 +152,7 @@
 %bcond_without jansson
 %bcond_without json
 %bcond_without lua
+%bcond_without lwsc
 %bcond_with kazoo
 %bcond_without memcached
 %bcond_with mongodb
@@ -611,6 +616,7 @@ Lua extensions for Kamailio.
 %endif
 
 
+%if %{with lwsc}
 %package    lwsc
 Summary:    Websocket client implementation to interact with external systems, similar to http client
 Group:      %{PKGGROUP}
@@ -619,6 +625,7 @@ BuildRequires:  libwebsockets-devel
 
 %description    lwsc
 Websocket client implementation to interact with external systems, similar to http client.
+%endif
 
 
 %if %{with memcached}
@@ -1138,7 +1145,9 @@ make every-module skip_modules="app_mono db_cassandra db_oracle iptrtpproxy \
 %if %{with lua}
     klua \
 %endif
+%if %{with lwsc}
     klwsc \
+%endif
 %if %{with memcached}
     kmemcached \
 %endif
@@ -1231,7 +1240,9 @@ make install-modules-all skip_modules="app_mono db_cassandra db_oracle \
 %if %{with lua}
     klua \
 %endif
+%if %{with lwsc}
     klwsc \
+%endif
 %if %{with memcached}
     kmemcached \
 %endif
@@ -1894,10 +1905,12 @@ fi
 %endif
 
 
+%if %{with lwsc}
 %files      lwsc
 %defattr(-,root,root)
 %doc %{_docdir}/kamailio/modules/README.lwsc
 %{_libdir}/kamailio/modules/lwsc.so
+%endif
 
 %if %{with memcached}
 %files      memcached




More information about the sr-dev mailing list