Accepting request 459539 from home:dmdiss:elastocloud

- Update to 2.1.8 stable
- Fix build on non-SUSE rpm based platforms.

OBS-URL: https://build.opensuse.org/request/show/459539
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libevent?expand=0&rev=27
This commit is contained in:
Ismail Dönmez 2017-02-21 18:41:03 +00:00 committed by Git OBS Bridge
parent 41daeb48d8
commit fa77242814
8 changed files with 980 additions and 634824 deletions

View File

@ -1 +0,0 @@
libevent-2_0-5

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:71c2c49f0adadacfdbe6332a372c38cf9c8b7895bb73dabeaa53cdcc1d4e1fa3
size 854987

View File

@ -1,14 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQGVAwUAVKqqxJEDl9iNKTGaAQLv5Qv+MdcKNtyQrxQIDCqig3P7FyzWTfltwjin
76pBCqZONHyWsqD9+/gHBu3lyqN/T2wcyYQevt2M/qVn5xdATL5Tru6le3tywI+5
/2jF3yZMVoAFAQ1dt3KIeNYIuMSiFHAMobhrBtaBMuCV9uV5Ds+6Vl0Krc7aeEwR
p6DECS5fC/0P58zbbTO+zat1Pg9e7Q2n1DD60PYmqfwwvP/O1HNfPVcWHXgdaxIq
6oEgwErljmzTXY4qiZ+q7pqI73Mvy6qfBMpUcwxHgKrtrmeHlIO9nu693TK4r/HK
ACnaBo6LQqepswLQXY/ngGa7K0E4m+e4Ke67sXro97Jvqa2NBY9eb7WdEamxlVO6
2NH1MG+kxJx4Z4C2RhuGQ0pokOCk1oXU4E7dUdd/xFiDhkTqvH0kgnPV71qYOCow
FtPiNLAfohhSYuFZSyJiVo7J9ICsrzFDkONqDoryiLundJDcQoomakFM1wc+IalC
KhRl5ePROXSJUmP+d5XlN/mxgPN+V8i0
=gVJN
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:965cc5a8bb46ce4199a47e9b2c9e1cae3b137e8356ffdad6d94d3b9069b71dc2
size 1026485

