rev 4445 - in kde-extras: . icecream icecream/trunk icecream/trunk/debian icecream/trunk/debian/man icecream/trunk/debian/po

Fathi Boudra fboudra-guest at costa.debian.org
Mon Aug 28 10:34:05 UTC 2006


Author: fboudra-guest
Date: 2006-08-28 10:34:03 +0000 (Mon, 28 Aug 2006)
New Revision: 4445

Added:
   kde-extras/icecream/
   kde-extras/icecream/branches/
   kde-extras/icecream/tags/
   kde-extras/icecream/trunk/
   kde-extras/icecream/trunk/debian/
   kde-extras/icecream/trunk/debian/changelog
   kde-extras/icecream/trunk/debian/compat
   kde-extras/icecream/trunk/debian/control
   kde-extras/icecream/trunk/debian/copyright
   kde-extras/icecream/trunk/debian/docs
   kde-extras/icecream/trunk/debian/icecc.config
   kde-extras/icecream/trunk/debian/icecc.init
   kde-extras/icecream/trunk/debian/icecc.install
   kde-extras/icecream/trunk/debian/icecc.links
   kde-extras/icecream/trunk/debian/icecc.logrotate
   kde-extras/icecream/trunk/debian/icecc.postinst
   kde-extras/icecream/trunk/debian/icecc.postrm
   kde-extras/icecream/trunk/debian/icecc.templates
   kde-extras/icecream/trunk/debian/libicecc-dev.install
   kde-extras/icecream/trunk/debian/man/
   kde-extras/icecream/trunk/debian/man/icecc-create-env.xml
   kde-extras/icecream/trunk/debian/man/icecc-scheduler.xml
   kde-extras/icecream/trunk/debian/man/icecc.xml
   kde-extras/icecream/trunk/debian/man/iceccd.xml
   kde-extras/icecream/trunk/debian/patches/
   kde-extras/icecream/trunk/debian/po/
   kde-extras/icecream/trunk/debian/po/POTFILES.in
   kde-extras/icecream/trunk/debian/po/templates.pot
   kde-extras/icecream/trunk/debian/rules
   kde-extras/icecream/trunk/debian/watch
Log:
Add icecream (icecc) package

