webdis.git
9 years ago[PATCH] Use msgpack_pack_v4raw(_body) with new msgpack-c versions
James McCoy [Wed, 15 Jun 2016 13:26:20 +0000 (09:26 -0400)]
[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>
Gbp-Pq: Name msgpack-compat.patch

9 years ago[PATCH] Use pkg-config to find msgpack library when available
James McCoy [Wed, 15 Jun 2016 13:06:50 +0000 (09:06 -0400)]
[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>
Gbp-Pq: Name msgpack-pkgconfig.patch

9 years agoPass tests with python-msgpack >= 0.3
Andriy Senkovych [Wed, 16 Nov 2016 22:46:01 +0000 (22:46 +0000)]
Pass tests with python-msgpack >= 0.3

Bug: https://github.com/nicolasff/webdis/issues/92
Last-Update: 2014-08-03

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.

Gbp-Pq: Name tests.patch

9 years agoPrint HTTP port number in the logs during startup
Andriy Senkovych [Wed, 16 Nov 2016 22:46:01 +0000 (22:46 +0000)]
Print HTTP port number in the logs during startup

Last-Update: 2016-11-17

Current test suite allows dynamic HTTP port allocation for test purpose.
Once webdis is started it is possible to discover webdis' HTTP port using
netstat. However resent builds have shown that netstat has different options
for hurd and kfreebsd and thus tests are failed and the overall package build
is marked as failed as well. In order to overcome this I have tried to use
sockstat instead of netstat but bug #679876 renders sockstat unusable.

This patch removes the need to use netstat or sockstat to discover the port
number webdis is listening to and instead allows to simply grep the necessary
info out of webdis logs.
===================================================================

Gbp-Pq: Name print-listen-port-number.patch

9 years agowebdis (0.1.2+dfsg-2) unstable; urgency=medium
Andriy Senkovych [Wed, 16 Nov 2016 22:46:01 +0000 (22:46 +0000)]
webdis (0.1.2+dfsg-2) unstable; urgency=medium

  * Update testsuite variable names. Fixup to sockstat
  * Remove dependency on netstat or sockstat to run the tests

[dgit import unpatched webdis 0.1.2+dfsg-2]

9 years agoImport webdis_0.1.2+dfsg-2.debian.tar.xz
Andriy Senkovych [Wed, 16 Nov 2016 22:46:01 +0000 (22:46 +0000)]
Import webdis_0.1.2+dfsg-2.debian.tar.xz

[dgit import tarball webdis 0.1.2+dfsg-2 webdis_0.1.2+dfsg-2.debian.tar.xz]

9 years agoImport webdis_0.1.2+dfsg.orig.tar.gz
Andriy Senkovych [Wed, 9 Nov 2016 23:36:21 +0000 (23:36 +0000)]
Import webdis_0.1.2+dfsg.orig.tar.gz

[dgit import orig webdis_0.1.2+dfsg.orig.tar.gz]