debian/0000755000000000000000000000000011761234713007173 5ustar debian/changelog0000644000000000000000000000433111761234713011046 0ustar unworkable (0.53-3) unstable; urgency=low * Switch to libbsd, patch by Guillem Jover (Closes: #675077) * Enable hardening -- Michael Stapelberg Tue, 29 May 2012 22:53:34 +0200 unworkable (0.53-2) unstable; urgency=low * Update Homepage address (Closes: #670723) * Email change: Michael Stapelberg -> stapelberg@debian.org * Switch source format to 3.0 (quilt) * Add debian/watch * Add build-arch, build-indep * Bump standards version to 3.9.3 * Convert debian/changelog to machine-readable copyright specification -- Michael Stapelberg Mon, 30 Apr 2012 15:03:59 +0200 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 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 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 Thu, 14 May 2009 11:29:28 +0200 unworkable (0.51-4) unstable; urgency=low * Fix manpage (missing .El) -- Michael Stapelberg 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 Thu, 19 Feb 2009 01:30:08 +0100 unworkable (0.51-2) unstable; urgency=low * Use correct upstream source -- Michael Stapelberg Sat, 04 Oct 2008 16:10:05 +0200 unworkable (0.51-1) unstable; urgency=low * First debian release * Closes: #501089 -- Michael Stapelberg Sat, 04 Oct 2008 02:18:41 +0200 debian/source/0000755000000000000000000000000011747507453010503 5ustar debian/source/format0000644000000000000000000000001411747507453011711 0ustar 3.0 (quilt) debian/control0000644000000000000000000000126211761234651010600 0ustar Source: unworkable Section: net Priority: optional Maintainer: Michael Stapelberg Build-Depends: debhelper (>= 5), libbsd-dev, libevent-dev, libssl-dev, bison, pkg-config, dpkg-dev (>= 1.16.1~) Standards-Version: 3.9.3.1 Homepage: http://code.google.com/p/unworkable/ Package: unworkable Architecture: any 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. debian/watch0000644000000000000000000000020511747507436010232 0ustar version=3 http://code.google.com/p/unworkable/downloads/list .*/unworkable-(\d[\d.]*)\.(?:zip|tgz|tbz2|txz|tar\.gz|tar\.bz2|tar\.xz) debian/patches/0000755000000000000000000000000011761233757010631 5ustar debian/patches/libbsd.patch0000644000000000000000000000157611761233757013122 0ustar Description: Use libbsd instead of shipped openbsd-compat This deduplicates code we already have in libbsdat build- and run-time. Author: Guillem Jover Bug-Debian: http://bugs.debian.org/675077 Forwarded: no Last-Update: 2012-05-29 Reviewed-By: Michael Stapelberg --- unworkable-0.53.orig/GNUmakefile +++ unworkable-0.53/GNUmakefile @@ -29,13 +29,9 @@ SRCS=announce.c bencode.c buf.c ctl_serv LIBS=-levent -lcrypto -lpthread UNAME=$(shell uname) ifneq (, $(filter Linux GNU GNU/%, $(UNAME))) -SRCS+=openbsd-compat/strlcpy.c -SRCS+=openbsd-compat/strlcat.c SRCS+=openbsd-compat/sha1.c -SRCS+=openbsd-compat/strtonum.c -CFLAGS+=-DNO_STRLCPY -CFLAGS+=-DNO_STRLCAT -CFLAGS+=-DNO_STRTONUM +LIBS+=$(shell pkg-config --libs libbsd-overlay) +CFLAGS+=$(shell pkg-config --cflags libbsd-overlay) else ifeq ($(UNAME),sunos) SRCS+=openbsd-compat/err.c debian/patches/series0000644000000000000000000000001511761233567012041 0ustar libbsd.patch debian/rules0000755000000000000000000000305611761234547010264 0ustar #!/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 DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk config.status: configure dh_testdir touch $@ build: build-stamp build-arch: build-stamp build-indep: build-stamp build-stamp: dh_testdir # Add here commands to compile the package. $(MAKE) touch $@ clean: dh_testdir dh_testroot rm -f build-stamp # 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 debian/compat0000644000000000000000000000000211313772520010365 0ustar 5 debian/copyright0000644000000000000000000000200111747511035011116 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: unworkable Source: http://code.google.com/p/unworkable/ Files: * Copyright: Copyright 2007 Niall O'Higgins License: ISC Copyright (c) 2007 Niall O'Higgins 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.