Added: kde-extras/icecream/trunk/debian/changelog
===================================================================
--- kde-extras/icecream/trunk/debian/changelog	2006-08-28 10:28:33 UTC (rev 4444)
+++ kde-extras/icecream/trunk/debian/changelog	2006-08-28 10:34:03 UTC (rev 4445)
@@ -0,0 +1,99 @@
+icecc (0.7.7-1) unstable; urgency=low
+
+  * Initial Debian release (Closes: #327462)
+  * Merge Andre Woebbeking and Jonathan Riddell package
+  * Convert package to cdbs
+  * control:
+    * add cdebconf depends
+    * remove unneeded depends: coreutils and grep
+    * update descriptions
+  * copyright: complete copyrights and licence informations
+
+ -- Fathi Boudra <fboudra at free.fr>  Sun, 27 Aug 2006 12:21:38 +0200
+
+icecc (0.7.6-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Andre Woebbeking <Woebbeking at web.de>  Sun, 16 Jul 2006 19:52:23 +0200
+
+icecc (0.7.5-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Andre Woebbeking <Woebbeking at web.de>  Wed, 12 Jul 2006 21:11:42 +0200
+
+icecc (0.7.4-1) unstable; urgency=low
+
+  * New upstream version.
+  * Patches are applied upstream (rename from icecream to icecc).
+
+ -- Andre Woebbeking <Woebbeking at web.de>  Sun, 09 Jul 2006 10:01:12 +0200
+
+icecc (0.7.3a-4ubuntu2) edgy; urgency=low
+
+  * Add missing build-dep on docbook2x
+
+ -- Jonathan Riddell <jriddell at ubuntu.com>  Thu, 13 Jul 2006 12:28:15 +0000
+
+icecc (0.7.3a-4ubuntu1) edgy; urgency=low
+
+  * New upstream release
+  * Merge with upstream
+
+ -- Jonathan Riddell <jriddell at ubuntu.com>  Fri,  7 Jul 2006 11:25:44 +0000
+
+icecc (0.7.3-4) unstable; urgency=low
+
+  * Also create a group icecc for the user icecc.
+  * Build with -O2.
+
+ -- Andre Woebbeking <Woebbeking at web.de>  Mon, 03 Jun 2006 23:50:12 +0200
+
+icecc (0.7.3-3) unstable; urgency=low
+
+  * Create libicecc-dev package.
+  * Simplified debian files.
+
+ -- Andre Woebbeking <Woebbeking at web.de>  Sun, 02 Jun 2006 19:00:51 +0200
+
+icecc (0.7.3-2) unstable; urgency=low
+
+  * Made icecc --build-native work.
+
+ -- Andre Woebbeking <Woebbeking at web.de>  Sat, 01 Jun 2006 21:30:51 +0200
+
+icecc (0.7.3-1) unstable; urgency=low
+
+  * New upstream version with new protocol (changed in 0.7.0).
+  * /usr/bin/create-env is now /usr/lib/icecc/icecc-create-env
+
+ -- Andre Woebbeking <Woebbeking at web.de>  Sat, 01 Jun 2006 20:36:15 +0200
+
+icecc (0.6.1-1) unstable; urgency=low
+
+  * It still builds at the new location so just bump the version number.
+
+ -- Andre Woebbeking <Woebbeking at web.de>  Sat, 29 Apr 2006 20:36:15 +0200
+
+icecc (0.6svn20060501-0ubuntu2) dapper; urgency=low
+
+  * Create links for cc and c++
+
+ -- Jonathan Riddell <jriddell at ubuntu.com>  Thu, 25 May 2006 14:34:38 +0100
+
+icecc (0.6svn20060501-0ubuntu1) dapper; urgency=low
+
+  * Initial Ubuntu upload
+  * Updated version from SVN
+  * Add manpages
+  * Depend on adduser
+  * Remove use of debconf
+
+ -- Jonathan Riddell <jriddell at ubuntu.com>  Sat, 29 Apr 2006 20:36:15 +0200
+
+icecc (0.6-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Andre Woebbeking <Woebbeking at web.de>  Sat, 27 Nov 2004 15:36:15 +0200

Added: kde-extras/icecream/trunk/debian/compat
===================================================================
--- kde-extras/icecream/trunk/debian/compat	2006-08-28 10:28:33 UTC (rev 4444)
+++ kde-extras/icecream/trunk/debian/compat	2006-08-28 10:34:03 UTC (rev 4445)
@@ -0,0 +1 @@
+5

Added: kde-extras/icecream/trunk/debian/control
===================================================================
--- kde-extras/icecream/trunk/debian/control	2006-08-28 10:28:33 UTC (rev 4444)
+++ kde-extras/icecream/trunk/debian/control	2006-08-28 10:34:03 UTC (rev 4445)
@@ -0,0 +1,34 @@
+Source: icecc
+Section: kde
+Priority: optional
+Maintainer: Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org> 
+Uploaders: Fathi Boudra <fboudra at free.fr>, Mark Purcell <msp at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), automake1.9, libtool, docbook2x
+Standards-Version: 3.7.2
+
+Package: icecc
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, cdebconf | debconf
+Suggests: icecc-monitor
+Description: distributed compiler (client and server)
+ Icecream is based on distcc, it is the next generation distcc. Like distcc it
+ takes compile jobs from your build and distributes it to remote machines
+ allowing a parallel build on several machines you've got. But unlike distcc,
+ Icecream uses a central server that schedules the compile jobs to the fastest
+ free server and is as this dynamic. This advantage pays off mostly for shared
+ computers, if you're the only user on x machines, you have full control over
+ them anyway.
+ .
+  Homepage: http://en.opensuse.org/Icecream
+
+Package: libicecc-dev
+Architecture: any
+Section: devel
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: development files for icecc (distributed compiler)
+ This package is part if icecc. It provides files which are necessary to build
+ icecc-monitor.
+ .
+ See the 'icecc' package for more informations.
+ .
+  Homepage: http://en.opensuse.org/Icecream

Added: kde-extras/icecream/trunk/debian/copyright
===================================================================
--- kde-extras/icecream/trunk/debian/copyright	2006-08-28 10:28:33 UTC (rev 4444)
+++ kde-extras/icecream/trunk/debian/copyright	2006-08-28 10:34:03 UTC (rev 4445)
@@ -0,0 +1,98 @@
+This package was debianized by Fathi Boudra <fboudra at free.fr> on
+Sun, 27 Aug 2006 12:21:38 +0200.
+
+It was downloaded from ftp://ftp.suse.com/pub/projects/icecream
+
+Upstream Authors:
+   Stephan Kulow <coolo at kde.org> 
+   Michael Matz <matz at suse.de>
+   Cornelius Schumacher <cschum at suse.de>
+   Lubos Lunak <llunak at suse.cz>
+   Frerich Raabe <raabe at kde.org>
+
+icecc is based on distcc, which is (C) 2002-2003 Martin Pool <mbp at samba.org>
+and is licensed under the GPL.
+
+Copyright for safeguard, util, arg, cpp, ncpus, exitcode and tempfile code:
+   (C) 2002-2003 Martin Pool <mbp at samba.org>
+
+Copyright for environment, job and logging code:
+   (C) 2004 Stephan Kulow <coolo at suse.de>
+
+Copyright for remote, local, client, serve, main and workit code:
+   (C) 2004 Stephan Kulow <coolo at suse.de>
+   (C) 2002 2003 Martin Pool <mbp at samba.org>
+
+workit code is based on gcc, (C) 1999-2002 Free Software Foundation, Inc.
+
+Copyright for load code:
+   (C) 1999-2000 Chris Schlaeger <cs at kde.org>
+   (C) 2003 Stephan Kulow <coolo at kde.org>
+
+Copyright for comm and scheduler code:
+   (C) 2004 Michael Matz <matz at suse.de>
+   (C) 2004 Stephan Kulow <coolo at suse.de>
+
+Copyright for getifaddrs code:
+   (C) 2002 Free Software Foundation, Inc.
+   (C) 2002 Tim Jansen <tim at tjansen.de>
+
+Copyright for suse init script:
+   (C) 2003 SuSE Linux AG Nuernberg, Germany.
+
+Copyright for miniLZO code:
+   (C) 1996-2005 Markus F. X. J. Oberhumer <markus at oberhumer.com>
+
+Copyright for md5 code: (C) 1999 Aladdin Enterprises <ghost at aladin.com>
+
+License for miniLZO:
+
+ LZO and miniLZO are distributed under the terms of the GNU General
+ Public License (GPL).
+
+ Special licenses for commercial and other applications which
+ are not willing to accept the GNU General Public License
+ are available by contacting the author.
+
+License for MD5 implementation from Aladdin Enterprises:
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+
+License for icecc:
+
+   This package is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+
+   This package is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this package; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The icecc manpages is (C) 2006 Jonathan Riddell <jriddell at ubuntu.com> and
+is licensed under the GPL, see above.
+
+The Debian packaging is (C) 2006, Fathi Boudra <fboudra at free.fr> and
+is licensed under the GPL, see above.

Added: kde-extras/icecream/trunk/debian/docs
===================================================================
--- kde-extras/icecream/trunk/debian/docs	2006-08-28 10:28:33 UTC (rev 4444)
+++ kde-extras/icecream/trunk/debian/docs	2006-08-28 10:34:03 UTC (rev 4445)
@@ -0,0 +1,3 @@
+NEWS
+README
+TODO

Added: kde-extras/icecream/trunk/debian/icecc.config
===================================================================
--- kde-extras/icecream/trunk/debian/icecc.config	2006-08-28 10:28:33 UTC (rev 4444)
+++ kde-extras/icecream/trunk/debian/icecc.config	2006-08-28 10:34:03 UTC (rev 4445)
@@ -0,0 +1,36 @@
+#!/bin/sh 
+# icecc package configuration script
+
+conffile="/etc/default/icecc"
+
+get_config_file()
+{
+	config_field=$1
+	db_field=$2
+	
+	if [ -f "$conffile" ] ; then
+   		VALUE="$(grep "^[ ]*$config_field" $conffile | sed -e "s/^$config_field *= *\"\(.*\)\"/\1/g")" 
+		if [ -n "$VALUE" ] ; then
+			db_set $db_field "$VALUE"
+		fi
+	fi		
+}
+
+# Source debconf library -- we have a Depends line
+# to make sure it is there...
+. /usr/share/debconf/confmodule
+db_version 2.0
+
+if [ "$1" = configure -o "$1" = reconfigure ] ; then
+	
+	get_config_file START_ICECC icecc/daemon
+	db_input medium icecc/daemon || true
+        db_go
+	
+	get_config_file START_ICECC_SCHEDULER icecc/scheduler
+	db_input medium icecc/scheduler || true
+        db_go
+	
+fi
+
+exit 0

Added: kde-extras/icecream/trunk/debian/icecc.init
===================================================================
--- kde-extras/icecream/trunk/debian/icecc.init	2006-08-28 10:28:33 UTC (rev 4444)
+++ kde-extras/icecream/trunk/debian/icecc.init	2006-08-28 10:34:03 UTC (rev 4445)
@@ -0,0 +1,148 @@
+#!/bin/sh
+#
+# iceccd Debian init.d script contributed by Jason Thomas.  (Debian #161136)
+#
+# skeleton      example file to build /etc/init.d/ scripts.
+#               This file should be used to construct scripts for /etc/init.d.
+#
+#               Written by Miquel van Smoorenburg <miquels at cistron.nl>.
+#               Modified for Debian GNU/Linux
+#               by Ian Murdock <imurdock at gnu.ai.mit.edu>
+#               by Carsten Wolff <carsten at wolffcarsten.de>.
+#
+# Version:      @(#)skeleton  1.9.1  08-Apr-2002  miquels at cistron.nl
+#
+
+DAEMONNAME=iceccd
+DAEMON=/usr/sbin/$DAEMONNAME
+SCHEDULERNAME=icecc-scheduler
+SCHEDULER=/usr/sbin/$SCHEDULERNAME
+DEFAULT=/etc/default/icecc
+DESC="Distributed Compiler Daemon"
+
+# Reads config file
+[ -r $DEFAULT ] && . $DEFAULT
+
+test -x $DAEMON || exit 0
+
+set -e
+
+netname=
+if test -n "$ICECC_NETNAME"; then
+    netname="-n $ICECC_NETNAME"
+fi
+
+
+
+start_daemon() {
+    logfile=""
+    if test -n "$ICECC_LOG_FILE"; then
+        logfile="-l $ICECC_LOG_FILE"
+    fi
+    nice= 
+    if test -n "$ICECC_NICE_LEVEL"; then
+       nice="--nice $ICECC_NICE_LEVEL"
+    fi
+    scheduler=
+    if test -n "$ICECC_SCHEDULER_HOST"; then
+        scheduler="-s $ICECC_SCHEDULER_HOST"
+    fi
+    basedir=
+    if test -n "$ICECC_BASEDIR"; then
+        basedir="-b $ICECC_BASEDIR"
+    fi
+    maxjobs=
+    if test -n "$ICECC_MAX_JOBS"; then
+        maxjobs="-m $ICECC_MAX_JOBS"
+    fi
+    start-stop-daemon --start --quiet --exec $DAEMON -- \
+    -d "$logfile" $nice $scheduler $netname -u icecc $basedir $maxjobs
+}
+
+
+
+stop_daemon() {
+    start-stop-daemon --stop --quiet --signal TERM --oknodo --exec $DAEMON
+}
+
+
+
+start_scheduler() {
+    if test -z "$ICECC_SCHEDULER_LOG_FILE"; then
+        ICECC_SCHEDULER_LOG_FILE="/var/log/icecc_scheduler"
+    fi
+    logfile="-l $ICECC_SCHEDULER_LOG_FILE"
+    : > $ICECC_SCHEDULER_LOG_FILE
+    chown icecc $ICECC_SCHEDULER_LOG_FILE
+    start-stop-daemon --start --quiet --chuid icecc \
+    --exec $SCHEDULER -- -d $logfile $netname
+}
+
+
+
+stop_scheduler() {
+    start-stop-daemon --stop --quiet --signal TERM --oknodo --exec $SCHEDULER
+}
+
+
+
+case "$1" in
+    start)
+        if [ "$START_ICECC" == "true" ]; then
+            echo -n "Starting $DESC: $DAEMONNAME"
+            start_daemon
+            echo "."
+        else
+            echo "START_ICECC is set to false in $DEFAULT"
+            echo "$DAEMON not starting"
+        fi
+
+        if [ "$START_ICECC_SCHEDULER" == "true" ]; then
+            echo -n "Starting $DESC: $SCHEDULERNAME"
+            start_scheduler
+            echo "."
+        else
+            echo "START_ICECC_SCHEDULER is set to false in $DEFAULT"
+            echo "$SCHEDULER not starting"
+        fi
+        ;;
+  stop)
+        echo -n "Stopping $DESC: $DAEMONNAME"
+        stop_daemon
+        echo "."
+        echo -n "Stopping $DESC: $SCHEDULERNAME"
+        stop_scheduler
+        echo "."
+        ;;
+  restart|force-reload)
+        #
+        #       If the "reload" option is implemented, move the "force-reload"
+        #       option to the "reload" entry above. If not, "force-reload" is
+        #       just the same as "restart".
+        #
+        echo -n "Restarting $DESC: $DAEMONNAME"
+        stop_daemon
+        sleep 1
+        if [ "$START_ICECC" == "true" ]; then
+            start_daemon
+        fi
+        echo "."
+
+        echo -n "Restarting $DESC: $SCHEDULERNAME"
+        stop_scheduler
+        sleep 1
+        if [ "$START_ICECC_SCHEDULER" == "true" ]; then
+            start_scheduler
+        fi
+        echo "."
+        ;;
+  *)
+        N=/etc/init.d/icecc
+        echo "Usage: $N {start|stop|restart|force-reload}" >&2
+        exit 1
+        ;;
+esac
+
+exit 0
+
+

