--- svtools-0.5.orig/debian/changelog
+++ svtools-0.5/debian/changelog
@@ -0,0 +1,89 @@
+svtools (0.5-4) unstable; urgency=low
+
+  * Updated to debhelper 7 and debian policy 3.8.1
+  * Changed recommended packages back to "daemontools" because it's
+    now no longer an installer package.
+  * Applied upstream patch to include proper short descriptions in
+    man-pages.
+
+ -- Klaus Reimer <kay@debian.org>  Fri, 13 Mar 2009 08:48:17 +0000
+
+svtools (0.5-3) unstable; urgency=low
+
+  * Recommend only daemontools-installer because daemontools never can
+    be satisfied.
+
+ -- Klaus Reimer <kay@debian.org>  Sat, 10 Apr 2004 13:44:44 +0200
+
+svtools (0.5-2) unstable; urgency=low
+
+  * Added a README.Debian to explain the installation of daemontools
+  * Changed Suggest to Recommend.
+
+ -- Klaus Reimer <kay@debian.org>  Thu, 18 Mar 2004 16:16:47 +0100
+
+svtools (0.5-1) unstable; urgency=low
+
+  * New upstream version which now uses --follow=name instead of
+    -fname (Closes: #216047, #216049)
+
+ -- Klaus Reimer <kay@debian.org>  Wed, 28 Jan 2004 17:56:00 +0200
+
+svtools (0.4-1) unstable; urgency=low
+
+  * New upstream version (Closes: #193497)
+
+ -- Klaus Reimer <kay@debian.org>  Sun,  1 Jun 2003 12:38:03 +0200
+
+svtools (0.3-1) unstable; urgency=high
+
+  * New upstream release. Closes: #183033, #183040, #183037
+
+ -- Klaus Reimer <kay@debian.org>  Sun,  2 Mar 2003 12:11:01 +0100
+
+svtools (0.2-2) unstable; urgency=low
+
+  * Fixed missing build-dep to help2man (Closes: #171862)
+
+ -- Klaus Reimer <kay@debian.org>  Sat, 21 Dec 2002 14:17:53 +0100
+
+svtools (0.2-1) unstable; urgency=low
+
+  * New upstream version. Removed a lot of bashisms (Closes: #149443)
+
+ -- Klaus Reimer <kay@debian.org>  Sun,  9 Jun 2002 14:52:16 +0200
+
+svtools (0.1-5) unstable; urgency=low
+
+  * Updated debian control files.
+  * Initial upload. Closes: #144349.
+
+ -- Klaus Reimer <kay@debian.org>  Wed, 24 Apr 2002 12:57:26 +0200
+
+svtools (0.1-4) unstable; urgency=low
+
+  * Reconstructed package.
+
+ -- Klaus Reimer <kay@debian.org>  Tue, 26 Jun 2001 10:34:37 +0200
+
+svtools (0.1-3) unstable; urgency=low
+
+  * Applied upstream patch
+
+ -- Klaus Reimer <kay@debian.org>  Fri, 23 Feb 2001 16:09:27 +0100
+
+svtools (0.1-2) unstable; urgency=low
+
+  * Applied upstream patch
+
+ -- Klaus Reimer <kay@debian.org>  Thu, 22 Feb 2001 11:56:26 +0100
+
+svtools (0.1-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Klaus Reimer <kay@debian.org>  Wed, 21 Feb 2001 11:06:42 +0100
+
+Local variables:
+mode: debian-changelog
+End:
--- svtools-0.5.orig/debian/dirs
+++ svtools-0.5/debian/dirs
@@ -0,0 +1,4 @@
+etc/sv
+var/log/sv
+usr/bin
+usr/sbin
--- svtools-0.5.orig/debian/docs
+++ svtools-0.5/debian/docs
@@ -0,0 +1 @@
+README
--- svtools-0.5.orig/debian/rules
+++ svtools-0.5/debian/rules
@@ -0,0 +1,98 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	#/usr/bin/docbook-to-man debian/svtools.sgml > svtools.1
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	$(MAKE) clean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+
+	# Add here commands to install the package into debian/svtools.
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/svtools PREFIX=/usr MANDIR=/usr/share/man
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs CHANGES
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_python
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# We have nothing to do by default.
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- svtools-0.5.orig/debian/README.Debian
+++ svtools-0.5/debian/README.Debian
@@ -0,0 +1,7 @@
+svtools for Debian
+------------------
+
+This package is of little use if you don't have installed the daemontools
+package. Because of licensing issues daemontools is not distributed as
+a binary package. You have to install the daemontools-installer package
+to compile, build and install the daemontools package.
--- svtools-0.5.orig/debian/control
+++ svtools-0.5/debian/control
@@ -0,0 +1,15 @@
+Source: svtools
+Section: contrib/misc
+Priority: optional
+Maintainer: Klaus Reimer <kay@debian.org>
+Build-Depends: debhelper (>= 7.0.0)
+Build-Depends-Indep: help2man
+Standards-Version: 3.8.1
+
+Package: svtools
+Architecture: all
+Depends: bsdmainutils
+Recommends: daemontools
+Description: Utilities for daemontools and multilog
+ This package provides some useful utilities to maintain supervised
+ services and to handle multilog log files.
--- svtools-0.5.orig/debian/copyright
+++ svtools-0.5/debian/copyright
@@ -0,0 +1,24 @@
+This package was debianized by Klaus Reimer <kay@debian.org> on
+Wed, 24 Apr 2002 12:57:26 +0200.
+
+It was downloaded from http://www.ailis.de/~k/projects/svtools/
+
+Copyright:
+
+Copyright (C) 2001-2003  Klaus Reimer <k@ailis.de>
+
+This program 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 program 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.
+
+A copy of the GNU General Public License is available as
+/usr/share/common-licenses/GPL in the Debian GNU/Linux distribution
+or on the World Wide Web at http://www.gnu.org/copyleft/gpl.html.
+You can also obtain it by writing to the Free Software Foundation, Inc.,
+51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
--- svtools-0.5.orig/debian/compat
+++ svtools-0.5/debian/compat
@@ -0,0 +1 @@
+7
\ No newline at end of file
--- svtools-0.5.orig/debian/postinst
+++ svtools-0.5/debian/postinst
@@ -0,0 +1,48 @@
+#! /bin/sh
+# postinst script for svtools
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+
+case "$1" in
+    configure)
+        # Fix permissions from previous versions
+        if [ "$2" '<' "1.3-1" ]
+        then
+          chown root:root /etc/sv
+          chown root:root /var/log/sv
+        fi
+
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
