--- apt-dater-0.8.0.orig/debian/control
+++ apt-dater-0.8.0/debian/control
@@ -0,0 +1,43 @@
+Source: apt-dater
+Section: admin
+Priority: optional
+Maintainer: Patrick Matthäi <pmatthaei@debian.org>
+Build-Depends: debhelper (>= 5), libpopt-dev, libglib2.0-dev, libncurses5-dev, tcl8.5-dev, libxml2-dev
+Homepage: http://www.ibh.de/apt-dater
+Standards-Version: 3.8.1
+
+Package: apt-dater
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, screen, openssh-client
+Suggests: apt-dater-host, xsltproc
+Description: terminal-based remote package update manager
+ apt-dater provides an easy to use ncurses frontend for managing package
+ updates on a large number of remote hosts using SSH.
+ It supports Debian-based managed hosts as well as OpenSUSE and CentOS based
+ systems.
+
+Package: apt-dater-dbg
+Architecture: any
+Priority: extra
+Section: debug
+Depends: ${misc:Depends}, apt-dater (= ${binary:Version})
+Description: terminal-based remote package update manager (dbg symbols)
+ apt-dater provides an easy to use ncurses frontend for managing package
+ updates on a large number of remote hosts using SSH.
+ It supports Debian-based managed hosts as well as OpenSUSE and CentOS based
+ systems.
+ .
+ This package contains the debugging symbols for the apt-dater package.
+
+Package: apt-dater-host
+Architecture: all
+Depends: ${misc:Depends}, openssh-server, sudo, lsb-release, libapt-pkg-perl
+Recommends: aptitude, imvirt
+Description: host helper application for apt-dater
+ apt-dater provides an easy to use ncurses frontend for managing package
+ updates on a large number of remote hosts using SSH.
+ It supports Debian-based managed hosts as well as OpenSUSE and CentOS based
+ systems.
+ .
+ This package provides the helper application for apt-dater.
+ It has to be installed on every apt-dater managed host.
--- apt-dater-0.8.0.orig/debian/apt-dater.install
+++ apt-dater-0.8.0/debian/apt-dater.install
@@ -0,0 +1 @@
+images/apt-dater.xpm usr/share/pixmaps/
--- apt-dater-0.8.0.orig/debian/apt-dater.docs
+++ apt-dater-0.8.0/debian/apt-dater.docs
@@ -0,0 +1,4 @@
+README
+README.tclfilter
+README.xmlreport
+clients/README-0.1
--- apt-dater-0.8.0.orig/debian/watch
+++ apt-dater-0.8.0/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/-ibh\d// \
+	http://sf.net/apt-dater/apt-dater-(.*)\.tar\.gz
--- apt-dater-0.8.0.orig/debian/apt-dater.menu
+++ apt-dater-0.8.0/debian/apt-dater.menu
@@ -0,0 +1,7 @@
+?package(apt-dater):needs="text"\
+ section="Applications/System/Administration"\
+ title="apt-dater"\
+ command="/usr/bin/apt-dater"\
+ hints="apt"\
+ icon="/usr/share/pixmaps/apt-dater.xpm"\
+ longtitle="Terminal-based remote package update manager"
--- apt-dater-0.8.0.orig/debian/apt-dater.examples
+++ apt-dater-0.8.0/debian/apt-dater.examples
@@ -0,0 +1,3 @@
+conf/*.example
+xmlreport/*.xsl
+xmlreport/*.dtd
--- apt-dater-0.8.0.orig/debian/rules
+++ apt-dater-0.8.0/debian/rules
@@ -0,0 +1,76 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+config.status:
+	dh_testdir
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \
+	--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --disable-rpath \
+	--enable-tclfilter --enable-xmlreport --enable-autoref --enable-history \
+	--enable-debug
+
+build: build-stamp
+build-stamp: config.status
+	dh_testdir
+	(cd src && $(MAKE))
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+	[ ! -f Makefile ] || $(MAKE) distclean
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	(cd src && $(MAKE) DESTDIR=$(CURDIR)/debian/apt-dater install)
+	(cd lib && $(MAKE) DESTDIR=$(CURDIR)/debian/apt-dater install)
+	(cd clients/debian && $(MAKE) DESTDIR=$(CURDIR)/debian/apt-dater-host install)
+
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installchangelogs -i ChangeLog
+	dh_installdocs -i
+	dh_installman -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installchangelogs -a ChangeLog
+	dh_installdocs -a
+	dh_install -a
+	dh_installexamples -a
+	dh_installmenu -a
+	dh_installman -a
+	dh_strip -a --dbg-package=apt-dater-dbg
+	dh_compress -a
+	dh_fixperms -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+get-orig-source:
+	@@dh_testdir
+	@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
+	@@uscan --force-download --destdir ../tarballs
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- apt-dater-0.8.0.orig/debian/copyright
+++ apt-dater-0.8.0/debian/copyright
@@ -0,0 +1,34 @@
+This package was debianized by Patrick Matthäi <patrick.matthaei@web.de> on
+Wed, 27 Aug 2008 18:38:23 +0200.
+
+It was downloaded from <http://www.sourceforge.net/projects/apt-dater>.
+
+Upstream Authors:
+    Andre Ellguth <ellguth@ibh.de>
+	Thomas Liske <liske@ibh.de>
+
+Copyright: 2008-2009 by IBH IT-Service GmbH
+
+License:
+
+	Copyright IBH IT-Service GmbH [http://www.ibh.de/apt-dater/]
+
+	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.
+
+	You should have received a copy of the GNU General Public License
+	along with this program; if not, write to the Free Software
+	Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in /usr/share/common-licenses/GPL-2 file.
+
+The Debian packaging is © 2009, Patrick Matthäi <pmatthaei@debian.org> and
+is licensed under the GPL, see above.
--- apt-dater-0.8.0.orig/debian/changelog
+++ apt-dater-0.8.0/debian/changelog
@@ -0,0 +1,107 @@
+apt-dater (0.8.0-2~bpo50+1) lenny-backports; urgency=low
+
+  * Rebuild for lenny-backports.
+
+ -- Patrick Matthäi <pmatthaei@debian.org>  Sun, 07 Jun 2009 12:03:47 +0200
+
+apt-dater (0.8.0-2) unstable; urgency=low
+
+  * Install missing lib target. Without the history feature will not work and
+    you will get a warning on startup.
+
+ -- Patrick Matthäi <pmatthaei@debian.org>  Wed, 27 May 2009 14:43:54 +0200
+
+apt-dater (0.8.0-1) unstable; urgency=low
+
+  * New upstream release.
+    - Fix apt-dater to fail on apt command when MAINTAINER is not set.
+      Closes: #529200
+    - Drop merged 01-aptitude_safe-upgrade.dpatch patch.
+    - Repackaged original tarball to remove the .svn subfolders.
+  * Configure it with --enable-autoref, --enable-history and --enable-debug to
+    activate the new features.
+  * Fix override disparity in apt-dater.
+  * Fix typo in get-orig-source target.
+  * Merge 0.7.0-1~bpo50+1 changelog.
+
+ -- Patrick Matthäi <pmatthaei@debian.org>  Tue, 26 May 2009 18:39:07 +0200
+
+apt-dater (0.7.0-2) unstable; urgency=low
+
+  * Bump Standards-Version to 3.8.1 (no changes needed).
+  * Change section of apt-dater-dbg to debug.
+  * Change my email address.
+  * Remove DM-Upload-Allowed control field.
+  * Refresh debian/copyright and add my own copyright for the packaging.
+  * Refer to the GPL-2 file instead of the GPL link.
+  * Install the upstreams changelog.
+  * Move apt-dater-dbg to the new section "debug".
+
+ -- Patrick Matthäi <pmatthaei@debian.org>  Tue, 21 Apr 2009 19:26:06 +0200
+
+apt-dater (0.7.0-1~bpo50+1) lenny-backports; urgency=low
+
+  * Rebuild for lenny-backports.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Tue, 17 Feb 2009 18:09:31 +0200
+
+apt-dater (0.7.0-1) unstable; urgency=low
+
+  * New upstream release.
+    - Basic WUA (Windows) client support.
+    - Drop 02-g_free-before-return.dpatch (merged).
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Wed, 21 Jan 2009 18:40:34 +0200
+
+apt-dater (0.6.4.1-3) unstable; urgency=low
+
+  * Add get-orig-source target.
+  * Add 02-g_free-before-return.dpatch, which fixes a missing g_free of
+    allocated memory before jumping out of the function with return.
+    Closes: #511695
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Tue, 13 Jan 2009 18:27:52 +0200
+
+apt-dater (0.6.4.1-2) unstable; urgency=low
+
+  * Recommend on dmvirt at the apt-dater-host package.
+  * Add missing ${misc:Depends}. Thanks lintian.
+  * Adjust debian/watch to match with the new upstream naming scheme.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Sun, 21 Dec 2008 13:28:37 +0100
+
+apt-dater (0.6.4.1-1) unstable; urgency=low
+
+  * New upstream release.
+    - This release also adds support for visual detection of differen virtual
+      servers technologies, but the needed script imvirt for it is not packaged
+      yet.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Tue, 25 Nov 2008 18:16:03 +0100
+
+apt-dater (0.6.2+svn205-1) unstable; urgency=low
+
+  * New svn snapshot.
+    Closes: #503854
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Tue, 11 Nov 2008 19:22:38 +0100
+
+apt-dater (0.6.2+svn202-1) unstable; urgency=low
+
+  * New svn snapshot.
+    - Drop now unneeded screen build depend, which has been fixed in r202.
+  * Add 01-aptitude_safe-upgrade.dpatch which replaces the deprecated "upgrade"
+    parameter of aptitude with "safe-upgrade".
+  * Add a recommend on aptitude to the apt-dater-host package while it could
+    also use aptitude for his operations.
+  * Remove cherry taken debtrack suggest (not in archive).
+  * Mangle "-ibh\d" from upstream version in debian/watch.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Sun, 26 Oct 2008 16:08:31 +0100
+
+apt-dater (0.6.2+svn200-1) unstable; urgency=low
+
+  * Initial release.
+    Closes: #491818
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Wed, 27 Aug 2008 18:06:11 +0100
--- apt-dater-0.8.0.orig/debian/apt-dater.manpages
+++ apt-dater-0.8.0/debian/apt-dater.manpages
@@ -0,0 +1,2 @@
+man/apt-dater.8
+man/apt-dater.conf.5
--- apt-dater-0.8.0.orig/debian/apt-dater-host.1
+++ apt-dater-0.8.0/debian/apt-dater-host.1
@@ -0,0 +1,15 @@
+.TH "APT-DATER-HOST" "1"
+.SH "NAME"
+apt\-dater\-host \- a network system supporting team.
+.SH "SYNOPSIS"
+\fBapt\-dater\-host\fR
+.SH "DESCRIPTION"
+This manual page documents briefly the \fBapt\-dater\-host\fR helper.
+\fBapt\-dater\-host\fR is the host helper application for apt\-dater for
+watching and updating the targeted application about apt\-dater.
+.SH "AUTHOR"
+This manual page was written by Patrick Matth\[:a]i <patrick.matthaei@web.de>
+for apt\-dater\-host.
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU General Public License, Version 2 any
+later version published by the Free Software Foundation.
--- apt-dater-0.8.0.orig/debian/apt-dater-host.manpages
+++ apt-dater-0.8.0/debian/apt-dater-host.manpages
@@ -0,0 +1 @@
+debian/apt-dater-host.1
--- apt-dater-0.8.0.orig/debian/compat
+++ apt-dater-0.8.0/debian/compat
@@ -0,0 +1 @@
+5