Added: kde-extras/icecream/trunk/debian/icecc.install
===================================================================
--- kde-extras/icecream/trunk/debian/icecc.install	2006-08-28 10:28:33 UTC (rev 4444)
+++ kde-extras/icecream/trunk/debian/icecc.install	2006-08-28 10:34:03 UTC (rev 4445)
@@ -0,0 +1,4 @@
+usr/bin/icecc
+usr/lib/icecc/icecc-create-env
+usr/sbin/icecc-scheduler
+usr/sbin/iceccd

Added: kde-extras/icecream/trunk/debian/icecc.links
===================================================================
--- kde-extras/icecream/trunk/debian/icecc.links	2006-08-28 10:28:33 UTC (rev 4444)
+++ kde-extras/icecream/trunk/debian/icecc.links	2006-08-28 10:34:03 UTC (rev 4445)
@@ -0,0 +1,4 @@
+usr/bin/icecc usr/lib/icecc/bin/c++
+usr/bin/icecc usr/lib/icecc/bin/cc
+usr/bin/icecc usr/lib/icecc/bin/g++
+usr/bin/icecc usr/lib/icecc/bin/gcc

Added: kde-extras/icecream/trunk/debian/icecc.logrotate
===================================================================
--- kde-extras/icecream/trunk/debian/icecc.logrotate	2006-08-28 10:28:33 UTC (rev 4444)
+++ kde-extras/icecream/trunk/debian/icecc.logrotate	2006-08-28 10:34:03 UTC (rev 4445)
@@ -0,0 +1,18 @@
+# logrotate.d example configuration for icecc, contributed by Dag
+# Wieers.
+
+# The "copytruncate" option means icecc can keep appending to the
+# same filehandle.  You would otherwise need to shut down and restart
+# iceccd.
+
+/var/log/iceccd.log {
+       missingok
+       copytruncate
+       notifempty
+}
+
+/var/log/icecc_scheduler.log {
+       missingok
+       copytruncate
+       notifempty
+}

