--- blktool-4.orig/debian/rules
+++ blktool-4/debian/rules
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
--- blktool-4.orig/debian/watch
+++ blktool-4/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://sf.net/gkernel/blktool-(.+)\.tar\.gz
--- blktool-4.orig/debian/compat
+++ blktool-4/debian/compat
@@ -0,0 +1 @@
+7
--- blktool-4.orig/debian/control
+++ blktool-4/debian/control
@@ -0,0 +1,19 @@
+Source: blktool
+Section: admin
+Priority: optional
+Maintainer: Stefan Bauer <stefan.bauer@cubewerk.de> 
+Build-Depends: cdbs, debhelper (>= 7.4.0), libglib2.0-dev, quilt
+Standards-Version: 3.8.4
+XS-Vcs-Git: git://git.debian.org/git/collab-main/blktool.git
+XS-Vcs-Browser: http://git.debian.org/?p=collab-maint/blktool.git
+
+Package: blktool
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: tune low-level block device parameters
+ blktool is used for querying and/or changing settings of a block
+ device.  It is like hdparm but a more general tool, as it works on
+ SCSI, IDE and SATA devices.
+ .
+ This program is for those who know what they're doing and should be
+ used it at your own risk as it could cause damage to your hardware.
--- blktool-4.orig/debian/README.source
+++ blktool-4/debian/README.source
@@ -0,0 +1,6 @@
+Building blktool for Debian
+--------------------------------
+
+The blktool source package uses quilt to apply and remove its patches.
+Please refer to /usr/share/doc/quilt/README.source for information about how to
+use quilt for source packages.
--- blktool-4.orig/debian/changelog
+++ blktool-4/debian/changelog
@@ -0,0 +1,73 @@
+blktool (4-6.5.201411010105) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. The following patches have been applied to the original source package
+    0001-bump-version-for-ucs400
+
+ -- Univention builddaemon <buildd@univention.de>  Sat, 01 Nov 2014 01:05:36 +0100
+
+blktool (4-6) unstable; urgency=low
+
+  * Bump version, otherwise the build stamp in UCS 3.2 is higher than the 4.0
+    build (Bug #35387)
+
+ -- Sönke Schwardt-Krummrich <schwardt@univention.de>  Fri, 30 Oct 2014 14:43:23 +0200
+
+blktool (4-6.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: util.c:31:3: error: format not a string literal and no
+    format arguments [-Werror=format-security]": add patch
+    0002-fix-string-error.patch from Eric Alexander which adds a format
+    arugment (closes: #643359).
+
+ -- gregor herrmann <gregoa@debian.org>  Mon, 14 Nov 2011 17:55:54 +0100
+
+blktool (4-6) unstable; urgency=low
+
+  * Bump Standards to 3.8.4
+  * Added patch to fix two typos in manpage 
+  * Modified watch file again to show current available version correctly
+
+ -- Stefan Bauer <stefan.bauer@cubewerk.de>  Sun, 14 Feb 2010 20:56:18 +0100
+
+blktool (4-5) unstable; urgency=low
+
+  * New Maintainer (Closes: #420370)
+  * Acknowledge NMU changes
+  * Fixed lintian warnings
+  * Fixed debian/watch file
+
+ -- Stefan Bauer <stefan.bauer@cubewerk.de>  Thu, 03 Sep 2009 23:45:55 +0200
+
+blktool (4-4) unstable; urgency=low
+
+  * The "I don't love you anymore" release.
+  
+  * debian/control:
+    - Set Maintainer to QA Group, orphaning the package.
+    - Update Standards-Version to 3.7.2.2.
+    - Add XS-Vcs-* headers for its new git repo.
+
+ -- Eric Dorland <eric@debian.org>  Sun, 05 Aug 2007 16:16:45 -0400
+
+blktool (4-3) unstable; urgency=low
+
+  * debian/watch: Add watch file.
+  * debian/control: Upgrade Standards-Version to 3.7.2.1. 
+
+ -- Eric Dorland <eric@debian.org>  Sat,  5 Aug 2006 18:20:18 -0400
+
+blktool (4-2) unstable; urgency=low
+
+  * debian/control: Tweak descriptions to make them more friendly, per the
+    ftp-master's advice.
+
+ -- Eric Dorland <eric@debian.org>  Sun, 10 Apr 2005 03:24:23 -0400
+
+blktool (4-1) unstable; urgency=low
+
+  * Initial release. (Closes: #291495)
+  
+ -- Eric Dorland <eric@debian.org>  Fri, 21 Jan 2005 14:03:12 -0500
+
+
--- blktool-4.orig/debian/copyright
+++ blktool-4/debian/copyright
@@ -0,0 +1,14 @@
+This package was debianized by Eric Dorland <eric@debian.org> on
+Fri, 21 Jan 2005 18:58:21 -0500.
+
+It was downloaded from http://sourceforge.net/projects/gkernel/
+
+Upstream Author: Jeff Garzik <jgarzik@pobox.com>
+
+Copyright:
+
+Copyright 2004 Jeff Garzik
+
+This program is free-software released under the terms of
+GPL 2.0. Please check /usr/share/common-licenses/GPL
+for more informations about GPL.
--- blktool-4.orig/debian/patches/0002-fix-string-error.patch
+++ blktool-4/debian/patches/0002-fix-string-error.patch
@@ -0,0 +1,13 @@
+Index: blktool-4/util.c
+===================================================================
+--- blktool-4.orig/util.c	2004-08-15 22:02:07.000000000 -0400
++++ blktool-4/util.c	2011-11-11 09:39:07.337415376 -0500
+@@ -28,7 +28,7 @@
+ 	if (perr)
+ 		perror(msg);
+ 	else
+-		fprintf(stderr, msg);
++		fprintf(stderr, "%s", msg);
+ 	if (blkdev >= 0)
+ 		close(blkdev);
+ 	exit(1);
--- blktool-4.orig/debian/patches/series
+++ blktool-4/debian/patches/series
@@ -0,0 +1,2 @@
+0001-fix-typos-in-manpage.patch
+0002-fix-string-error.patch
--- blktool-4.orig/debian/patches/0001-fix-typos-in-manpage.patch
+++ blktool-4/debian/patches/0001-fix-typos-in-manpage.patch
@@ -0,0 +1,21 @@
+--- blktool.8   2004-08-16 06:09:47.000000000 +0200
++++ blktool-4/blktool.8  2010-02-14 21:05:53.000000000 +0100
+@@ -191,7 +191,7 @@
+ Query the detected (or overridden, via -t) device class.
+ Typically this will result in 'ATA' or 'SCSI' for most devices.
+ Detection is based on device major; thus your SATA device may appear as
+-'SCSI'.
++\&'SCSI'.
+
+ .TP
+ .B cd-speed
+@@ -237,7 +237,7 @@
+
+ .TP
+ .B media
+-Lock in (or unlock) a removeable device.
++Lock in (or unlock) a removable device.
+
+ .TP
+ .B multiple-count
+
