--- uptimed-0.3.2.orig/stamp-h.in
+++ uptimed-0.3.2/stamp-h.in
@@ -0,0 +1 @@
+timestamp
--- uptimed-0.3.2.orig/Makefile.am
+++ uptimed-0.3.2/Makefile.am
@@ -7,4 +7,4 @@
 	sample-cgi/uprecords.footer uptimed.spec depcomp
 
 install-data-local:
-	$(INSTALL) -d /var/spool/uptimed
+	$(INSTALL) -d $(DESTDIR)/var/spool/uptimed
--- uptimed-0.3.2.orig/Makefile.in
+++ uptimed-0.3.2/Makefile.in
@@ -196,16 +196,11 @@
 maintainer-clean-recursive:
 	@set fnord $(MAKEFLAGS); amf=$$2; \
 	dot_seen=no; \
-	case "$@" in \
-	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
-	  *) list='$(SUBDIRS)' ;; \
-	esac; \
-	rev=''; for subdir in $$list; do \
-	  if test "$$subdir" = "."; then :; else \
-	    rev="$$subdir $$rev"; \
-	  fi; \
+	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+	  rev="$$subdir $$rev"; \
+	  test "$$subdir" = "." && dot_seen=yes; \
 	done; \
-	rev="$$rev ."; \
+	test "$$dot_seen" = "no" && rev=". $$rev"; \
 	target=`echo $@ | sed s/-recursive//`; \
 	for subdir in $$rev; do \
 	  echo "Making $$target in $$subdir"; \
@@ -428,7 +423,7 @@
 
 
 install-data-local:
-	$(INSTALL) -d /var/spool/uptimed
+	$(INSTALL) -d $(DESTDIR)/var/spool/uptimed
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
--- uptimed-0.3.2.orig/uptimed.spec.in
+++ uptimed-0.3.2/uptimed.spec.in
@@ -41,7 +41,7 @@
 
 %post
 /sbin/ldconfig
-install -m 755 -d /var/spool/uptimed
+install -m 755 -d $(DESTDIR)/var/spool/uptimed
 /sbin/chkconfig --add uptimed
 
 if [ -f /etc/rc.d/rc.sysinit ]
--- uptimed-0.3.2.orig/src/uprecords.c
+++ uptimed-0.3.2/src/uprecords.c
@@ -239,7 +239,7 @@
 	FILE *f;
 	char str[256];
 
-	f=fopen("uprecords.conf", "r");	
+	f=fopen("/etc/uprecords-cgi/uprecords.conf", "r");	
 	if (!f)
 		return;
 	
--- uptimed-0.3.2.orig/src/uptimed.c
+++ uptimed-0.3.2/src/uptimed.c
@@ -17,6 +17,7 @@
 
 #include "../config.h"
 #include "uptimed.h"
+#include <sys/resource.h>
 
 #ifdef PLATFORM_HPUX
 #define	SYSLOG_PREFIX	"uptimed: "
@@ -192,7 +193,7 @@
 	}
 
 	/* Close probably all file descriptors */
-	for (i = 0; i<NOFILE; i++)
+	for (i = 0; i<RLIMIT_NOFILE; i++)
 		close(i);
 
 	/* Be nice to umount */
@@ -330,11 +331,11 @@
 				print_version();
 				break;
 			case 'e':
-				strcpy(email, optarg);
+				strncpy(email, optarg,sizeof(email)-1);
 				send_email = 1;
 				break;
 			case 'p':
-				strcpy(pidfile, optarg);
+				strncpy(pidfile, optarg,sizeof(email)-1);
 				break;
 			case 'b':
 				create_bootid++;
