[libquartz-java] 02/04: Add patch to disable phone-home update check (Closes: #864769)

Tony Mancill tmancill at moszumanska.debian.org
Sun Jun 25 20:23:38 UTC 2017


This is an automated email from the git hooks/post-receive script.

tmancill pushed a commit to branch master
in repository libquartz-java.

commit 5ab44fcad8e0f3331465cc6f257c879cfdc229d0
Author: tony mancill <tmancill at debian.org>
Date:   Thu Jun 22 08:16:37 2017 -0700

    Add patch to disable phone-home update check (Closes: #864769)
---
 debian/patches/disable_update_check_864769.patch | 30 ++++++++++++++++++++++++
 debian/patches/series                            |  1 +
 2 files changed, 31 insertions(+)

diff --git a/debian/patches/disable_update_check_864769.patch b/debian/patches/disable_update_check_864769.patch
new file mode 100644
index 0000000..66804a6
--- /dev/null
+++ b/debian/patches/disable_update_check_864769.patch
@@ -0,0 +1,30 @@
+Description: disable update checks by default
+ To override this behavior, set org.quartz.scheduler.skipUpdateCheck=false
+ in quartz.properties.
+Author: tony mancill <tmancill at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864769
+Forwarded: not-needed
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/quartz/src/main/java/org/quartz/core/QuartzSchedulerResources.java
++++ b/quartz/src/main/java/org/quartz/core/QuartzSchedulerResources.java
+@@ -86,7 +86,7 @@
+ 
+     private ThreadExecutor threadExecutor;
+     
+-    private boolean runUpdateCheck = true;
++    private boolean runUpdateCheck = false;
+     
+     private boolean interruptJobsOnShutdown = false;
+     private boolean interruptJobsOnShutdownWithWait = false;
+--- a/quartz/src/main/java/org/quartz/impl/StdSchedulerFactory.java
++++ b/quartz/src/main/java/org/quartz/impl/StdSchedulerFactory.java
+@@ -633,7 +633,7 @@
+         boolean threadsInheritInitalizersClassLoader =
+             cfg.getBooleanProperty(PROP_SCHED_SCHEDULER_THREADS_INHERIT_CONTEXT_CLASS_LOADER_OF_INITIALIZING_THREAD);
+ 
+-        boolean skipUpdateCheck = cfg.getBooleanProperty(PROP_SCHED_SKIP_UPDATE_CHECK, false);
++        boolean skipUpdateCheck = cfg.getBooleanProperty(PROP_SCHED_SKIP_UPDATE_CHECK, true);
+         
+         boolean interruptJobsOnShutdown = cfg.getBooleanProperty(PROP_SCHED_INTERRUPT_JOBS_ON_SHUTDOWN, false);
+         boolean interruptJobsOnShutdownWithWait = cfg.getBooleanProperty(PROP_SCHED_INTERRUPT_JOBS_ON_SHUTDOWN_WITH_WAIT, false);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a8c7049
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+disable_update_check_864769.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libquartz-java.git



More information about the pkg-java-commits mailing list