[Pkg-owncloud-commits] [owncloud-client] 01/02: Disabled update check (Closes: #721341)
Sandro Knauß
hefee-guest at alioth.debian.org
Thu Sep 12 16:03:59 UTC 2013
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 3e92ac6367f51819daef28f743ac9da1889120bf
Author: Sandro Knauß <bugs at sandroknauss.de>
Date: Thu Sep 12 17:51:00 2013 +0200
Disabled update check (Closes: #721341)
---
debian/patches/disable-updatecheck.patch | 26 ++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 27 insertions(+)
diff --git a/debian/patches/disable-updatecheck.patch b/debian/patches/disable-updatecheck.patch
new file mode 100644
index 0000000..25ab70a
--- /dev/null
+++ b/debian/patches/disable-updatecheck.patch
@@ -0,0 +1,26 @@
+Description: Phoning-home version checks should be disabled in Debian packages
+Author: Sandro Knauß <bugs at ssandroknauss.de>
+Origin: debian
+Bug-debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721341
+Last-Update: 2013-09-12
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: owncloud-client/src/mirall/mirallconfigfile.cpp
+===================================================================
+--- owncloud-client.orig/src/mirall/mirallconfigfile.cpp 2013-09-12 02:31:17.748359522 +0200
++++ owncloud-client/src/mirall/mirallconfigfile.cpp 2013-09-12 17:32:07.241755005 +0200
+@@ -438,9 +438,12 @@
+ settings.setIniCodec("UTF-8");
+ settings.beginGroup( con );
+
+- bool skipIt = settings.value( QLatin1String(skipUpdateCheckC), false ).toBool();
++ bool skipIt = settings.value( QLatin1String(skipUpdateCheckC), true ).toBool();
+
+- return skipIt;
++ if ( !skipIt )
++ qDebug() << "debian disabled the UpdateCheck mechanism.";
++
++ return true;
+ }
+
+ void MirallConfigFile::setOwnCloudSkipUpdateCheck( bool skip, const QString& connection )
diff --git a/debian/patches/series b/debian/patches/series
index 1f8596d..a7d167c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
fix-empty-ocdir.patch
+disable-updatecheck.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list