rev 4492 - kde-extras/icecream/trunk/debian

Fathi Boudra fboudra-guest at costa.debian.org
Mon Sep 11 20:14:57 UTC 2006


Author: fboudra-guest
Date: 2006-09-11 20:14:57 +0000 (Mon, 11 Sep 2006)
New Revision: 4492

Added:
   kde-extras/icecream/trunk/debian/icecc.default
Modified:
   kde-extras/icecream/trunk/debian/changelog
   kde-extras/icecream/trunk/debian/icecc.postinst
Log:
Update TODO list for icecc

Modified: kde-extras/icecream/trunk/debian/changelog
===================================================================
--- kde-extras/icecream/trunk/debian/changelog	2006-09-11 20:02:09 UTC (rev 4491)
+++ kde-extras/icecream/trunk/debian/changelog	2006-09-11 20:14:57 UTC (rev 4492)
@@ -1,3 +1,11 @@
+icecc (0.7.12-2) unstable; urgency=low
+
+  * TODO:
+    * use icecc.default instead of embedding it in postinst
+    * fix init.d-script-missing-lsb-section /etc/init.d/icecc
+
+ -- Fathi Boudra <fboudra at free.fr>  Mon, 11 Sep 2006 22:06:47 +0200
+
 icecc (0.7.12-1) unstable; urgency=low
 
   * New upstream release

Added: kde-extras/icecream/trunk/debian/icecc.default
===================================================================
--- kde-extras/icecream/trunk/debian/icecc.default	                        (rev 0)
+++ kde-extras/icecream/trunk/debian/icecc.default	2006-09-11 20:14:57 UTC (rev 4492)
@@ -0,0 +1,71 @@
+# Defaults for icecc initscript
+# sourced by /etc/init.d/icecc
+
+#
+# should icecc be started on boot?
+#
+# START_ICECC="true"
+
+START_ICECC="true"
+
+#
+# Nice level of running compilers
+#
+# ICECC_NICE_LEVEL="5"
+
+ICECC_NICE_LEVEL="5"
+
+#
+# icecc daemon log file
+#
+# ICECC_LOG_FILE="/var/log/iceccd"
+
+ICECC_LOG_FILE="/var/log/iceccd.log"
+
+#
+# Identification for the network the scheduler and daemon run on. 
+# You can have several distinct icecc networks in the same LAN
+# for whatever reason.
+#
+# ICECC_NETNAME=""
+
+ICECC_NETNAME=""
+
+# 
+# You can overwrite here the number of jobs to run in parallel. Per
+# default this depends on the number of (virtual) CPUs installed. 
+#
+# ICECC_MAX_JOBS=""
+
+ICECC_MAX_JOBS=""
+
+#
+# This is the directory where the icecc daemon stores the environments
+# it compiles in. In a big network this can grow quite a bit, so use some
+# path if your /tmp is small - but the user icecc has to write to it.
+# 
+# ICECC_BASEDIR="/var/cache/icecc"
+
+ICECC_BASEDIR="/var/cache/icecc"
+
+#
+# Start also the scheduler?
+#
+# START_ICECC_SCHEDULER="false"
+
+START_ICECC_SCHEDULER="false"
+
+#
+# icecc scheduler log file
+#
+# ICECC_SCHEDULER_LOG_FILE="/var/log/icecc_scheduler"
+
+ICECC_SCHEDULER_LOG_FILE="/var/log/icecc_scheduler.log"
+
+#
+# If the daemon can't find the scheduler by broadcast (e.g. because 
+# of a firewall) you can specify it.
+#
+# ICECC_SCHEDULER_HOST=""
+
+ICECC_SCHEDULER_HOST=""

Modified: kde-extras/icecream/trunk/debian/icecc.postinst
===================================================================
--- kde-extras/icecream/trunk/debian/icecc.postinst	2006-09-11 20:02:09 UTC (rev 4491)
+++ kde-extras/icecream/trunk/debian/icecc.postinst	2006-09-11 20:14:57 UTC (rev 4492)
@@ -24,88 +24,14 @@
 
 case "$1" in
         configure)
-			if [ -f $conffile ] ; then
-                                sed -e "s/^[ ]*START_ICECC/START_ICECC/g" $conffile > $conffile.new
-				mv $conffile.new $conffile
-				sed -e "s/^[ ]*START_ICECC_SCHEDULER/START_ICECC_SCHEDULER/g" $conffile > $conffile.new
-				mv $conffile.new $conffile
-
-			else
-				cat << EOF > $conffile
-# Defaults for icecc initscript
-# sourced by /etc/init.d/icecc
-
-#
-# should icecc be started on boot?
-#
-# START_ICECC="true"
-
-START_ICECC="false"
-
-#
-# Nice level of running compilers
-#
-# ICECC_NICE_LEVEL="5"
-
-ICECC_NICE_LEVEL="5"
-
-#
-# icecc daemon log file
-#
-# ICECC_LOG_FILE="/var/log/iceccd"
-
-ICECC_LOG_FILE="/var/log/iceccd.log"
-
-#
-# Identification for the network the scheduler and daemon run on. 
-# You can have several distinct icecc networks in the same LAN
-# for whatever reason.
-#
-# ICECC_NETNAME=""
-
-ICECC_NETNAME=""
-
-# 
-# You can overwrite here the number of jobs to run in parallel. Per
-# default this depends on the number of (virtual) CPUs installed. 
-#
-# ICECC_MAX_JOBS=""
-
-ICECC_MAX_JOBS=""
-
-#
-# This is the directory where the icecc daemon stores the environments
-# it compiles in. In a big network this can grow quite a bit, so use some
-# path if your /tmp is small - but the user icecc has to write to it.
-# 
-# ICECC_BASEDIR="/var/cache/icecc"
-
-ICECC_BASEDIR="/var/cache/icecc"
-
-#
-# Start also the scheduler?
-#
-# START_ICECC_SCHEDULER="false"
-
-START_ICECC_SCHEDULER="false"
-
-#
-# icecc scheduler log file
-#
-# ICECC_SCHEDULER_LOG_FILE="/var/log/icecc_scheduler"
-
-ICECC_SCHEDULER_LOG_FILE="/var/log/icecc_scheduler.log"
-
-#
-# If the daemon can't find the scheduler by broadcast (e.g. because 
-# of a firewall) you can specify it.
-#
-# ICECC_SCHEDULER_HOST=""
-
-ICECC_SCHEDULER_HOST=""
-EOF
+		if [ -f $conffile ] ; then
+			sed -e "s/^[ ]*START_ICECC/START_ICECC/g" $conffile > $conffile.new
+			mv $conffile.new $conffile
+			sed -e "s/^[ ]*START_ICECC_SCHEDULER/START_ICECC_SCHEDULER/g" $conffile > $conffile.new
+			mv $conffile.new $conffile
+		else
 		fi
-	  
+
 		update_config_file icecc/daemon START_ICECC
 		update_config_file icecc/scheduler START_ICECC_SCHEDULER 
 




More information about the pkg-kde-commits mailing list