[pkg-boinc-commits] r465 - in branches/experimental/boinc/debian: . extra

Frank S. Thomas fst-guest at costa.debian.org
Thu Jun 22 11:45:29 UTC 2006


Author: fst-guest
Date: 2006-06-22 11:45:28 +0000 (Thu, 22 Jun 2006)
New Revision: 465

Added:
   branches/experimental/boinc/debian/extra/cc_config.xml
Modified:
   branches/experimental/boinc/debian/boinc-client.install
   branches/experimental/boinc/debian/boinc-client.postinst
   branches/experimental/boinc/debian/extra/update-boinc-applinks
Log:
Added 5.5 style client config file: cc_config.xml.
Copied update-boinc-applinks from trunk.


Modified: branches/experimental/boinc/debian/boinc-client.install
===================================================================
--- branches/experimental/boinc/debian/boinc-client.install	2006-06-21 23:31:39 UTC (rev 464)
+++ branches/experimental/boinc/debian/boinc-client.install	2006-06-22 11:45:28 UTC (rev 465)
@@ -1,5 +1,6 @@
+debian/extra/cc_config.xml              etc/boinc-client
 debian/extra/global_prefs_override.xml  etc/boinc-client
-debian/extra/gui_rpc_auth.cfg   etc/boinc-client
-debian/extra/remote_hosts.cfg   etc/boinc-client
-debian/extra/update-boinc-applinks  usr/bin
-debian/tmp/usr/bin/boinc_cmd    usr/bin
+debian/extra/gui_rpc_auth.cfg           etc/boinc-client
+debian/extra/remote_hosts.cfg           etc/boinc-client
+debian/extra/update-boinc-applinks      usr/bin
+debian/tmp/usr/bin/boinc_cmd            usr/bin

Modified: branches/experimental/boinc/debian/boinc-client.postinst
===================================================================
--- branches/experimental/boinc/debian/boinc-client.postinst	2006-06-21 23:31:39 UTC (rev 464)
+++ branches/experimental/boinc/debian/boinc-client.postinst	2006-06-22 11:45:28 UTC (rev 465)
@@ -29,6 +29,7 @@
 
         # Move old configuration files to /etc/boinc-client/ and
         # create symlinks for the BOINC core client.
+        move_configfile_and_symlink cc_config.xml
         move_configfile_and_symlink global_prefs_override.xml
         move_configfile_and_symlink gui_rpc_auth.cfg
         move_configfile_and_symlink remote_hosts.cfg

Added: branches/experimental/boinc/debian/extra/cc_config.xml
===================================================================
--- branches/experimental/boinc/debian/extra/cc_config.xml	2006-06-21 23:31:39 UTC (rev 464)
+++ branches/experimental/boinc/debian/extra/cc_config.xml	2006-06-22 11:45:28 UTC (rev 465)
@@ -0,0 +1,23 @@
+<cc_config>
+  <save_stats_days>365</save_stats_days>
+  <log_flags>
+    <task>1</task>
+    <file_xfer>1</file_xfer>
+    <sched_ops>1</sched_ops>
+
+    <state_debug>0</state_debug>
+    <cpu_sched_detail>0</cpu_sched_detail>
+    <task_debug>0</task_debug>
+    <file_xfer_debug>0</file_xfer_debug>
+    <sched_op_debug>0</sched_op_debug>
+    <http_debug>0</http_debug>
+    <proxy_debug>0</proxy_debug>
+    <time_debug>0</time_debug>
+    <net_xfer_debug>0</net_xfer_debug>
+    <measurement_debug>0</measurement_debug>
+    <poll_debug>0</poll_debug>
+    <guirpc_debug>0</guirpc_debug>
+    <sched_cpu_debug>0</sched_cpu_debug>
+    <scrsave_debug>0</scrsave_debug>
+  </log_flags>
+</cc_config>

Modified: branches/experimental/boinc/debian/extra/update-boinc-applinks
===================================================================
--- branches/experimental/boinc/debian/extra/update-boinc-applinks	2006-06-21 23:31:39 UTC (rev 464)
+++ branches/experimental/boinc/debian/extra/update-boinc-applinks	2006-06-22 11:45:28 UTC (rev 465)
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.3
+#!/usr/bin/python
 # -*- coding: utf-8 -*-
 #
 # This script creates symlinks for anonymous BOINC applications.
@@ -56,7 +56,6 @@
         res.remove('')
     return res
 
-
 def parse_app_info_files():
     projects = {}
 
@@ -82,14 +81,14 @@
 
     try:
         if bool == True:
-            os.makedirs(dirname)
+            if not os.path.isdir(dirname):
+                os.makedirs(dirname)
             os.symlink(src, dst)
         else:
             if os.path.isfile(dst) and not os.path.islink(dst):
                 return
             elif os.path.islink(dst):
                 os.remove(dst)
-
             os.removedirs(dirname)
     except OSError:
         pass




More information about the pkg-boinc-commits mailing list