--- pymssql-1.0.2+dfsg.orig/debian/watch
+++ pymssql-1.0.2+dfsg/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=dversionmangle=s/+dfsg// \
+http://qa.debian.org/watch/sf.php/pymssql/pymssql-(.*)\.tar\.gz debian uupdate
--- pymssql-1.0.2+dfsg.orig/debian/compat
+++ pymssql-1.0.2+dfsg/debian/compat
@@ -0,0 +1 @@
+5
--- pymssql-1.0.2+dfsg.orig/debian/copyright
+++ pymssql-1.0.2+dfsg/debian/copyright
@@ -0,0 +1,32 @@
+This package was debianized by Josselin Mouette <joss@debian.org> on 
+Wed, 27 Feb 2008 12:08:19 +0100.
+
+It was downloaded from <http://sourceforge.net/projects/pymssql/>
+
+Upstream Authors: Park joon-cheol <jooncheol@gmail.com>
+                  Andrzej Kukula <akukula@gmail.com>
+
+Copyright:
+    Copyright © 2003 by Joon-cheol Park
+
+License:
+
+    This package is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2.1 of the License, or (at your option) any later version.
+
+    This package 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
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this package; 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 Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+The Debian packaging is © 2008, Josselin Mouette <joss@debian.org> and 
+licensed under the LGPL as well.
--- pymssql-1.0.2+dfsg.orig/debian/install
+++ pymssql-1.0.2+dfsg/debian/install
@@ -0,0 +1,2 @@
+nagios-plugin/check_mssql /usr/lib/nagios/plugins/
+nagios-plugin/mssql.cfg /etc/nagios-plugins/config
--- pymssql-1.0.2+dfsg.orig/debian/changelog
+++ pymssql-1.0.2+dfsg/debian/changelog
@@ -0,0 +1,66 @@
+pymssql (1.0.2+dfsg-1.4.201403120541) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. No patches were applied to the original source package
+
+ -- Univention builddaemon <buildd@univention.de>  Wed, 12 Mar 2014 05:41:10 +0100
+
+pymssql (1.0.2+dfsg-1) unstable; urgency=low
+
+  [ Piotr Ożarowski ]
+  * Add Debian Python Modules Team to Uploaders
+  * Add Vcs-Svn and Vcs-Browser fields
+  * Add debian/watch file
+  * Add get-orig-source target
+
+  [ Jan Geboers ]
+  * New upstream release.
+  * Standards version is 3.8.2.
+  * Removed patch series, 01_nagios-plugin.patch is included upstream.
+  * Removed quilt build-dependecy because of the above.
+
+ -- Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>  Sat, 11 Jul 2009 15:11:01 +0200
+
+pymssql (1.0.1+dfsg-1) unstable; urgency=low
+
+  * New upstream release.
+  * Add quilt support; build-depend on quilt.
+  * Use upstream-provided nagios plugin now (yes, it’s ours).
+  * 01_nagios-plugin.patch:
+    + Add an option to specify the port.
+    + Fix encoding.
+    + Fix SQL syntax.
+    + Connect explicitly to the "master" database.
+    + Improve perfdata output.
+
+ -- Josselin Mouette <joss@debian.org>  Wed, 18 Feb 2009 12:01:32 +0100
+
+pymssql (0.8.0+dfsg-3) unstable; urgency=low
+
+  * check_mssql: 
+    + return the time value in seconds so that it integrates correctly 
+      with the Nagios perf_data handlers.
+    + add a -P setting to define the TCP port.
+  * Wrap Depends and Build-Depends.
+  * Standards version is 3.8.0.
+
+ -- Josselin Mouette <joss@debian.org>  Fri, 21 Nov 2008 14:51:41 +0100
+
+pymssql (0.8.0+dfsg-2) unstable; urgency=low
+
+  * Ship a Nagios plugin for MS SQL databases.
+
+ -- Josselin Mouette <joss@debian.org>  Mon, 05 May 2008 11:50:05 +0200
+
+pymssql (0.8.0+dfsg-1) unstable; urgency=low
+
+  * Remove ntwdblib.dll from the upstream sources, because this file 
+    doesn’t have any associated source. Thanks Joerg Jaspert for 
+    noticing.
+
+ -- Josselin Mouette <joss@debian.org>  Thu, 06 Mar 2008 12:49:56 +0100
+
+pymssql (0.8.0-1) unstable; urgency=low
+
+  * Initial release. Closes: #468175.
+
+ -- Josselin Mouette <joss@debian.org>  Wed, 27 Feb 2008 18:49:15 +0100
--- pymssql-1.0.2+dfsg.orig/debian/pycompat
+++ pymssql-1.0.2+dfsg/debian/pycompat
@@ -0,0 +1 @@
+2
--- pymssql-1.0.2+dfsg.orig/debian/pyversions
+++ pymssql-1.0.2+dfsg/debian/pyversions
@@ -0,0 +1 @@
+2.4-
--- pymssql-1.0.2+dfsg.orig/debian/control
+++ pymssql-1.0.2+dfsg/debian/control
@@ -0,0 +1,25 @@
+Source: pymssql
+Section: python
+Priority: optional
+Maintainer: Josselin Mouette <joss@debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
+Build-Depends: debhelper (>= 5.0.37.2),
+               python-all-dev (>= 2.3.5-11),
+               cdbs (>= 0.4.43), 
+               freetds-dev,
+               python-support (>= 0.3)
+Standards-Version: 3.8.2
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/pymssql/trunk
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pymssql/trunk/
+
+Package: python-pymssql
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${python:Depends}
+Description: Python database access for MS SQL server and Sybase
+ This package contains a Python module allowing direct access to 
+ Microsoft SQL server and Sybase databases. It is designed for 
+ simplicity and performance, and conforms to Python DB-API 2.0.
+ .
+ It also includes a Nagios plugin to check MS SQL servers remotely.
--- pymssql-1.0.2+dfsg.orig/debian/rules
+++ pymssql-1.0.2+dfsg/debian/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2002,2003 Colin Walters <walters@debian.org>
+
+DEB_PYTHON_SYSTEM=pysupport
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+
+binary-post-install/python-pymssql::
+	chmod 755 debian/python-pymssql/usr/lib/nagios/plugins/*
+
+get-orig-source:
+	VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-+~]+).*,\1,p'); \
+	uscan --force-download --rename --download-version=$$VER --destdir=. && (\
+	tar -xz --exclude '*\.dll' -f pymssql_$$VER.orig.tar.gz && \
+	tar -czf pymssql_$$VER+dfsg.orig.tar.gz pymssql-$$VER; \
+	rm -f pymssql_$$VER.orig.tar.gz;\
+	rm -rf pymssql-$$VER)
