Package: webdis / 0.1.4+dfsg-1

Metadata

Package Version Patches format
webdis 0.1.4+dfsg-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
fix test new libevent.patch | (download)

tests/pubsub.c | 24 19 + 5 - 0 !
1 file changed, 19 insertions(+), 5 deletions(-)

 fix pubsub test when compiled w/ libevent 2.1.x
 The pubsub test hangs in the infinite loop due to changes in the libevent2.x
 compared to the previous version. This patch makes test pass again.
print listen port number.patch | (download)

server.c | 15 14 + 1 - 0 !
1 file changed, 14 insertions(+), 1 deletion(-)

 print http port number in the logs during startup
 Current test suite allows dynamic HTTP port allocation for test purpose.
 Once webdis is started it is possible to discover webdis' HTTP port using
tests.patch | (download)

tests/basic.py | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 pass tests with python-msgpack >= 0.3
 Current test suite pass with python-msgpack v0.2 but fails with python-msgpack
 v0.3 and later due to changes in the library. Currently Debian ships v0.3 
 for jessie and wheezy-backports.
msgpack pkgconfig.patch | (download)

Makefile | 14 10 + 4 - 0 !
1 file changed, 10 insertions(+), 4 deletions(-)

 [patch] use pkg-config to find msgpack library when available

Since 0.5.8, msgpack-c has provided a pkg-config file.  If it's
installed, use pkg-config to get the relevant CFLAGS/LDFLAGS.

Signed-off-by: James McCoy <jamessan@jamessan.com>

msgpack compat.patch | (download)

formats/msgpack.c | 12 12 + 0 - 0 !
1 file changed, 12 insertions(+)

 [patch] use msgpack_pack_v4raw(_body) with new msgpack-c versions

In msgpack-c's 1.0.0 release, the code was changed to be compatible with
the v5 msgpack spec, specifically separating out the STR and BIN types
as replacements for the old RAW type.

While the STR type is likely the right replacement type to use, it does
introduce a str 8 variant that wasn't present for the old RAW type.  For
better compatibility, the msgpack_pack_v4raw functions were added to
directly map to the old functionality.

Signed-off-by: James McCoy <jamessan@jamessan.com>

msgpack clib.patch | (download)

Makefile | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [patch] find libmsgpackc in multi-arch library paths

The msgpack library may be present in /usr/lib or /usr/lib/$arch,
but only the former is being searched.  Check both places and fix the
library name to use the C lib (libmsgpackc) rather than the C++ lib
(libmsgpack).

Signed-off-by: James McCoy <jamessan@jamessan.com>