Commit 564f18e7 authored by Michael Stapelberg's avatar Michael Stapelberg Committed by Michael Stapelberg

Import Debian patch 0.53-3

parent 6b1fea2b
unworkable (0.53-3) unstable; urgency=low
* Switch to libbsd, patch by Guillem Jover (Closes: #675077)
* Enable hardening
-- Michael Stapelberg <stapelberg@debian.org> 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 <stapelberg@debian.org> 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 <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
Source: unworkable
Section: net
Priority: optional
Maintainer: Michael Stapelberg <stapelberg@debian.org>
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.
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 <niallo@unworkable.org>
License: ISC
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.
Description: Use libbsd instead of shipped openbsd-compat
This deduplicates code we already have in libbsdat build- and run-time.
Author: Guillem Jover <guillem@debian.org>
Bug-Debian: http://bugs.debian.org/675077
Forwarded: no
Last-Update: 2012-05-29
Reviewed-By: Michael Stapelberg <stapelberg@debian.org>
--- 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
#!/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
version=3
http://code.google.com/p/unworkable/downloads/list .*/unworkable-(\d[\d.]*)\.(?:zip|tgz|tbz2|txz|tar\.gz|tar\.bz2|tar\.xz)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment