r725 - in /trunk/boinc/debian: changelog patches/201_specify_alt_platform_in_cc_config.patch patches/series
fst-guest at users.alioth.debian.org
fst-guest at users.alioth.debian.org
Thu Oct 18 09:23:06 UTC 2007
Author: fst-guest
Date: Thu Oct 18 09:23:06 2007
New Revision: 725
URL: http://svn.debian.org/wsvn/pkg-boinc/?sc=1&rev=725
Log:
debian/patches/: Added 201_specify_alt_platform_in_cc_config.patch which
allows to set the alternate platform of the BOINC client in its
cc_config.xml file using the <alt_platform> element within the <options>
element. (closes: 437326)
Added:
trunk/boinc/debian/patches/201_specify_alt_platform_in_cc_config.patch
Modified:
trunk/boinc/debian/changelog
trunk/boinc/debian/patches/series
Modified: trunk/boinc/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc/debian/changelog?rev=725&op=diff
==============================================================================
--- trunk/boinc/debian/changelog (original)
+++ trunk/boinc/debian/changelog Thu Oct 18 09:23:06 2007
@@ -8,8 +8,12 @@
* debian/boinc-client.init: Print the scheduling status of boinc_client's
children only if there are any present, otherwise schedtool would be
called without arguments and would print its usage text.
-
- -- Frank S. Thomas <frank at thomas-alfeld.de> Wed, 26 Sep 2007 13:36:13 +0200
+ * debian/patches/: Added 201_specify_alt_platform_in_cc_config.patch which
+ allows to set the alternate platform of the BOINC client in its
+ cc_config.xml file using the <alt_platform> element within the <options>
+ element. (closes: 437326)
+
+ -- Frank S. Thomas <frank at thomas-alfeld.de> Thu, 18 Oct 2007 11:20:35 +0200
boinc (5.10.8-2) unstable; urgency=low
Added: trunk/boinc/debian/patches/201_specify_alt_platform_in_cc_config.patch
URL: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc/debian/patches/201_specify_alt_platform_in_cc_config.patch?rev=725&op=file
==============================================================================
--- trunk/boinc/debian/patches/201_specify_alt_platform_in_cc_config.patch (added)
+++ trunk/boinc/debian/patches/201_specify_alt_platform_in_cc_config.patch Thu Oct 18 09:23:06 2007
@@ -1,0 +1,34 @@
+diff -Naur boinc-5.10.8.orig/client/cs_platforms.C boinc-5.10.8/client/cs_platforms.C
+--- boinc-5.10.8.orig/client/cs_platforms.C 2007-05-07 21:38:27.000000000 +0200
++++ boinc-5.10.8/client/cs_platforms.C 2007-10-11 13:00:17.000000000 +0200
+@@ -93,6 +93,8 @@
+
+ #endif
+
++ if (strlen(config.alt_platform)>0) add_platform(config.alt_platform);
++
+ if (config.no_alt_platform) {
+ PLATFORM p = platforms[0];
+ platforms.clear();
+diff -Naur boinc-5.10.8.orig/client/log_flags.C boinc-5.10.8/client/log_flags.C
+--- boinc-5.10.8.orig/client/log_flags.C 2007-06-11 23:30:26.000000000 +0200
++++ boinc-5.10.8/client/log_flags.C 2007-10-11 13:05:37.000000000 +0200
+@@ -216,6 +216,7 @@
+ if (xp.parse_bool(tag, "disallow_attach", disallow_attach)) continue;
+ if (xp.parse_bool(tag, "os_random_only", os_random_only)) continue;
+ if (xp.parse_bool(tag, "no_alt_platform", no_alt_platform)) continue;
++ if (xp.parse_str(tag, "alt_platform", alt_platform, sizeof(alt_platform))) continue;
+ msg_printf(NULL, MSG_USER_ERROR, "Unparsed tag in %s: <%s>\n",
+ CONFIG_FILE, tag
+ );
+diff -Naur boinc-5.10.8.orig/client/log_flags.h boinc-5.10.8/client/log_flags.h
+--- boinc-5.10.8.orig/client/log_flags.h 2007-05-07 21:38:27.000000000 +0200
++++ boinc-5.10.8/client/log_flags.h 2007-10-11 13:02:23.000000000 +0200
+@@ -91,6 +91,7 @@
+ bool disallow_attach;
+ bool os_random_only;
+ bool no_alt_platform;
++ char alt_platform[256];
+
+ CONFIG();
+ void defaults();
Modified: trunk/boinc/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc/debian/patches/series?rev=725&op=diff
==============================================================================
--- trunk/boinc/debian/patches/series (original)
+++ trunk/boinc/debian/patches/series Thu Oct 18 09:23:06 2007
@@ -2,3 +2,4 @@
002_remove_hardcoded_optimization.patch
003_use_sensible-browser.patch
004_exclude_sea.patch
+201_specify_alt_platform_in_cc_config.patch
More information about the pkg-boinc-commits
mailing list