disable auto updates
authorJan Palus <atler@pld-linux.org>
Sat, 10 Apr 2021 14:58:46 +0000 (16:58 +0200)
committerJan Palus <atler@pld-linux.org>
Sat, 10 Apr 2021 14:58:46 +0000 (16:58 +0200)
domoticz-no_updates.patch [new file with mode: 0644]
domoticz.spec

diff --git a/domoticz-no_updates.patch b/domoticz-no_updates.patch
new file mode 100644 (file)
index 0000000..17e0bed
--- /dev/null
@@ -0,0 +1,20 @@
+--- domoticz-2020.2/main/domoticz.cpp.orig     2020-04-26 15:49:25.000000000 +0200
++++ domoticz-2020.2/main/domoticz.cpp  2021-04-10 16:50:37.189198278 +0200
+@@ -152,7 +152,7 @@
+ bool g_bRunAsDaemon = false;
+ bool g_bDontCacheWWW = false;
+ http::server::_eWebCompressionMode g_wwwCompressMode = http::server::WWW_USE_GZIP;
+-bool g_bUseUpdater = true;
++bool g_bUseUpdater = false;
+ http::server::server_settings webserver_settings;
+ #ifdef WWW_ENABLE_SSL
+ http::server::ssl_server_settings secure_webserver_settings;
+@@ -649,7 +649,7 @@
+                       sleep_seconds(DelaySeconds);
+               }
+               else if (szFlag == "updates") {
+-                      g_bUseUpdater = GetConfigBool(sLine);
++                      //g_bUseUpdater = GetConfigBool(sLine);
+               }
+               else if (szFlag == "php_cgi_path") {
+                       webserver_settings.php_cgi_path = sLine;
index 773e6ab2ae95f806b07fc42dd9801d0dd5ab56e5..e8c915171f9c27087829a8721960d2f19d9d44ac 100644 (file)
@@ -19,6 +19,7 @@ Patch3:               no-git.patch
 Patch4:                boost-1.73.patch
 Patch5:                %{name}-gpio.patch
 Patch6:                python3.9.patch
+Patch7:                %{name}-no_updates.patch
 BuildRequires: boost-devel >= 1.66.0
 BuildRequires: cereal-devel
 BuildRequires: cmake >= 3.16.0
@@ -65,6 +66,7 @@ and much more. Notifications/Alerts can be sent to any mobile device
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 APPVERSION="%{version}"
 echo "#define APPVERSION ${APPVERSION##*.}" > appversion.h
This page took 0.064589 seconds and 4 git commands to generate.