View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEnjrIOieXS4TRs0AduGCGhI74aG0FAliON3sACgkQuGCGhI74
aG3xjAf9HAOYjCEfqzHFsEmycNOJ7QJRmd7yN+erfP07ftMFOMePXfhRCbFXqooP
hqZC2pErS8cHaqG3CVWXO6HeQy9f7Eazp/ssO69NW71XEdynSMAxNYi9nY+zGUjS
oecSx2fZmH8+yN4ZdXvtA6UvWoOEFw8jBQShHSHvz6Hk3kBK5aAKuogtmHe3Yp9K
ihKKm3SNBJK8nkf+U/6Qa5KSlMZmhagpiXnN/jMiYlCGcHSdj7OFr5pezdTRlLrp
EO/dTQW4x9M/gqA2KO+jbCgGsyF1yKPYTKo9BKhkmiQledrnL4Emky4inI+XvKDe
tY/5jjUxATojzOKDsYqJWliZH6NjMA==
=aV3q
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,83 @@
-------------------------------------------------------------------
Mon Feb 20 14:13:21 UTC 2017 - ddiss@suse.com
- Update to 2.1.8 stable
+ Fix _FILE_OFFSET_BITS redinition (solaris/autotools) (336f3b11 Azat
Khuzhin)
+ util-internal: fix __func__ redefinition (netbsd) (253e7fa9 Azat Khuzhin)
+ Fix signedness differ for iov_base (solaris) (2c62062e Azat Khuzhin)
+ evutil_time: include <unistd.h> when there is only sleep()/usleep()
(3e75194c Azat Khuzhin)
+ http: fix formatter for pritnf for req->ntoread (osx) (1cbf26f6 Azat
Khuzhin)
+ Merge branch 'automake-tests-parallel-v4' (*includes ci bits also*)
(59e217df Azat Khuzhin)
+ vagrant/netbsd: missing libtool (9c9be399 Azat Khuzhin)
+ vagrant/netbsd: more reliable way of installing packages (36da6877 Azat
Khuzhin)
+ vagrant/osx: use make instead of gmake (there is no gmake) (f7c70aef Azat
Khuzhin)
+ vagrant: add centos box (ca591c5b Azat Khuzhin)
+ test/dns: replace servname since solaris does not have "http" (d6bafbbe
Azat Khuzhin)
+ test/thread: netbsd is too slow, increase timeout for conditions_simple
(3c7422fc Azat Khuzhin)
+ test/dns: run async resolving after sync one (to avoid timeouts) (07862531
Azat Khuzhin)
+ test/http: turn off some tests that based on backlog filling (falky)
(26f416c1 Azat Khuzhin)
+ Merge branch 'openssl-filter-fixes-v4' (83e0f43b Azat Khuzhin)
+ Merge branch 'date-rfc1123' (68def435,4798de6c,4545807d Azat Khuzhin)
+ Merge branch 'be-openssl-fd-reset-fix-v2' (86fa0070,32adf434 Azat Khuzhin)
+ Merge branch 'openssl-1.1-init-fixes-v2' (18a161f0 Azat Khuzhin)
+ Fix incorrect MIME type (23f9a20e johnsonlee)
+ Update README.md (3821cca1 Breaker)
- Add libevent-2.1.8-stable.tar.gz.asc tarball GPG signature
+ Replace keyring with Azat Khuzhin's public key
-------------------------------------------------------------------
Fri Nov 25 13:32:16 UTC 2016 - ddiss@suse.com
- Update to 2.1.7 rc
+ Use coveralls.io via travis (9ac000c Azat Khuzhin)
+ travis-ci: use container-based infrastructure (7e12e96 Azat Khuzhin)
+ travis-ci/osx: fix compiling/linking openssl libraries (9d2f8d4 Azat
Khuzhin)
+ travis-ci: use gcc-5 (fixes osx|gcc failures) (d7ceae5 Azat Khuzhin)
+ Testing with vagrant for 6 OS and cmake+autoconf (9585338 Azat Khuzhin)
+ travis-ci/osx: install lcov (e4e099b Azat Khuzhin)
+ Fix cmake -DEVENT__COVERAGE=ON (40fbffc Azat Khuzhin)
+ autogen.sh: learn about gmake (9376ac4 Azat Khuzhin)
+ autogen.sh: remove all autoconf/automake caches, if any (69cce25 Azat
Khuzhin)
+ cmake: fix finding python2, and check that it is really 2 (3453c08 Azat
Khuzhin)
+ cmake: fix CheckFunctionExistsEx/CheckPrototypeDefinition (CMP0054)
(43b69b2 Azat Khuzhin)
+ cmake: cleanup (dc624ad Zonr Chang)
+ cmake/win32: fix running regress, but fixing finding python2 interpreter
(bcb990a Azat Khuzhin)
+ cmake: use PYTHON_EXECUTABLE to find python2 (a4d044c Azat Khuzhin)
+ Merge branch 'force-disable-clockgettime' (83c7cdf Azat Khuzhin)
+ use ev_uint16_t instead of unsigned short for port (e983712 Thomas
Bernard)
+ Merge branch 'contrib-guide-v2' (b9c5077 Azat Khuzhin)
+ poll: Prevent libevent from spinning if POLLNVAL occurs (675974c Tim
Hentenaar)
+ test/regress: cover a polling of invalid fd (cb0df5c Tim Hentenaar)
+ Make it build using OpenSSL 1.1.0 (3e9e0a0 Kurt Roeckx)
+ Don't call BIO_number_{read|written} on NULL BIOs. (6702da1 Adam Langley)
+ Switch from a 512 to 2048-bit RSA key. (f9803a6 Adam Langley)
+ Ignore temporary configure files (8fb08ae Azat Khuzhin)
+ README.md: fix typo: ar -> are (2361616 Simone Basso)
+ be: just a simple mistake, reinclude the <errno.h> (7521664 Seven)
-------------------------------------------------------------------
Wed Jul 6 13:23:28 UTC 2016 - ddiss@suse.com
- Fix pkg-config/pkgconfig BuildRequires for Fedora.
-------------------------------------------------------------------
Sat Mar 14 09:10:46 UTC 2015 - mpluskal@suse.com
@ -62,6 +142,834 @@ Sun Feb 22 15:47:36 UTC 2015 - benoit.monin@gmx.fr
* Fix a typo in a doxygen comment
- update source URL
-------------------------------------------------------------------
Fri Jan 9 18:01:22 UTC 2015 - ddiss@suse.com
- Update to 2.1.5 beta
+ Avoid integer overflow bugs in evbuffer_add() and related
functions. See CVE-2014-6272 advisory for more information.
+ Provide support for SO_REUSEPORT through LEV_OPT_REUSABLE_PORT
+ Fix use-after-free error in EV_CLOSURE_EVENT callback (3cc0eac John Ohl)
+ Fix race caused by event_active (3c7d6fc vjpai)
+ Fix evbuffer_peek() with len==-1 and start_at non-NULL. (ba59923)
+ Consistently check for failure from evbuffer_pullup() (60f8f72)
+ Fix evbuffer_peek() with len==-1 and start_at non-NULL. (fb7e76a)
+ be async: avoid double close() (f133b86 Azat Khuzhin)
+ Fix issue #127, double free for filterevents that use
BEV_OPT_CLOSE_ON_FREE (2c82aa0 John Ohl)
+ make bufferevent_getwatermark api more robust (a21e510 ufo2243)
+ [Bugfix] fix bufferevent setwatermark suspend_read (b34e4ac ufo2243)
+ bufferevent_openssl: reset fd_is_set when setfd with -1 is called
(3da84c2 Azat Khuzhin)
+ Fix compilation for older OpenSSL versions. (5c7282f Joakim Soderberg)
+ Add evhttp_connection_set_family() to set addrinfo->family for
DNS requests (12c29b0 Azat Khuzhin)
+ Implement interface that provides the ability to have an outbound
evhttp_connection free itself once all requests have completed
(2b9ec4c,10fe4f John Ohl)
+ Implement new/free for struct evutil_monotonic_timer and export
monotonic time functions (f2645f8 Andrea Shepard)
+ Load hosts file on Windows. (a0b247c Vilmos Nebehaj)
+ Don't truncate hosts file path on Windows. (d0dc861 Vilmos Nebehaj)
+ Fix a crash in evdns related to shutting down evdns (9f39c88,e8fe749)
+ evdns: avoid read-after-free in evdns_request_timeout_callback()
(61262a0 Azat Khuzhin)
+ Correctly handle allocation failures in evdns_getaddrinfo (6a53d15)
+ evdns: fix EVDNS_BASE_DISABLE_WHEN_INACTIVE in case
retransmit/retry (74d0eee Azat Khuzhin)
+ evdns: add retry/reissue tests for
EVDNS_BASE_DISABLE_WHEN_INACTIVE (3ca9d43 Azat Khuzhin)
+ evdns: fail ns after we are failing/retrasmitting request
(97c750d Azat Khuzhin)
+ http: reset connection before installing retry timer (fix http
retries handling) (bc79cc5 Azat Khuzhin)
+ regress_dns: fix leaks in getaddrinfo_async{,_cancel_stress}
tests (2fdc5f2 Azat Khuzhin)
+ test: add family argument for http_connection_test_() (177b8a7
Azat Khuzhin)
+ test: add regress for evhttp_connection_set_family() with AF_INET
and AF_UNSPEC (42aefeb Azat Khuzhin)
+ test/http: add regress test for set family to AF_INET6 (3fbf3cc
Azat Khuzhin)
+ Update to a more recent tinytest_macros. (8da5a18)
+ test/regress: add simplestsignal: to track reorder bugs
separately (b897bef Azat Khuzhin)
+ test/evbuffer_peek: add regress in case we have first buffer
greater (e2d139d Azat Khuzhin)
+ More evbuffer_peek() test cases (154006a)
+ use correct tt macro for pointer compare (08c88ea)
+ regress_buffer: fix 'memcmp' compare size (79800df Maks Naumov)
+ Fix a use-after-free in unit tests. CID 752027 (3739057)
+ Fix a dead-code warning in unit tests. CID 1193548 (c119f24)
+ Use evutil_weakrand() in unit tests. (a677b72, 364c110)
+ Use a more precise calculation for max in time-ratelim.c (ca5b5c7)
+ Make a buffer larger in the tests to avoid a scary
evbuffer_copyout_from() (fb57b8b)
+ Fix several memory leaks in the unit tests. (89c1a3b)
+ Add test for evhttp_connection_free_on_completion (b0e9924 John Ohl)
+ Fix annoying heisenbug in test-time.c (cb73704)
+ Make http-server.c output into good html5 (6d72bdc)
+ Use FindClose for handle from FindFirstFile in http-server.c (6466e88)
+ https-client: add -retries argument, for connection retries
(d9da844 Azat Khuzhin)
+ Add missing headerfile for cmake (15d90cc Trond Norbye)
+ ignore one more test binary (b6593aa Michael Richardson)
+ ignore config.cache/test-driver files (c83f333 Mike Frysinger)
+ add a --disable-samples configure flag (0c492b3 Mike Frysinger)
+ Add a few files created by "make verify" to .gitignore. (1a8295a
Pierre Phaneuf)
+ updates in cmake build (27bd9fa Sergey Nikulov)
+ Fix cmake error when the Module path has more than one entry.
(befbd13 Acer Yang)
+ Fix CMake shared library build (e69d910 Nobuaki Sukegawa)
+ Fix warnings when compiling with clang 3.5 (f5b4765 John Ohl)
+ Fix mixed declarations and code (forbidden by ISO C90) (8afbdbc
Thomas Bernard)
+ tree.h: drop duplicated content of tree.h (6193187 Azat Khuzhin)
+ evdns: disable probing with EVDNS_BASE_DISABLE_WHEN_INACTIVE
(610410b,ad0493e,fea86a6,d83b337,5ca9e97 Azat Khuzhin)
+ [Bugfix] fix grammer error (3a4d249 ufo2243)
+ Change return type of evutil_load_windows_system_library_ to
HMODULE (f691389)
+ Fix a c90 warning (76643dd)
+ Fix a typo in a doxygen comment. Reported by äå. (be1aeff)
+ remove trailing comma from enum (b361b8a Jean-Philippe Ouellet)
+ Handle ENOTCAPABLE from FreeBSD - this is returned if an event in
the changelist is for an FD that has been closed. (6fd7394 Adrian
Chadd)
-------------------------------------------------------------------
Tue Oct 21 13:19:13 UTC 2014 - ddiss@suse.com
- Fix build on non-SUSE rpm based platforms.
-------------------------------------------------------------------
Tue Oct 21 12:49:07 UTC 2014 - ddiss@suse.com
- Update to 2.1.4 alpha
+ Added event_base_get_num_events() (0fa107d Mobai Zhang)
+ New event_base_active_by_fd API (865a142 Greg Hazel, 5c9da9a, 87fa2b0)
+ Add event_base_active_by_signal by analogy (4865943)
+ Add access to max event count stats (5173bef, efbd3dc, 26230a2
Andrew Sweeney)
+ Implemented EV_CLOSED event for epoll backend
(EPOLLRDHUP). (b1b69ac Diego Giagio, 53d2793, 43ffcf6, dfe1e52
Marcin Juszkiewicz, ff26633 Joakim Soderberg, 3908a5e)
+ Add evutil_secure_rng_set_urandom_device_file (2bbb5d7)
+ Add function to fetch underlying ratelimit cfg (4b3d5af Mark Ellzey)
+ Pass and return const for bufferevent_get_token_bucket_cfg (1c77fbb
Mark Ellzey)
+ Add watermark introspection (4ce242b Ondřej Kuzník)
+ Add an option to trigger bufferevent I/O callbacks (61ee18b Ondřej Kuzník)
+ Add an option to trigger bufferevent event callbacks (a7384c7
Ondřej Kuzník)
+ Clarifications in response to merge req. comments (bd41947 Ondřej
Kuzník)
+ Minor optimizations on bufferevent_trigger options (a3172a4)
+ Add evhttp_connection_get_server(). (a7f82a3 Maxime Henrion)
+ add a http default content type option (5a5acd9 Nicolas Martyanoff)
+ http: implement new evhttp_connection_get_addr() api. (0c7f040 Azat
Khuzhin)
+ Add a variant of evhttp_send_reply_chunk() with a callback on
evhttp_write_buffer() (8d8decf Julien BLACHE)
+ Allow registering callback for parsing HTTP headers (b0bd7fe Balint Reczey)
+ Provide on request complete callback facility (b083ca0 Andrew Sweeney)
+ evhttp_request_set_on_complete_cb to be more specific about what
the function actually does and usage (da86dda Andrew Sweeney)
+ Update unit test to make sure that the callback happens after the
+utput data is written (b85f398 Andrew Sweeney)
+ bug fix for issues #293 evdns_base_load_hosts doesn't remove
+utdated addresses (954d2f9, f03d353, 45eba6f Kuldeep Gupta)
+ Initial CMake commit. (e415196 Joakim Soderberg)
+ Add all tests and benchmarks to CMake project. (e9fc014 Joakim Soderberg)
+ More work on adding tests to CMake project (99c1dc3 Joakim Soderberg)
+ Generate a dummy evconfig-private.h so things build
properly. (ce14def Joakim Soderberg)
+ Link libm on unix platforms. (58fcd42 Joakim Soderberg)
+ Added some GCC specific options. (19222e5 Joakim Soderberg)
+ Use evutil_closesocket instead. (dbf2b51 Joakim Soderberg)
+ Add copyright and licensing files for CMake modules. (c259d53
Joakim Soderberg)
+ Only include WIN32 getopt where it is used. (9bbce0b Joakim Soderberg)
+ Fix bench_cascade program on Windows. (78da644 Joakim Soderberg)
+ Don't segfault on no found event backend. (8f2af50 Joakim Soderberg)
+ Only test the event backends available on the system. (7ea4159
Joakim Soderberg)
+ Added a "make verify" target. (e053c4f Joakim Soderberg)
+ Fix the make "verify" target on Windows. (67e5d74 Joakim Soderberg)
+ Get rid of deprecation warnings for OpenSSL on OSX 10.7+ (69c3516
Joakim Söderberg)
+ Fix kqueue support. (a831f2f Joakim Söderberg)
+ Added a test for testing if kqueue works with pipes. (2799b35
Joakim Söderberg)
+ Change the BSD license from 4 to 3-clause. (86df3ed Joakim Soderberg)
+ Minimum required python version is 2.4. (968e97b Joakim Soderberg)
+ Get rid of unknown pragma warnings. (0ef1d04 Joakim Soderberg)
+ Add a "make verify_coverage" target generation coverage
info. (f2483f8 Joakim Soderberg)
+ Fix the "make verify" target on NetBSD (4ac086a Joakim Soderberg)
+ Only look for ZLib when it is used (if tests are
included). (f780593 Joakim Soderberg)
+ Added EVENT__ENABLE_GCC_WARNINGS, turns all warnings into
errors. (dd413bd Joakim Soderberg)
+ Add CMake config and install targets. (f3446ed Joakim Soderberg)
+ Fix typo (4b754df Joakim Soderberg)
+ Some work on making it possible to simply do add_subdirectory() on
the project. (49ab363 Joakim Soderberg)
+ Set USE_DEBUG=1 on EVENT__ENABLE_VERBOSE_DEBUG (fd42e70 Joakim Soderberg)
+ Fix so that old nmake project still builds. (24d6466 Joakim
Soderberg)
+ Rename README to README.md and use markdown to format. (d2bc39a
Joakim Soderberg)
+ Update README with CMake build instructions. (604b8cc Joakim Soderberg)
+ Clean up the README some. (8d4cb35 JoakimSoderberg)
+ Forgotten headers for old nmake project compatability. (8697b99
Joakim Soderberg)
+ Change all uses of WIN32 to _WIN32 (4e14395 Joakim Söderberg)
+ Fix include bug. (2024467 Joakim Söderberg)
+ Check if we're on OSX before disabling deprecation in le-proxy
(8b40a5b Joakim Söderberg)
+ Fix broken autotools build. (ae1bd82 Joakim Söderberg)
+ Disclaimerize cmake a little in the README (d03b5bf)
+ Fix CMake compile when OpenSSL is disabled. (e423d42 Joakim
Söderberg)
+ CMake: Get rid of python not found warning when regress tests
turned off. (d38d798 Joakim Söderberg)
+ Fix https-client compilation on Windows. (d7be788 Joakim Soderberg)
+ Guard against EVENT_NOWIN32 being set during testing. (f1715b4
Joakim Soderberg)
+ Check for OSX when checking for clang. (e212c54 Joakim Soderberg)
+ Added a Travis-CI configuration file. (8c0f0a9 Joakim Soderberg)
+ Added -Qunused-arguments for clang on macosx (ed99d92 Trond Norbye)
+ Rename event_extras to event_extra (a0dd5df Trond Norbye)
+ Add option to build shared library (4545fa9 Trond Norbye)
+ Add -Qunused-arguments for clang on macos (b56611d Trond Norbye)
+ Add cmake-related files to .gitignore (e061321 Trond Norbye)
+ Export event_extra not event_extras. (2b41bcf Joakim Söderberg)
+ If evsel->del() fails, don't leave the evmap in an inconsistent
state (9b5a527 Maxime Henrion)
+ Move event_debug_note_teardown_ before mm_free. (69b5c64)
+ Check CLOCK_MONOTONIC_* at runtime if needed. (911abf3)
+ Fix reinit of fds with EV_WRITE but not EV_READ. (ebfd8a8 maksqwe)
+ Tweaked callbacks to prevent race condition
(https://github.com/libevent/libevent/issues/104) (40830f1, 2ea15ed
John Ohl)
+ Move assert(ev) to before we use ev in EV_CLOSURE_EVENT_FINALIZE
case (9805972)
+ Fix a double close() bug in evhttp when the underlying bufferevent uses
BEV_OPT_CLOSE_ON_FREE. (31db8a0 Maxime Henrion)
+ Fix an unlikely but possible error case for http connections (f22049e)
+ Avoid racy bufferevent activation (5eb1788 Nate Rosenblum)
+ Use windows vsnprintf fixup logic on all windows environments (e826f19)
+ libevent/win32_dealloc() : fix sizeof(pointer) vs sizeof(*pointer)
(b8f5980 Frank Denis)
+ When we seed from /proc/sys/kernel/random/uuid, count it as success
(e35b540)
+ We should return after arc4random_buf() (1ea1f26 Makoto Kato)
+ Avoid other RNG initialization FS reads when urandom file is
specified (9695e9c)
+ Really remove RNG seeds from the stack (f5ced88)
+ Fix another arc4random_buf-related warning (e64a2b0)
+ Initialize async bufferevent timeout CBs unconditionally (af9b2a7)
+ Checking request nameserver for NULL, before using it. (5c710c0
Belobrov Andrey)
+ Fix SEGFAULT after evdns_base_resume if no nameservers
installed. (14971a8 Azat Khuzhin)
+ Actually use the log facility for reporting evdns problems. (e1766a1)
+ Fix SEGFAULT after evdns_base_resume if no nameservers
installed. (f8d7df8 Azat Khuzhin)
+ fix for ServFail from RIPE Atlas release (62f596b Antony Antony)
+ Fix test compilation with nmake: add the gdi.lib dependency (5ba8ab7)
+ Whoops. It is gdi.lib, not gdi32.lib. (github issue #61) (8ab612e)
+ Don't use return since return type is void and build error occurs
using clang (838161d Makoto Kato)
+ Use void casts to suppress some "unchecked return value" warns (7080d55)
+ rpcgen: Generate regress.gen.[c,h] in build rather than src dir
(243386c Ross Lagerwall)
+ Fix a compiler warning when checking for arc4random_buf linker
breakage. (5cb3865)
+ Fix 'make distcheck' by adding regress.gen.[ch] to DISTCLEANFILES
(239d834)
+ Fix a c90 warning (c207682)
+ Fix consts in WIN32-Code/getopt*.[ch] (57abb35)
+ Missed lock acquire/release in event_base_cancel_single_callback_()
(d3d999a Azat Khuzhin)
+ Fix locking in bufferevent_get_options_(). (dbc9cd4 Maxime Henrion)
+ Avoid leaking segment mappings when offset is not a page multiple (d409514)
+ Add tests for evdns_base_resume(). (1cd9ff5 Azat Khuzhin)
+ Fix dns/leak_resume_send_err test. (7e876df Azat Khuzhin)
+ Add checks for evhttp_connection_get_server() in unit
tests. (fbc323b Maxime Henrion)
+ Fix a (failure-only) null dereference in the unit tests (1104d0b)
+ Fix a logic error in test_evbuffer_freeze (7765884)
+ Add missing check to test_evbuffer_file_segment_add_cleanup_cb (eba4506)
+ Fix some crash-on-fail cases in DNS regression tests (87cd6f0)
+ DNS tests: add a missing check (f314900)
+ Finalize tests: add a missing check (82b6956)
+ test_evutil_rtrim: add another missing check. (e193c95)
+ regress_main: logging all if env EVENT_DEBUG_LOGGING_ALL isset
(611e28b Azat Khuzhin)
+ regress_http: add tests for evhttp_connection_get_addr() (4dd500c
Azat Khuzhin)
+ Update to the latest version of tinytest (7a80476)
+ Heap-allocate zlib data structure in regress_zlib tests (4947c18)
+ Avoid redundant syscall to make a nonblocking socket nonblocking
(42c03da Maxime Henrion)
+ Avoid redundant syscall if making a socket cloexec twice (1f29b18)
+ Avoid redundant invocations of init_extension_functions for IOCP (3b77d62)
+ Document that arc4random is not a great cryptographic PRNG. (6e49696)
+ Small doxygen tweaks (6e67b51)
+ Try another doxygen tweak (ccf432b)
+ Clarify event_base_loop exit conditions (031a803)
+ Fix a typo (be7bf2c Ondřej Kuzník)
+ Document deferred eventcb behaviour (13a9a02 Ondřej Kuzník)
+ Typo fixes from Linus Nordberg (cec62cb, 8cd695b)
+ Fix duplicate paragraph in evbuffer_ptr documentation (58408ee)
+ Fix a pile of coverity warnings in the unit tests (867f401)
+ Fix coverity warnings in benchmark tools. (ff7f739)
+ Whoops; fix compilation in bench.c (544cf88)
+ Remove spurious checks in evrpc.c error cases (coverity) (991b362)
+ Fix a couple of compilation warnings in regress_http.c (860767e)
+ Fix even more coverity warnings. (d240328)
+ Stop checking for inet_aton; we don't use it. (f665d5c)
+ Add an include to evrpc-internal to fix openbsd compilation warning
(5e161c6)
+ Remove an unreachable return statement in minheap-internal.h (e639a9e)
+ Refactor evmap_{io,signal}_active_() to tolerate bad inputs (974c60e)
+ Fix needless bufferevent includes in evdns.c (254c04e)
+ Fix a couple of "#ifdef WIN32" instances (88ecda3)
+ Remove unneeded declaration in bufferevent-internal.h (4c8ebcd)
+ le-proxy: Fail more gracefully if opening listener fails (44b2491)
+ http-server: drop uri_root from base_url in http-server. (6171e1c Azat Khuzhin)
+ https-client: POST supported, args supported (c5887f7 Alexey Ozeritsky)
+ https-client: code cleanup (29af65e Alexey Ozeritsky)
+ https-client: Small tweaks to https-client.c (90786eb)
+ https-client: Set hostname for SNI extension (by f69m) (d1976f8)
+ https-client: add a cast to https-client.c (462e6b6)
- Update to 2.1.3 alpha
+ Implement event_finalize() and related functions to avoid certain
deadlocks (8eedeab)
+ Use finalization feature so bufferevents can avoid deadlocks (02fbf68)
+ Always run pending finalizers when event_base_free() is called (e9ebef8)
+ Remove bufferevent_del_generic_timeout_cbs as now unused (4ea4c6a)
+ More documentation for finalization feature (a800b91)
+ Make the event_finalize* functions return an error code (5d11f4f)
+ Mark the finalize stuff as experiemental in case it needs to
change (23e2e29)
+ evdns: New flag to make evdns not prevent the event loop from
exiting (6b7fa62 Azat Khuzhin)
+ Make event_remove_timer behave correctly with persistent timers (5623e80)
+ Unit test for event_remove_timer with EV_PERSIST. (96150dd)
+ Double-check next timeout when adding events (9443868 Nate Rosenblum)
+ event_base_update_cache_time should be a no-op if the loop isn't
running (5e6fa2a)
+ fix #73 and fix http_connection_fail_test to catch it (b618204 Greg Hazel)
+ Fix compilation with WIN32_HAVE_CONDITION_VARIABLES enabled (7e45739)
+ Fix missing AC_PROG_SED on older Autoconfs (9ab2b3f Tay Ray Chuan)
+ Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)
(74d4c44 Kevin Bowling)
+ Use AC_CONFIG_HEADERS in place of AM_CONFIG_HEADERS for autmake
1.13 compat (817ea36)
+ Rename configure.in to configure.ac to appease newer autoconfs (0c79787)
+ Avoid using top_srcdir in TESTS: new automakes do not like this (a55514e)
+ Avoid leaking fds on evconnlistener with no callback set (69db261)
+ Avoid double-close on getsockname error in evutil_ersatz_socketpair
(0a822a6)
+ Fix a locking error in bufferevent_socket_get_dns_error. (0a5eb2e)
+ Fix a mistake in evbuffer_remove() arguments in example http server code
(c322c20 Gyepi Sam)
+ Fix a typo in a comment in buffer.h. Spotted by Alt_F4 (773b0a5)
+ minor documentation typos (809586a Patrick Pelletier)
+ Fix cut-and-paste err in whatsnew-2.1 (49905ac)
+ Fix comment to refer to sample/include.am correctly (9e8cdf3 Sebastian
Hahn)
+ Fix typo : Dispatching instead of Dispaching (0c2bacc Volker Lendecke)
+ fix some hinky indentation in evhttp_make_request (80e220e Patrick
Pelletier)
+ "buffer" spelling (a452811 Patrick Pelletier)
+ Specify return behavior in header for evbuffer_pullup() in corner case
(cf8d1cd Dan Petro)
+ Clarify an important point about event_base_foreach_event() (920a5e6)
+ avoid valgrind false positive by zeroing epoll_event (1258614 Patrick
Pelletier)
+ Fix harmless clang enum warning (b452a43 Sebastian Hahn)
+ remove all exes on "make clean", not just regress.exe (974bfa0 Patrick
Pelletier)
+ Make --disable-libevent-regress work again (787fd74)
+ Do not build strlcpy.c when it will have no code. (4914620)
+ When EWOULDBLOCK is not EAGAIN, treat it as equivalent to it (bf7a0ff)
+ Preliminary changes for Minix3. (0dda56a Nicholas Heath)
+ Use AC_CONFIG_HEADERS in place of AM_CONFIG_HEADERS for autmake 1.13
compat (bf278b)
+ Avoid using $(top_srcdir) in TESTS. (2863c83)
+ build test/test-script.sh on systems with a less-featureful $< (f935e21)
+ Implement EVUTIL_ERR_IS_EAGAIN on windows. (42aaf4d)
+ Fix ipv6 support for http. When URL contain domain, not IP
address. (71e709c Azat Khuzhin)
+ uri decode: fix for warning "use of uninitialised value" (64b6ece Azat
Khuzhin)
+ uri decode: changed the test for the existence of the next character
(e1903e3 Azat Khuzhin)
+ Move prototype of evhttp_decode_uri_internal() to http-internal.h
(de8101a Azat Khuzhin)
+ Test: decoding just part of string with evhttp_decode_uri_internal()
(1367653 Azat Khuzhin)
+ Add new error_cb for actual reporting of HTTP request errors. (7b07719
Azat Khuzhin)
+ Add test for EVREQ_HTTP_REQUEST_CANCEL into http_cancel_test() (862c217
Azat Khuzhin)
+ Drop extra header http_struct.h from regress_http.c (54cc800 Azat Khuzhin)
+ Add regress test ipv6_for_domain. (9ec88bd Azat Khuzhin)
+ Add an environment variable (EVENT_DEBUG_MODE) to run unit tests in debug
mode (2fad0f3)
+ Add a test with an active_later event at event_base_free time. (1c3147f)
+ Make all tests pass under EVENT_DEBUG_MODE=1 (b1b054f)
+ Add some verbose notes to bufferevent unit tests (9d893c9)
+ New test for active_later->active transition on event_active (a153874)
+ New tests for event_base_foreach_event() (0b096ef)
+ Unit tests for event_base_gettimeofday_cached() and
event_base_update_cache_time() (30ea291)
+ A test for event_get_assignment() (f09629e)
+ More unit tests for initializing common timeouts. (d596739)
+ Fix a bug in the new main/event_foreach test (702c9aa)
+ use FormatMessage for winsock errors (0c6ec5d, 2078e9b, 4ccdd53, c9ad3af
Patrick Pelletier)
+ a program to print out the error strings for winsock errors (7296512
Patrick Pelletier)
+ Fix a warning introduced in 0c6ec5d8 (eeb700c)
+ Fix another warning introduced in 0c6ec5d8 (ed26561)
+ Add sample/https-client.c, an example of stacking evhttp as a client on
top of bufferevent_ssl. (be46c99 Catalin Patulea)
+ use ${OPENSSL_LIBS} instead of -lssl -lcrypto (bf31fa5 Patrick Pelletier)
+ https-client was putting newlines at 256-byte boundaries (42d7441 Patrick
Pelletier)
+ better handling of OpenSSL errors (5754d96 Patrick Pelletier)
+ use Debian's default root certificate location (aacd674 Patrick Pelletier)
+ use iSECPartners code to validate hostname in certificate (64d9f16
Patrick Pelletier)
+ avoid sign mismatch warning in openssl_hostname_validation.c (6021cb5
Patrick Pelletier)
+ pull in wildcard matching code from cURL (4db9da6 Patrick Pelletier)
+ Another tweak to https-client.c (95acdaa)
+ Remove http_struct.h usage in sample/https-client.c (8a90a85)
- Update to 2.1.2 alpha
+ Replace pipe-based notification with EVFILT_USER where possible. This
should make multithreaded programs on OSX and *BSD alert the main thread a
little faster. (53a07fe)
+ Make th_base_lock nonrecursive. (9cd5acb)
+ New event_get_priority() function to return an event's priority (f90e255)
+ Add a bufferevent_get_priority() function (bd39554)
+ Add an event_base_loopcontinue() to tell Libevent to rescan for more
events right away (7d6aa5e)
+ Add a new callback to get called on evbuffer_file_segment free
(e9f8feb yangacer, 64051b9)
+ Expose event_base_foreach_event() as a public API. (84fd6d7 Roman
Puls, 232055e, ffe1643)
+ Add an event_remove_timer() to remove timer on an event without
deleting it (e3b2e08)
+ Make bufferevent_set_timeouts(bev, NULL, NULL) have plausible
semantics (9dee36b)
+ Rename event_enable_lock_debuging() to ..._debugging(). (The old name
should still work.) (07e132e)
+ Add missing implementation for event_enable_debug_logging (3b3e21d)
+ Use mach_absolute_time() for monotonic clock support on OSX. (b8fd6f9)
+ Do not track use_monotonic field when is no monotonic clock (cb653a0)
+ EVENT_BASE_FLAG_PRECISE_TIMER indicates we want fine timer precision
(ddd69d3)
+ On Linux, use CLOCK_MONOTONIC_COARSE by default (55780a7)
+ Implement a GetTickCount-based monotonic timer for Windows (d5e1d5a)
+ Refactor monotonic timer handling into a new type and set of
functions; add a gettimeofday-based ratcheting implementation (f5e4eb0)
+ Add EVENT_PRECISE_TIMER environment var for selecting precise-but-slow
timer (a2598ec)
+ Implement fast/precise monotonic clocks on Windows (2c47045)
+ Simple unit tests for monotonic timers (630f077)
+ Improve the monotonic-time unit test: make it check the step size (7428c78)
+ When PRECISE_TIMERS is set with epoll, use timerfd for microsecond
precision (26c7582)
+ Split out time-related evutil functions into a new evutil_time.c (c419485)
+ Split out time-related prototypes into time-internal.h (71bca50)
+ Add evutil_time.obj to Makefile.nmake (0ba0683)
+ Avoid giving a spurious warning when timerfd support is unavailable
(1aaf9f0 Dave Hart)
+ Make test_evutil_monotonic a little more tolerant (def3b83)
+ Avoid unused-var warning on systems with clock_gettime but without
CLOCK_MONOTONIC_COARSE (9be5468)
+ Free dangling event_once objects on event_base_free() (c17dd59)
+ Add a unit test in which an event is created with event_base_once()
but never fires (4343edf)
+ Simplify test.sh code significantly. (9b856fd Ross Lagerwall)
+ Make all tests that hit the network disabled by default (f2cea87)
+ Avoid a resource leak on error in http client benchmark (ea92fba)
+ Update to latest tinytest (911b4f0349377) (ef7c4f7)
+ Avoid (unlikely) overflow in bench_httpclient.c (5671033)
+ Shave 700 msec off the persistent_timeout_jump test (21205b8)
+ Check return value of write() in regress.c (c8009d2)
+ Make load-dependent monotonic timer tests off-by-default (2b6fe8b)
+ Add deferred_cb_skew to list of timing-dependent tests (34c8f31)
+ Avoid test -e; older shs don't have one. (f1bd938)
+ Fix renegotiation test to work around openssl 1.0.1 bug (c2f3086)
+ Fix a couple of compile warnings in the unit tests (5a9a014)
+ Change evutil_weakrand_() to avoid platform random() (e86af4b Nicholas
Marriott, 3aa4415)
+ Refactor the callback part of an event into its own event_callback
type (cba59e5)
+ Add "active later" event_callbacks to supersede deferred (745a63d)
+ event_base_assert_ok: check value of event_active_count for
correctness (fec8bae)
+ Replace deferred_cbs with event_callback-based implementation. (ae2b84b)
+ Replace more deferred_cb names with event_callback (a4079aa)
+ Give event_base_process_active a single exit path (581b5be)
+ Restore our priority-inversion-prevention code with deferreds (c0e425a)
+ Refactor event_persist_closure: raise and extract some common logic
(bec22b4)
+ Remove the unused bits from EVLIST_ALL (9889a3d)
+ Split long lists in Makefile.am into one-item-per-line (2711cda)
+ Remove unnecessary code in configure.in. (e65914f Ross Lagerwall)
+ attempt to support OpenSSL in Makefile.nmake (eba0eb2 Patrick Pelletier)
+ Use newer syntax for autoconf/automake init (7d60ba8)
+ Enable silent build rules by default. Override with V=1 (7b18e5c)
+ Switch to non-recursive makefiles (7092f3b)
+ Rename subordinate Makefile.ams to include.am (6cdfeeb)
+ Make quiet build even quieter (371a123)
+ New --quiet option for event_rpcgen.py (aa59c1e)
+ Be quiet when making regress.gen.[ch] (607a8ff)
+ Fix handling of no-python case for nonrecursive make (1e3123d)
+ We now require automake 1.9 or later. Modernize! (b7f6e89)
+ Rename configure.in to configure.ac. (b3fea67 Ross Lagerwall)
+ Use correct openssl libs and includes in pkgconfig file (d70af27)
+ Use the same CFLAGS for openssl when building unit tests as with
libevent (1d9d511)
+ Note that make_base_notifiable should not be necessary (26ee5f9)
+ Be more clear that LEV_OPT_DEFERRED_ACCEPT has tricky prereqs (371efeb)
+ Add caveat to docs about bufferevent_free() with data in outbuf (6fab9ee)
+ Make it more clear that NOLOCK means "I promise, no multithreading"
(9444524)
+ Fix a comment in test-fdleak after 077c7e949. (3881d8f Ross Lagerwall)
+ Make the Makefile.nmake warning slightly less dire (e7bf4c8)
+ Fix typo : events instead of evets (05f1aca Azat Khuzhin)
+ Additional comments about OPENSSL_DIR variable, prompted by Dave Hart
(6bde2ef Patrick Pelletier)
+ ignore LWS after field-content in headers (370a2c0 Artem Germanov)
+ Clean up rtrim implementation (aa59d80)
+ Remove trailing tabs in HTTP headers as well. (ac42519)
+ Remove internal ws from multiline http headers correctly (c6ff381)
+ Move evutil_rtrim_lws_ to evutil.c where it belongs (61b93af)
+ add evhttp_request_get_response_code_line (4f4d0c9 Jay R. Wren)
+ Use EVUTIL_SOCKET_ERROR() wrapper to save/restore errno in
evhttp_connection_fail_ (7afbd60)
+ preserve errno in evhttp_connection_fail_ for inspection by the
callback (36d0ee5 Patrick Pelletier)
+ Correctly handle running on a system where accept4 doesn't work. (9fbfe9b)
+ Avoid double-free on error in evbuffer_add_file. Found by
coverity. (6a81b1f)
+ Fix another possible uninitialized read in dns regression tests. Found
by coverity. (13525c5)
+ Add checks for functions in test-ratelim.c; found by Coverity (aa501e1)
+ Avoid memory leak in test_event_calloc unit test; found by coverity
(92817a1)
+ Fix a shadowed variable in addfile_test_readcb; found by coverity
(225344c)
+ Check return value when using LEV_OPT_DEFERRED_ACCEPT. Found by
coverity (6487f63)
+ Prevent reference leak of bufferevent if getaddrinfo fails. (b757786
Joachim Bauch)
+ Make event_base_getnpriorities work with old "implicit base" code
(c46cb9c)
+ Simplify and correct evutil_open_closeonexec_ (0de587f)
+ Fix event_dlist definition when sys/queue not included (81b6209
Derrick Pallas)
- Update to 2.1.1 alpha
+ Replace several TAILQ users with LIST. LIST can be a little faster than
TAILQ for cases where we don't need queue-like behavior. (f9db33d,
6494772, d313c29, 974d004)
+ Disabled code to optimize the case where we reinsert an existing
timeout (e47042f, 09cbc3d)
+ Remove a needless base-notify when rescheduling the first timeout (77a96fd)
+ Save a needless comparison when removing/adjusting timeouts (dd5189b)
+ Possible optimization: split event_queue_insert/remove into
separate functions. needs testing (efc4dc5)
+ Make event_count maintenance branchless at the expense of an
extra shift. Needs benchmarking (d1cee3b)
+ In the 2.1 branch, let's try out lazy gettimeofday/clock_gettime
comparison (2a83ecc)
+ Optimization in event_process_active(): ignore maxcb & endtime
for highest priority events. (a9866aa Alexander Drozdov)
+ Bypass event_add when using event_base_once() for a 0-sec timeout (35c5c95)
+ Remove the eventqueue list and the ev_next pointers. (604569b 066775e)
+ Roughly 20% speed increase when line-draining a buffer using
EVBUFFER_EOL_CRLF (5dde0f0 Mina Naguib)
+ Try to squeeze a little more speed out of EVBUFFER_EOL_CRLF (7b9d139)
+ Fix a bug in the improved EOL_CRLF code (d927965)
+ Remove a needless branch in evbuffer_drain() (d19a326)
+ Infrastructure for using faster/fewer syscalls when creating
sockets (a1c042b)
+ Minimize syscalls during socket creation in listener.c (7e9e289)
+ Use a wrapper function to create the notification
pipe/socketpair/eventfd (ca76cd9)
+ Use pipes for telling signals to main thread when possible (a35f396)
+ Save syscalls when constructing listener sockets for evhttp (af6c9d8)
+ Save some syscalls when creating evdns sockets (713e570)
+ Save some syscalls when constructing a socket for a bufferevent (33fca62)
+ Prefer epoll_create1 on Linuxen that have it (bac906c)
+ Use current event set rather than current pending change when
deciding whether to no-op a del (04ba27e Mike Smellie)
+ Replace big chain of if/thens in epoll.c with a table lookup (8c83eb6)
+ Clean up error handling in epoll_apply_one_change() a little (2d55a19)
+ evport: use evmap_io to track fdinfo status. Should save time and
RAM. (4687ce4)
+ evport: Remove a linear search over recent events when
reactivating them (0f77efe)
+ evport: Use portev_user to remember fdinfo struct (276ec0e)
+ evport: don't scan more events in ed_pending than needed (849a5cf)
+ evport: Remove artificial low limit on max events per getn call (c04d927)
+ Reenable main/many_events_slow_add for evport in 2.1 (e903db3)
+ Use GetSystemTimeAsFileTime to implement gettimeofday on
win32. It's faster and more accurate than our old
approach. (b8b8aa5)
+ Add event_enable_debug_logging() to control use of debug logs (e30a82f)
+ Add event_config function to limit time/callbacks between calls
to dispatch (fd4de1e, 9fa56bd, a37a0c0, 3c63edd)
+ New EVLOOP_NO_EXIT_ON_EMPTY option to keep looping even when no
events are pending (084e68f)
+ Add event_base_get_npriorities() function. (ee3a4ee Alexander Drozdov)
+ Make evbase_priority_init() and evbase_get_npriorities()
threadsafe (3c55b5e)
+ New event_base_update_cache_time() to set cached_tv to current
time (212533e Abel Mathew)
+ Add event_self_cbarg() to be used in conjunction with
event_new(). (ed36e6a Ross Lagerwall, fa931bb, 09a1906, 1338e6c,
33e43ef)
+ Add a new libevent_global_shutdown() to free all globals before
exiting. (041ca00 Mark Ellzey, f98c158, 15296d0, 55e991b)
+ Use getifaddrs to detect our interfaces if possible (7085a45)
+ Add event_base_get_running_event() to get the event* whose cb we
are in (c5732fd, 13dad99)
+ Implement --enable-gcc-hardening configure option (7550267 Sebastian Hahn)
+ Add evbuffer_add_file_segment() so one fd can be used efficiently
in more than one evbuffer_add_file at a time (e72afae, c2d9884,
3f405d2, 0aad014)
+ Fix windows file segment mappings (8254de7)
+ Allow evbuffer_ptr_set to yield a point just after the end of the
buffer. (e6fe1da)
+ Allow evbuffer_ptr to point to position 0 in an empty evbuffer
(7aeb2fd Nir Soffer)
+ Set the special "not found" evbuffer_ptr consistently. (e3e97ae Nir Soffer)
+ support adding buffers to other buffers non-destructively
(9d7368a Joachim Bauch)
+ prevent nested multicast references, reworked locking (26041a8
Joachim Bauch)
+ New EVBUFFER_EOL_NUL to read NUL-terminated strings from an
evbuffer (d7a8b36 Andrea Montefusco, 54142c9)
+ Make evbuffer_file_segment_types adaptable (c6bbbf1)
+ Added evbuffer_add_iovec and unit tests. (aaec5ac Mark Ellzey, 27b5398)
+ Add evbuffer_copyout_from to copy data from the middle of a
buffer (27e2225)
+ Allow users to set allow_dirty_shutdown (099d27d Catalin Patulea)
+ Tweak allow_dirty_shutdown documentation (a44cd2b)
+ Fix two issues in the allow_dirty_shutdown code. (f3b89de)
+ Add a bufferevent_getcb() to find a bufferevent's current
callbacks (a650394)
+ bufferevent: Add functions to set/get max_single_read/write
values. (998c813 Alexander Drozdov)
+ bev_ssl: Be more specific in event callbacks. evhttp in particular gets
confused without at least one of BEV_EVENT_{READING|WRITING}. (f7eb69a
Catalin Patulea)
+ Support TCP_DEFER_ACCEPT sockopts for listeners (5880e4a Mark Ellzey,
a270728)
+ Add another caveat to the TCP_DEFER_ACCEPT documentation (a270728)
+ Allow evconnlistener to be created in disabled state. (9593a33
Alexander Drozdov)
+ The LEV_OPT_CLOSE_ON_EXEC flag now applies to accepted listener
sockets too (4970329)
+ Add new evhttp_{connection_}set_timeout_tv() functions to set
finger-grained http timeouts (6350e6c Constantine Verutin)
+ Performance tweak to evhttp_parse_request_line. (aee1a97 Mark Ellzey)
+ Add missing break to evhttp_parse_request_line (0fcc536)
+ Add evhttp callback for bufferevent creation; this lets evhttp
support SSL. (8d3a850)
+ Remove calls to deprecated bufferevent functions from evhttp.c (4d63758)
+ evhttp: Add evhttp_foreach_bound_socket. (a2c48e3 Samy Al Bahra)
+ Add AC_USE_SYSTEM_EXTENSIONS to configure.in. Requires follow on
patches for correctness and robustness. (1fa7dbe Kevin Bowling)
+ Filter '# define' statements from autoconf and generate
event-private.h (321b558 Kevin Bowling)
+ Remove internal usage of _GNU_SOURCE (3b26541 Kevin Bowling)
+ Eliminate a couple more manual internal _GNU_SOURCE defines (c51ef93
Kevin Bowling)
+ Add AC_GNU_SOURCE to the fallback case. (ea8fa4c Kevin Bowling)
+ Use a Configuration Header Template for evconfig-private.h (868f888
Kevin Bowling)
+ Fix a comment warning and add evconfig-private.h to .gitignore
(f6d66bc Kevin Bowling)
+ Include evconfig-private.h in internal files for great good. (0915ca0
Kevin Bowling)
+ Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)
(ad03952 Kevin Bowling)
+ Prefer the ./configure evconfig-private.h in MinGW, just in
case. (f964b72 Kevin Bowling)
+ Shell hack for weird mkdir -p commands (fd7b5a8 Kevin Bowling)
+ Add evconfig-private to remaining files (ded0a09 Kevin Bowling)
+ Allow use of --enable-silent-rules for quieter compilation with
automake 1.11 (f1f8514 Dave Hart)
+ Use "_WIN32", not WIN32: it's standard and we don't need to fake it
(9f560b)
+ In configure, test for _WIN32 not WIN32. (85078b1 Peter Rosin)
+ Do not define WIN32 in Makefile.nmake (d41f3ea Peter Rosin)
+ Provide the autoconf m4 macros for the new OpenSSL via pkg-config
stuff. (674dc3d Harlan Stenn)
+ Use pkg-config (if available) to handle OpenSSL. (1c63860 Harlan Stenn)
+ We need AM_CPPFLAGS when compiling bufferevent_openssl.c (6d2613b
Harlan Stenn)
+ Fix OSX build: $(OPENSSL_INCS) needs to be after
$(AM_CPPFLAGS). (46f1769 Zack Weinberg)
+ Make gcc warnings on by default, and --enable-gcc-warnings only add
-Werror (d46517e Sebastian Hahn)
+ Split up extra-long AC_CHECK_FUNCS/HEADERS lines in configure.in (88a30ad)
+ Move libevent 1.x headers to include/, to put all public headers in
+ne place. (bbea8d6)
+ Put #ifdef around some files to support alternate build
systems. (76d4c92 Ross Lagerwall)
+ Also make win32select.c conditional for IDE users (bf2c5a7)
+ Add a magic number to debug_locks to better catch lock-coding
errors. (b4a29c0 Dave Hart)
+ munge the debug_lock signature before freeing it: it might help us
catch use-after-free (f28084d)
+ Added --enable-event-debugging in configure (bc7b4e4, a9c2c9a Mark Ellzey)
+ Debug addition for printing usec on TIMEOUT debugging. (ac43ce0 Mark Ellzey)
+ Added usec debug in another area for debug (3baab0d Mark Ellzey)
+ added timeout debug logs to include event ptr. (4b7d298 Mark Ellzey)
+ more event dbg updates (6727543 Mark Ellzey)
+ Clarify event_enable_debug_logging a little (6207826)
+ Make --enable-verbose-debug option match its help text (10c3450)
+ Add argument checks to some memory functions in `event.c'. (c8953d1
Mansour Moufid)
+ More abstraction in test.sh (cd74c4e)
+ Add failing test for evbuffer_search_range. (8e26154 Nir Soffer)
+ Tweaks to return types with end-of-buf ptrs (9ab8ab8)
+ Add an (internal) usleep function for use by unit tests (f25d9d3)
+ Synchronize with upstream tinytest (6c81be7)
+ Make test-changelist faster (7622d26)
+ Reduce the timeout in the main/fork test. (ab14f7c)
+ New evhttp function to adjust initial retry timeout (350a3c4)
+ Make regression tests run over 3x faster. (67a1763)
+ Use test_timeval_diff_eq more consistently (b77b43f)
+ Allow more slop in deferred_cb_skew test; freebsd needs it (b9f7e5f)
+ When including an -internal.h header outside the main tree, do so
early (95e2455)
+ Add a new test: test-fdleak which tests for fd leaks by creating many
sockets. (2ef9278 Ross Lagerwall, f7af194, 1c4288f, etc)
+ Add a unit test for event_base_dump_events() (7afe48a, 8d08cce)
+ Test more bufferevent_ratelim features (c24f91a)
+ Improve evbuffer_ptr documentation (261ba63)
+ added comments to describe refcounting of multicast chains (ba24f61
Joachim Bauch)
+ Add doxygen for event_base_dump_events (cad5753)
+ Use "unlimited select" on OSX so that we can have more than
FD_SETSIZE fds (1fb5cc6)
+ Use SIG_IGN instead of a do-nothing handler for signal events with
kqueue (148458e Zack Weinberg)
+ event_rpcgen.py now prints status information to stdout and errors to
stderr. (ffb0ba0 Ross Lagerwall)
+ Make event_reinit() more robust and maintainable (272033e)
+ Restore fast-path event_reinit() for slower backends (2c4b5de)
+ Check changelist as part of checking representational integrity (39b3f38)
+ Fix a compile warning in event_reinit (e4a56ed Sebastian Hahn)
+ Refactor the functions that run over every event. (c89b4e6)
+ Remove the last vestiges of _EVENT_USE_EVENTLIST (a3cec90)
+ Make event-config.h depend on Makefile.am (2958a5c)
+ Don't do clang version detection when disabling some flags (083296b
Sebastian Hahn)
+ Check for NULL return on win32 mm_calloc, and set ENOMEM. (af7ba69)
+ Convert event-config.h macros to avoid reserved identifiers (68120d9)
+ Generate event-config.h using the correct macros. (f82c57e)
+ Convert include-guard macro convention to avoid reserved identifiers
(3f8c7cd)
+ Make event_rpcgen.py output conform to identifier conventions (372bff1)
+ Stop referring to an obsolete include guard in bench_http.h (5c0f7e0)
+ Make the generated event-config.h use correct include guards (639383a)
+ Fix all identifiers with names beginning with underscore. (cb9da0b)
+ Make event_rpcgen.py output conform to identifier conventions, more
(bcefd24)
+ Fix some problems introduced by automated identifier cleanup script
(c963534)
+ Have all visible internal function names end with an underscore. (8ac3c4c)
+ Apply the naming convention to our EVUTIL_IS* functions (c7848fa)
+ Clean up lingering _identifiers. (946b584)
+ Fix doxygen to use new macro conventions (da455e9)
+ Do not use system EAI/AI values if we are not using the system
getaddrinfo. (7bcac07)
-------------------------------------------------------------------
Sat Jun 29 12:36:28 UTC 2013 - i@marguerite.su

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
#
# spec file for package libevent
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,21 +16,37 @@
#
%define libsoname %{name}-2_0-5
Name: libevent
Version: 2.0.22
%define version_base 2
%define version_minor 1
%define version_release 8
%define abi_release 6
%define version_suffix stable
%define libsoname %{name}-%{version_base}_%{version_minor}-%{version_release}
Version: %{version_base}.%{version_minor}.%{version_release}
Release: 0
Summary: An event notification library
License: BSD-3-Clause
Group: System/Libraries
Url: http://libevent.org/
Source0: https://sourceforge.net/projects/levent/files/libevent/libevent-2.0/%{name}-%{version}-stable.tar.gz
Source1: https://sourceforge.net/projects/levent/files/libevent/libevent-2.0/%{name}-%{version}-stable.tar.gz.asc
Source0: https://github.com/downloads/%{name}/%{name}/%{name}-%{version}-%{version_suffix}.tar.gz
source1: https://github.com/%{name}/%{name}/releases/download/release-%{version}-%{version_suffix}/%{name}-%{version}-%{version_suffix}.tar.gz.asc
Source2: %{name}.keyring
Source3: baselibs.conf
BuildRequires: automake
BuildRequires: autoconf
BuildRequires: libtool
BuildRequires: openssl-devel
%if 0%{?fedora_version} || 0%{?rhel_version}
BuildRequires: pkgconfig
%else
BuildRequires: pkg-config
%endif
BuildRequires: zlib-devel
%if 0%{?suse_version} > 1220
Requires(pre): %fillup_prereq
Requires(pre): %insserv_prereq
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -98,9 +114,10 @@ framework.
This package holds the development files for libevent2.
%prep
%setup -q -n %{name}-%{version}-stable
%setup -q -n %{name}-%{version}-%{version_suffix}
%build
./autogen.sh
%configure \
--disable-static \
--disable-libevent-regress
@ -119,12 +136,12 @@ find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
%files -n %{libsoname}
%defattr(-,root,root,-)
%doc ChangeLog README LICENSE whatsnew-2.0.txt
%{_libdir}/%{name}-2.0.so.5*
%{_libdir}/%{name}_core-2.0.so.5*
%{_libdir}/%{name}_extra-2.0.so.5*
%{_libdir}/%{name}_pthreads-2.0.so.5*
%{_libdir}/%{name}_openssl-2.0.so.5*
%doc ChangeLog LICENSE whatsnew-2.0.txt whatsnew-2.1.txt
%{_libdir}/%{name}-%{version_base}.%{version_minor}.so.%{abi_release}*
%{_libdir}/%{name}_core-%{version_base}.%{version_minor}.so.%{abi_release}*
%{_libdir}/%{name}_extra-%{version_base}.%{version_minor}.so.%{abi_release}*
%{_libdir}/%{name}_pthreads-%{version_base}.%{version_minor}.so.%{abi_release}*
%{_libdir}/%{name}_openssl-%{version_base}.%{version_minor}.so.%{abi_release}*
%files devel
%defattr(-,root,root)
@ -143,5 +160,7 @@ find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/pkgconfig/%{name}_pthreads.pc
%{_libdir}/pkgconfig/%{name}_openssl.pc
%{_libdir}/pkgconfig/%{name}_core.pc
%{_libdir}/pkgconfig/%{name}_extra.pc
%changelog