2007-01-16 00:21:45 +01:00
|
|
|
#
|
2008-07-08 21:38:39 +02:00
|
|
|
# spec file for package libevent (Version 1.4.5)
|
2007-01-16 00:21:45 +01:00
|
|
|
#
|
2008-03-28 16:56:17 +01:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:21:45 +01:00
|
|
|
#
|
2008-09-24 00:19:19 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:21:45 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-03-28 16:56:17 +01:00
|
|
|
|
2007-01-16 00:21:45 +01:00
|
|
|
Name: libevent
|
2007-12-31 22:26:53 +01:00
|
|
|
Url: http://monkey.org/~provos/libevent/
|
2007-01-16 00:21:45 +01:00
|
|
|
Summary: Library Providing an Event Handling API
|
2008-07-08 21:38:39 +02:00
|
|
|
Version: 1.4.5
|
2008-09-24 00:19:19 +02:00
|
|
|
Release: 24
|
2007-01-16 00:21:45 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2007-12-31 22:26:53 +01:00
|
|
|
License: BSD 3-Clause
|
2007-01-16 00:21:45 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
PreReq: %fillup_prereq %insserv_prereq
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-04-09 00:16:21 +02:00
|
|
|
Source: http://monkey.org/~provos/libevent-%{version}-stable.tar.bz2
|
2007-01-16 00:21:45 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The libevent library provides a mechanism to execute a function when a
|
|
|
|
specific event on a file descriptor occurs or after a given time has
|
|
|
|
passed.
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-24 00:19:19 +02:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Nils Provos <provos@citi.umich.edu>
|
|
|
|
|
|
|
|
%define library_name libevent-1_4-2
|
|
|
|
%define debug_package_requires %{library_name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%package -n libevent-1_4-2
|
|
|
|
License: BSD 3-Clause
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Provides: %{name} = %{version}-%{release}
|
|
|
|
Obsoletes: %{name} <= %{version}
|
|
|
|
#
|
|
|
|
Summary: Shared libraries from libevent
|
|
|
|
|
|
|
|
%description -n libevent-1_4-2
|
|
|
|
The libevent library provides a mechanism to execute a function when a
|
|
|
|
specific event on a file descriptor occurs or after a given time has
|
|
|
|
passed.
|
|
|
|
|
|
|
|
This package holds the shared libraries for libevent.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Nils Provos <provos@citi.umich.edu>
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
License: BSD 3-Clause
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %{library_name} = %{version}
|
|
|
|
Provides: %{name}:/usr/include/event.h
|
|
|
|
# both have /usr/include/event.h
|
|
|
|
Conflicts: libev-devel
|
|
|
|
#
|
|
|
|
Summary: Development files for libevent
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The libevent library provides a mechanism to execute a function when a
|
|
|
|
specific event on a file descriptor occurs or after a given time has
|
|
|
|
passed.
|
|
|
|
|
|
|
|
This package holds the development files for libevent.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-16 00:21:45 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Nils Provos <provos@citi.umich.edu>
|
|
|
|
|
|
|
|
%prep
|
2008-04-09 00:16:21 +02:00
|
|
|
%setup -q -n %name-%version-stable
|
2007-01-16 00:21:45 +01:00
|
|
|
|
|
|
|
%build
|
2007-02-25 23:27:17 +01:00
|
|
|
autoreconf -i -f
|
2008-09-24 00:19:19 +02:00
|
|
|
%configure --disable-static
|
2007-01-16 00:21:45 +01:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2008-09-24 00:19:19 +02:00
|
|
|
%{__rm} -v %{buildroot}%{_libdir}/*.la
|
2007-01-16 00:21:45 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2008-09-24 00:19:19 +02:00
|
|
|
%post -n %{library_name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n %{library_name} -p /sbin/ldconfig
|
2007-12-31 22:26:53 +01:00
|
|
|
|
2008-09-24 00:19:19 +02:00
|
|
|
%files -n %{library_name}
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libevent-1.4.so.2*
|
|
|
|
%{_libdir}/libevent_core-1.4.so.2*
|
|
|
|
%{_libdir}/libevent_extra-1.4.so.2*
|
2007-12-31 22:26:53 +01:00
|
|
|
|
2008-09-24 00:19:19 +02:00
|
|
|
%files devel
|
2007-01-16 00:21:45 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/event_rpcgen.py
|
|
|
|
%{_includedir}/*.h
|
2008-09-24 00:19:19 +02:00
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_libdir}/libevent.so
|
|
|
|
%{_libdir}/libevent_core.so
|
|
|
|
%{_libdir}/libevent_extra.so
|
2007-01-16 00:21:45 +01:00
|
|
|
|
2007-02-25 23:27:17 +01:00
|
|
|
%changelog
|
2008-09-24 00:19:19 +02:00
|
|
|
* Tue Sep 16 2008 mrueckert@suse.de
|
|
|
|
- split out devel and shared library package.
|
|
|
|
- drop static libs
|
2008-07-08 21:38:39 +02:00
|
|
|
* Thu Jul 03 2008 meissner@suse.de
|
|
|
|
- upgraded to version 1.4.5-stable:
|
|
|
|
o Fix connection keep-alive behavior for HTTP/1.0
|
|
|
|
o Fix use of freed memory in event_reinit; pointed out by Peter Postma
|
|
|
|
o Constify struct timeval * where possible; pointed out by Forest
|
|
|
|
Wilkinson
|
|
|
|
o allow min_heap_erase to be called on removed members; from liusifan.
|
|
|
|
o Rename INPUT and OUTPUT to EVRPC_INPUT and EVRPC_OUTPUT. Retain
|
|
|
|
INPUT/OUTPUT aliases on on-win32 platforms for backwards compatibility.
|
|
|
|
o Do not use SO_REUSEADDR when connecting
|
|
|
|
o Fix Windows build
|
|
|
|
o Fix a bug in event_rpcgen when generated fixed-sized entries
|
|
|
|
- upgraded to version 1.4.4-stable:
|
|
|
|
o Correct the documentation on buffer printf functions.
|
|
|
|
o Don't warn on unimplemented epoll_create(): this isn't a problem,
|
|
|
|
just a reason to fall back to poll or select.
|
|
|
|
o Correctly handle timeouts larger than 35 minutes on Linux with epoll.c.
|
|
|
|
This is probably a kernel defect, but we'll have to support old kernels
|
|
|
|
anyway even if it gets fixed.
|
|
|
|
o Fix a potential stack corruption bug in tagging on 64-bit CPUs.
|
|
|
|
o expose bufferevent_setwatermark via header files and fix high watermark
|
|
|
|
on read
|
|
|
|
o fix a bug in bufferevent read water marks and add a test for them
|
|
|
|
o introduce bufferevent_setcb and bufferevent_setfd to allow better
|
|
|
|
manipulation of bufferevents
|
|
|
|
o use libevent's internal timercmp on all platforms, to avoid bugs on
|
|
|
|
old platforms where timercmp(a,b,<=) is buggy.
|
|
|
|
o reduce system calls for getting current time by caching it.
|
|
|
|
o fix evhttp_bind_socket() so that multiple sockets can be bound by
|
|
|
|
the same http server.
|
|
|
|
o Build test directory correctly with CPPFLAGS set.
|
|
|
|
o Fix build under Visual C++ 2005.
|
|
|
|
o Expose evhttp_accept_socket() API.
|
|
|
|
o Merge windows gettimeofday() replacement into a new
|
|
|
|
evutil_gettimeofday() function.
|
|
|
|
o Fix autoconf script behavior on IRIX.
|
|
|
|
o Make sure winsock2.h include always comes before windows.h include.
|
2008-04-09 00:16:21 +02:00
|
|
|
* Tue Apr 08 2008 meissner@suse.de
|
|
|
|
- upgraded to version 1.4.3stable
|
|
|
|
* include Content-Length in reply for HTTP/1.0 requests with keep-alive
|
|
|
|
* Patch from Tani Hosokawa: make some functions in http.c threadsafe.
|
|
|
|
* Do not free the kqop file descriptor in other processes, also allow it to be 0; from Andrei Nigmatulin
|
|
|
|
* make event_rpcgen.py generate code include event-config.h; reported by Sam Banks.
|
|
|
|
* make event methods static so that they are not exported; from Andrei Nigmatulin
|
|
|
|
* make RPC replies use application/octet-stream as mime type
|
|
|
|
* do not delete uninitialized timeout event in evdns
|
2008-03-28 16:56:17 +01:00
|
|
|
* Fri Mar 28 2008 meissner@suse.de
|
|
|
|
- upgraded to version 1.4.2rc
|
|
|
|
* make Solaris event subsystems more reliable; from W.C.A. Wijngaards
|
|
|
|
* event_base_get_method(); from Springande Ulv
|
|
|
|
* fix HTTP/1.1 chunk formatting; from "propanbutan"
|
|
|
|
* allow 64-bit content lengths; from Scott Lamb
|
|
|
|
* and more...
|
|
|
|
- upgraded to version 1.4.1beta
|
|
|
|
* fixed some memory leaks and other misc cleanup; from Christopher Layne, Scott Lamb and Charles Kerr
|
|
|
|
* introduced event_reinit to deal with fork()
|
|
|
|
* improved efficiency of generated RPC structure
|
|
|
|
* performance improvements to Win32 backend
|
|
|
|
* and many more...
|
|
|
|
- upgraded to version 1.4.0beta
|
|
|
|
* a new RPC subsytem for writing distributed clients and servers
|
|
|
|
* almost everything is documented via Doxygen now
|
|
|
|
* many fixes and improvements to evdns and evhttp
|
|
|
|
* libevent now builds two additional libraries: libevent_core (containing only the event core) and libevent_extras (contained evdns, evhttp and evrpc)
|
|
|
|
* performance improvements due to using a heap instead of red-black trees for timeouts
|
|
|
|
* Solaris' event ports are better supported
|
|
|
|
* Thu Dec 27 2007 crrodriguez@suse.de
|
2007-12-31 22:26:53 +01:00
|
|
|
- fix library-without-ldconfig-* errors
|
|
|
|
- version 1.3e
|
|
|
|
* Add a "Date" header to HTTP responses when it's missing, as required by HTTP 1.1. Original Patch from Ralph Moritz.
|
|
|
|
* Fix a memory leak in which failed HTTP connections whould not free the request object.
|
|
|
|
* Fix a memory leak in the DNS server.
|
|
|
|
* Handle NULL timeouts correctly on Solaris; from Trond Norbye
|
|
|
|
* Recalculate pending events properly when reallocating event array on Solaris; from Trond Norbye
|
2008-03-28 16:56:17 +01:00
|
|
|
* Mon Mar 05 2007 meissner@suse.de
|
2007-03-05 15:26:40 +01:00
|
|
|
- upgraded to 1.3b:
|
|
|
|
+ signals now useable in multithreaded apps.
|
2008-03-28 16:56:17 +01:00
|
|
|
* Tue Feb 20 2007 meissner@suse.de
|
2007-02-25 23:27:17 +01:00
|
|
|
- Updated to 1.3a.
|
|
|
|
+ Small bug and performances fixes to evhttp layer.
|
|
|
|
+ DNS Server from Adam Langley and Nick Mathewson
|
|
|
|
+ Chunked transfer encoding for HTTP/1.1 from Dug Song.
|
|
|
|
+ DNS DDoS fix; bug report from Jon Oberheide.
|
|
|
|
+ Various small improvements.
|
2008-03-28 16:56:17 +01:00
|
|
|
* Sun Nov 12 2006 lmuelle@suse.de
|
2007-01-16 00:21:45 +01:00
|
|
|
- Update to version 1.2.
|
|
|
|
+ Support for non-blocking DNS resolution.
|
|
|
|
+ Support for lightweight HTTP clients and servers.
|
2008-03-28 16:56:17 +01:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:21:45 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-03-28 16:56:17 +01:00
|
|
|
* Mon May 30 2005 okir@suse.de
|
2007-01-16 00:21:45 +01:00
|
|
|
- Initial packaging
|