[Python-apps-commits] r3898 - in packages/sabnzbdplus/trunk/debian (2 files)

jcfp-guest at users.alioth.debian.org jcfp-guest at users.alioth.debian.org
Mon Oct 5 17:44:02 UTC 2009


    Date: Monday, October 5, 2009 @ 17:44:01
  Author: jcfp-guest
Revision: 3898

Change patch 08 to not touch the web interfaces

Modified:
  packages/sabnzbdplus/trunk/debian/changelog
  packages/sabnzbdplus/trunk/debian/patches/08_disable_new_version_check.dpatch

Modified: packages/sabnzbdplus/trunk/debian/changelog
===================================================================
--- packages/sabnzbdplus/trunk/debian/changelog	2009-10-05 11:32:12 UTC (rev 3897)
+++ packages/sabnzbdplus/trunk/debian/changelog	2009-10-05 17:44:01 UTC (rev 3898)
@@ -3,9 +3,8 @@
   * New upstream release.
   * Bumped Standards-Version to 3.8.3 (no changes needed).
   * Adding patches:
-    + debian/patches/08_disable_new_version_check.dpatch: disable new
-      version check and remove the associated setting from all web
-      interfaces. (Closes: #530628)
+    + debian/patches/08_disable_new_version_check.dpatch: disable the
+      builtin check for new versions. (Closes: #530628)
     + debian/patches/05_force_python_version.dpatch: program doesn't
       support Python 2.6 yet: force use of Python 2.5.
   * Minor changes in debian/pyversions and debian/rules regarding

Modified: packages/sabnzbdplus/trunk/debian/patches/08_disable_new_version_check.dpatch
===================================================================
--- packages/sabnzbdplus/trunk/debian/patches/08_disable_new_version_check.dpatch	2009-10-05 11:32:12 UTC (rev 3897)
+++ packages/sabnzbdplus/trunk/debian/patches/08_disable_new_version_check.dpatch	2009-10-05 17:44:01 UTC (rev 3898)
@@ -2,76 +2,13 @@
 ## 08_disable_new_version_check.dpatch by JCF Ploemen (jcfp) <linux at jp.pp.ru>
 ##
 ## All lines beginning with `## DP:' are a description of the patch.
-## DP: Don't ever check for a new version (overruling the setting)
+## DP: Disable builtin check for newer versions by overruling the setting.
 
 @DPATCH@
-diff -urNad sabnzbdplus-0.4.11~/interfaces/Default/templates/config_switches.tmpl sabnzbdplus-0.4.11/interfaces/Default/templates/config_switches.tmpl
---- sabnzbdplus-0.4.11~/interfaces/Default/templates/config_switches.tmpl	2009-05-18 18:42:21.000000000 +0200
-+++ sabnzbdplus-0.4.11/interfaces/Default/templates/config_switches.tmpl	2009-06-02 17:31:16.000000000 +0200
-@@ -85,9 +85,7 @@
-     <label><input type="checkbox" name="auto_sort" value="1" <!--#if $auto_sort > 0 then "checked=1" else ""#--> /> <strong>Sort by age</strong></label><br>
-     Automatically sort items by (average) age.<br>
-     <br>
--    <label><input type="checkbox" name="check_rel" value="1" <!--#if $check_rel > 0 then "checked=1" else ""#--> /> <strong>Check for new release</strong></label><br>
--    Weekly check for new SABnzbd release.<br>
--    <br>
-+    <input type="hidden" name="check_rel" value="0" />
-     <label><input type="checkbox" name="replace_spaces" value="1" <!--#if $replace_spaces > 0 then "checked=1" else ""#--> /> <strong>Replace spaces in foldername</strong></label><br>
-     Replace spaces with underscores in foldernames.<br>
-     <br>
-diff -urNad sabnzbdplus-0.4.11~/interfaces/Plush/templates/config_switches.tmpl sabnzbdplus-0.4.11/interfaces/Plush/templates/config_switches.tmpl
---- sabnzbdplus-0.4.11~/interfaces/Plush/templates/config_switches.tmpl	2009-05-18 18:42:22.000000000 +0200
-+++ sabnzbdplus-0.4.11/interfaces/Plush/templates/config_switches.tmpl	2009-06-02 17:31:16.000000000 +0200
-@@ -156,11 +156,7 @@
- 				<legend id="configbox_other_switches">Other&nbsp;Switches</legend>
- 				
- 				<table cellpadding=2>
--					<tr>
--						<td align=right><div class="tucker">Check for New Release:</div></td>
--						<td><input type="checkbox" name="check_rel" value="1" <!--#if $check_rel > 0 then "checked=1" else ""#--> /></td>
--						<td><small>Weekly check for new SABnzbd release.</small></td>
--					</tr>
-+					<input type="hidden" name="check_rel" value="0" />
- 					<tr>
- 						<td align=right><div class="tucker">Launch Web Browser on Startup:</div></td>
- 						<td><input type="checkbox" name="auto_browser" value="1" <!--#if $auto_browser > 0 then "checked=1" else ""#--> /></td>
-diff -urNad sabnzbdplus-0.4.11~/interfaces/iphone/templates/config_switches.tmpl sabnzbdplus-0.4.11/interfaces/iphone/templates/config_switches.tmpl
---- sabnzbdplus-0.4.11~/interfaces/iphone/templates/config_switches.tmpl	2009-05-18 18:42:21.000000000 +0200
-+++ sabnzbdplus-0.4.11/interfaces/iphone/templates/config_switches.tmpl	2009-06-02 17:31:16.000000000 +0200
-@@ -102,12 +102,7 @@
-             <input type="hidden" id="auto_sort" name="auto_sort" value="$auto_sort">
-                 <div class="toggle" onclick="toggleValue('auto_sort')" <!--#if $auto_sort > 0 then 'toggled="true"' else ''#-->><span class="thumb"></span><span class="toggleOn">Yes</span><span class="toggleOff">No</span></div>
-  		</div>
--            <div class="row">
--
--			<label>Check for new release:</label><br/><br/>
--            <input type="hidden" id="check_rel" name="check_rel" value="$check_rel">
--                <div class="toggle" onclick="toggleValue('check_rel')" <!--#if $check_rel > 0 then 'toggled="true"' else ''#-->><span class="thumb"></span><span class="toggleOn">Yes</span><span class="toggleOff">No</span></div>
-- 		</div>
-+            <input type="hidden" id="check_rel" name="check_rel" value="0">
-             <div class="row">
- 
- 			<label>Replace spaces in foldername:</label><br/><br/>
-diff -urNad sabnzbdplus-0.4.11~/interfaces/smpl/templates/config_switches.tmpl sabnzbdplus-0.4.11/interfaces/smpl/templates/config_switches.tmpl
---- sabnzbdplus-0.4.11~/interfaces/smpl/templates/config_switches.tmpl	2009-05-18 18:42:24.000000000 +0200
-+++ sabnzbdplus-0.4.11/interfaces/smpl/templates/config_switches.tmpl	2009-06-02 17:33:56.000000000 +0200
-@@ -107,11 +107,7 @@
- 		    <label><span class="label">Sort by age:</span>
- 		    <input class="radio" type="checkbox" name="auto_sort" value="1" <!--#if $auto_sort > 0 then "checked=1" else ""#--> />
- 		    <span class="tips">Automatically sort items by (average) age.</span></label>
-- 		<br class="clear" />
--
--			<label><span class="label">Check for new release:</span>
--		    <input class="radio" type="checkbox" name="check_rel" value="1" <!--#if $check_rel > 0 then "checked=1" else ""#--> />
--		    <span class="tips">Weekly check for new SABnzbd release.</span></label>
-+		    <input type="hidden" name="check_rel" value="0" />
-  		<br class="clear" />
- 
- 			<label><span class="label">Replace spaces in foldername:</span>
-diff -urNad sabnzbdplus-0.4.11~/sabnzbd/__init__.py sabnzbdplus-0.4.11/sabnzbd/__init__.py
---- sabnzbdplus-0.4.11~/sabnzbd/__init__.py	2009-06-02 17:31:15.000000000 +0200
-+++ sabnzbdplus-0.4.11/sabnzbd/__init__.py	2009-06-02 17:31:16.000000000 +0200
-@@ -347,7 +347,7 @@
+diff -urNad sabnzbdplus-0.4.12~/sabnzbd/__init__.py sabnzbdplus-0.4.12/sabnzbd/__init__.py
+--- sabnzbdplus-0.4.12~/sabnzbd/__init__.py	2009-09-30 21:32:47.000000000 +0200
++++ sabnzbdplus-0.4.12/sabnzbd/__init__.py	2009-10-05 19:26:31.184323661 +0200
+@@ -348,7 +348,7 @@
      API_KEY = check_setting_str(CFG, 'misc', 'api_key', create_api_key())
      NO_API_KEY = bool(check_setting_int(CFG, 'misc', 'disable_api_key', 0))
  




More information about the Python-apps-commits mailing list