--- unworkable-0.53.orig/debian/copyright
+++ unworkable-0.53/debian/copyright
@@ -0,0 +1,17 @@
+This Debian package is based on unworkable downloaded from
+http://p2presearch.com/unworkable/
+
+Copyright (c) 2007 Niall O'Higgins <niallo@unworkable.org>
+All rights reserved.
+
+Permission to use, copy, modify, and distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
--- unworkable-0.53.orig/debian/rules
+++ unworkable-0.53/debian/rules
@@ -0,0 +1,70 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+config.status: configure
+	dh_testdir
+	touch $@
+
+
+build:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch $@
+
+clean: 
+	dh_testdir
+	dh_testroot
+	rm -f build
+
+	# Add here commands to clean up after the build process.
+	$(MAKE) -f GNUmakefile distclean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/unworkable
+	$(MAKE) DESTDIR=$(CURDIR)/debian/unworkable/ install
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_installexamples
+	dh_installdebconf	
+	dh_installinit
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
--- unworkable-0.53.orig/debian/compat
+++ unworkable-0.53/debian/compat
@@ -0,0 +1 @@
+5
--- unworkable-0.53.orig/debian/control
+++ unworkable-0.53/debian/control
@@ -0,0 +1,19 @@
+Source: unworkable
+Section: net
+Priority: optional
+Maintainer: Michael Stapelberg <michael@stapelberg.de>
+DM-Upload-Allowed: yes
+Build-Depends: debhelper (>= 5), libevent-dev, libssl-dev, bison
+Standards-Version: 3.8.3
+Homepage: http://p2presearch.com/unworkable/
+
+Package: unworkable
+Architecture: any
+Priority: optional
+Section: net
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: efficient, simple and secure bittorrent client
+ Unworkable is a BSD-licensed BitTorrent implementation.
+ Goals of this project include efficiency, simplicity and high code quality.
+ Unworkable is single threaded and asynchronous, written in portable ANSI C
+ using libevent and mmap() for performance.
--- unworkable-0.53.orig/debian/changelog
+++ unworkable-0.53/debian/changelog
@@ -0,0 +1,50 @@
+unworkable (0.53-1) unstable; urgency=low
+
+  * New upstream version
+  * Fixes FTBFS with recent libevent (Closes: #560548)
+  * Bump standards version to 3.8.3
+
+ -- Michael Stapelberg <michael@stapelberg.de>  Mon, 21 Dec 2009 23:23:59 +0100
+
+unworkable (0.52-1) unstable; urgency=low
+
+  * New upstream version
+  * Fixes FTBFS on GNU/kFreeBSD (Closes: #540137)
+  * Bump standards version to 3.8.2
+
+ -- Michael Stapelberg <michael@stapelberg.de>  Tue, 01 Sep 2009 00:55:57 +0200
+
+unworkable (0.51-5) unstable; urgency=low
+
+  * Depend on libevent-1.4-2 instead of libevent1 (Closes: #528631)
+  * Update standards version to 3.8.1
+  * Change maintainer email address, add DM-Upload-Allowed field
+
+ -- Michael Stapelberg <michael@stapelberg.de>  Thu, 14 May 2009 11:29:28 +0200
+
+unworkable (0.51-4) unstable; urgency=low
+
+  * Fix manpage (missing .El)
+
+ -- Michael Stapelberg <michael+unworkable@stapelberg.de>  Fri, 20 Feb 2009 06:09:23 +0100
+
+unworkable (0.51-3) unstable; urgency=low
+
+  * Fix build dependencies (Thanks to Taniguchi Takaki) (Closes: #503499)
+  * Actually call makefile (GNUmakefile) in clean target in debian/rules
+    (Thanks to Taniguchi Takaki) (Closes: #512950)
+
+ -- Michael Stapelberg <michael+unworkable@stapelberg.de>  Thu, 19 Feb 2009 01:30:08 +0100
+
+unworkable (0.51-2) unstable; urgency=low
+
+  * Use correct upstream source
+
+ -- Michael Stapelberg <michael+unworkable@stapelberg.de>  Sat, 04 Oct 2008 16:10:05 +0200
+
+unworkable (0.51-1) unstable; urgency=low
+
+  * First debian release
+  * Closes: #501089
+
+ -- Michael Stapelberg <michael+unworkable@stapelberg.de>  Sat, 04 Oct 2008 02:18:41 +0200
