--- timelimit-1.4.orig/debian/copyright
+++ timelimit-1.4/debian/copyright
@@ -0,0 +1,65 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?recall=184
+Upstream-Name: timelimit
+Upstream-Source: http://devel.ringlet.net/sysutils/timelimit/
+
+Files: config.h, timelimit.c
+Author: Peter Pentchev <roam@ringlet.net>
+Copyright: Copyright (c) 2001, 2007, 2008  Peter Pentchev
+License: BSD-2
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions
+  are met:
+  1. Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+  2. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in the
+     documentation and/or other materials provided with the distribution.
+  .
+  THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+  ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+  OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+  SUCH DAMAGE.
+
+Files: Makefile
+Author: Peter Pentchev <roam@ringlet.net>
+Copyright: Copyright (c) 2001, 2007  Peter Pentchev
+License: BSD-2
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions
+  are met:
+  1. Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+  2. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in the
+     documentation and/or other materials provided with the distribution.
+  .
+  THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+  ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+  OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+  SUCH DAMAGE.
+
+Files: debian/*
+Author: Peter Pentchev <roam@ringlet.net>
+Copyright: Copyright (C) 2007, 2008 Peter Pentchev
+License: GPL-2+
+  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.
+  .
+  On Debian systems, the complete text of the GNU General Public License
+  can be found in file "/usr/share/common-licenses/GPL".
--- timelimit-1.4.orig/debian/watch
+++ timelimit-1.4/debian/watch
@@ -0,0 +1,3 @@
+version = 3
+
+http://devel.ringlet.net/sysutils/timelimit/ timelimit-([\d\.]*).tar.gz
--- timelimit-1.4.orig/debian/control
+++ timelimit-1.4/debian/control
@@ -0,0 +1,20 @@
+Source: timelimit
+Section: utils
+Priority: optional
+Maintainer: Peter Pentchev <roam@ringlet.net>
+Uploaders: Christoph Berg <myon@debian.org>
+Build-Depends: debhelper (>= 7)
+Standards-Version: 3.8.0
+Vcs-Browser: http://svn.ringlet.net/cgi-bin/viewvc/viewvc.cgi/ringlet/sysutils/timelimit/
+Vcs-svn: http://svn.ringlet.net/svn/ringlet/sysutils/timelimit/
+Homepage: http://devel.ringlet.net/sysutils/timelimit/
+
+Package: timelimit
+Architecture: any
+Depends: ${shlibs:Depends}
+Conflicts: netpipes
+Description: Simple utility to limit a process's absolute execution time
+ The timelimit utility executes a command and terminates the spawned process
+ after a given time with a given signal.  A "warning" signal is sent first,
+ then, after a timeout, a "kill" signal, similar to the way init(8) operates
+ on shutdown.
--- timelimit-1.4.orig/debian/rules
+++ timelimit-1.4/debian/rules
@@ -0,0 +1,40 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Debhelper build instructions for timelimit.
+
+CFLAGS+=	-pipe -Wall -W -ansi -pedantic -Wbad-function-cast \
+		-Wcast-align -Wcast-qual -Wchar-subscripts -Winline \
+		-Wmissing-prototypes -Wnested-externs -Wpointer-arith \
+		-Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
+ifneq (,$(filter werror,$(DEB_BUILD_OPTIONS)))
+	CFLAGS+=	-Werror
+endif
+ifeq (,$(filter nohardening,$(DEB_BUILD_OPTIONS)))
+export DEB_BUILD_HARDENING=1
+else
+export DEB_BUILD_HARDENING=0
+endif
+
+build:
+	dh "$@"
+
+clean:
+	dh "$@"
+
+install: build
+	dh "$@" --before dh_auto_install
+	dh_auto_install -- PREFIX=/usr MANDIR=/usr/share/man/man \
+	  BINGRP=root MANGRP=root
+	dh "$@" --remaining
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh "$@"
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- timelimit-1.4.orig/debian/compat
+++ timelimit-1.4/debian/compat
@@ -0,0 +1 @@
+7
--- timelimit-1.4.orig/debian/changelog
+++ timelimit-1.4/debian/changelog
@@ -0,0 +1,71 @@
+timelimit (1.4-1~bpo50+1) lenny-backports; urgency=low
+
+  * Rebuild for lenny-backports.
+
+ -- Christoph Berg <myon@debian.org>  Mon, 20 Apr 2009 16:31:29 +0200
+
+timelimit (1.4-1) unstable; urgency=low
+
+  * New upstream version
+    - fixes the options processing - does not try to parse the options
+      passed to the executed program.  Closes: #505140.
+
+ -- Peter Pentchev <roam@ringlet.net>  Wed, 12 Nov 2008 11:31:03 +0200
+
+timelimit (1.3-1) unstable; urgency=low
+
+  * New upstream version
+    - returns the child process exit code instead of always exiting
+      with 0.  Closes: #494629.
+  * Update debian/copyright since the different source files have
+    different copyright years now.
+  * Add many more warning options to CFLAGS, just in case.
+
+ -- Peter Pentchev <roam@ringlet.net>  Wed, 03 Sep 2008 16:54:36 +0300
+
+timelimit (1.1-3) unstable; urgency=low
+
+  * Fix the watchfile
+  * Remove the $Ringlet VCS tags from the watchfile and the rules file
+  * Bump standards version to 3.8.0 (no changes)
+  * Leave "noopt" and "nostrip" option processing to dpkg-buildpackage
+  * Honor the "werror" build option
+  * Enable build hardening, disabled by the "nohardening" build option
+  * Use debhelper 7 to minimize the rules file
+  * Convert the copyright to the machine-parseable format and bump
+    the Debian packaging copyright year
+
+  * debian/compat
+    - bump the debhelper compatibility level to 7
+  * debian/control
+    - standards version 3.8.0 (no changes)
+    - bump the debhelper dependency to version 7
+  * debian/copyright
+    - fully convert this file to the machine-parseable format
+    - bump the debian/* copyright year
+  * debian/rules
+    - remove the $Ringlet VCS tag
+    - let dpkg-buildpackage handle the "noopt" and "nostrip" options and
+      set the default CFLAGS
+    - pass -Werror to the C compiler if the non-standard "werror" option
+      is set in DEB_BUILD_OPTIONS
+    - enable build hardening unless "nohardening" is set in DEB_BUILD_OPTIONS
+    - use debhelper 7's "dh" wrapper for most tasks
+  * debian/watch
+    - remove a blank line so that the first non-comment line is indeed
+      the "version" one as uscan requires
+    - remove the $Ringlet VCS tag
+
+ -- Peter Pentchev <roam@ringlet.net>  Fri, 18 Jul 2008 14:35:08 +0300
+
+timelimit (1.1-2) unstable; urgency=low
+
+  * Conflict with netpipes (Closes: #457444).
+
+ -- Peter Pentchev <roam@ringlet.net>  Sun, 23 Dec 2007 03:06:56 +0200
+
+timelimit (1.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #453290).
+
+ -- Peter Pentchev <roam@ringlet.net>  Wed, 19 Dec 2007 17:34:32 +0200
