--- libmemcached-0.30.orig/debian/compat +++ libmemcached-0.30/debian/compat @@ -0,0 +1 @@ +7 --- libmemcached-0.30.orig/debian/changelog +++ libmemcached-0.30/debian/changelog @@ -0,0 +1,19 @@ +libmemcached (0.30-1) unstable; urgency=low + + * New upstream release. + + -- Monty Taylor Sun, 31 May 2009 22:54:15 -0700 + +libmemcached (0.29-1) unstable; urgency=low + + * New upstream version. + * Added -dbg package. (Closes: #529285) + * Added libmemcachedutil packages. + + -- Monty Taylor Tue, 19 May 2009 01:09:28 -0700 + +libmemcached (0.28-1) unstable; urgency=low + + * Initial release (Closes: #468258) + + -- Monty Taylor Mon, 11 May 2009 16:39:21 -0700 --- libmemcached-0.30.orig/debian/libmemcached-dev.install +++ libmemcached-0.30/debian/libmemcached-dev.install @@ -0,0 +1,6 @@ +usr/include/libmemcached/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/lib*.la +usr/lib/pkgconfig/* +usr/share/man/man3/*3 --- libmemcached-0.30.orig/debian/libmemcached2.install +++ libmemcached-0.30/debian/libmemcached2.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- libmemcached-0.30.orig/debian/libmemcached-tools.README.Debian +++ libmemcached-0.30/debian/libmemcached-tools.README.Debian @@ -0,0 +1 @@ +memstat has been moved to memstat.libmemcached as there is already a memstat program. --- libmemcached-0.30.orig/debian/watch +++ libmemcached-0.30/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://download.tangent.org/libmemcached-(.*)\.tar\.gz --- libmemcached-0.30.orig/debian/control +++ libmemcached-0.30/debian/control @@ -0,0 +1,83 @@ +Source: libmemcached +Priority: extra +Maintainer: Monty Taylor +Build-Depends: debhelper (>= 7), perl, memcached, chrpath +Standards-Version: 3.8.1 +Section: libs +Homepage: http://tangent.org/552/libmemcached.html +Vcs-Browser: http://bazaar.launchpad.net/~mordred/pkg-libmemcached/trunk/files +Vcs-Bzr: http://bazaar.launchpad.net/~mordred/pkg-libmemcached/trunk + +Package: libmemcached-dev +Section: libdevel +Architecture: any +Depends: libmemcached2 (= ${binary:Version}), ${shlibs:Depeds}, ${misc:Depends} +Description: Development files for libmemcached + libmemcached is a C and C++ client library to the memcached server + (http://danga.com/memcached). It has been designed to be light on + memory usage, thread safe, and provide full access to server side methods. + . + A few notes on its design: + * Synchronous and Asynchronous support. + * TCP and Unix Socket protocols. + * A half dozen or so different hash algorithms . + * Implementations of the new cas, replace, and append operators. + * Man pages written up on entire API. + * Implements both modulo and consistent hashing solutions. + +Package: libmemcached2 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: memcached +Description: A C and C++ client library to the memcached server + libmemcached is a C and C++ client library to the memcached server + (http://danga.com/memcached). It has been designed to be light on + memory usage, thread safe, and provide full access to server side methods. + . + A few notes on its design: + . + * Synchronous and Asynchronous support. + * TCP and Unix Socket protocols. + * A half dozen or so different hash algorithms . + * Implementations of the new cas, replace, and append operators. + * Man pages written up on entire API. + * Implements both modulo and consistent hashing solutions. + +Package: libmemcached-tools +Architecture: any +Section: utils +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Commandline tools for talking to memcached via libmemcached + libmemcached is a C and C++ client library to the memcached server + (http://danga.com/memcached). It has been designed to be light on + memory usage, thread safe, and provide full access to server side methods. + . + This package provides several command line tools: + . + * memcat - Copy the value of a key to standard output + * memflush - Flush the contents of your servers. + * memrm - Remove a key(s) from the serrver. + * memcp - Copy files to a memached server. + * memstat - Dump the stats of your servers to standard output + * memslap - Generate testing loads on a memcached cluster + +Package: libmemcached-dbg +Section: debug +Architecture: any +Depends: libmemcached2 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: Debug Symbols for libmemcached + libmemcached is a C and C++ client library to the memcached server + (http://danga.com/memcached). It has been designed to be light on + memory usage, thread safe, and provide full access to server side methods. + . + A few notes on its design: + . + * Synchronous and Asynchronous support. + * TCP and Unix Socket protocols. + * A half dozen or so different hash algorithms . + * Implementations of the new cas, replace, and append operators. + * Man pages written up on entire API. + * Implements both modulo and consistent hashing solutions. + . + This package provides debug symbols. + --- libmemcached-0.30.orig/debian/docs +++ libmemcached-0.30/debian/docs @@ -0,0 +1,6 @@ +AUTHORS +ChangeLog +NEWS +README +TODO +THANKS --- libmemcached-0.30.orig/debian/libmemcached-tools.install +++ libmemcached-0.30/debian/libmemcached-tools.install @@ -0,0 +1,2 @@ +usr/bin/* +usr/share/man/man1/*1 --- libmemcached-0.30.orig/debian/copyright +++ libmemcached-0.30/debian/copyright @@ -0,0 +1,18 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat +Debianized-By: Monty Taylor +Debianized-Date: Wed, 27 Feb 2008 16:15:29 -0800. +Original-Source: http://tangent.org/552/libmemcached.html + +Files: debian/* +Copyright: Copyright (c) 2009, Monty Taylor +License: GPL-3 + +Files: * +Copyright: Copyright (c) 2008, Brian Aker +License: BSD + +On Debian GNU/Linux systems, the complete text of the BSD License can +be found in `/usr/share/common-licenses/BSD'. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License v3 can be found in `/usr/share/common-licenses/GPL-3'. --- libmemcached-0.30.orig/debian/rules +++ libmemcached-0.30/debian/rules @@ -0,0 +1,45 @@ +#!/usr/bin/make -f + +TMP=$(CURDIR)/debian/tmp/ + +build: build-stamp +build-stamp: + # Skip make test until memcached is updated in the repo + dh --before auto_test build + dh --after auto_test build + touch build-stamp + + +clean: + dh clean + +install: build install-stamp +install-stamp: + dh --until auto_install install + # Naming conflict: rename memstat + mv $(TMP)/usr/bin/memstat $(TMP)/usr/bin/memstat.libmemcached + mv $(TMP)/usr/share/man/man1/memstat.1 $(TMP)/usr/share/man/man1/memstat.libmemcached.1 + # After installing, remove rpath to make lintian happy. + set +e; \ + find $(TMP) -type f -print0 \ + | xargs -0 --no-run-if-empty chrpath -k 2>/dev/null \ + | fgrep RPATH= \ + | cut -d: -f 1 \ + | xargs --no-run-if-empty chrpath -d; \ + set -e + dh --remaining install + touch install-stamp + + +binary-arch: install + dh binary-arch --before strip + dh_strip --dbg-package=libmemcached-dbg + dh binary-arch --after strip + +binary-indep: install + dh binary-indep + +binary: binary-arch binary-indep + +get-orig-source: + uscan --verbose --force-download --rename --repack --destdir=../build-area