--- ditrack-0.8.orig/debian/watch
+++ ditrack-0.8/debian/watch
@@ -0,0 +1,11 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+http://www.ditrack.org/files/ditrack-(.*)\.tgz
+
+
--- ditrack-0.8.orig/debian/compat
+++ ditrack-0.8/debian/compat
@@ -0,0 +1 @@
+5
--- ditrack-0.8.orig/debian/ditrack.dirs
+++ ditrack-0.8/debian/ditrack.dirs
@@ -0,0 +1,3 @@
+usr/bin
+usr/share/doc/ditrack
+usr/share/man/man1
--- ditrack-0.8.orig/debian/dt.1
+++ ditrack-0.8/debian/dt.1
@@ -0,0 +1 @@
+dt.1.so man1/ditrack.1
--- ditrack-0.8.orig/debian/README.Debian
+++ ditrack-0.8/debian/README.Debian
@@ -0,0 +1,7 @@
+DITrack for Debian
+------------------
+
+Please, note that the 'upgrade-0.7-db.py' script has been renamed to
+'dt-upgrade-0.7-db' in order to be installed in /usr/bin.
+
+ -- Jose M. Moya <josem@debian.org>, Thu, 10 Jul 2008 13:31:43 +0200
--- ditrack-0.8.orig/debian/dt-createdb.1
+++ ditrack-0.8/debian/dt-createdb.1
@@ -0,0 +1 @@
+dt-createdb.1.so man1/ditrack.1
--- ditrack-0.8.orig/debian/copyright
+++ ditrack-0.8/debian/copyright
@@ -0,0 +1,35 @@
+This package was debianized by Jose M. Moya <josem@debian.org> on
+Fri, 27 Apr 2007 13:03:32 +0100.
+
+It was downloaded from http://www.ditrack.org/
+
+Upstream Author: The DITrack core development team
+
+  Vlad Skvortsov, vss at 73rus dot com, http://vss.73rus.com
+  Oleg Sharov, o.sharov at gmail dot com, http://oleg.sharov.name
+  Ivan Glushkov, gli.work at gmail dot com, http://gli.73rus.com
+
+Copyright:
+
+Copyright (c) 2006-2007 The DITrack Project, www.ditrack.org.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without 
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice, this 
+   list of conditions and the following disclaimer.
+ * 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 COPYRIGHT HOLDERS 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 COPYRIGHT OWNER 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.
--- ditrack-0.8.orig/debian/changelog
+++ ditrack-0.8/debian/changelog
@@ -0,0 +1,37 @@
+ditrack (0.8-1.1.4.201403200453) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. No patches were applied to the original source package
+
+ -- Univention builddaemon <buildd@univention.de>  Thu, 20 Mar 2014 04:53:25 +0100
+
+ditrack (0.8-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/rules: pass --prefix=/usr to setup.py (Closes: #557797).
+
+ -- Luca Falavigna <dktrkranz@debian.org>  Tue, 08 Dec 2009 18:17:40 +0100
+
+ditrack (0.8-1) unstable; urgency=low
+
+  * New upstream release (Closes: #490458).
+
+ -- Jose M. Moya <josem@debian.org>  Thu, 10 Jul 2008 13:34:33 +0200
+
+ditrack (0.7-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Jose M. Moya <josem@debian.org>  Wed, 07 Nov 2007 08:08:13 +0100
+
+ditrack (0.6-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Jose M. Moya <josem@debian.org>  Mon, 17 Sep 2007 08:41:59 +0200
+
+ditrack (0.5-1) unstable; urgency=low
+
+  * Initial release (Closes: #421295).
+
+ -- Jose M. Moya <josem@debian.org>  Fri, 27 Apr 2007 13:03:32 +0100
+
--- ditrack-0.8.orig/debian/ditrack.manpages
+++ ditrack-0.8/debian/ditrack.manpages
@@ -0,0 +1,4 @@
+debian/ditrack.1
+debian/dt.1
+debian/dt-createdb.1
+debian/dt-upgrade-0.7-db.1
--- ditrack-0.8.orig/debian/pycompat
+++ ditrack-0.8/debian/pycompat
@@ -0,0 +1 @@
+2
--- ditrack-0.8.orig/debian/dt-upgrade-0.7-db.1
+++ ditrack-0.8/debian/dt-upgrade-0.7-db.1
@@ -0,0 +1 @@
+dt-upgrade-0.7-db.1.so man1/ditrack.1
--- ditrack-0.8.orig/debian/ditrack.doc-base
+++ ditrack-0.8/debian/ditrack.doc-base
@@ -0,0 +1,12 @@
+Document: ditrack
+Title: DITrack User Manual
+Author: The DITrack Project
+Abstract: This document is a general system architecture overview of 
+ DITrack and a user manual at the same time. It is assumed that the 
+ reader is familiar with Subversion version control system and has a 
+ basic knowledge of UNIX environment.
+Section: Project Management
+
+Format: HTML
+Index: /usr/share/doc/ditrack/html/index.html
+Files: /usr/share/doc/ditrack/html/*.html
--- ditrack-0.8.orig/debian/control
+++ ditrack-0.8/debian/control
@@ -0,0 +1,18 @@
+Source: ditrack
+Section: devel
+Priority: extra
+Maintainer: Jose M. Moya <josem@debian.org>
+Build-Depends: debhelper (>= 5.0.38), python-dev, python-central (>= 0.5.6)
+Standards-Version: 3.8.0
+XS-Python-Version: current
+
+Package: ditrack
+Architecture: all
+Depends: ${python:Depends}, subversion
+XB-Python-Version: ${python:Versions}
+Homepage: http://www.ditrack.org/
+Description: lightweight distributed issue tracking system
+ DITrack is a free, open source, lightweight, distributed issue (bug,
+ defect, ticket) tracking system using a Subversion repository instead
+ of a backend database. It is written in Python and runs in UNIX
+ environment (*BSD, Linux, MacOS X).
--- ditrack-0.8.orig/debian/ditrack.1
+++ ditrack-0.8/debian/ditrack.1
@@ -0,0 +1,62 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH DITRACK 1 "April 2007"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+dt \- DITrack command line client tool
+.SH SYNOPSIS
+\fBdt\fP \fIcommand\fP [\fIoptions\fP] [\fIargs\fP]
+.br
+\fBdt-createdb\fP \fIrepository-url\fP \fIissue-db-dir\fP \fIlocal-wc\fP
+.br
+\fBdt-upgrade-0.7-db\fP \fIissue-db-dir\fP
+.SH OVERVIEW
+DITrack is a free, open source, lightweight, distributed issue (bug,
+defect, ticket) tracking system using a Subversion repository instead
+of a backend database. It is written in Python and runs in UNIX
+environment (*BSD, Linux, MacOS X).
+
+The project is inspired by the idea of Subissue issue tracking system.
+
+However, while Subissue aims in merely replacing the traditional
+database storage with Subversion repository, DITrack is a major
+rethought of the issue tracking system paradigm. The main difference
+is that instead of sticking to the centralized model (one database,
+one web interface, one mail integration machinery), DITrack treats
+underlying Subversion storage as a versioned distributed file system
+which enables benefits of truly distributed operation mode. 
+
+For more information about the DITrack project, visit
+http://www.ditrack.org.
+
+Documentation for DITrack and its tools, including detailed usage
+explanations of the \fBdt\fP and \fBdt-createdb\fP programs,
+can be found at /usr/share/doc/ditrack/html/index.html.
+
+Run `dt help' to access the built-in tool documentation.
+
+Automatic upgrade is possible for databases created by DITrack 0.7. If
+you are upgrading from previous version of DITrack, use the upgrage
+utility from DITrack 0.7 first.
+
+To upgrade a database run the \fBdt-upgrade-0.7-db\fP script, passing
+the database path as the argument, like:
+
+\fBdt-upgrade-0.7-db\fP \fI/home/user/ditrack-database\fP
+
+The upgrade procedure merely modifies the working copy (nothing gets
+committed to the repository). So, when done, you should commit the
+changes manually.
--- ditrack-0.8.orig/debian/ditrack.docs
+++ ditrack-0.8/debian/ditrack.docs
@@ -0,0 +1,3 @@
+FAQ
+README
+doc/html
--- ditrack-0.8.orig/debian/rules
+++ ditrack-0.8/debian/rules
@@ -0,0 +1,59 @@
+#!/usr/bin/make -f
+# 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
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+	dh_testdir
+	python setup.py build
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	python setup.py clean
+	rm -f build-stamp configure-stamp
+	rm -rf build/
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	python setup.py install --root=`pwd`/debian/ditrack --no-compile --prefix=/usr
+	install -m 755 upgrade-0.7-db.py \
+		`pwd`/debian/ditrack/usr/bin/dt-upgrade-0.7-db
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_pycentral
+	dh_installman
+	dh_installchangelogs
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture-dependent files here.
+binary-arch: build install
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- ditrack-0.8.orig/DITrack/ThirdParty/ezt.py
+++ ditrack-0.8/DITrack/ThirdParty/ezt.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 """ezt.py -- easy templating
 
 ezt templates are simply text files in whatever format you so desire
--- ditrack-0.8.orig/DITrack/ThirdParty/Python/string.py
+++ ditrack-0.8/DITrack/ThirdParty/Python/string.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 # string.py - A collection of string operations
 #
