--- inoticoming-0.2.0.orig/debian/rules
+++ inoticoming-0.2.0/debian/rules
@@ -0,0 +1,70 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g -Wextra -Wmissing-prototypes -Wstrict-prototypes
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+config.status: configure
+	dh_testdir
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+	            --prefix=/usr --mandir=\$${prefix}/share/man \
+	            CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+build-indep:
+build-arch: build-arch-stamp
+build: build-arch-stamp
+
+build-arch-stamp: config.status
+	dh_testdir
+	$(MAKE)
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-arch-stamp
+
+	if [ -f config.log -o -f config.status ] ; then \
+		$(MAKE) distclean ;\
+	fi
+	dh_clean
+
+instal: install-arch install-indep
+install-indep: build-indep
+install-arch: build-arch
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	$(MAKE) DESTDIR=$(CURDIR)/debian/inoticoming install
+
+
+binary-indep: build-indep install-indep
+# We have nothing to do
+
+binary-arch: build-arch install-arch
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install install-arch install-indep
--- inoticoming-0.2.0.orig/debian/copyright
+++ inoticoming-0.2.0/debian/copyright
@@ -0,0 +1,22 @@
+This package was debianized by Bernhard R. Link <brlink@debian.org> on
+Sun, 24 Jun 2007 13:41:58 +0200.
+
+The .orig.tar.gz war generated with make dist from the cvs checkout
+and can be downloaded from
+http://alioth.debian.org/project/showfiles.php?group_id=30039
+
+Copyright (C) 2007 Bernhard R. Link
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License version 2 as
+published by the Free Software Foundation.
+
+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.
+
+You should have received a copy of the GNU General Public License with
+your Debian GNU/Linux system, in /usr/share/common-licenses/GPL-2, or with
+the source package as the file COPYING.  If not, write to the Free
+Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+02111-1301  USA.
--- inoticoming-0.2.0.orig/debian/docs
+++ inoticoming-0.2.0/debian/docs
@@ -0,0 +1 @@
+NEWS
--- inoticoming-0.2.0.orig/debian/watch
+++ inoticoming-0.2.0/debian/watch
@@ -0,0 +1,3 @@
+# See uscan(1) for format
+version=3
+http://alioth.debian.org/project/showfiles.php?group_id=30039 .*/inoticoming_(.*).orig.tar.gz
--- inoticoming-0.2.0.orig/debian/changelog
+++ inoticoming-0.2.0/debian/changelog
@@ -0,0 +1,32 @@
+inoticoming (0.2.0-1~bpo40+1) etch-backports; urgency=low
+
+  * backport to etch
+
+ -- Bernhard R. Link <brlink@debian.org>  Thu, 21 Feb 2008 20:53:39 +0100
+
+inoticoming (0.2.0-1) unstable; urgency=low
+
+  * new --initialsearch function to first process files already there
+    (Closes: 438565)
+
+ -- Bernhard R. Link <brlink@debian.org>  Sat, 18 Aug 2007 15:48:34 +0200
+
+inoticoming (0.1.1-1) unstable; urgency=low
+
+  * make stdout line buffered in --foreground mode
+  * fix another misspelling ("forground") (Closes: 433151)
+
+ -- Bernhard R. Link <brlink@debian.org>  Wed, 25 Jul 2007 11:23:41 +0200
+
+inoticoming (0.1.0-1) unstable; urgency=low
+
+  * fix manpage, thanks to Robert Edmonds (Closes: 432464)
+  * add --prefix and --suffix options
+
+ -- Bernhard R. Link <brlink@debian.org>  Wed, 11 Jul 2007 10:34:33 +0200
+
+inoticoming (0.0.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #430406)
+
+ -- Bernhard R. Link <brlink@debian.org>  Sun, 24 Jun 2007 13:41:58 +0200
--- inoticoming-0.2.0.orig/debian/compat
+++ inoticoming-0.2.0/debian/compat
@@ -0,0 +1 @@
+5
--- inoticoming-0.2.0.orig/debian/dirs
+++ inoticoming-0.2.0/debian/dirs
@@ -0,0 +1 @@
+usr/bin
--- inoticoming-0.2.0.orig/debian/control
+++ inoticoming-0.2.0/debian/control
@@ -0,0 +1,18 @@
+Source: inoticoming
+Section: utils
+Priority: extra
+Maintainer: Bernhard R. Link <brlink@debian.org>
+Build-Depends: debhelper (>= 5), inotify-tools
+Standards-Version: 3.7.2
+
+Package: inoticoming
+Architecture: any
+Suggests: reprepro (>= 2.2.2-1)
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: trigger actions when files hit an incoming directory
+ inoticoming is a daemon to watch a directory with Linux's inotify
+ framework and trigger actions once files with specific names are placed
+ in there.
+ .
+ For example it can be used to wait for .changes files uploaded
+ into a directory and call reprepro to put them into your repository.