Added: kde-extras/icecream/trunk/debian/icecc.postinst
===================================================================
--- kde-extras/icecream/trunk/debian/icecc.postinst	2006-08-28 10:28:33 UTC (rev 4444)
+++ kde-extras/icecream/trunk/debian/icecc.postinst	2006-08-28 10:34:03 UTC (rev 4445)
@@ -0,0 +1,142 @@
+#!/bin/sh -e
+# postinst script for icecc
+
+conffile="/etc/default/icecc"
+
+update_config_file()
+{
+	db_field=$1
+	config_field=$2
+  
+	RET=false
+  	db_get $db_field
+	if grep -q "^$config_field" $conffile ; then 
+		# keep any admin changes, while replacing the variable content
+		sed "s#^[ ]*$config_field=\".*\"#$config_field=\"$RET\"#" < $conffile > $conffile.new && 
+   		mv $conffile.new $conffile
+  	else
+    		echo "$config_field=\"$RET\"" >> $conffile
+	fi
+}
+
+. /usr/share/debconf/confmodule
+db_version 2.0
+
+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
+		fi
+	  
+		update_config_file icecc/daemon START_ICECC
+		update_config_file icecc/scheduler START_ICECC_SCHEDULER 
+
+		ICECC_GROUP=icecc
+		ICECC_USER=icecc
+		ICECC_HOME=/var/cache/icecc
+
+		# Create group
+		grep -q $ICECC_GROUP /etc/group || \
+		( echo Creating $ICECC_GROUP group... ; \
+		addgroup --quiet --system $ICECC_GROUP)
+
+		# Create user
+		grep -q $ICECC_USER /etc/passwd || \
+		( echo Creating $ICECC_USER user... ; \
+		adduser --quiet --system --ingroup $ICECC_GROUP \
+		--home $ICECC_HOME --no-create-home $ICECC_USER )
+
+		chown $ICECC_USER:$ICECC_GROUP $ICECC_HOME
+
+		db_stop
+		;;
+        abort-upgrade|abort-remove|abort-deconfigure)
+        ;;
+                                                                                      
+        *)
+                echo "postinst called with unknown argument \`$1'" >&2
+                exit 1
+                ;;
+esac
+
+#DEBHELPER#
+
+exit 0

