--- dosage-1.6.0.orig/debian/control
+++ dosage-1.6.0/debian/control
@@ -0,0 +1,23 @@
+Source: dosage
+Section: net
+Priority: optional
+Maintainer: Tristan Seligmann <mithrandi@mithrandi.net>
+Build-Depends-Indep: python-dev, python-twisted-core, python-zopeinterface
+Build-Depends: cdbs (>= 0.4.41), debhelper (>= 5.0.37.1), python (>= 2.3.5-7), python-central (>= 0.6.0)
+Standards-Version: 3.8.0
+XS-Python-Version: >= 2.4
+Homepage: http://slipgate.za.net/dosage
+
+Package: dosage
+Architecture: all
+Depends: ${python:Depends}, python-twisted-core, python-zopeinterface
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: powerful webcomic downloader / archiver
+ Dosage has a modular comic module infrastructure that allows new
+ webcomics to be easily supported, but does not limit it to supporting
+ webcomics with simple site layouts. Dosage can retrieve just the latest
+ strip in a comic, catch-up to the last strip downloaded, or download a
+ strip for a particular date/index (except if the webcomic's site layout
+ makes this impossible).
+ .
--- dosage-1.6.0.orig/debian/dosage.manpages
+++ dosage-1.6.0/debian/dosage.manpages
@@ -0,0 +1 @@
+doc/mainline.1
--- dosage-1.6.0.orig/debian/changelog
+++ dosage-1.6.0/debian/changelog
@@ -0,0 +1,103 @@
+dosage (1.6.0-1) unstable; urgency=low
+
+ * New upstream release.
+ - License change to MIT-style license: updated debian/copyright.
+ - New dependencies on python-twisted-core and python-zopeinterface.
+ - Python 2.4 is now the minimum support version.
+ * Bump Standards-Version.
+ * Update my e-mail address.
+ * Building with a new python-central (closes: #490459).
+
+ -- Tristan Seligmann <mithrandi@mithrandi.net> Wed, 16 Jul 2008 04:34:30 +0200
+
+dosage (1.5.8-2) unstable; urgency=low
+
+ * Brown paper bag release.
+ * The 1.5.8-1 diff reverted everything back to 1.5.7; the diff should now
+ hopefully be correct.
+ * Bump python-central dependency.
+ * Raise debhelper compat level to 5 (no changes necessary).
+ * Make Homepage a real control field.
+ * Remove lintian overrides that are no longer needed.
+
+ -- Tristan Seligmann <mithrandi@mithrandi.za.net> Mon, 12 Nov 2007 20:38:54 +0200
+
+dosage (1.5.8-1) unstable; urgency=low
+
+ * New upstream release (closes: #383926).
+ * Build-Depend on python-dev, not python-all-dev.
+
+ -- Tristan Seligmann <mithrandi@mithrandi.za.net> Mon, 21 Aug 2006 13:36:23 +0200
+
+dosage (1.5.7-2) unstable; urgency=low
+
+ * Convert to python-central and new Python policy.
+ * Add lintian source overrides.
+ * Bump Standards-Version to 3.7.2 (no changes required).
+
+ -- Tristan Seligmann <mithrandi@mithrandi.za.net> Sat, 17 Jun 2006 04:37:29 +0200
+
+dosage (1.5.7-1) unstable; urgency=medium
+
+ * New upstream release.
+ - Fixes a potentially nasty bug in the SmackJeeves module; catchup would
+ loop around from the beginning back to the end, thus never ending, and
+ resulting in excessive hits to the SmackJevees server.
+
+ -- Tristan Seligmann <mithrandi@mithrandi.za.net> Sun, 2 Apr 2006 04:20:22 +0200
+
+dosage (1.5.6-1) unstable; urgency=low
+
+ * The "Christmas break" release.
+ * New upstream release.
+ - Fixed QuestionableContent image regex (closes: #330145).
+ - Fixed PiledHigherAndDeeper module (closes: #330879).
+ * Changed build-deps to allow building against python2.4.
+
+ -- Tristan Seligmann <mithrandi@mithrandi.za.net> Tue, 27 Dec 2005 13:05:55 +0200
+
+dosage (1.5.5-1) unstable; urgency=low
+
+ * New upstream release.
+ - Fixed SluggyFreelance image regex (closes: #324638).
+
+ -- Tristan Seligmann <mithrandi@mithrandi.za.net> Sun, 18 Sep 2005 17:41:58 +0200
+
+dosage (1.5.4-1) unstable; urgency=low
+
+ * New upstream release.
+ * Bump Standards-Version.
+ * Remove pointless unversioned build-dep on build-essential.
+
+ -- Tristan Seligmann <mithrandi@mithrandi.za.net> Sun, 21 Aug 2005 22:31:48 +0200
+
+dosage (1.5.3-1) unstable; urgency=low
+
+ * New upstream release.
+ * Stop autogenerating debian/control with CDBS.
+
+ -- Tristan Seligmann <mithrandi@mithrandi.za.net> Sun, 19 Jun 2005 20:04:07 +0200
+
+dosage (1.5.2-1) unstable; urgency=low
+
+ * New upstream release.
+ - Removed debugging cruft (closes: #304900).
+
+ -- Tristan Seligmann <mithrandi@mithrandi.za.net> Mon, 18 Apr 2005 21:17:03 +0200
+
+dosage (1.5.1-1) unstable; urgency=low
+
+ * New upstream release.
+ * setup.py change merged upstream.
+ * Add debian/watch file.
+
+ -- Tristan Seligmann <mithrandi@mithrandi.za.net> Fri, 25 Mar 2005 20:59:13 +0200
+
+dosage (1.4.0-1) unstable; urgency=low
+
+ * Initial release (closes: #288874).
+ * Remove version import from setup.py, thus avoiding creation of *.pyc files
+ while building.
+
+ -- Tristan Seligmann <mithrandi@mithrandi.za.net> Sun, 9 Jan 2005 23:22:04 +0200
+
--- dosage-1.6.0.orig/debian/dosage.docs
+++ dosage-1.6.0/debian/dosage.docs
@@ -0,0 +1,2 @@
+doc/changelog
+doc/README
--- dosage-1.6.0.orig/debian/compat
+++ dosage-1.6.0/debian/compat
@@ -0,0 +1 @@
+5
--- dosage-1.6.0.orig/debian/rules
+++ dosage-1.6.0/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © Tristan Seligmann <mithrandi@mithrandi.net>
+
+DEB_PYTHON_SYSTEM = pycentral
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
--- dosage-1.6.0.orig/debian/pycompat
+++ dosage-1.6.0/debian/pycompat
@@ -0,0 +1 @@
+2
--- dosage-1.6.0.orig/debian/watch
+++ dosage-1.6.0/debian/watch
@@ -0,0 +1,4 @@
+version=2
+
+http://slipgate.za.net/dosage \
+ (?:.*/)?dosage-([\d\.]*).tar.gz
--- dosage-1.6.0.orig/debian/copyright
+++ dosage-1.6.0/debian/copyright
@@ -0,0 +1,32 @@
+This package was debianized by Tristan Seligmann <mithrandi@mithrandi.net> on
+Thu, 6 Jan 2005 18:43:35 +0200.
+
+Copyright:
+
+ Copyright © 2004-2008 Jonathan Jacobs and Tristan Seligmann
+
+Upstream Authors:
+
+ Tristan Seligmann <mithrandi@mithrandi.za.net>
+ Jonathan Jacobs <korpse@kaydash.za.net>
+
+License:
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--- dosage-1.6.0.orig/debian/dosage.postinst
+++ dosage-1.6.0/debian/dosage.postinst
@@ -0,0 +1,9 @@
+#!/bin/sh
+#DEBHELPER#
+
+# This is really awful, but we don't have much choice; we need to ensure that
+# the plugin cache will be written out with a later timestamp than the plugin
+# source files.
+sleep 1
+
+python -c 'from twisted.plugin import IPlugin, getPlugins; from dosage import plugins; list(getPlugins(IPlugin, plugins))'