--- uptimed-0.3.2.orig/debian/uptimed.postinst
+++ uptimed-0.3.2/debian/uptimed.postinst
@@ -0,0 +1,74 @@
+#! /bin/sh
+
+. /usr/share/debconf/confmodule
+
+db_version 2.0
+
+set -e
+
+if [ "$1" = "configure" ]; then
+# Step 1: Assemble a sed(1) script that does the configuration changes we
+#         want
+	SEDSCRIPT=`mktemp /tmp/debconfXXXXXX`
+	db_get 'uptimed/interval'
+	echo >$SEDSCRIPT "s/^UPDATE_INTERVAL=.*/UPDATE_INTERVAL=$RET/"
+	db_get 'uptimed/maxrecords'
+	echo >>$SEDSCRIPT "s/^LOG_MAXIMUM_ENTRIES=.*/LOG_MAXIMUM_ENTRIES=$RET/"
+	db_get 'uptimed/mail/do_mail'
+	if [ "$RET" = "Never" ]; then
+		echo >>$SEDSCRIPT "s/^SEND_EMAIL=.*/SEND_EMAIL=0/"
+	elif [ "$RET" = "Record" ]; then
+		echo >>$SEDSCRIPT "s/^SEND_EMAIL=.*/SEND_EMAIL=3/"
+	elif [ "$RET" = "Milestone" ]; then
+		echo >>$SEDSCRIPT "s/^SEND_EMAIL=.*/SEND_EMAIL=2/"
+	else
+		echo >>$SEDSCRIPT "s/^SEND_EMAIL=.*/SEND_EMAIL=1/"
+	fi
+	if [ "$RET" != "Never" ]; then
+		db_get 'uptimed/mail/address'
+		echo >>$SEDSCRIPT "s/^EMAIL=.*/EMAIL=$RET/"
+	fi
+	# 0.1.6-4 commented these out. Leave until the yet unnamed distro
+	# after sid
+	echo >>$SEDSCRIPT "s/^#disabled#MILESTONE=/MILESTONE=/"
+
+	db_stop
+
+# Step 2: Process the config file
+	TEMPFILE=`mktemp /tmp/debconfXXXXXX`
+	sed -f $SEDSCRIPT </etc/uptimed.conf >$TEMPFILE
+	rm $SEDSCRIPT
+
+# Step 3: See if anything has changed. If so, install the new configuration
+#         and restart uptimed if it is already running
+	if diff /etc/uptimed.conf $TEMPFILE >/dev/null; then
+		rm $TEMPFILE
+		NEEDRESTART=no
+	else
+		mv /etc/uptimed.conf \
+			/etc/uptimed.conf.dpkg-old
+		mv $TEMPFILE /etc/uptimed.conf
+		NEEDRESTART=yes
+	fi
+	if [ ! -f /var/spool/uptimed/bootid ]; then
+		if [ ! -d /var/spool/uptimed ]; then
+			mkdir /var/spool/uptimed
+		fi
+		update-rc.d uptimed.sh start 60 S . >/dev/null
+		/etc/init.d/uptimed.sh start
+	fi
+	if [ "$NEEDRESTART" = "yes" ]; then
+		/etc/init.d/uptimed restart-if-running
+	fi
+fi
+
+	# change ownership to daemon (run as non-root)
+	chown daemon.daemon /var/spool/uptimed
+	if [ -f /var/spool/uptimed/bootid ]; then
+		chown daemon.daemon /var/spool/uptimed/*
+	fi
+	chown daemon.daemon /etc/uptimed.conf
+	chmod 644 /etc/uptimed.conf
+	chown daemon.daemon /usr/sbin/uptimed
+
+#DEBHELPER#
--- uptimed-0.3.2.orig/debian/changelog
+++ uptimed-0.3.2/debian/changelog
@@ -0,0 +1,225 @@
+uptimed (1:0.3.2-0.backports.org.1) unstable; urgency=low
+
+  * recompiled for http://www.backports.org/
+
+ -- Norbert Tretkowski <tretkowski@inittab.de>  Wed, 02 Jun 2004 10:57:46 -0300
+
+uptimed (1:0.3.2-1) unstable; urgency=low
+
+  * New upstream release
+  * added catalan debconf templates (Closes: #248757)
+
+ -- Daniel Gubser <guterm@debian.org>  Wed,  2 Jun 2004 06:21:21 +0200
+
+uptimed (1:0.3.1-2) unstable; urgency=low
+
+  * updating the German debconf-l10n (Closes: #244545)
+  * added Danish debconf translation (Closes: #237107)
+  * corrected small type in uptimed.conf.5 (Closes: #234330)
+  * added FILES section in uptimed.5 (Closes: #238113)
+  * hardcoded location to uprecord.conf in src/uprecords.c 
+    so uprecords-cgi is displayed as wanted (Closes: #243523)
+  * Fixed package description of uprecords-cgi (Closes: #209807)
+
+ -- Daniel Gubser <guterm@debian.org>  Mon, 19 Apr 2004 07:36:49 +0200
+
+uptimed (1:0.3.1-1) unstable; urgency=low
+
+  * New upstream release
+  * patched source for handling long command line arguments better for pidfile
+      and email settings (Closes: #220819)
+  * Fixed package description of libuptimed (Closes: #209801)
+  * Fixes package description of uprecords-cgi (Closes: #167486)
+  * Booting doesn't use cron.d anymore (Closes: #184910)
+  * Fixed script for debconf-questions (Closes: #224702)
+  * Fixed ownership of /var/spool/uptimed/ files (Closes: #224818)
+  * Changed read-right for /etc/uptimed.conf for '-M' option (Closes: #227046)
+  * Added man page for uptimed.conf from Helge Kreutzmann (Closes: #166324)
+  * Addes patch for templates for debconf (Closes: #221901)
+  * Bugfix from upstream for out-of-space servers or system crashes 
+    (Closes: #207424) and (Closes: #207425) 
+
+ -- Daniel Gubser <guterm@debian.org>  Mon, 19 Jan 2004 06:11:39 +0100
+
+uptimed (1:0.3.0-1) unstable; urgency=low
+
+  * Non-Maintainer upload
+  * New upstream release (Closes: #184007)
+  * convert to non-native version (Closes: #191665)
+  * changes subject line by upstream (Closes: #159307)
+  * switched to gettext for the debconf templates (Closes: #199343)
+  * added french translation of the debconf templates (Closes: #201344)
+  * changes debconf entry in postinst from MAX_ENTRIES 
+    to LOG_MAXIMUM_ENTRIES (Closes: #161112)
+  * runs as user daemon (not root) (Closes: #153798)
+
+ -- Daniel Gubser <daniel.gubser@gutreu.ch>  Thu, 16 Oct 2003 16:43:19 +0200
+
+uptimed (1:0.2.0-0.2) unstable; urgency=low
+
+  * convert to non-native version 
+
+ -- Daniel Gubser <daniel.gubser@gutreu.ch>  Thu, 16 Oct 2003 16:21:35 +0200
+
+uptimed (1:0.2.0-0.1) unstable; urgency=low
+
+  * Non-maintainer upload
+  * New upstream version
+  * Fix Hurd compilation problem 
+
+ -- Julien Danjou <acid@debian.org>  Wed, 21 Aug 2002 00:55:43 +0200
+
+uptimed (1:0.1.7-2) unstable; urgency=low
+
+  * Added a missing $DESTDIR (Closes: #135023)
+  * Fixed uptimed.sh to use -b instead of -boot which no longer works
+    (Closes: #135027)
+
+ -- Simon Richter <sjr@debian.org>  Thu, 21 Feb 2002 23:22:05 +0100
+
+uptimed (1:0.1.7-1) unstable; urgency=low
+
+  * New upstream version (Closes: #107492)
+  * Fixed a bug in uprecords-cgi.postinst which could leave the config
+    files unreadable for the webserver (Closes: #100480, #109562)
+
+ -- Simon Richter <sjr@debian.org>  Tue, 19 Feb 2002 21:26:35 +0100
+
+uptimed (1:0.1.6-7) unstable; urgency=low
+
+  * Replaced a "source" that slipped through with a dot (Closes:
+    #108110).
+
+ -- Simon Richter <sjr@debian.org>  Thu,  9 Aug 2001 07:07:49 +0200
+
+uptimed (1:0.1.6-6) unstable; urgency=low
+
+  * Fixed a stupid typo that made uptimed send out emails although
+    configured otherwise (Closes: #106991).
+
+ -- Simon Richter <sjr@debian.org>  Wed,  1 Aug 2001 06:14:50 +0200
+
+uptimed (1:0.1.6-5) unstable; urgency=low
+
+  * Applied patch from Michal Politowski which fixes a few annoyances
+    (Closes: #102228).
+  * Added THRESHOLD/-t option (useful if you don't want each reboot to
+    show up but only serious records) (Closes: #100596)
+  * Added option to select which mails to send, for milestones only,
+    records only or both (Closes: #100592)
+  * Added PIDFILE/-p option and pidfile creation (Closes: #102508).
+  * Removed all CRs from the mailing (Closes: #104049).
+
+ -- Simon Richter <sjr@debian.org>  Thu, 26 Jul 2001 02:27:56 +0200
+
+uptimed (1:0.1.6-4) unstable; urgency=low
+
+  * Re-did the packaging (Closes: #95465)
+  * Moved to debhelper 3 and debconf
+  * Added a missing NULL init (Closes: #78279)
+
+ -- Simon Richter <sjr@debian.org>  Thu, 21 June 2001 23:03:39 +0100
+
+uptimed (1:0.1.6-3) unstable; urgency=low
+
+  * Updated the copyright file
+
+ -- Simon Richter <richtesi@fs.tum.de>  Wed, 21 Mar 2001 12:18:21 +0100
+
+uptimed (1:0.1.6-2) unstable; urgency=low
+
+  * Added a crontab entry to have uptimed generate a new bootid at startup
+    (Closes: #90260)
+  * Moved from manually installing the manpages to dh_installmanpages
+  * Added a missing call to dh_installinit (which hasn't caused any problems,
+    but...)
+  * Removed obsolete dh_suidregister and dh_testversion calls
+  * Removed upgrade instructions from the package
+
+ -- Simon Richter <Simon.Richter@phobos.fs.tum.de>  Mon, 19 Mar 2001 19:26:29 +0100
+
+uptimed (1:0.1.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Took over maintainership
+
+ -- Simon Richter <Simon.Richter@phobos.fs.tum.de>  Mon, 12 Feb 2001 21:47:36 +0100
+
+uptimed (1:0.1.5-5) unstable; urgency=low
+
+  * Updated Standards-Version to 3.1.2
+  * /usr/lib/menu/uptimed said uprecord instead of uprecords, this bug was
+    spotted by Daniel Bayer <daniel.bayer@knuut.de> Closes: Bug#71094
+
+ -- Edward Betts <edward@debian.org>  Fri, 15 Sep 2000 15:38:37 -0600
+
+uptimed (1:0.1.5-4) unstable; urgency=low
+
+  * Fiddled with debian/postinst to create bootid on fresh install
+    Closes: Bug#67611.
+
+ -- Edward Betts <edward@debian.org>  Sun, 23 Jul 2000 12:12:04 +0100
+
+uptimed (1:0.1.5-3) unstable; urgency=low
+
+  * added two manpages uprecords.1 and updated.8, written and provided by 
+    Alan Ford <alan@whirlnet.co.uk>. Thanks Alan! Closes: Bug#.
+  * debian/control: split package into uptimed and uprecords-cgi.
+  * debian/rules: modified to handle package split.
+  * debian/postrm: modified to only run update-rc.d on purge.
+
+ -- Edward Betts <edward@debian.org>  Tue, 18 Apr 2000 16:51:19 +0100
+
+uptimed (1:0.1.5-2) unstable; urgency=low
+
+  * debian/uptimed.sh: boot script added Closes: Bug#62047. 
+  * debian/init: removed boot handling.
+
+ -- Edward Betts <edward@debian.org>  Mon, 17 Apr 2000 16:44:37 +0100
+
+uptimed (1:0.1.5-1) unstable; urgency=low
+
+  * New upstream release.
+  * Closes: Bug#61359.
+
+ -- Edward Betts <edward@debian.org>  Thu, 30 Mar 2000 14:32:33 +0100
+
+uptimed (1:0.1.4-2) unstable; urgency=low
+
+  * Fix problems upgrading from older package. (Closes: Bug#61240)
+    Thanks to Tuomas Jormola <tj@sgic.fi> and bonnaud@iut2.upmf-grenoble.fr
+  * Added call to dh_undocumented for both binaries.
+  * I have this package really sorted now. Testing completed:
+        - Installing from fresh.
+        - Upgrading from frozen version 0.03
+        - Upgrading from unstable version 0.1.4
+        - Removing the package.
+
+ -- Edward Betts <edward@debian.org>  Tue, 28 Mar 2000 19:52:49 +0100
+
+uptimed (1:0.1.4-1) unstable; urgency=low
+
+  * New maintainer.
+  * New upstream release.
+
+ -- Edward Betts <edward@debian.org>  Sat, 25 Mar 2000 16:05:12 +0000
+
+uptimed (0.03-3) unstable; urgency=low
+
+  * Wrote a manpage for uprecords.
+
+ -- Robert S. Edmonds <stu@novare.net>  Wed, 17 Feb 1999 16:51:27 -0500
+
+uptimed (0.03-2) unstable; urgency=low
+
+  * /etc/init.d/uptimed now gives proper output.
+  * Manpages now undocumented. Fixes bug #33443.
+  * /etc/uptimed.log moved to /var/log/uptimed. Fixes bug #33294.
+
+ -- Robert S. Edmonds <stu@novare.net>  Tue, 16 Feb 1999 18:02:09 -0500
+
+uptimed (0.03-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Robert S. Edmonds <stu@novare.net>  Sat,  6 Feb 1999 22:32:19 -0500
--- uptimed-0.3.2.orig/debian/rules
+++ uptimed-0.3.2/debian/rules
@@ -0,0 +1,122 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper. 
+# GNU copyright 1997 by Joey Hess.
+#
+# This version is for a hypothetical package that builds an
+# architecture-dependant package, as well as an architecture-independent
+# package.
+
+# Uncomment this to turn on verbose mode. 
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=4
+
+export DH_OPTIONS
+export DESTDIR=`pwd`/debian/uptimed
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	./configure --prefix=/usr --mandir=\$${prefix}/share/man \
+		--sysconfdir=/etc
+	touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp 
+	dh_testdir
+	$(MAKE)
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	-$(MAKE) distclean
+	dh_clean
+
+install: DH_OPTIONS=
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/uptimed
+	mv $(CURDIR)/debian/uptimed/etc/uptimed.conf-dist \
+		$(CURDIR)/debian/uptimed/etc/uptimed.conf
+	mkdir -p $(CURDIR)/debian/uprecords-cgi/etc/uprecords-cgi
+	cp $(CURDIR)/sample-cgi/uprecords.conf \
+		$(CURDIR)/debian/uprecords-cgi/etc/uprecords-cgi
+	cp $(CURDIR)/sample-cgi/uprecords.header \
+		$(CURDIR)/debian/uprecords-cgi/etc/uprecords-cgi
+	cp $(CURDIR)/sample-cgi/uprecords.footer \
+		$(CURDIR)/debian/uprecords-cgi/etc/uprecords-cgi
+	mv $(CURDIR)/debian/uptimed/usr/lib/libuptimed.* \
+		$(CURDIR)/debian/libuptimed/usr/lib/
+	install -v -m 644 debian/uptimed.conf.5 ${DESTDIR}/usr/share/man/man5/uptimed.conf.5
+#	dh_movefiles
+
+# Build architecture-independent files here.
+# Pass -i to all debhelper commands in this target to reduce clutter.
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installdebconf -i
+	dh_installdocs -i
+	dh_installexamples -i
+#	dh_installmenu -i
+#	dh_installlogrotate -i
+#	dh_installemacsen -i
+#	dh_installpam -i
+#	dh_installmime -i
+	dh_installinit -i
+#	dh_installcron -i
+	dh_installman -i
+#	dh_installinfo -i
+#	dh_undocumented -i
+	dh_installchangelogs ChangeLog -i
+	dh_link -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i
+#	dh_perl -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installdebconf -a
+	dh_installdocs -a
+	dh_installexamples -a
+#	dh_installmenu -a
+#	dh_installlogrotate -a
+#	dh_installemacsen -a
+#	dh_installpam -a
+#	dh_installmime -a
+	dh_installinit -a
+	install -d $(CURDIR)/debian/uptimed/etc/init.d
+	install -m 755 $(CURDIR)/debian/uptimed.sh \
+		$(CURDIR)/debian/uptimed/etc/init.d/
+#	chmod 755 $(CURDIR)/debian/uptimed/etc/init.d/uptimed.sh
+#	dh_installcron -a
+	dh_installman -a
+#	dh_installinfo -a
+#	dh_undocumented -a
+	dh_installchangelogs ChangeLog -a
+	dh_strip -a
+	dh_link -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_makeshlibs -a
+	dh_installdeb -a
+#	dh_perl -a
+	dh_shlibdeps -a -l $(CURDIR)/debian/libuptimed/usr/lib/
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- uptimed-0.3.2.orig/debian/uptimed.postrm
+++ uptimed-0.3.2/debian/uptimed.postrm
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+#DEBHELPER#
+
+if [ "$1" = "purge" ]; then
+	if [ -f /var/spool/uptimed/records ]; then
+		echo -n "Deleting uptime record database..."
+		rm -f /var/spool/uptimed/records
+		echo "done."
+	fi
+	if [ -f /var/spool/uptimed/bootid ]; then
+		rm -f /var/spool/uptimed/bootid
+	fi
+	if [ -d /var/spool/uptimed ]; then
+		rmdir /var/spool/uptimed
+	fi
+fi
+
+if [ "$1" = "purge" ] ; then
+	update-rc.d uptimed.sh remove > /dev/null
+fi
--- uptimed-0.3.2.orig/debian/uprecords-cgi.postinst
+++ uptimed-0.3.2/debian/uprecords-cgi.postinst
@@ -0,0 +1,51 @@
+#! /bin/sh
+
+. /usr/share/debconf/confmodule
+
+db_version 2.0
+
+if [ "$1" = "configure" ]; then
+	if [ -f /usr/lib/cgi-bin/uprecords.conf \
+		-o -f /usr/lib/cgi-bin/uprecords.header \
+		-o -f /usr/lib/cgi-bin/uprecords.footer ]; then
+		echo -n 'Moving config files:'
+		for i in uprecords.conf uprecords.header uprecords.footer; do
+			if [ -f /usr/lib/cgi-bin/$i ]; then
+				echo -n " $i"
+				mv /usr/lib/cgi-bin/$i /etc/uprecords-cgi
+			fi
+		done
+		echo '.'
+	fi
+
+	TEMPFILE=`mktemp /tmp/debconfXXXXXX`
+	db_get 'uprecords-cgi/layout'
+	LAYOUT=$RET
+	db_get 'uprecords-cgi/maxentries'
+	MAXENTRIES=$RET
+	if [ -z "$LAYOUT" -o -z "$MAXENTRIES" ]; then
+		echo >&2 "Error: Some variables unset in Debconf database"
+		exit 1
+	fi
+	sed	-e "s/^LAYOUT=.*/LAYOUT=$LAYOUT/" \
+		-e "s/^SHOW_MAX=.*/SHOW_MAX=$MAXENTRIES/" \
+		</etc/uprecords-cgi/uprecords.conf >$TEMPFILE
+	# Now see if anything has changed
+	if diff /etc/uprecords-cgi/uprecords.conf $TEMPFILE >/dev/null; then
+		rm $TEMPFILE
+	else
+		mv /etc/uprecords-cgi/uprecords.conf \
+			/etc/uprecords-cgi/uprecords.conf.dpkg-old
+		mv $TEMPFILE /etc/uprecords-cgi/uprecords.conf
+	fi
+	# Now test whether "nobody" can read the config files (this
+	# is necessary for the CGI script to work)
+	for i in uprecords.conf uprecords.footer uprecords.header; do
+		if su nobody -c 'test ! -r /etc/uprecords-cgi/'$i; then
+			echo "Making $i world readable"
+			chmod o+r /etc/uprecords-cgi/$i
+		fi
+	done
+fi
+
+#DEBHELPER#
--- uptimed-0.3.2.orig/debian/uprecords-cgi.files
+++ uptimed-0.3.2/debian/uprecords-cgi.files
@@ -0,0 +1,3 @@
+etc/uprecords-cgi/uprecords.conf
+etc/uprecords-cgi/uprecords.header
+etc/uprecords-cgi/uprecords.footer
--- uptimed-0.3.2.orig/debian/uptimed.templates
+++ uptimed-0.3.2/debian/uptimed.templates
@@ -0,0 +1,47 @@
+Template: uptimed/interval
+Type: string
+Default: 60
+_Description: How many seconds should pass between database updates?
+ Uptimed will update its database every n seconds so that the uptime
+ doesn't get lost in case of a system crash. You can set how frequently
+ this will happen (use higher values if you want to avoid disk activity,
+ for example on a laptop). 60 seconds should be a reasonable default.
+
+Template: uptimed/maxrecords
+Type: string
+Default: 50
+_Description: How many records should be kept?
+ On systems that reboot frequently (such as desktop PCs), you will get a
+ fairly large list of uptime records pretty soon. To avoid this, uptimed
+ will only keep the n highest uptimes. You may want to limit this to a
+ lower value if you want to get emails each time a record is broken or
+ reboot your machine often. 10 is a nice value.
+
+Template: uptimed/mail/do_mail
+Type: select
+_Choices: Never, Record, Milestone, Both
+Default: Never
+_Description: Send mails if a milestone or record is reached?
+ Uptimed can be configured to send a mail each time a record is broken or a
+ "milestone" is reached. You can choose whether you
+ .
+  - never want to receive these mails
+  - want to be notified only when a record is broken
+  - would like to know about milestones
+  - are interested in both
+
+Template: uptimed/mail/address
+Type: string
+Default: root@localhost
+_Description: Where should uptimed send its mails to?
+ Since you have chosen to be sent emails, you should specify where to send
+ these mails. The default "root@localhost" makes sort of sense, but if you
+ are one of many sysadmins and you are unsure whether the other admins want
+ to get these mails, you should probably set this to your real address.
+
+Template: uptimed/mail/milestones_info
+Type: note
+_Description: Milestone configuration should be done manually
+ While all other configuration options can be set here, the milestones must
+ be configured manually in /etc/uptimed.conf. Since you have chosen to
+ receive emails for milestones you may probably want to edit that file.
--- uptimed-0.3.2.orig/debian/copyright
+++ uptimed-0.3.2/debian/copyright
@@ -0,0 +1,26 @@
+This package was debianized by Simon Richter <Simon.Richter@in.tum.de> on
+Tue,  1 May 2001 21:17:54 +0200.
+
+It was downloaded from http://unixcode.org/uptimed/
+
+Upstream Author: Rob Kaper <cap@capsi.com>
+
+Copyright:
+
+   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; version 2 dated June, 1991.
+
+   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., 59 Temple Place - Suite 330, Boston, MA
+   02111-1307, USA.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
--- uptimed-0.3.2.orig/debian/control
+++ uptimed-0.3.2/debian/control
@@ -0,0 +1,40 @@
+Source: uptimed
+Section: utils
+Priority: extra
+Maintainer: Daniel Gubser <guterm@debian.org>
+Build-Depends: debhelper (>= 4.1.16)
+Standards-Version: 3.6.1
+
+Package: uptimed
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, perl
+Description: Utility to track your highest uptimes
+ Uptimed allows you to track your highest uptimes via boot IDs.
+ It uses the system boot time to keep sessions apart from each
+ other.
+ .
+ Features:
+  - Console program to display statistics
+  - Can send mail if a milestone or a new record is reached
+
+Package: libuptimed
+Architecture: any
+Depends: ${shlibs:Depends}, debconf (>= 0.5), perl
+Description: Library for uptimed
+ Uptimed allows you to track your highest uptimes via boot IDs.
+ .
+ Features:
+ - Console program to display statistics
+ - Can send mail if a milestone or a new record is reached
+
+Package: uprecords-cgi
+Architecture: all
+Depends: uptimed (= ${Source-Version}), debconf (>= 0.5)
+Recommends: httpd
+Description: A CGI script to show the world your highest uptimes
+ This CGI script produces a HTML report containing all your
+ highest uptimes from the uptimed database.
+ .
+ Uptimed is a tool that allows you to track your highest uptimes
+ via boot IDs. It uses the system boot time to keep sessions
+ apart from each other.
--- uptimed-0.3.2.orig/debian/po/POTFILES.in
+++ uptimed-0.3.2/debian/po/POTFILES.in
@@ -0,0 +1,2 @@
+[type: gettext/rfc822deb] uprecords-cgi.templates
+[type: gettext/rfc822deb] uptimed.templates
--- uptimed-0.3.2.orig/debian/po/de.po
+++ uptimed-0.3.2/debian/po/de.po
@@ -0,0 +1,220 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2004-06-02 06:42+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Choices
+#: ../uprecords-cgi.templates:3
+msgid "pre, list, table"
+msgstr "pre, list, table"
+
+#. Description
+#: ../uprecords-cgi.templates:5
+msgid "Which format should uprecords.cgi use?"
+msgstr "Welches Format soll uprecords.cgi benutzen?"
+
+#. Description
+#: ../uprecords-cgi.templates:5
+msgid ""
+"The uprecords CGI script has different ways of doing a proper display "
+"layout. Which method you want to use depends mainly on your personal "
+"preference. Available options are:"
+msgstr ""
+"Das »uprecords«-CGI-Skript kann seine Ausgaben auf verschiedene Art und "
+"Weise formatieren. Was Sie persönlich bevorzugen, ist Geschmackssache. Ihre "
+"Möglichkeiten:"
+
+#. Description
+#: ../uprecords-cgi.templates:5
+msgid ""
+" - pre: Encloses everything in <pre>...</pre>\n"
+" - list: Makes a list, using <ol>...</ol>\n"
+" - table: Creates an HTML table."
+msgstr ""
+" - pre: Einfacher Text, in <pre>...</pre>\n"
+" - list: Eine HTML-Liste (<ol>...</ol>)\n"
+" - table: Eine HTML-Tabelle."
+
+#. Description
+#: ../uprecords-cgi.templates:17
+msgid "How many records should uprecords.cgi show?"
+msgstr "Wie viele Rekorde soll uprecords.cgi anzeigen?"
+
+#. Description
+#: ../uprecords-cgi.templates:17
+msgid ""
+"While uptimed may keep a large number of uptime records, not all of them are "
+"interesting to the outside world. Thus, you can limit the number of records "
+"that will be shown here."
+msgstr ""
+"Uptimed sammelt auf Dauer viele Rekorde an, die vielleicht nicht alle für "
+"jedermann interessant sind. Hier können Sie einstellen, wie viele Rekorde "
+"angezeigt werden."
+
+#. Description
+#: ../uprecords-cgi.templates:24
+msgid "uprecords.cgi has been installed into the webtree"
+msgstr "uprecords.cgi wurde im Webtree installiert"
+
+#. Description
+#: ../uprecords-cgi.templates:24
+msgid ""
+"You have installed the uprecords-cgi package. That means that a new CGI "
+"script has been installed, which is now visible to the outside world as "
+"http://${hostname}/cgi-bin/uprecords.cgi (if you didn't modify your "
+"webserver configuration to have CGI scripts in a different place)."
+msgstr ""
+"Sie haben gerade das Paket »uprecords-cgi« installiert. Dieses Paket enthält "
+"ein neues CGI-Skript, das von außen unter http://${hostname}/cgi-bin/"
+"uprecords.cgi aufgerufen werden kann (wenn Sie die Webserver-Konfiguration "
+"nicht geändert haben, so dass es unter einem anderen Pfad liegt)."
+
+#. Description
+#: ../uprecords-cgi.templates:24
+msgid ""
+"In the default webserver configuration, CGI scripts are accessible from "
+"anywhere in the world. If you do not want this, you should set up access "
+"restrictions (but who doesn't want to show off with his/her uptimes?)."
+msgstr ""
+"In der Standard-Konfiguration Ihres Webservers sind CGI-Skripte wie alles "
+"andere auch weltweit abrufbar. Wenn Sie das nicht wollen, sollten Sie "
+"entsprechende Beschränkungen einrichten (aber wer will nicht mit seinen "
+"uptimes angeben?)."
+
+#. Description
+#: ../uprecords-cgi.templates:24
+msgid ""
+"You may also want to modify the HTML header and footer files in /etc/"
+"uprecords-cgi or tell your webmaster to do so (remember to give him the "
+"necessary permissions then)."
+msgstr ""
+"Außerdem möchten Sie vielleicht den HTML-Kopf und -Fuß ändern (die "
+"entsprechenden Dateien liegen in /etc/uprecords-cgi) oder das Ihrem/r "
+"Webmaster/in sagen (dann sollte er/sie aber die nötigen Schreibrechte haben)."
+
+#. Description
+#: ../uptimed.templates:4
+msgid "How many seconds should pass between database updates?"
+msgstr "Alle wieviel Sekunden soll die Datenbank geschrieben werden?"
+
+#. Description
+#: ../uptimed.templates:4
+msgid ""
+"Uptimed will update its database every n seconds so that the uptime doesn't "
+"get lost in case of a system crash. You can set how frequently this will "
+"happen (use higher values if you want to avoid disk activity, for example on "
+"a laptop). 60 seconds should be a reasonable default."
+msgstr ""
+"Uptimed schreibt alle n Sekunden seine Datenbank, damit bei einem Absturz "
+"die Uptime nicht verlorengeht. Sie können hier einstellen, wie oft dies "
+"geschieht (nehmen Sie einen höheren Wert, wenn Sie Diskaktivität vermeiden "
+"wollen, z.B. auf einem Laptop). 60 Sekunden sind ein sinnvoller Wert."
+
+#. Description
+#: ../uptimed.templates:13
+msgid "How many records should be kept?"
+msgstr "Wie viele Rekorde sollen aufgehoben werden?"
+
+#. Description
+#: ../uptimed.templates:13
+msgid ""
+"On systems that reboot frequently (such as desktop PCs), you will get a "
+"fairly large list of uptime records pretty soon. To avoid this, uptimed will "
+"only keep the n highest uptimes. You may want to limit this to a lower value "
+"if you want to get emails each time a record is broken or reboot your "
+"machine often. 10 is a nice value."
+msgstr ""
+"Einige Systeme booten relativ häufig neu, zum Beispiel Arbeitsplatzrechner. "
+"Auf diesen Systemen wächst die Liste relativ schnell. Um das zu vermeiden, "
+"wird Uptimed nur die n höchsten Uptimes behalten. Wenn Sie Mails erhalten "
+"wollen, sobald ein Rekord gebrochen wurde, sollten Sie diesen Wert recht "
+"niedrig ansetzen, genauso wenn Sie häufig booten. 10 ist ein guter Wert."
+
+#. Choices
+#: ../uptimed.templates:22
+msgid "Never, Record, Milestone, Both"
+msgstr "Nie, Rekorde, Meilensteine, Beides"
+
+#. Description
+#: ../uptimed.templates:24
+msgid "Send mails if a milestone or record is reached?"
+msgstr "Wann soll Uptimed Mails versenden?"
+
+#. Description
+#: ../uptimed.templates:24
+msgid ""
+"Uptimed can be configured to send a mail each time a record is broken or a "
+"\"milestone\" is reached. You can choose whether you"
+msgstr ""
+"Uptimed kann optional eine Mail schicken, wenn ein Rekord gebrochen oder ein "
+"»Meilenstein« erreicht wurde. Sie können sich aussuchen, ob Sie:"
+
+#. Description
+#: ../uptimed.templates:24
+msgid ""
+" - never want to receive these mails\n"
+" - want to be notified only when a record is broken\n"
+" - would like to know about milestones\n"
+" - are interested in both"
+msgstr ""
+" - niemals Mails erhalten möchten\n"
+" - nur für gebrochene Rekorde\n"
+" - nur für erreichte Meilensteine\n"
+" - für Rekorde und Meilensteine"
+
+#. Description
+#: ../uptimed.templates:36
+msgid "Where should uptimed send its mails to?"
+msgstr "An wen soll uptimed seine Mails schicken?"
+
+#. Description
+#: ../uptimed.templates:36
+msgid ""
+"Since you have chosen to be sent emails, you should specify where to send "
+"these mails. The default \"root@localhost\" makes sort of sense, but if you "
+"are one of many sysadmins and you are unsure whether the other admins want "
+"to get these mails, you should probably set this to your real address."
+msgstr ""
+"Da Sie Mails erhalten wollen, sollten Sie nach Möglichkeit auch sagen, wohin "
+"diese eMails geschickt werden sollen. Der Standardwert »root@localhost« "
+"funktioniert normalerweise recht gut, aber wenn Sie einer von mehreren "
+"Admins sind und nicht wissen, ob die anderen auch diese Mails haben wollen, "
+"sollten Sie vielleicht Ihre echte Adresse angeben."
+
+#. Description
+#: ../uptimed.templates:44
+msgid "Milestone configuration should be done manually"
+msgstr "Meilensteine sollten von Hand konfiguriert werden"
+
+#. Description
+#: ../uptimed.templates:44
+msgid ""
+"While all other configuration options can be set here, the milestones must "
+"be configured manually in /etc/uptimed.conf. Since you have chosen to "
+"receive emails for milestones you may probably want to edit that file."
+msgstr ""
+"Obwohl alles andere hier eingestellt werden kann, müssen die Meilensteine "
+"von Hand in /etc/uptimed.conf eingestellt werden. Da Sie bei jedem dieser "
+"Meilensteine eine Mail erhalten werden, möchten Sie die Datei wahrscheinlich "
+"abändern."
--- uptimed-0.3.2.orig/debian/po/templates.pot
+++ uptimed-0.3.2/debian/po/templates.pot
@@ -0,0 +1,176 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2004-06-02 06:42+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Choices
+#: ../uprecords-cgi.templates:3
+msgid "pre, list, table"
+msgstr ""
+
+#. Description
+#: ../uprecords-cgi.templates:5
+msgid "Which format should uprecords.cgi use?"
+msgstr ""
+
+#. Description
+#: ../uprecords-cgi.templates:5
+msgid ""
+"The uprecords CGI script has different ways of doing a proper display "
+"layout. Which method you want to use depends mainly on your personal "
+"preference. Available options are:"
+msgstr ""
+
+#. Description
+#: ../uprecords-cgi.templates:5
+msgid ""
+" - pre: Encloses everything in <pre>...</pre>\n"
+" - list: Makes a list, using <ol>...</ol>\n"
+" - table: Creates an HTML table."
+msgstr ""
+
+#. Description
+#: ../uprecords-cgi.templates:17
+msgid "How many records should uprecords.cgi show?"
+msgstr ""
+
+#. Description
+#: ../uprecords-cgi.templates:17
+msgid ""
+"While uptimed may keep a large number of uptime records, not all of them are "
+"interesting to the outside world. Thus, you can limit the number of records "
+"that will be shown here."
+msgstr ""
+
+#. Description
+#: ../uprecords-cgi.templates:24
+msgid "uprecords.cgi has been installed into the webtree"
+msgstr ""
+
+#. Description
+#: ../uprecords-cgi.templates:24
+msgid ""
+"You have installed the uprecords-cgi package. That means that a new CGI "
+"script has been installed, which is now visible to the outside world as "
+"http://${hostname}/cgi-bin/uprecords.cgi (if you didn't modify your "
+"webserver configuration to have CGI scripts in a different place)."
+msgstr ""
+
+#. Description
+#: ../uprecords-cgi.templates:24
+msgid ""
+"In the default webserver configuration, CGI scripts are accessible from "
+"anywhere in the world. If you do not want this, you should set up access "
+"restrictions (but who doesn't want to show off with his/her uptimes?)."
+msgstr ""
+
+#. Description
+#: ../uprecords-cgi.templates:24
+msgid ""
+"You may also want to modify the HTML header and footer files in /etc/"
+"uprecords-cgi or tell your webmaster to do so (remember to give him the "
+"necessary permissions then)."
+msgstr ""
+
+#. Description
+#: ../uptimed.templates:4
+msgid "How many seconds should pass between database updates?"
+msgstr ""
+
+#. Description
+#: ../uptimed.templates:4
+msgid ""
+"Uptimed will update its database every n seconds so that the uptime doesn't "
+"get lost in case of a system crash. You can set how frequently this will "
+"happen (use higher values if you want to avoid disk activity, for example on "
+"a laptop). 60 seconds should be a reasonable default."
+msgstr ""
+
+#. Description
+#: ../uptimed.templates:13
+msgid "How many records should be kept?"
+msgstr ""
+
+#. Description
+#: ../uptimed.templates:13
+msgid ""
+"On systems that reboot frequently (such as desktop PCs), you will get a "
+"fairly large list of uptime records pretty soon. To avoid this, uptimed will "
+"only keep the n highest uptimes. You may want to limit this to a lower value "
+"if you want to get emails each time a record is broken or reboot your "
+"machine often. 10 is a nice value."
+msgstr ""
+
+#. Choices
+#: ../uptimed.templates:22
+msgid "Never, Record, Milestone, Both"
+msgstr ""
+
+#. Description
+#: ../uptimed.templates:24
+msgid "Send mails if a milestone or record is reached?"
+msgstr ""
+
+#. Description
+#: ../uptimed.templates:24
+msgid ""
+"Uptimed can be configured to send a mail each time a record is broken or a "
+"\"milestone\" is reached. You can choose whether you"
+msgstr ""
+
+#. Description
+#: ../uptimed.templates:24
+msgid ""
+" - never want to receive these mails\n"
+" - want to be notified only when a record is broken\n"
+" - would like to know about milestones\n"
+" - are interested in both"
+msgstr ""
+
+#. Description
+#: ../uptimed.templates:36
+msgid "Where should uptimed send its mails to?"
+msgstr ""
+
+#. Description
+#: ../uptimed.templates:36
+msgid ""
+"Since you have chosen to be sent emails, you should specify where to send "
+"these mails. The default \"root@localhost\" makes sort of sense, but if you "
+"are one of many sysadmins and you are unsure whether the other admins want "
+"to get these mails, you should probably set this to your real address."
+msgstr ""
+
+#. Description
+#: ../uptimed.templates:44
+msgid "Milestone configuration should be done manually"
+msgstr ""
+
+#. Description
+#: ../uptimed.templates:44
+msgid ""
+"While all other configuration options can be set here, the milestones must "
+"be configured manually in /etc/uptimed.conf. Since you have chosen to "
+"receive emails for milestones you may probably want to edit that file."
+msgstr ""
--- uptimed-0.3.2.orig/debian/po/fr.po
+++ uptimed-0.3.2/debian/po/fr.po
@@ -0,0 +1,224 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: uptimed_0.2.0-0.1\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2004-06-02 06:42+0200\n"
+"PO-Revision-Date: 2003-07-11 20:21+0200\n"
+"Last-Translator: Michel Grentzinger <mic.grentz@online.fr>\n"
+"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Choices
+#: ../uprecords-cgi.templates:3
+msgid "pre, list, table"
+msgstr "préformaté, liste, tableau"
+
+#. Description
+#: ../uprecords-cgi.templates:5
+msgid "Which format should uprecords.cgi use?"
+msgstr "Quel format uprecords.cgi doit-il utiliser ?"
+
+#. Description
+#: ../uprecords-cgi.templates:5
+msgid ""
+"The uprecords CGI script has different ways of doing a proper display "
+"layout. Which method you want to use depends mainly on your personal "
+"preference. Available options are:"
+msgstr ""
+"Le script CGI uprecords peut utiliser différentes méthodes pour afficher "
+"correctement. La méthode que vous souhaitez employer dépend de votre goût "
+"personnel. Les options disponibles sont :"
+
+#. Description
+#: ../uprecords-cgi.templates:5
+msgid ""
+" - pre: Encloses everything in <pre>...</pre>\n"
+" - list: Makes a list, using <ol>...</ol>\n"
+" - table: Creates an HTML table."
+msgstr ""
+" - préformaté : encadrement de chaque élément avec <pre>...</pre> ;\n"
+" - liste      : création d'une liste avec <ol>...</ol> ;\n"
+" - tableau    : création d'un tableau en HTML."
+
+#. Description
+#: ../uprecords-cgi.templates:17
+msgid "How many records should uprecords.cgi show?"
+msgstr "Combien d'enregistrements souhaitez-vous que uprecords.cgi affiche ?"
+
+#. Description
+#: ../uprecords-cgi.templates:17
+msgid ""
+"While uptimed may keep a large number of uptime records, not all of them are "
+"interesting to the outside world. Thus, you can limit the number of records "
+"that will be shown here."
+msgstr ""
+"Uptimed conserve un grand nombre d'enregistrements, mais toutes ces durées "
+"de fonctionnement n'intéressent pas tout le monde. Aussi, vous pouvez "
+"limiter ici le nombre d'enregistrements qui seront affichés."
+
+#. Description
+#: ../uprecords-cgi.templates:24
+msgid "uprecords.cgi has been installed into the webtree"
+msgstr "uprecords.cgi a été installé dans l'arborescence du serveur web"
+
+#. Description
+#: ../uprecords-cgi.templates:24
+msgid ""
+"You have installed the uprecords-cgi package. That means that a new CGI "
+"script has been installed, which is now visible to the outside world as "
+"http://${hostname}/cgi-bin/uprecords.cgi (if you didn't modify your "
+"webserver configuration to have CGI scripts in a different place)."
+msgstr ""
+"Vous avez installé le paquet uprecords-cgi. Cela signifie qu'un nouveau "
+"script a été installé et qu'il est accessible publiquement sur http://"
+"${hostname}/cgi-bin/uprecords.cgi (sauf si vous avez modifié la "
+"configuration de votre serveur web pour héberger les scripts CGI à un autre "
+"endroit)."
+
+#. Description
+#: ../uprecords-cgi.templates:24
+msgid ""
+"In the default webserver configuration, CGI scripts are accessible from "
+"anywhere in the world. If you do not want this, you should set up access "
+"restrictions (but who doesn't want to show off with his/her uptimes?)."
+msgstr ""
+"Dans la configuration par défaut du serveur web, les scripts CGI sont "
+"accessibles sans restriction. Si vous ne le souhaitez pas, vous devriez "
+"définir des accès restreints (mais qui souhaiterait restreindre la "
+"publication ses durées de fonctionnement ?)."
+
+#. Description
+#: ../uprecords-cgi.templates:24
+msgid ""
+"You may also want to modify the HTML header and footer files in /etc/"
+"uprecords-cgi or tell your webmaster to do so (remember to give him the "
+"necessary permissions then)."
+msgstr ""
+"Vous pouvez également modifier les en-têtes et le bas des pages générées "
+"dans /etc/uprecords-cgi ou indiquer au webmestre de le faire (pensez à lui "
+"fournir les droits d'accès nécessaires)."
+
+#. Description
+#: ../uptimed.templates:4
+msgid "How many seconds should pass between database updates?"
+msgstr ""
+"Combien de secondes doivent-elles s'écouler entre deux mises à jour de la "
+"base de données ?"
+
+#. Description
+#: ../uptimed.templates:4
+msgid ""
+"Uptimed will update its database every n seconds so that the uptime doesn't "
+"get lost in case of a system crash. You can set how frequently this will "
+"happen (use higher values if you want to avoid disk activity, for example on "
+"a laptop). 60 seconds should be a reasonable default."
+msgstr ""
+"Uptimed mettra sa base de données à jour toutes les n secondes de façon à ce "
+"que la durée de fonctionnement ne soit pas perdue lors d'une défaillance "
+"générale de votre système. Vous pouvez définir cet intervalle ici "
+"(l'utilisation d'une valeur élevée permet d'éviter une activité disque trop "
+"importante, pour un portable par exemple) : 60 secondes est un choix "
+"raisonnable."
+
+#. Description
+#: ../uptimed.templates:13
+msgid "How many records should be kept?"
+msgstr "Combien d'enregistrements uptimed doit-il conserver ?"
+
+#. Description
+#: ../uptimed.templates:13
+msgid ""
+"On systems that reboot frequently (such as desktop PCs), you will get a "
+"fairly large list of uptime records pretty soon. To avoid this, uptimed will "
+"only keep the n highest uptimes. You may want to limit this to a lower value "
+"if you want to get emails each time a record is broken or reboot your "
+"machine often. 10 is a nice value."
+msgstr ""
+"Sur des systèmes redémarrant fréquemment (comme les ordinateurs de bureau), "
+"vous obtiendrez rapidement une liste conséquente d'enregistrements. Afin "
+"d'éviter cela, uptimed conservera uniquement les n durées les plus élevées. "
+"Vous pourriez abaisser cette valeur si vous désirez recevoir un courriel à "
+"chaque fois qu'un record est battu  ou si vous redémarrez souvent votre "
+"machine. 10 est une bonne valeur pour débuter."
+
+#. Choices
+#: ../uptimed.templates:22
+msgid "Never, Record, Milestone, Both"
+msgstr "Jamais, Record, Jalon, Les deux"
+
+#. Description
+#: ../uptimed.templates:24
+msgid "Send mails if a milestone or record is reached?"
+msgstr "Envoyez des courriels si un jalon ou un record est atteint ?"
+
+#. Description
+#: ../uptimed.templates:24
+msgid ""
+"Uptimed can be configured to send a mail each time a record is broken or a "
+"\"milestone\" is reached. You can choose whether you"
+msgstr ""
+"Uptimed peut être configuré pour envoyer un courriel à chaque fois qu'un "
+"record est battu ou qu'un jalon (« milestone ») est atteint. Vous pouvez "
+"choisir :"
+
+#. Description
+#: ../uptimed.templates:24
+msgid ""
+" - never want to receive these mails\n"
+" - want to be notified only when a record is broken\n"
+" - would like to know about milestones\n"
+" - are interested in both"
+msgstr ""
+" - de ne jamais recevoir ces courriels ;\n"
+" - d'être averti uniquement si un record est battu ;\n"
+" - d'être averti uniquement lors du passage des jalons ;\n"
+" - d'être averti dans les deux cas."
+
+#. Description
+#: ../uptimed.templates:36
+msgid "Where should uptimed send its mails to?"
+msgstr "À qui les courriels d'uptimed doivent-il être envoyés ?"
+
+#. Description
+#: ../uptimed.templates:36
+msgid ""
+"Since you have chosen to be sent emails, you should specify where to send "
+"these mails. The default \"root@localhost\" makes sort of sense, but if you "
+"are one of many sysadmins and you are unsure whether the other admins want "
+"to get these mails, you should probably set this to your real address."
+msgstr ""
+"Puisque vous avez choisi de recevoir des courriels, vous devez indiquer le "
+"destinataire de ces messages. Par défaut « root@localhost » convient, mais "
+"si vous n'êtes que l'un des nombreux administrateurs système et que vous "
+"n'êtes pas certain que les autres administrateurs veuillent recevoir ces "
+"messages, vous devriez indiquer votre adresse électronique réelle."
+
+#. Description
+#: ../uptimed.templates:44
+msgid "Milestone configuration should be done manually"
+msgstr "La configuration des jalons doit être faite manuellement"
+
+#. Description
+#: ../uptimed.templates:44
+msgid ""
+"While all other configuration options can be set here, the milestones must "
+"be configured manually in /etc/uptimed.conf. Since you have chosen to "
+"receive emails for milestones you may probably want to edit that file."
+msgstr ""
+"Alors que toutes les autres options de configuration peuvent être définies "
+"ici, vous devez configurer vous-même les jalons dans /etc/uptimed.conf. "
+"Puisque vous avez choisi de recevoir des messages pour les jalons, vous "
+"devrez sans doute modifier ce fichier."
--- uptimed-0.3.2.orig/debian/po/da.po
+++ uptimed-0.3.2/debian/po/da.po
@@ -0,0 +1,218 @@
+# translation of uptimed_1:0.3.1-1-da.po to Danish
+# translation of uptimed_1:0.3.1-1_templates.po to Danish
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans#
+#    Developers do not need to manually edit POT or PO files.
+# Claus Hindsgaul <claus_h@image.dk>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: uptimed_1:0.3.1-1-da\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2004-06-02 06:42+0200\n"
+"PO-Revision-Date: 2004-03-09 19:48+0100\n"
+"Last-Translator: Claus Hindsgaul <claus_h@image.dk>\n"
+"Language-Team: Danish <dansk@klid.dk>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#. Choices
+#: ../uprecords-cgi.templates:3
+msgid "pre, list, table"
+msgstr "pre, liste, tabel"
+
+#. Description
+#: ../uprecords-cgi.templates:5
+msgid "Which format should uprecords.cgi use?"
+msgstr "Hvilket format skal uprecords.cgi benytte?"
+
+#. Description
+#: ../uprecords-cgi.templates:5
+msgid ""
+"The uprecords CGI script has different ways of doing a proper display "
+"layout. Which method you want to use depends mainly on your personal "
+"preference. Available options are:"
+msgstr ""
+"CGI-skriptet uprecords har flere mÃ¥der at udfÃ¸re visningen pÃ¥. Det afhÃ¦nger "
+"hovedsageligt af din personlige smat, hvilken af dem, du skal bruge. Du har "
+"fÃ¸lgende muligheder:"
+
+#. Description
+#: ../uprecords-cgi.templates:5
+msgid ""
+" - pre: Encloses everything in <pre>...</pre>\n"
+" - list: Makes a list, using <ol>...</ol>\n"
+" - table: Creates an HTML table."
+msgstr ""
+" - pre: Omslut alt af <pre>...</pre>\n"
+" - liste: Laver en liste med <ol>...</ol>\n"
+" - tabel: Opretter en HTML-tabel.."
+
+#. Description
+#: ../uprecords-cgi.templates:17
+msgid "How many records should uprecords.cgi show?"
+msgstr "Hvor mange rekorder skal uprecords.cgi vise?"
+
+#. Description
+#: ../uprecords-cgi.templates:17
+msgid ""
+"While uptimed may keep a large number of uptime records, not all of them are "
+"interesting to the outside world. Thus, you can limit the number of records "
+"that will be shown here."
+msgstr ""
+"Selvom uptimed kan huske et stort antal oppetidsrekorder, er det ikke "
+"allesammen, der vil vÃ¦re interessante for omverdenen. Du kan derfor begrÃ¦nse "
+"antallet af linjer, der bliver vist her."
+
+#. Description
+#: ../uprecords-cgi.templates:24
+msgid "uprecords.cgi has been installed into the webtree"
+msgstr "uprecords.cgi er blevet installeret i web-mappen"
+
+#. Description
+#: ../uprecords-cgi.templates:24
+msgid ""
+"You have installed the uprecords-cgi package. That means that a new CGI "
+"script has been installed, which is now visible to the outside world as "
+"http://${hostname}/cgi-bin/uprecords.cgi (if you didn't modify your "
+"webserver configuration to have CGI scripts in a different place)."
+msgstr ""
+"Du har installeret pakken uprecords-cgi. Det betyder at der er blevet "
+"installeret et CGI-skript, som nu kan ses af omverdenen som http://"
+"${hostname}/cgi-bin/uprecords.cgi (hvis du ikke har Ã¦ndret opsÃ¦tningen af "
+"din webserver, sÃ¥ CGI-skripter placeres et andet sted)."
+
+#. Description
+#: ../uprecords-cgi.templates:24
+msgid ""
+"In the default webserver configuration, CGI scripts are accessible from "
+"anywhere in the world. If you do not want this, you should set up access "
+"restrictions (but who doesn't want to show off with his/her uptimes?)."
+msgstr ""
+"I standardopsÃ¦tningen af webserveren, kan CGI-skripter tilgÃ¥s fra alle i "
+"hele verden. Hvis du ikke Ã¸nsker dette, skal du sÃ¦tte nogle "
+"adgangsrestriktioner op (men hvem Ã¸nsker ikke at blÃ¦re sig med sin oppetid?)."
+
+#. Description
+#: ../uprecords-cgi.templates:24
+msgid ""
+"You may also want to modify the HTML header and footer files in /etc/"
+"uprecords-cgi or tell your webmaster to do so (remember to give him the "
+"necessary permissions then)."
+msgstr ""
+"Du kan ogsÃ¥ vÃ¦lge at Ã¦ndre HTML-top- og bundteksten i /etc/uprecords-cgi "
+"eller bede din webbestyrer om at gÃ¸re dette (husk at give ham de nÃ¸dvendige "
+"adgangsrettigheder)."
+
+#. Description
+#: ../uptimed.templates:4
+msgid "How many seconds should pass between database updates?"
+msgstr "Hvor mange sekunder skal der gÃ¥ mellem opdatering af databasen?"
+
+#. Description
+#: ../uptimed.templates:4
+msgid ""
+"Uptimed will update its database every n seconds so that the uptime doesn't "
+"get lost in case of a system crash. You can set how frequently this will "
+"happen (use higher values if you want to avoid disk activity, for example on "
+"a laptop). 60 seconds should be a reasonable default."
+msgstr ""
+"Uptimed vil opdatere sin database hvert n'de sekund, sÃ¥ oppetiden ikke tabes "
+"i tilfÃ¦lde af et systemnedbrud. Du kan angive hvor ofte dette skal ske "
+"(benyt hÃ¸jere vÃ¦rdier, hvis du vil hindre diskaktivitet, f.eks. pÃ¥ en "
+"bÃ¦rbar). 60 sekunder er en fornuftig standardvÃ¦rdi."
+
+#. Description
+#: ../uptimed.templates:13
+msgid "How many records should be kept?"
+msgstr "Hvor mange rekorder skal huskes?"
+
+#. Description
+#: ../uptimed.templates:13
+msgid ""
+"On systems that reboot frequently (such as desktop PCs), you will get a "
+"fairly large list of uptime records pretty soon. To avoid this, uptimed will "
+"only keep the n highest uptimes. You may want to limit this to a lower value "
+"if you want to get emails each time a record is broken or reboot your "
+"machine often. 10 is a nice value."
+msgstr ""
+"PÃ¥ systemer, der genstarter ofte (sÃ¥som skrivebords-PC'er), fÃ¥r du hurtigt "
+"samlet en ret lang liste med oppetids-rekorder. For at undgÃ¥ dette, vil "
+"uptimed kun bevare de n lÃ¦ngste oppetider. Du kan Ã¸nske at begrÃ¦nse det til "
+"et lavere antal, hvis du Ã¸nsker at fÃ¥ tilsendt breve hver gang en rekord "
+"bliver brudt eller du genstarter din maskine ofte. 10 er en god vÃ¦rdi."
+
+#. Choices
+#: ../uptimed.templates:22
+msgid "Never, Record, Milestone, Both"
+msgstr "Aldrig, Rekord, MilepÃ¦l, Begge"
+
+#. Description
+#: ../uptimed.templates:24
+msgid "Send mails if a milestone or record is reached?"
+msgstr "Send breve hvis en milepÃ¦l eller rekord bliver nÃ¥et?"
+
+#. Description
+#: ../uptimed.templates:24
+msgid ""
+"Uptimed can be configured to send a mail each time a record is broken or a "
+"\"milestone\" is reached. You can choose whether you"
+msgstr ""
+"Uptimed kan sÃ¦ttes op sÃ¥ den sender et brev hver gang en rekord bliver brudt "
+"eller en \"milepÃ¦l\" nÃ¥s. Du kan vÃ¦lge om du"
+
+#. Description
+#: ../uptimed.templates:24
+msgid ""
+" - never want to receive these mails\n"
+" - want to be notified only when a record is broken\n"
+" - would like to know about milestones\n"
+" - are interested in both"
+msgstr ""
+" - aldrig vil modtage disse breve\n"
+" - kun vil have besked nÃ¥r en rekord brydes\n"
+" - vil have besked om milepÃ¦le\n"
+" - er interesseret i begge dele"
+
+#. Description
+#: ../uptimed.templates:36
+msgid "Where should uptimed send its mails to?"
+msgstr "Hvortil skal uptimed sende sine breve?"
+
+#. Description
+#: ../uptimed.templates:36
+msgid ""
+"Since you have chosen to be sent emails, you should specify where to send "
+"these mails. The default \"root@localhost\" makes sort of sense, but if you "
+"are one of many sysadmins and you are unsure whether the other admins want "
+"to get these mails, you should probably set this to your real address."
+msgstr ""
+"Da du har valgt at fÃ¥ tilsendt breve, skal du angive hvortil disse skal "
+"sendes. Som udgangspunkt giver det mening at bruge \"root@localhost\", men "
+"hvis du er en ud af mange systemadministratorer og ikke er sikker pÃ¥ at de "
+"andre vil have disse breve, bÃ¸r du nok angive din rigtige e-postadresse."
+
+#. Description
+#: ../uptimed.templates:44
+msgid "Milestone configuration should be done manually"
+msgstr "OpsÃ¦tning af milepÃ¦le skal foretages manuelt"
+
+#. Description
+#: ../uptimed.templates:44
+msgid ""
+"While all other configuration options can be set here, the milestones must "
+"be configured manually in /etc/uptimed.conf. Since you have chosen to "
+"receive emails for milestones you may probably want to edit that file."
+msgstr ""
+"Selvom al anden opsÃ¦tning kan ske her, er opsÃ¦tningen af milepÃ¦le nÃ¸dt til "
+"at blive foretaget manuelt i /etc/uptimed.conf. Da du har valgt at modtage "
+"breve for milepÃ¦le, bÃ¸r du redigere denne fil."
--- uptimed-0.3.2.orig/debian/po/ca.po
+++ uptimed-0.3.2/debian/po/ca.po
@@ -0,0 +1,212 @@
+# uptimed (debconf) translation to Catalan.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Aleix Badia i Bosch <abadia@ica.es>, 2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: uptimed_1:0.3.1-1_templates\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2004-06-02 06:42+0200\n"
+"PO-Revision-Date: 2004-03-05 19:46GMT\n"
+"Last-Translator: Aleix Badia i Bosch <abadia@ica.es>\n"
+"Language-Team: Catalan <debian-l10n-catalan@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Choices
+#: ../uprecords-cgi.templates:3
+msgid "pre, list, table"
+msgstr "pre, list, table"
+
+#. Description
+#: ../uprecords-cgi.templates:5
+msgid "Which format should uprecords.cgi use?"
+msgstr "Quin format ha d'utilitzar l'uprecords.cgi?"
+
+#. Description
+#: ../uprecords-cgi.templates:5
+msgid ""
+"The uprecords CGI script has different ways of doing a proper display "
+"layout. Which method you want to use depends mainly on your personal "
+"preference. Available options are:"
+msgstr ""
+"La seqncia CGI de l'uprecords disposa de diferents mtodes per generar un "
+"format de visualitzaci correcte. El mtode a utilitzar depn de les vostres "
+"preferncies personals. Les opcions disponibles sn:"
+
+#. Description
+#: ../uprecords-cgi.templates:5
+msgid ""
+" - pre: Encloses everything in <pre>...</pre>\n"
+" - list: Makes a list, using <ol>...</ol>\n"
+" - table: Creates an HTML table."
+msgstr ""
+" - pre: inclou tot el que estigui entre <pre>...</pre>\n"
+" - list: genera una llista utilitzant <ol>...</ol>\n"
+" - table: crea una taula d'HTML."
+
+#. Description
+#: ../uprecords-cgi.templates:17
+msgid "How many records should uprecords.cgi show?"
+msgstr "Quants registre ha de mostrar l'uprecords.cgi?"
+
+#. Description
+#: ../uprecords-cgi.templates:17
+msgid ""
+"While uptimed may keep a large number of uptime records, not all of them are "
+"interesting to the outside world. Thus, you can limit the number of records "
+"that will be shown here."
+msgstr ""
+"Tot i que l'uptimed mantingui un gran nombre de registre de l'uptime, no "
+"tots sn interessants per a l'exterior. s per aix que hi podeu limitar el "
+"nombre de registre que es mostraran."
+
+#. Description
+#: ../uprecords-cgi.templates:24
+msgid "uprecords.cgi has been installed into the webtree"
+msgstr "s'ha installat l'uprecords.cgi a l'arbre de la web"
+
+#. Description
+#: ../uprecords-cgi.templates:24
+msgid ""
+"You have installed the uprecords-cgi package. That means that a new CGI "
+"script has been installed, which is now visible to the outside world as "
+"http://${hostname}/cgi-bin/uprecords.cgi (if you didn't modify your "
+"webserver configuration to have CGI scripts in a different place)."
+msgstr ""
+"Heu installat el paquet uprecords-cgi. S'ha installat una nova seqncia CGI "
+"que s visible des de l'exterior a travs de l'adrea http://${hostname}/cgi-"
+"bin/uprecords.cgi (si no heu modificat la configuraci del servidor web per "
+"situar les seqncies en una ubicaci diferent)."
+
+#. Description
+#: ../uprecords-cgi.templates:24
+msgid ""
+"In the default webserver configuration, CGI scripts are accessible from "
+"anywhere in the world. If you do not want this, you should set up access "
+"restrictions (but who doesn't want to show off with his/her uptimes?)."
+msgstr ""
+"Les seqncies CGI sn accessibles, per defecte, des de qualsevol lloc de "
+"l'exterior. Si voleu modificar aquesta caracterstica heu de definir "
+"restriccions d'accs (per qui no vol fardar dels seus uptime?)."
+
+#. Description
+#: ../uprecords-cgi.templates:24
+msgid ""
+"You may also want to modify the HTML header and footer files in /etc/"
+"uprecords-cgi or tell your webmaster to do so (remember to give him the "
+"necessary permissions then)."
+msgstr ""
+"Segurament tamb voldreu modificar els fitxers de capalera i peu de pgina "
+"d'HTML de /etc/uprecords-cgi o delegar-ho a l'administrador de la web "
+"(recordeu donar-li els permisos necessaris)."
+
+#. Description
+#: ../uptimed.templates:4
+msgid "How many seconds should pass between database updates?"
+msgstr ""
+"Quants segons han de passar entre les actualitzacions de les bases de dades?"
+
+#. Description
+#: ../uptimed.templates:4
+msgid ""
+"Uptimed will update its database every n seconds so that the uptime doesn't "
+"get lost in case of a system crash. You can set how frequently this will "
+"happen (use higher values if you want to avoid disk activity, for example on "
+"a laptop). 60 seconds should be a reasonable default."
+msgstr ""
+"L'uptimed actualitzar la base de dades cada n segons perqu l'uptime no es "
+"perdi en cas de produir-se una fallada del sistema. Podeu definir la "
+"freqncia de les actualitzacions (utilitzeu valors alts si voleu evitar "
+"l'activitat del disc, per exemple en un ordinador porttil). 60 segon s un "
+"valor predeterminat raonable."
+
+#. Description
+#: ../uptimed.templates:13
+msgid "How many records should be kept?"
+msgstr "Quants registres s'han de mantenir?"
+
+#. Description
+#: ../uptimed.templates:13
+msgid ""
+"On systems that reboot frequently (such as desktop PCs), you will get a "
+"fairly large list of uptime records pretty soon. To avoid this, uptimed will "
+"only keep the n highest uptimes. You may want to limit this to a lower value "
+"if you want to get emails each time a record is broken or reboot your "
+"machine often. 10 is a nice value."
+msgstr ""
+"En els sistemes que es reinicien sovint obtindreu una llista de registres "
+"d'uptime llarga i en un interval de temps relativament curt (com els "
+"ordinadors de sobre taula). Per evitar-ho l'uptimed noms mantindr els uptime "
+"ms grans. Probablement ho voldreu limitar a un valor ms baix si voleu rebre "
+"un correu cada vegada que hi hagi un error en un registre o reinicieu "
+"l'ordinador sovint. El 10 s un valor raonable."
+
+#. Choices
+#: ../uptimed.templates:22
+msgid "Never, Record, Milestone, Both"
+msgstr "Never, Record, Milestone, Both"
+
+#. Description
+#: ../uptimed.templates:24
+msgid "Send mails if a milestone or record is reached?"
+msgstr "S'han d'enviar correus si s'assoleix una fita o un registre?"
+
+#. Description
+#: ../uptimed.templates:24
+msgid ""
+"Uptimed can be configured to send a mail each time a record is broken or a "
+"\"milestone\" is reached. You can choose whether you"
+msgstr ""
+"L'uptimed es pot configurar perqu envi un correu cada vegada que es "
+"produeixi un error en un registre o s'assoleixi una \"fita\". Podeu escollir "
+"l'opci que considereu ms interessant."
+
+#. Description
+#: ../uptimed.templates:24
+msgid ""
+" - never want to receive these mails\n"
+" - want to be notified only when a record is broken\n"
+" - would like to know about milestones\n"
+" - are interested in both"
+msgstr ""
+" - no es volen rebre els correus\n"
+" - es vol rebre la notificaci d'un error en un registre\n"
+" - es vol rebre informaci quant a les fites\n"
+" - s'est interessat en ambds"
+
+#. Description
+#: ../uptimed.templates:36
+msgid "Where should uptimed send its mails to?"
+msgstr "On s'han d'enviar els correus de l'uptimed?"
+
+#. Description
+#: ../uptimed.templates:36
+msgid ""
+"Since you have chosen to be sent emails, you should specify where to send "
+"these mails. The default \"root@localhost\" makes sort of sense, but if you "
+"are one of many sysadmins and you are unsure whether the other admins want "
+"to get these mails, you should probably set this to your real address."
+msgstr ""
+"Ja que heu escollit que s'envin correus heu d'especificar on s'han d'enviar. "
+"L'adrea predeterminada \"root@localhost\" s lgica, per si sou un de mltiples "
+"administradors de sistemes i no esteu segur de que els altres vulguin rebre "
+"els correus, podeu especificar la vostra adrea real."
+
+#. Description
+#: ../uptimed.templates:44
+msgid "Milestone configuration should be done manually"
+msgstr "La configuraci de les fites s'ha de realitzar manualment"
+
+#. Description
+#: ../uptimed.templates:44
+msgid ""
+"While all other configuration options can be set here, the milestones must "
+"be configured manually in /etc/uptimed.conf. Since you have chosen to "
+"receive emails for milestones you may probably want to edit that file."
+msgstr ""
+"Tot i que la resta d'opcions de configuraci s'hi poden especificar, les "
+"fites s'han de configurar manualment a /etc/uptimed.conf. Com que heu "
+"escollit rebre correus de les fites probablement voldreu editar aquest "
+"fitxer."
--- uptimed-0.3.2.orig/debian/uptimed.sh
+++ uptimed-0.3.2/debian/uptimed.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+# /etc/init.d/uptimed.sh: initiate uptimed
+
+test -x /usr/sbin/uptimed || exit 0
+
+case "$1" in
+    start)
+	/usr/sbin/uptimed -b
+        ;;
+
+    stop|force-reload|restart)
+        ;;
+
+    *)
+        echo "Usage: $0 {start|stop|restart|force-reload}"
+        exit 1
+esac
+
+exit 0
--- uptimed-0.3.2.orig/debian/uptimed.docs
+++ uptimed-0.3.2/debian/uptimed.docs
@@ -0,0 +1,3 @@
+README
+README.unsupported
+TODO
--- uptimed-0.3.2.orig/debian/uprecords-cgi.config
+++ uptimed-0.3.2/debian/uprecords-cgi.config
@@ -0,0 +1,50 @@
+#! /bin/sh
+
+. /usr/share/debconf/confmodule
+
+db_version 2.0
+db_capb 'backup'
+CAPB=$RET
+
+if [ -f /etc/uprecords-cgi/uprecords.conf ]; then
+	LAYOUT=`grep '^LAYOUT=' /etc/uprecords-cgi/uprecords.conf |
+	    head -1 |
+	    sed -e 's/^LAYOUT=//'`
+	MAXENTRIES=`grep '^SHOW_MAX=' /etc/uprecords-cgi/uprecords.conf |
+	    head -1 |
+	    sed -e 's/^SHOW_MAX=//'`
+	if [ -n "$LAYOUT" ]; then db_set 'uprecords-cgi/layout' $LAYOUT; fi
+	if [ -n "$MAXENTRIES" ]; then
+		db_set 'uprecords-cgi/maxentries' $MAXENTRIES
+	fi
+fi
+
+STATE=1
+while [ "$STATE" != 0 -a "$STATE" != 3 ]; do
+	case "$STATE" in
+	1)
+		db_input medium 'uprecords-cgi/layout'
+	;;
+	2)
+		db_input medium 'uprecords-cgi/maxentries'
+	;;
+	esac
+
+	if db_go; then
+		STATE=$(($STATE + 1))
+	else
+		STATE=$(($STATE - 1))
+	fi
+done
+
+hostname=`hostname --fqdn`
+
+if [ -z "$hostname" ]; then
+	hostname='localhost'
+fi
+
+db_subst 'uprecords-cgi/install_note' hostname $hostname
+db_input low 'uprecords-cgi/install_note' || true
+db_go || true
+
+db_stop
--- uptimed-0.3.2.orig/debian/uptimed.config
+++ uptimed-0.3.2/debian/uptimed.config
@@ -0,0 +1,68 @@
+#! /usr/bin/perl -w
+
+use strict;
+
+use Debconf::Client::ConfModule ':all';
+
+version('2.0');
+my $capb = capb('backup');
+
+my $sendmails = 0;
+my $havemilestones = 0;
+
+# Step 1: Put the current settings into the DebConf database
+#         Invalid values are ignored
+
+if (open(CONFIG, '/etc/uptimed.conf')) {
+	while(<CONFIG>) {
+		chomp;
+		(/^UPDATE_INTERVAL=[0-9]*/) && do {
+			s/^UPDATE_INTERVAL=//;
+			set('uptimed/interval', $_); };
+		(/^MAX_ENTRIES=[0-9]*/) && do {
+			s/^MAX_ENTRIES=//;
+			set('uptimed/maxrecords', $_); };
+		(/^EMAIL=[a-zA-Z0-9.-]+@[a-zA-Z0-9.%-]+/) && do {
+			s/^EMAIL=//;
+			set('uptimed/mail/address', $_); };
+		(/^SEND_EMAIL=/) && do {
+			s/^SEND_EMAIL=//;
+			if($_ > 0) {
+				$sendmails = $_;
+			} else {
+				$sendmails = 0;
+			} };
+	};
+	if ($sendmails == 1) {
+		set('uptimed/mail/do_mail', 'Both');
+	} else {if ($sendmails == 2) {
+		set('uptimed/mail/do_mail', 'Milestone');
+	} else {if ($sendmails == 3) {
+		set('uptimed/mail/do_mail', 'Record');
+	} else {
+		set('uptimed/mail/do_mail', 'Never');
+	}; }; };
+};
+
+# Step 2: Ask the user whether he wants to change something
+
+my $state = 1;
+
+while(($state > 0) && ($state <= 5)) {
+	($state == 1) && input('medium', 'uptimed/maxrecords');
+	($state == 2) && input('medium', 'uptimed/mail/do_mail');
+	($state == 3) && (get('uptimed/mail/do_mail') ne 'Never') &&
+		input('medium', 'uptimed/mail/address');
+	($state == 4) && (get('uptimed/mail/do_mail') eq 'Both') &&
+		input('medium', 'uptimed/mail/milestones_info');
+	($state == 5) && input('low', 'uptimed/interval');
+
+	go;
+	if($? == 30) {
+		$state -= 1;
+	} else {
+		$state += 1;
+	}
+}
+
+stop;
--- uptimed-0.3.2.orig/debian/uprecords-cgi.examples
+++ uptimed-0.3.2/debian/uprecords-cgi.examples
@@ -0,0 +1,2 @@
+sample-cgi/uprecords.header
+sample-cgi/uprecords.footer
--- uptimed-0.3.2.orig/debian/uprecords-cgi.links
+++ uptimed-0.3.2/debian/uprecords-cgi.links
@@ -0,0 +1 @@
+usr/bin/uprecords usr/lib/cgi-bin/uprecords.cgi
--- uptimed-0.3.2.orig/debian/uprecords-cgi.templates
+++ uptimed-0.3.2/debian/uprecords-cgi.templates
@@ -0,0 +1,36 @@
+Template: uprecords-cgi/layout
+Type: select
+_Choices: pre, list, table
+Default: pre
+_Description: Which format should uprecords.cgi use?
+ The uprecords CGI script has different ways of doing a proper display
+ layout. Which method you want to use depends mainly on your personal
+ preference. Available options are:
+ .
+  - pre: Encloses everything in <pre>...</pre>
+  - list: Makes a list, using <ol>...</ol>
+  - table: Creates an HTML table.
+
+Template: uprecords-cgi/maxentries
+Type: string
+Default: 10
+_Description: How many records should uprecords.cgi show?
+ While uptimed may keep a large number of uptime records, not all of them
+ are interesting to the outside world. Thus, you can limit the number of
+ records that will be shown here.
+
+Template: uprecords-cgi/install_note
+Type: note
+_Description: uprecords.cgi has been installed into the webtree
+ You have installed the uprecords-cgi package. That means that a new CGI
+ script has been installed, which is now visible to the outside world as
+ http://${hostname}/cgi-bin/uprecords.cgi (if you didn't modify your
+ webserver configuration to have CGI scripts in a different place).
+ .
+ In the default webserver configuration, CGI scripts are accessible from
+ anywhere in the world. If you do not want this, you should set up access
+ restrictions (but who doesn't want to show off with his/her uptimes?).
+ .
+ You may also want to modify the HTML header and footer files in
+ /etc/uprecords-cgi or tell your webmaster to do so (remember to give him
+ the necessary permissions then).
--- uptimed-0.3.2.orig/debian/uptimed.init.d
+++ uptimed-0.3.2/debian/uptimed.init.d
@@ -0,0 +1,44 @@
+#! /bin/sh
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/uptimed
+NAME=uptimed
+DESC="uptime daemon"
+
+test -f $DAEMON || exit 0
+
+case "$1" in
+  start)
+	echo -n "Starting $DESC: "
+	start-stop-daemon --start --quiet --user daemon --chuid daemon --exec $DAEMON
+	echo "$NAME."
+	;;
+  stop)
+	echo -n "Stopping $DESC: "
+	start-stop-daemon --stop --quiet --user daemon --oknodo --exec $DAEMON
+	echo "$NAME."
+	;;
+  restart|force-reload)
+	echo -n "Restarting $DESC: "
+	start-stop-daemon --stop --quiet --user daemon --oknodo --exec $DAEMON
+	sleep 1
+	start-stop-daemon --start --quiet --user daemon --chuid daemon --exec $DAEMON
+	echo "$NAME."
+	;;
+  restart-if-running)
+	set +e
+	echo -n "Restarting $DESC (if running): "
+	if start-stop-daemon --stop --quiet --user daemon --exec $DAEMON; then
+		sleep 1
+		start-stop-daemon --start --quiet --user daemon --chuid daemon --exec $DAEMON
+	fi
+	echo "$NAME."
+	;;
+  *)
+	N=/etc/init.d/$NAME
+	echo "Usage: $N {start|stop|restart|force-reload}" >&2
+	exit 1
+	;;
+esac
+
+exit 0
--- uptimed-0.3.2.orig/debian/libuptimed.dirs
+++ uptimed-0.3.2/debian/libuptimed.dirs
@@ -0,0 +1,2 @@
+usr/lib
+
--- uptimed-0.3.2.orig/debian/libuptimed.files
+++ uptimed-0.3.2/debian/libuptimed.files
@@ -0,0 +1,5 @@
+usr/lib/libuptimed.a
+usr/lib/libuptimed.la
+usr/lib/libuptimed.so
+usr/lib/libuptimed.so.0
+usr/lib/libuptimed.so.0.0.0
--- uptimed-0.3.2.orig/debian/shlibs.local
+++ uptimed-0.3.2/debian/shlibs.local
@@ -0,0 +1 @@
+libuptimed 0 libuptimed
--- uptimed-0.3.2.orig/debian/uptimed.files
+++ uptimed-0.3.2/debian/uptimed.files
@@ -0,0 +1,6 @@
+etc/uptimed.conf
+usr/bin/uprecords
+usr/sbin/uptimed
+usr/share/man/man1/uprecords.1
+usr/share/man/man8/uptimed.8
+usr/share/man/man5/uptimed.conf.5
\ No newline at end of file
--- uptimed-0.3.2.orig/debian/uptimed.dirs
+++ uptimed-0.3.2/debian/uptimed.dirs
@@ -0,0 +1,2 @@
+var/spool/uptimed
+usr/share/man/man5
--- uptimed-0.3.2.orig/debian/uptimed.conf.5
+++ uptimed-0.3.2/debian/uptimed.conf.5
@@ -0,0 +1,123 @@
+.\" This manpage has been automatically generated by docbook2man-spec
+.\" from a DocBook document.  docbook2man-spec can be found at:
+.\" <http://shell.ipoline.com/~elmert/hacks/docbook2X/> 
+.\" Please send any bug reports, improvements, comments, patches, 
+.\" etc. to Steve Cheng <steve@ggi-project.org>.
+.TH "UPTIMED.CONF" "5" "21 Dezember 2003" "uptimed.conf" ""
+.SH NAME
+uptimed.conf \- The configuration file for uptimed(8)
+.SH "DESCRIPTION"
+.PP
+
+\fIuptimed.conf\fR contains a list of key-value
+pairs to configure the behaviour of \fBuptimed\fR(8),
+comments start with \fB#\fR.
+The beginning of \fIuptimed.conf\fR might look like
+the following:
+.PP
+.sp
+.RS
+.sp
+.nf
+# Uptimed configuration file.
+
+# Interval to write the logfile with in seconds.
+UPDATE_INTERVAL=60
+
+# Maximum number of entries in logfile. Set to 0 for unlimited.
+LOG_MAXIMUM_ENTRIES=50
+.sp
+.fi
+.RE
+.sp
+.PP
+The variables LOG_MINIMUM_UPTIMED, 
+MAIL_MINIMUM_UPTIME and MILESTONE
+expect a time unit which are encoded by a single letter. 
+\fBh\fR is used for hour,
+\fBd\fR is used for day, 
+\fBw\fR is used for weeks and
+\fBy\fR is used for years. Default (nothings specified)
+is seconds.
+.PP
+The default \fIuptimed.conf\fR is quite well commented so
+you should be able to use it as a basis. The following keys are supported:
+.PP
+.TP
+\fBUPDATE_INTERVAL\fR
+Interval to write the logfile with in seconds, e.g. 60.
+.TP
+\fBLOG_MAXIMUM_ENTRIES\fR
+Maximum number of entries in logfile, e.g. 50. Set to 0 for unlimited.
+.TP
+\fBLOG_MINIMUM_UPTIMED\fR
+Minimum uptime that must be reached to be considered a record.
+.TP
+\fBMAIL_MINIMUM_UPTIME\fR
+Minimum uptime before sending out e-mail.
+.TP
+\fBMAIL_MINIMUM_POSITION\fR
+Minimum position in uptime ranking before sending out e-mail.
+.TP
+\fBEMAIL\fR
+Email address to mail milestones/records to.
+Assumes \fBsendmail\fR(8) compatible MTA 
+installed as \fI/usr/lib/sendmail\fR.
+You can enable this with SEND_EMAIL or with the 
+\fB-e\fR option on the commandline.
+.TP
+\fBSEND_EMAIL\fR
+Controls if email is sent. Use \fB0\fR if you never want
+an email, \fB1\fR if you want emails for both milestones and
+records, \fB2\fR if you want emails only for milestones and
+\fB3\fR if you want emails only for records.
+.TP
+\fBSENDMAIL\fR
+Command to call a sendmail compatible mailer,
+e.g. /usr/lib/sendmail -t.
+.TP
+\fBPIDFILE\fR
+Path to store PID file, e.g.
+\fI/var/run/uptimed\fR
+.TP
+\fBMILESTONE\fR
+Configurable milestones. 
+Syntax is pretty easy: MILESTONE=time:description.
+Keep in mind that the description needs to fit in the window. 
+
+.SS "EXAMPLE FOR MILESTONE SETTINGS"
+.sp
+.RS
+.sp
+.nf
+MILESTONE=5d:five days
+MILESTONE=10d:ten days
+MILESTONE=25d:twenty-five days
+MILESTONE=50d:fifty days
+MILESTONE=10w:ten weeks
+MILESTONE=75d:seventy-five days
+MILESTONE=100d:hundred days
+MILESTONE=150d:hundred and fifty days
+MILESTONE=25w:twenty-five weeks
+MILESTONE=200d:two hundred days
+MILESTONE=250d:250 days
+MILESTONE=300d:three hundred days
+MILESTONE=50w:fifty weeks
+MILESTONE=1y:one year
+MILESTONE=400d:four hundred days
+MILESTONE=500d:five hundred days
+MILESTONE=100w:hundred weeks
+MILESTONE=750d:750 days
+MILESTONE=1000d:thousand days
+.sp
+.fi
+.RE
+.sp
+.SH "AUTHOR"
+.PP
+This man page was written by Helge Kreutzmann
+<kreutzm@itp.uni-hannover.de> for the Debian GNU/Linux project but
+may be used by others.
+.SH "SEE ALSO"
+.PP
+\fBuptimed\fR(8), \fBuprecords\fR(1)