Added: kde-extras/icecream/trunk/debian/icecc.postrm
===================================================================
--- kde-extras/icecream/trunk/debian/icecc.postrm	2006-08-28 10:28:33 UTC (rev 4444)
+++ kde-extras/icecream/trunk/debian/icecc.postrm	2006-08-28 10:34:03 UTC (rev 4445)
@@ -0,0 +1,38 @@
+#!/bin/sh
+# postrm script for icecc
+
+set -e
+
+conffile="/etc/default/icecc"
+
+case "$1" in
+	purge)
+		ICECC_GROUP=icecc
+		ICECC_USER=icecc
+		ICECC_HOME=/var/cache/icecc
+
+		rm -f $conffile
+
+		grep -q $ICECC_USER /etc/passwd && \
+		(echo Deleting $ICECC_USER user... ; \
+		deluser --quiet --system $ICECC_USER)
+
+		grep -q $ICECC_GROUP /etc/group && \
+		(echo Deleting $ICECC_GROUP group... ; \
+		delgroup --quiet --system $ICECC_GROUP)
+
+		rm -rf $ICECC_HOME
+		;;
+	remove)
+		;;	
+	upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+		;;
+	*)
+		echo "postrm called with unknown argument \`$1'" >&2
+		exit 1
+		;;
+esac
+
+#DEBHELPER#
+
+exit 0

