Package: beanstalkd / 1.10-4

Metadata

Package Version Patches format
beanstalkd 1.10-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Fix FTBFS for gnu kfreebsd.patch | (download)

Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix ftbfs for gnu/kfreebsd

Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664613

0002 Sanitize Makefile.patch | (download)

Makefile | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 sanitize makefile

Use debian CFLAGS and LDFLAGS instead of upstream's

0003 Use external sd daemon on linux.patch | (download)

Makefile | 11 9 + 2 - 0 !
net.c | 8 7 + 1 - 0 !
util.c | 6 6 + 0 - 0 !
3 files changed, 22 insertions(+), 3 deletions(-)

 enable linking with debian libsystemd-daemon

Compile and link with libsystemd-daemon on linux. Beanstalkd
ships with sd-daemon in the upstream distribution. We use that
only on arches where libsystemd-daemon is not available.

0004 fix test suite.patch | (download)

ct/ct.c | 10 6 + 4 - 0 !
1 file changed, 6 insertions(+), 4 deletions(-)

 fix upstream test suite
 Upstream's test suite has two issues:

 a) it includes <sys/time.h> instead of <time.h>, which lacks the definition of
    CLOCK_MONOTONIC.

 b) it uses a non-constant as a static initializer.

 We fix both these issues.

0005 fix log compaction with a log over 2GB.patch | (download)

dat.h | 4 2 + 2 - 0 !
walg.c | 4 2 + 2 - 0 !
2 files changed, 4 insertions(+), 4 deletions(-)

 [patch] fix log compaction with a log over 2gb

There was a 32-bit integer overflow calculating the
ratio of used to wasted log space. For a log over 2GB,
checking the ratio would always conclude it was under
the acceptable threshold, and compaction would never
run. Now we record the log size and compute the ratio in
64 bits.

Fixes #276
Closes #278