2011-02-15 23:06:20 +00:00
|
|
|
Name: libqb
|
2012-03-11 11:47:18 +00:00
|
|
|
Version: 0.11.1
|
2012-02-07 11:27:05 +00:00
|
|
|
Release: 1%{?dist}
|
2011-02-15 23:06:20 +00:00
|
|
|
Summary: An IPC library for high performance servers
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: http://www.libqb.org
|
2012-01-05 11:41:19 +00:00
|
|
|
Source0: https://fedorahosted.org/releases/q/u/quarterback/%{name}-%{version}.tar.xz
|
2011-02-15 23:06:20 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2012-02-06 21:32:08 +00:00
|
|
|
Patch1: 0000-test-with-output.patch
|
2012-01-10 09:23:55 +00:00
|
|
|
|
2012-02-06 21:32:08 +00:00
|
|
|
BuildRequires: libtool doxygen procps check-devel automake
|
2011-02-15 23:06:20 +00:00
|
|
|
|
|
|
|
#Requires: <nothing>
|
|
|
|
|
|
|
|
%description
|
|
|
|
libqb provides high performance client server reusable features.
|
|
|
|
Initially these are IPC and poll.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
2012-02-06 11:40:21 +00:00
|
|
|
%patch1 -p1
|
2012-01-10 09:23:55 +00:00
|
|
|
|
2012-03-11 11:47:18 +00:00
|
|
|
# work-around for broken epoll in rawhide/f17
|
2011-02-15 23:06:20 +00:00
|
|
|
%build
|
2012-02-06 21:32:08 +00:00
|
|
|
./autogen.sh
|
2012-03-11 11:47:18 +00:00
|
|
|
%configure --disable-static ac_cv_func_epoll_create1=no ac_cv_func_epoll_create=no
|
2011-02-15 23:06:20 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
|
rm -rf $RPM_BUILD_ROOT/%{_docdir}/*
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING
|
|
|
|
%{_libdir}/libqb.so.*
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release} pkgconfig
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
2011-07-18 01:37:07 +00:00
|
|
|
%doc COPYING README.markdown
|
2011-02-15 23:06:20 +00:00
|
|
|
%{_includedir}/qb/
|
|
|
|
%{_libdir}/libqb.so
|
|
|
|
%{_libdir}/pkgconfig/libqb.pc
|
|
|
|
%{_mandir}/man3/qb*3*
|
|
|
|
|
|
|
|
%changelog
|
2012-03-11 11:47:18 +00:00
|
|
|
* Sun Mar 11 2012 Angus Salkeld <asalkeld@redhat.com> - 0.11.1-1
|
|
|
|
- configue libqb to not use epoll as it seems broken (#800865)
|
|
|
|
- LOOP: remove some old timerfd code.
|
|
|
|
- TEST: add a test to check the order of the jobs
|
|
|
|
- LOOP: when new jobs are added they are added to the head instead of the tail.
|
|
|
|
- LOG: Now the array is self locking we can make the lookup array dynamic
|
|
|
|
- Add locking to the array when growing.
|
|
|
|
- IPC: make the _request_q_len_get() function more obvious.
|
|
|
|
- IPC: fix multiple receives from qb_ipc_us_recv()
|
|
|
|
- IPC: make sure that the wrong union member is not written to.
|
|
|
|
- TIMER: check for null timer handle
|
|
|
|
|
|
|
|
Wed Mar 7 2012 Angus Salkeld <asalkeld@redhat.com> - 0.11.0-1
|
2012-03-07 11:06:15 +00:00
|
|
|
- ARRAY: cleanup the pointer sizeof()
|
|
|
|
- LOG: turn off __attribute__(section) for powerpc (not working)
|
|
|
|
- TESTS: move the util tests into "slow-tests" (i.e. optional)
|
|
|
|
- TEST: make the test_priority the same type as in the callsite
|
|
|
|
- LOG: make the log arrays manually grow-able since we need to lock the calls.
|
|
|
|
- RB: fix test failure on ppc
|
|
|
|
- RB: change the name of the size to word_size to be more clear
|
|
|
|
- TEST: add some more signal tests.
|
|
|
|
- LOOP: fix deletion of signal handlers when they are pending
|
|
|
|
- LOOP: signal handlers were always added as high priority.
|
|
|
|
- TEST: deal with mac's limited sed
|
|
|
|
- check: add debugging to the configure options and remove unused options
|
|
|
|
- TEST: properly clear the filters
|
|
|
|
- LOG: expose the mechanism to get a dynamic callsite.
|
|
|
|
- Revert part of my COARSE grained timer commit
|
|
|
|
- Remove timerfd usage and go back to timelist.
|
|
|
|
- UTIL: if possible use COARSE resolution clocks - they are much faster.
|
|
|
|
- ARRAY: save memory (in the bins array) and allow holes in the array
|
|
|
|
- LOOP: add qb_loop_timer_is_running()
|
|
|
|
- LOOP: allow stop() and run() to be called with NULL loop instance.
|
|
|
|
- LOOP: fix doxygen parameter comment
|
|
|
|
- LOG: add stdout target
|
|
|
|
- LOOP: add a function to delete jobs
|
|
|
|
- LOG: remove debug printf's
|
|
|
|
- LOG: remove an old/incorrect doxygen comment.
|
|
|
|
- LOG: add a hostname %H format specifier.
|
|
|
|
- LOG: Add qb_log_filter_fn_set()
|
|
|
|
|
2012-02-14 11:05:51 +00:00
|
|
|
* Tue Feb 14 2012 Angus Salkeld <asalkeld@redhat.com> - 0.10.1-1
|
|
|
|
- Fix "make distcheck" add include path to AM_CPPFLAGS
|
|
|
|
- Bump the version to 0.10.1
|
|
|
|
- clang: Remove unused code
|
|
|
|
- TEST: make the ipc failure test closer to corosync's case.
|
|
|
|
- RB: add a debug message if trying to read a message of the wrong size
|
|
|
|
- IPC: split up the recv into chuncks of 2 seconds. (#788742)
|
|
|
|
- Be more consistent with the internal logs.
|
|
|
|
- LOOP: make it possible to pass in NULL as the default loop instance
|
|
|
|
- RB: use the proper struct not the typedef in the implementation.
|
|
|
|
- RB: Fix potential mem leak
|
|
|
|
- Don't mix enums (QB_TRUE/TRUE)
|
|
|
|
- use random() not rand()
|
|
|
|
- Remove dead code
|
|
|
|
- set umask before calling mkstemp()
|
|
|
|
- Use safer versions of string functions (strcpy -> strlcpy)
|
|
|
|
- Increase the coverity aggressiveness
|
|
|
|
- TEST: make the loop ratelimit test more forgiving.
|
|
|
|
|
2012-02-07 11:27:05 +00:00
|
|
|
* Tue Feb 07 2012 Angus Salkeld <asalkeld@redhat.com> - 0.10.0-1
|
|
|
|
- LOOP: handle errors from the poll function
|
|
|
|
- LOOP: make the item type applicable to jobs too.
|
|
|
|
- LOOP: fix the todo calculations.
|
|
|
|
- TEST: check for a single job causing a cpu spin
|
|
|
|
- LOOP: prevent jobs from consuming too much cpu.
|
|
|
|
- Get coverity to ignore this warning.
|
|
|
|
- Change example code to use fgets instead of gets
|
|
|
|
- LOG: pass the result of qb_log_thread_start() back to the user
|
|
|
|
- Fix some issues found by clang
|
|
|
|
- Add clang-analyzer check
|
|
|
|
- Add a split timer to the stopwatch.
|
|
|
|
- IPC: merge common code into new function
|
|
|
|
- IPC: better handle a disconnect been called from within connection_created()
|
|
|
|
- IPC: fix scary typo
|
|
|
|
- IPC: fix server error handling
|
|
|
|
|
2012-02-06 11:40:21 +00:00
|
|
|
* Mon Feb 06 2012 Angus Salkeld <asalkeld@redhat.com> - 0.9.0-2
|
|
|
|
- Fix a spin in the mainloop when a timer or poll gets removed
|
|
|
|
When in the job queue (#787196).
|
|
|
|
|
2012-01-26 22:04:52 +00:00
|
|
|
* Fri Jan 27 2012 Angus Salkeld <asalkeld@redhat.com> - 0.9.0-1
|
|
|
|
- Rebased to 0.9.0
|
|
|
|
|
2012-01-10 09:23:55 +00:00
|
|
|
* Tue Jan 10 2012 Angus Salkeld <asalkeld@redhat.com> - 0.8.1-2
|
|
|
|
- fix qb_timespec_add_ms()
|
|
|
|
|
2012-01-05 11:41:19 +00:00
|
|
|
* Thu Jan 5 2012 Angus Salkeld <asalkeld@redhat.com> - 0.8.1-1
|
|
|
|
- Rebased to 0.8.1 (#771914)
|
|
|
|
|
2011-11-17 01:34:46 +00:00
|
|
|
* Wed Nov 17 2011 Angus Salkeld <asalkeld@redhat.com> - 0.7.0-1
|
|
|
|
- Rebased to 0.7.0 (#754610)
|
|
|
|
|
2011-09-01 04:08:22 +00:00
|
|
|
* Thu Sep 1 2011 Angus Salkeld <asalkeld@redhat.com> - 0.6.0-2
|
|
|
|
- LOG: fix the default syslog filter
|
|
|
|
|
2011-08-30 12:52:45 +00:00
|
|
|
* Tue Aug 30 2011 Angus Salkeld <asalkeld@redhat.com> - 0.6.0-1
|
|
|
|
- Rebased to 0.6.0 which includes (#734457):
|
|
|
|
- Add a stop watch
|
|
|
|
- LOG: serialize the va_list, don't snprintf
|
|
|
|
- LOG: change active list into array access
|
|
|
|
- atomic: fix qb_atomic_pointer macros
|
|
|
|
- LOG: allow the thread priority to be set.
|
|
|
|
- Fix splint warning on ubuntu 11.04
|
|
|
|
|
2011-07-18 01:37:07 +00:00
|
|
|
* Mon Jul 18 2011 Angus Salkeld <asalkeld@redhat.com> - 0.5.1-1
|
|
|
|
- Rebased to 0.5.1 which includes:
|
|
|
|
- LOOP: make the return more consistent in qb_loop_timer_expire_time_get()
|
|
|
|
- LOG: add string.h to qblog.h
|
|
|
|
- Add a qb_strerror_r wrapper.
|
|
|
|
- don't let an invalid time stamp provoke a NULL dereference
|
|
|
|
- LOG: move priority check up to prevent unnecessary format.
|
|
|
|
- rename README to README.markdown
|
|
|
|
|
2011-06-08 00:21:29 +00:00
|
|
|
* Wed Jun 8 2011 Angus Salkeld <asalkeld@redhat.com> - 0.5.0-1
|
|
|
|
- Rebased to 0.5.0 which includes:
|
|
|
|
- new logging API
|
|
|
|
- support for sparc
|
|
|
|
- coverity fixes
|
|
|
|
|
2011-02-15 23:06:20 +00:00
|
|
|
* Tue Feb 8 2011 Angus Salkeld <asalkeld@redhat.com> - 0.4.1-2
|
|
|
|
- SPEC: improve devel files section
|
|
|
|
- SPEC: remove global variables
|
|
|
|
|
|
|
|
* Mon Jan 31 2011 Angus Salkeld <asalkeld@redhat.com> - 0.4.1-1
|
|
|
|
- SPEC: add procps to BuildRequire
|
|
|
|
- SPEC: remove automake and autoconf from BuildRequire
|
|
|
|
- SPEC: remove call to ./autogen.sh
|
|
|
|
- SPEC: update to new upstream version 0.4.1
|
|
|
|
- LOOP: check read() return value
|
|
|
|
- DOCS: add missing @param on new timeout argument
|
|
|
|
- BUILD: only set -g and -O options if explicitly requested.
|
|
|
|
- BUILD: Remove unneccessary check for library "dl"
|
|
|
|
- BUILD: improve the release build system
|
|
|
|
|
|
|
|
* Fri Jan 14 2011 Angus Salkeld <asalkeld@redhat.com> - 0.4.0-2
|
|
|
|
- remove "." from Summary
|
|
|
|
- Add "check-devel to BuildRequires
|
|
|
|
- Add "make check" to check section
|
|
|
|
- Changed a buildroot to RPM_BUILD_ROOT
|
|
|
|
- Document alphatag, numcomm and dirty variables.
|
|
|
|
|
|
|
|
* Sun Jan 09 2011 Angus Salkeld <asalkeld@redhat.com> - 0.4.0-1
|
|
|
|
- Initial release
|