Added: kde-extras/icecream/trunk/debian/icecc.templates
===================================================================
--- kde-extras/icecream/trunk/debian/icecc.templates	2006-08-28 10:28:33 UTC (rev 4444)
+++ kde-extras/icecream/trunk/debian/icecc.templates	2006-08-28 10:34:03 UTC (rev 4445)
@@ -0,0 +1,21 @@
+Template: icecc/daemon
+Type: boolean
+_Default: true
+_Description: Start the icecc daemon on startup?
+ icecc can be run as a daemon, listening for incoming connections.
+ .
+ You have the option of starting the icecc daemon automatically on the
+ computer startup. You need a running daemon on every computer which should
+ be part of the compile farm. If you later change your mind, you can run: 
+ 'dpkg-reconfigure icecc'.
+
+Template: icecc/scheduler
+Type: boolean
+_Default: false
+_Description: Start the icecc scheduler on startup?
+ scheduler can be run as a daemon, listening for incoming connections.
+ .
+ You have the option of starting the icecc scheduler automatically on the
+ computer startup. You need one scheduler in your compile farm. If in doubt, 
+ you should not start it automatically on startup. If you later change your
+ mind, you can run: 'dpkg-reconfigure icecc'.

Added: kde-extras/icecream/trunk/debian/libicecc-dev.install
===================================================================
--- kde-extras/icecream/trunk/debian/libicecc-dev.install	2006-08-28 10:28:33 UTC (rev 4444)
+++ kde-extras/icecream/trunk/debian/libicecc-dev.install	2006-08-28 10:34:03 UTC (rev 4445)
@@ -0,0 +1,5 @@
+usr/include/icecc/comm.h
+usr/include/icecc/job.h
+usr/lib/libicecc.a
+usr/lib/libicecc.la
+usr/lib/pkgconfig/icecc.pc

Added: kde-extras/icecream/trunk/debian/man/icecc-create-env.xml
===================================================================
--- kde-extras/icecream/trunk/debian/man/icecc-create-env.xml	2006-08-28 10:28:33 UTC (rev 4444)
+++ kde-extras/icecream/trunk/debian/man/icecc-create-env.xml	2006-08-28 10:34:03 UTC (rev 4445)
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+]>
+<refentry>
+  <refentryinfo>
+    <author>
+      <firstname>Jonathan</firstname>
+      <surname>Riddell</surname>
+      <email>jriddell at ubuntu.com</email>
+    </author>
+    <copyright>
+      <year>2006</year>
+      <holder>Jonathan Riddell</holder>
+    </copyright>
+    <!-- XXX IMPORTANT XXX -->
+    <!-- Keep this date up to date: -->
+    <date>2006-07-07</date>
+    <!--  ^^^^^^^^^^ -->
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>icecc-create-env</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>icecc-create-env</refname>
+    <refpurpose>Create a tar for icecream distributed compiler to use</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>icecc-create-env</command>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+    <para>
+      /usr/lib/icecc/icecc-create-env creates an archive file containing all the files necessary to setup the compiler environment. The file will have a random unique name like "ddaea39ca1a7c88522b185eca04da2d8.tar.bz2" per default. Rename it to something more expressive for your convenience, e.g. "i386-3.3.1.tar.bz2".
+    </para>
+    <para>
+Set ICECC_VERSION=&lt;filename_of_archive_containing_your_environment&gt; in the shell environment where you start the compile jobs and the file will be transfered to the daemons where your compile jobs run and installed to a chroot environment for executing the compile jobs in the environment fitting to the environment of the client. This requires that the icecream deamon runs as root.
+
+    </para>
+
+    <para>
+If you do not set ICECC_VERSION, the client will use a tar ball provided by the daemon running on the same machine. So you can always be sure you're not tricked by incompatible gcc versions - and you can share your computer with users of other distributions.
+
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+    <para>
+      icecc-create-env takes no options.
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>COPYRIGHT</title>
+    <para>
+      This manual page was written by Jonathan Riddell
+      <email>jriddell at ubuntu.com</email> for the
+      <productname>Kubuntu</productname> system (but may be used by others).
+      Permission is granted to copy, distribute and/or modify this document
+      under the terms of the <acronym>GNU</acronym> General Public License,
+      Version 2 or any later version published by the Free Software Foundation.
+    </para>
+    <para>
+      On Debian systems, the complete text of the GNU General Public
+      License can be found in
+      <filename>/usr/share/common-licenses/GPL</filename>.
+    </para>
+  </refsect1>
+</refentry>

