debian/0000755000000000000000000000000012254111222007156 5ustar debian/libqb0.docs0000644000000000000000000000002011736113433011203 0ustar README.markdown debian/libqb-dev.install0000644000000000000000000000012111736517015012423 0ustar usr/include/* usr/lib/lib*.a usr/lib/lib*.so usr/lib/pkgconfig/* usr/share/man/* debian/rules0000755000000000000000000000106212122440105010234 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # enable hardening export DEB_BUILD_HARDENING=1 %: dh $@ --with autoreconf override_dh_autoreconf: dh_autoreconf ./autogen.sh debian/copyright0000644000000000000000000000244511736114103011123 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: libqb Source: https://github.com/asalkeld/libqb/wiki Files: lib/strlcat.c Copyright: 2007 Alan Robertson License: LGPL-2.0+ Files: lib/strlcpy.c Copyright: 2007 Alan Robertson License: LGPL-2.0+ Files: include/qb/qbatomic.h Copyright: 2003 Sebastian Wilhelmi License: LGPL-2.0+ Files: * Copyright: 2006-2012 Red Hat, Inc. License: LGPL-2.0+ Files: debian/* Copyright: 2012 Martin Loschwitz License: LGPL-2.0+ License: LGPL-2.0+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU Lesser General Public License can be found in "/usr/share/common-licenses/LGPL-2". debian/source/0000755000000000000000000000000011736112265010472 5ustar debian/source/format0000644000000000000000000000001411736103266011701 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012254111155010612 5ustar debian/patches/ubuntu_disable_tests.patch0000644000000000000000000000134012254111151016054 0ustar Index: b/tests/Makefile.am =================================================================== --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -92,11 +92,9 @@ EXTRA_DIST += resources.test EXTRA_DIST += blackbox-segfault.sh -TESTS = array.test map.test rb.test log.test blackbox-segfault.sh loop.test ipc.test resources.test +TESTS = array.test map.test blackbox-segfault.sh loop.test resources.test -resources.log: rb.log log.log ipc.log - -check_PROGRAMS = array.test map.test rb.test log.test loop.test ipc.test util.test crash_test_dummy file_change_bytes +check_PROGRAMS = array.test map.test loop.test util.test crash_test_dummy file_change_bytes check_SCRIPTS = resources.test blackbox-segfault.sh if HAVE_SLOW_TESTS debian/patches/aarch64_no_coarse_clock.patch0000644000000000000000000000202512226223636016274 0ustar From: William Grant Description: Avoid CLOCK_REALTIME_COARSE on aarch64 to avoid a kernel bug. . __kernel_clock_gettime in the aarch64 VDSO is buggy in the CLOCK_{REALTIME,MONOTONIC}_COARSE cases, resulting in a SIGSEGV or SIGBUS when it attempts to return. Index: libqb-0.16.0.real/lib/util.c =================================================================== --- libqb-0.16.0.real.orig/lib/util.c 2013-10-12 19:11:00.161767502 +1100 +++ libqb-0.16.0.real/lib/util.c 2013-10-12 19:11:42.761342092 +1100 @@ -153,7 +153,7 @@ { uint64_t nano_monotonic; struct timespec ts; -#ifdef CLOCK_REALTIME_COARSE +#if defined(CLOCK_REALTIME_COARSE) && !defined(__aarch64__) clock_gettime(CLOCK_REALTIME_COARSE, &ts); #else clock_gettime(CLOCK_REALTIME, &ts); @@ -180,7 +180,7 @@ void qb_util_timespec_from_epoch_get(struct timespec *ts) { -#ifdef CLOCK_REALTIME_COARSE +#if defined(CLOCK_REALTIME_COARSE) && !defined(__aarch64__) clock_gettime(CLOCK_REALTIME_COARSE, ts); #else clock_gettime(CLOCK_REALTIME, ts); debian/patches/series0000644000000000000000000000012212226223636012031 0ustar fix_version_number.patch ubuntu_disable_tests.patch aarch64_no_coarse_clock.patch debian/patches/fix_version_number.patch0000644000000000000000000000036212176645051015551 0ustar diff -ruN libqb-0.16.0.orig/.tarball-version libqb-0.16.0/.tarball-version --- libqb-0.16.0.orig/.tarball-version 1970-01-01 00:00:00.000000000 +0000 +++ libqb-0.16.0/.tarball-version 2013-08-02 05:56:15.612265343 +0000 @@ -0,0 +1 @@ +0.16.0 debian/compat0000644000000000000000000000000211736103266010371 0ustar 8 debian/control0000644000000000000000000000310212203174311010557 0ustar Source: libqb Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian HA Maintainers Uploaders: Martin Loschwitz Build-Depends: debhelper (>= 8.0.0), autotools-dev, doxygen, check, pkg-config, hardening-wrapper, dh-autoreconf Standards-Version: 3.9.3 Section: libs Homepage: https://github.com/asalkeld/libqb/wiki Package: libqb-dev Section: libdevel Architecture: any Depends: libqb0 (= ${binary:Version}), ${misc:Depends} Description: high performance client server features library (devel files) libqb provides a set of high performance client-server reusable features. It offers high performance logging, tracing, IPC and poll. Its initial features were spun off the Corosync cluster communication suite to make the accessible easier for other projects. . This package contains libqb's development files. You will need it if you plan to develop applications using any of libqb's features. Package: libqb0 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: high performance client server features library libqb provides a set of high performance client-server reusable features. It offers high performance logging, tracing, IPC and poll. Its initial features were spun off the Corosync cluster communication suite to make the accessible easier for other projects. . You'll need this package when installing the Pacemaker cluster manager (1.1.7 or higher) as it makes use of functions provided by this library. debian/changelog0000644000000000000000000000434312254111220011032 0ustar libqb (0.16.0.real-1ubuntu3) trusty; urgency=medium * debian/patches/ubuntu_disable_tests.patch: Remove dependency of resources.log on disabled tests. -- Colin Watson Tue, 17 Dec 2013 18:06:07 +0000 libqb (0.16.0.real-1ubuntu2) saucy; urgency=low * debian/patches/aarch64_no_coarse_clock.patch: Avoid CLOCK_REALTIME_COARSE on aarch64 due to a kernel bug. -- William Grant Sat, 12 Oct 2013 19:07:55 +1100 libqb (0.16.0.real-1ubuntu1) saucy; urgency=low * Merge from Debian unstable. Remaining changes: - debian/patches/ubuntu_disable_tests.patch: Updated. -- Andres Rodriguez Thu, 15 Aug 2013 11:38:09 -0400 libqb (0.16.0.real-1) unstable; urgency=low * New upload, this time with the "right" upstream .orig.tar.gz -- Martin Loschwitz Fri, 02 Aug 2013 05:38:44 +0000 libqb (0.16.0-1) unstable; urgency=low * New upstream release -- Martin Loschwitz Thu, 01 Aug 2013 10:57:28 +0000 libqb (0.14.4-1ubuntu1) saucy; urgency=low * Resync from debian experimental. * debian/patches/ubuntu_disable_tests.patch: Disable failing tests that cause the package to FTBFS. -- Andres Rodriguez Mon, 22 Jul 2013 16:47:44 -0400 libqb (0.14.4-1) experimental; urgency=low * New upstream release -- Martin Loschwitz Wed, 20 Mar 2013 22:55:49 +0000 libqb (0.14.3-2) unstable; urgency=low * debian/control: Added "check" and "pkg-config" to Build-Depends. -- Martin Loschwitz Tue, 13 Nov 2012 09:46:24 +0000 libqb (0.14.3-1) unstable; urgency=low * New upstream release -- Martin Loschwitz Tue, 13 Nov 2012 09:38:41 +0000 libqb (0.14.2-1) unstable; urgency=low * New upstream release -- Martin Loschwitz Tue, 09 Oct 2012 08:45:53 +0000 libqb (0.11.1-2) unstable; urgency=low * Added doxygen to Build-Depends to make sure documentation is built properly -- Martin Loschwitz Tue, 03 Apr 2012 06:47:36 +0000 libqb (0.11.1-1) unstable; urgency=low * Initial release (Closes: #666504) -- Martin Loschwitz Sun, 01 Apr 2012 16:47:49 +0000 debian/libqb0.install0000644000000000000000000000002211736103266011726 0ustar usr/lib/lib*.so.*