From 84babc25cd801132ef2482d95d300e4cdc674aa1 Mon Sep 17 00:00:00 2001 From: Angus Salkeld Date: Mon, 10 Sep 2012 12:02:20 +1000 Subject: [PATCH] Rebase to upstream v0.14.2 Signed-off-by: Angus Salkeld --- .gitignore | 1 + 0000-test-with-output.patch | 13 ---------- libqb.spec | 51 +++++++++++++++++++++++++++++++++---- sources | 2 +- 4 files changed, 48 insertions(+), 19 deletions(-) delete mode 100644 0000-test-with-output.patch diff --git a/.gitignore b/.gitignore index 5684366..e1ee963 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /libqb-0.13.0.tar.xz /libqb-0.14.0.tar.xz /libqb-0.14.1.tar.xz +/libqb-0.14.2.tar.xz diff --git a/0000-test-with-output.patch b/0000-test-with-output.patch deleted file mode 100644 index 4f5b776..0000000 --- a/0000-test-with-output.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 4a4dd0a..10981e4 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -11,7 +11,7 @@ AC_CONFIG_SRCDIR([lib/ringbuffer.c]) - AC_CONFIG_HEADERS([include/config.h include/qb/qbconfig.h]) - AC_USE_SYSTEM_EXTENSIONS - --AM_INIT_AUTOMAKE([-Wno-portability dist-xz color-tests parallel-tests]) -+AM_INIT_AUTOMAKE([-Wno-portability dist-xz]) - dnl automake >= 1.11 offers --enable-silent-rules for suppressing the output from - dnl normal compilation. When a failure occurs, it will then display the full - dnl command line diff --git a/libqb.spec b/libqb.spec index ab233e7..33086f0 100644 --- a/libqb.spec +++ b/libqb.spec @@ -1,5 +1,5 @@ Name: libqb -Version: 0.14.1 +Version: 0.14.2 Release: 1%{?dist} Summary: An IPC library for high performance servers @@ -9,8 +9,6 @@ URL: http://www.libqb.org Source0: https://fedorahosted.org/releases/q/u/quarterback/%{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Patch1: 0000-test-with-output.patch - BuildRequires: libtool doxygen procps check-devel automake #Requires: @@ -22,8 +20,6 @@ Initially these are IPC and poll. %prep %setup -q -%patch1 -p1 - # work-around for broken epoll in rawhide/f17 %build ./autogen.sh @@ -71,6 +67,51 @@ developing applications that use %{name}. %{_mandir}/man8/qb-blackbox.8.gz %changelog + +* Mon Sep 10 2012 Angus Salkeld - 0.14.2-1 +Get libqb building on cygwin. +ipc_us: slightly more robust cmsg handling +ipc_us: on Linux, set SO_PASSCRED on the sending socket too +ipc_us: clear request unused fields +TEST: Include writing and reading the blackbox in the log_long_msg test +LOG: fix qb_vsnprintf_deserialize() +blackbox: fix 64-bit big-endian issues +Remove IPC_NEEDS_RESPONSE_ACK and turn off shm ipc on solaris +Define unix path max for openbsd +Only turn on ipc_needs_response_ack=yes for solaris +Some improvements to kqueue usage. +kqueue: drop log message to trace. +Fix splint warning +openbsd requires netinet/in.h before arpa/inet.h +Avoid strcpy() use strlcpy() instead. +Fix kqueue complile warnings +openbsd doesn't have EBADMSG +openbsd has a different UNIX_PATH_MAX +LOG: change qb_vsprintf_serialize() into qb_vsnprintf_serialize() +TEST: increase timeout to 6 secs as the recv timeout is 5 secs +TEST: get the logic right - grrr. +Turn off attribute_section on netbsd +Some missing pshared semaphore checks +Cleanup the checks for pshared semaphores +Add a config check for pthread_mutexattr_setpshared +Remove uses of timersub and use qb_util_stopwatch +RB: change the #error to ENOTSUP if no usable shared process sem +LOOP-KQUEUE: fix reference before assignment. +build: fix libqb.pc creation and make maintainer-clean +LOG: Make sure the semaphores are initialized. +build: remove bashism in cc support check +Catch disconnected sockets on Solaris +Don't free rb->shared_hdr in qb_rb_create_from_file() +Check error return of qb_ipcs_uc_recv_and_auth() +Fix removal of automatically installed doc files when building rpms +Add the mailing list to the travis email notifications. +Work around debian not setting the arch path in splint. +Remove color-tests and parallel-tests automake options. +Add travis continuous integration config +LOG: Invoke custom log filter function if tag changes +tests/rbwriter: don't ignore write failure +ipcs: avoid use-after-free for size-0 || disconnect-request + * Wed Jul 18 2012 Angus Salkeld - 0.14.1-1 RB: set the new read pointer after clearing the header (#839605). RB: improve the debug print outs diff --git a/sources b/sources index 90baec7..a0fb6d1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -277e7534ee4674ec32d76f29184fff25 libqb-0.14.1.tar.xz +cde171cc4f4dd9af9bbf82fb0dc7cfc3 libqb-0.14.2.tar.xz