Added: kde-extras/icecream/trunk/debian/man/icecc-scheduler.xml
===================================================================
--- kde-extras/icecream/trunk/debian/man/icecc-scheduler.xml	2006-08-28 10:28:33 UTC (rev 4444)
+++ kde-extras/icecream/trunk/debian/man/icecc-scheduler.xml	2006-08-28 10:34:03 UTC (rev 4445)
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+]>
+<refentry>
+  <refentryinfo>
+    <author>
+      <firstname>Jonathan</firstname>
+      <surname>Riddell</surname>
+      <email>jriddell at ubuntu.com</email>
+    </author>
+    <copyright>
+      <year>2006</year>
+      <holder>Jonathan Riddell</holder>
+    </copyright>
+    <!-- XXX IMPORTANT XXX -->
+    <!-- Keep this date up to date: -->
+    <date>2006-05-01</date>
+    <!--  ^^^^^^^^^^ -->
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>icecc-scheduler</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>icecc-scheduler</refname>
+    <refpurpose>Scheduler for your icecream compile cluster</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>icecc-scheduler</command>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+    <para>
+      icecc-scheduler is the server which organises compiles on the icecream compile cluster.
+    </para>
+    <para>
+     WARNING: Never use icecream in untrusted environments. Run the deamons and the scheduler as unpriviliged user in such networks if you have to. Howeveryou will then have to rely on homogeneous networks.
+    </para>
+    <para>
+     To run the scheduler make sure START_ICECC_SCHEDULER="true" is set in /etc/default/icecc and run sudo /etc/init.d/icecc start (it will also start at bootup).
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+    <para>
+      icecc-scheduler takes no options.
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>COPYRIGHT</title>
+    <para>
+      This manual page was written by Jonathan Riddell
+      <email>jriddell at ubuntu.com</email> for the
+      <productname>Kubuntu</productname> system (but may be used by others).
+      Permission is granted to copy, distribute and/or modify this document
+      under the terms of the <acronym>GNU</acronym> General Public License,
+      Version 2 or any later version published by the Free Software Foundation.
+    </para>
+    <para>
+      On Debian systems, the complete text of the GNU General Public
+      License can be found in
+      <filename>/usr/share/common-licenses/GPL</filename>.
+    </para>
+  </refsect1>
+</refentry>

Added: kde-extras/icecream/trunk/debian/man/icecc.xml
===================================================================
--- kde-extras/icecream/trunk/debian/man/icecc.xml	2006-08-28 10:28:33 UTC (rev 4444)
+++ kde-extras/icecream/trunk/debian/man/icecc.xml	2006-08-28 10:34:03 UTC (rev 4445)
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+]>
+<refentry>
+  <refentryinfo>
+    <author>
+      <firstname>Jonathan</firstname>
+      <surname>Riddell</surname>
+      <email>jriddell at ubuntu.com</email>
+    </author>
+    <copyright>
+      <year>2006</year>
+      <holder>Jonathan Riddell</holder>
+    </copyright>
+    <!-- XXX IMPORTANT XXX -->
+    <!-- Keep this date up to date: -->
+    <date>2006-05-01</date>
+    <!--  ^^^^^^^^^^ -->
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>icecc</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>icecc</refname>
+    <refpurpose>icecream distributed compiler</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>icemon</command>
+      <arg choice="opt">
+        <option><replaceable>[compile options] -o OBJECT -c SOURCE</replaceable></option>
+      </arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+    <para>
+      icecc is used to compile your C/C++ programmes with icecream over an icecream cluster.
+    </para>
+    <para>
+      You should not generally call icecc directly but make sure the gcc/g++ symlinks to it are in your path when compiling.
+      export PATH=/usr/lib/icecc/bin/:$PATH
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>ENVIRONMENT VARIABLES</title>
+    <para>
+      <variablelist>
+        <title>Environement Variables:</title>
+        <varlistentry>
+          <term> <option>ICECC_VERSION</option> </term>
+          <listitem> <para>Use a specific icecc environment, see create-env</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>ICECC_REPEAT_RATE</option> </term>
+          <listitem> <para>The number of jobs out of 1000 that should be
+                              compiled on multiple hosts to ensure that they're
+                              producing the same output.  The default is 10.</para> </listitem>
+        </varlistentry>
+      </variablelist>
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>COPYRIGHT</title>
+    <para>
+      This manual page was written by Jonathan Riddell
+      <email>jriddell at ubuntu.com</email> for the
+      <productname>Kubuntu</productname> system (but may be used by others).
+      Permission is granted to copy, distribute and/or modify this document
+      under the terms of the <acronym>GNU</acronym> General Public License,
+      Version 2 or any later version published by the Free Software Foundation.
+    </para>
+    <para>
+      On Debian systems, the complete text of the GNU General Public
+      License can be found in
+      <filename>/usr/share/common-licenses/GPL</filename>.
+    </para>
+  </refsect1>
+</refentry>

Added: kde-extras/icecream/trunk/debian/man/iceccd.xml
===================================================================
--- kde-extras/icecream/trunk/debian/man/iceccd.xml	2006-08-28 10:28:33 UTC (rev 4444)
+++ kde-extras/icecream/trunk/debian/man/iceccd.xml	2006-08-28 10:34:03 UTC (rev 4445)
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+]>
+<refentry>
+  <refentryinfo>
+    <author>
+      <firstname>Jonathan</firstname>
+      <surname>Riddell</surname>
+      <email>jriddell at ubuntu.com</email>
+    </author>
+    <copyright>
+      <year>2006</year>
+      <holder>Jonathan Riddell</holder>
+    </copyright>
+    <!-- XXX IMPORTANT XXX -->
+    <!-- Keep this date up to date: -->
+    <date>2006-05-01</date>
+    <!--  ^^^^^^^^^^ -->
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>iceccd</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>iceccd</refname>
+    <refpurpose>Server for an icecream compile cluster</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>iceccd  [-n &lt;netname&gt;] [-m &lt;max_processes&gt;] [-w] [-d|--daemonize] [-l logfile] [-s &lt;schedulerhost&gt;] [-v[v[v]]] [-r|--run-as-user] [-b &lt;env-basedir&gt;] [-u|--nobody-uid &lt;nobody_uid&gt;] [--cache-limit &lt;MB&gt;] [-N &lt;node_name&gt;]</command>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+    <para>
+      iceccd is a server for your icecream compile cluster, it must be run on every computer in the cluster.
+    </para>
+    <para>
+     You must also run icecc-scheduler on one computer in the cluster.
+    </para>
+    <para>
+      To use iceccd make sure START_ICECC="true" is set in /etc/default/icecc and run sudo /etc/init.d/icecc start (it will also start at boot).
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>COPYRIGHT</title>
+    <para>
+      This manual page was written by Jonathan Riddell
+      <email>jriddell at ubuntu.com</email> for the
+      <productname>Kubuntu</productname> system (but may be used by others).
+      Permission is granted to copy, distribute and/or modify this document
+      under the terms of the <acronym>GNU</acronym> General Public License,
+      Version 2 or any later version published by the Free Software Foundation.
+    </para>
+    <para>
+      On Debian systems, the complete text of the GNU General Public
+      License can be found in
+      <filename>/usr/share/common-licenses/GPL</filename>.
+    </para>
+  </refsect1>
+</refentry>

Added: kde-extras/icecream/trunk/debian/po/POTFILES.in
===================================================================
--- kde-extras/icecream/trunk/debian/po/POTFILES.in	2006-08-28 10:28:33 UTC (rev 4444)
+++ kde-extras/icecream/trunk/debian/po/POTFILES.in	2006-08-28 10:34:03 UTC (rev 4445)
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] icecc.templates

Added: kde-extras/icecream/trunk/debian/po/templates.pot
===================================================================
--- kde-extras/icecream/trunk/debian/po/templates.pot	2006-08-28 10:28:33 UTC (rev 4444)
+++ kde-extras/icecream/trunk/debian/po/templates.pot	2006-08-28 10:34:03 UTC (rev 4445)
@@ -0,0 +1,73 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: pkg-kde-extras at lists.alioth.debian.org\n"
+"POT-Creation-Date: 2006-08-28 11:14+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Default
+#: ../icecc.templates:1001
+msgid "true"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../icecc.templates:1002
+msgid "Start the icecc daemon on startup?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../icecc.templates:1002
+msgid "icecc can be run as a daemon, listening for incoming connections."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../icecc.templates:1002
+msgid ""
+"You have the option of starting the icecc daemon automatically on the "
+"computer startup. You need a running daemon on every computer which should "
+"be part of the compile farm. If you later change your mind, you can run:  "
+"'dpkg-reconfigure icecc'."
+msgstr ""
+
+#. Type: boolean
+#. Default
+#: ../icecc.templates:2001
+msgid "false"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../icecc.templates:2002
+msgid "Start the icecc scheduler on startup?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../icecc.templates:2002
+msgid "scheduler can be run as a daemon, listening for incoming connections."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../icecc.templates:2002
+msgid ""
+"You have the option of starting the icecc scheduler automatically on the "
+"computer startup. You need one scheduler in your compile farm. If in doubt,  "
+"you should not start it automatically on startup. If you later change your "
+"mind, you can run: 'dpkg-reconfigure icecc'."
+msgstr ""

Added: kde-extras/icecream/trunk/debian/rules
===================================================================
--- kde-extras/icecream/trunk/debian/rules	2006-08-28 10:28:33 UTC (rev 4444)
+++ kde-extras/icecream/trunk/debian/rules	2006-08-28 10:34:03 UTC (rev 4445)
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+ 
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+DEB_DH_INSTALL_ARGS = --sourcedir=debian/tmp
+DEB_INSTALL_MANPAGES_icecc := icecc.1 icecc-create-env.1 icecc-scheduler.1 iceccd.1
+
+makebuilddir/icecc::
+	$(MAKE) -f Makefile.cvs
+
+build/icecc::
+	for i in debian/man/*.xml; do \
+		/usr/bin/docbook2x-man $$i; \
+	done
+
+clean::
+	rm -f *.1
+


Property changes on: kde-extras/icecream/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: kde-extras/icecream/trunk/debian/watch
===================================================================
--- kde-extras/icecream/trunk/debian/watch	2006-08-28 10:28:33 UTC (rev 4444)
+++ kde-extras/icecream/trunk/debian/watch	2006-08-28 10:34:03 UTC (rev 4445)
@@ -0,0 +1,2 @@
+version=3
+ftp://ftp.example.com/pub/icecc-(.*)\.tar\.bz2 debian svn-upgrade




More information about the pkg-kde-commits mailing list