2019-09-20 13:36:28 by Adam Ciarcinski | Files touched by this commit (8) | |
Log message: libevent: updated to 2.1.11 Changes in version 2.1.11-stable This release contains one ABI breakage fix (that had been introduced in 2.1.10, and strictly speaking this release breaks ABI again to make it compatible with 2.1.9 and less, please take a look at 18104973 for more details). Apart from that it contains some bug fixes, that grouped below. And even though the return value for evbuffer_setcb() had been changed it should ABI compatible (anyway that function is in -compat.h header). There is also one patch that introduce new functionality, this is 546a366c, to tune SO_RCVBUF/SO_SNDBUF in evdns, but one can count it as a bug-fix on the application level, since before you cannot tune this settings and hence you could stumble on problems. ABI breakage: o Protect min_heap_push_ against integer overflow. o Revert "Protect min_heap_push_ against integer overflow." functionality: o evdns: add new options -- so-rcvbuf/so-sndbuf build: o Change autoconf version to 2.62 and automake version to 1.11.2 o cmake: install shared library only if it was requested o Missing <winerror.h> on win7/MinGW(MINGW32_NT-6.1)/MSYS o cmake: set library names to be the same as with autotools o Enable _GNU_SOURCE for Android o Enable kqueue for APPLE targets o autotools: do not install bufferevent_ssl.h under --disable-openssl o cmake: link against shell32.lib/advapi32.lib o Add README.md into dist archive o cmake: add missing autotools targets (doxygen, uninstall, event_rpcgen.py) o m4/libevent_openssl.m4: fix detection of openssl o Fix detection of the __has_attribute() for apple clang [ci skip] lib: o buffer: fix possible NULL dereference in evbuffer_setcb() on ENOMEM o Warn if forked from the event loop during event_reinit() o evutil: set the have_checked_interfaces in evutil_check_interfaces() samples: o https-client: correction error checking Changes in version 2.1.10-stable This release contains mostly fixes (some evbuffer oddity, AF_UNIX handling in http server, some UB fixes and others) but also some new functionality (without ABI breakage as usual) and now dist archive can be used for building on windows (getopt had been added into it). Above you will find changelog for this particular release (but with some trivial fixes pruned out from it - to make it a little bit more informative). To view full changelog please use git: git log --format=' o %s (%h %aN)' release-2.1.9-beta...release-2.1.10-stable dist: o Add getopt into dist archive functionality: o evdns: add DNS_OPTION_NAMESERVERS_NO_DEFAULT/EVDNS_BASE_NAMESERVERS_NO_DEFAULT o Add support for EV_TIMEOUT to event_base_active_by_fd fixes: o Merge branch 'evbuffer-fixes-806-v2' o Merge branch 'issue-807-accept4-getnameinfo-AF_UNIX' Azat Khuzhin) o kqueue: Avoid undefined behaviour. (e70e18e9 Tobias Stoeckmann) o Prevent integer overflow in kq_build_changes_list. o evdns: fix lock/unlock mismatch in evdns_close_server_port() o Merge remote-tracking branch 'official/pr/804' -- Enforce limit of NSIG signals o Protect min_heap_push_ against integer overflow. o le-proxy: initiate use of the Winsock DLL o Fix leaks in error path of the bufferevent_init_common_() (bb0f8fe7 Azat Khuzhin) o buffer: make evbuffer_prepend() of zero-length array no-op o Merge branch 'evbuffer-empty-chain-handling' o Don't loose top error in SSL o Remove needless check for arc4_seeded_ok o Merge pull request 769 from sungjungk/fix-return-handling build: o Define `_GNU_SOURCE` properly/consistently per autoconf o signal: guard __cdecl definition with #ifdef o Link test/regress with event_core/event_extra over event tests: o Use kill() over raise() for raising the signal (fixes osx 10.14 with kqueue) o tinytest: implement per-test timeout (via alarm() under !win32 only) Changes in version 2.1.9-beta This changelog will differs from other releases in the next few clauses: - contains only highlighted changes (so now it will not contains a lot of patches that fixes some stuff in regression tests, typos, leaks fixes in samples and so forth) - no authors (since merge commits breaks them anyway, but AUTHORS sections in README will be kept up to date) - group name trimmed from commit subjects trimmed - it's been 2 years since the previoius release, so it is pretty huge And I think that this is more useful, so from now on it will always has the same look (until there will too many objections of course). To view full changelog please use git: git log --format=' o %s (%h %aN)' release-2.1.8-stable...release-2.1.9-beta dist archive: o Add cmake rules into dist archive o Add missing print-winsock-errors.c into dist archive o Include openssl-compat.h into dist archive core: o Merge branch 'check-O_NONBLOCK-in-debug' o Merge branch 'event-ET-636-v2' o Fix visibility issues under (mostly on win32) o Define __EXT_POSIX2 for QNX o Cleanup __func__ detection o Add convenience macros for user-triggered events o Notify event base if there are no more events, so it can exit without delay o Fix base unlocking in event_del() if event_base_set() runned in another thread o If precise_time is false, we should not set EVENT_BASE_FLAG_PRECISE_TIMER o Fix race in access to ev_res from event loop with event_active() o Return from event_del() after the last event callback termination http: o Merge branch 'http-EVHTTP_CON_READ_ON_WRITE_ERROR-fixes-v2' o Preserve socket error from listen across closesocket cleanup o fix connection retries when there more then one request for connection o improve error path for bufferevent_{setfd,enable,disable}() o Fix conceivable UAF of the bufferevent in evhttp_connection_free() o Merge branch 'http-request-line-parsing' o Fix evhttp_connection_get_addr() fox incomming http connections o fix leaks in evhttp_uriencode() o CONNECT method only takes an authority o Allow bodies for GET/DELETE/OPTIONS/CONNECT o Do not crash when evhttp_send_reply_start() is called after a timeout. o Fix crashing http server when callback do not reply in place o fix handling of close_notify (ssl) in http with openssl bufferevents evrpc: o use *_new_with_arg() to match function prototype o avoid NULL dereference on request is not EVHTTP_REQ_POST regression tests: o Merge branch 'TT_RETRIABLE' bufferevent: o Merge branch 'iocp-fixes' o Merge branch 'be-wm-overrun-v2' o bufferevent_socket_connect{,_hostname}() missing event callback and use ret code o don't fail be_null_filter if bytes are copied o Call underlying bev ctrl GET_FD on filtered bufferevents bufferevent_openssl/openssl: o Merge branch 'ssl_bufferevent_wm_filter-fix' o be_openssl: avoid leaking of SSL structure o Fix build with LibreSSL 2.7 o Add missing includes into openssl-compat.h o Explicitly call SSL_clear when reseting the fd. o Unbreak build with LibreSSL after openssl 1.1 support added samples: o Merge branch 'sample-http-server' o sample/https-client: use host SSL certificate store by default listener: o ipv6only socket bind support o Merge branch 'listener-immediate-close' o Merge branch 'evconnlistener-do-not-close-client-fd' evdns: o evdns: handle NULL filename explicitly o Merge branch 'evdns_getaddrinfo-race-fix' o Generating evdns_base_config_windows_nameservers docs on all platforms utils: o Merge branch 'evutil_found_ifaddr-dev' o Avoid possible SEGVs in select() (in unit tests) o Port `event_rpcgen.py` and `test/check-dumpevents.py` to Python 3. buffer: o Fix assert() condition in evbuffer_drain() for IOCP o fix incorrect unlock of the buffer mutex (for deferred callbacks) o Fix wrong assert in evbuffer_drain() cmake: o fix checking of devpoll backend (like in autotools, by devpoll.h existence) o support static runtime (MSVC) o do not build both (SHARED and STATIC) for MSVC/win32 o introduce EVENT__LIBRARY_TYPE option o ensure windows dll's are installed as well as lib files o Fix generation of LibeventConfig.cmake for the installation tree o fix pkgconfig generation (copy-paste typo) o Merge branch 'cmake-missing-bits' o Fix detection of timerfd_create() in CMake. o Merge branch 'cmake-configure-fixes-v2' o Do not add epoll_sub (syscall wrappers) for epoll in cmake o Fix RPATH for APPLE autotools: o include win32 specific headers for socklen_t detection on win32/mingw o Ignore evconfig-private.h for autotools o config.h can't be prefixed unconditionally o Merge branch 'pull-628' o Provide Makefile variables LIBEVENT_{CFLAGS,CPPFLAGS,LDFLAGS} o confirm openssl is working before using o pass $(OPENSSL_INCS) for samples (FTBFS macOS) o Add configure check for midipix o Fix tests with detached builds build: o Fix arc4random_addrandom() detecting and fallback (regression) o Merge branch 'win32-fixes' o Merge branch 'fix-openssl-linking' o Merge branch 'fix-struct-linger' CI: o travis-ci/appveyor now uses fast_finish+allow_failures o Merge branch 'travis-ci-osx-fixes' o Merge branch 'win64-fixes' |
2017-02-15 18:35:35 by Adam Ciarcinski | Files touched by this commit (1) |
Log message: Libevent 2.1.8-stable, it contains openssl fixes for resetting fd and using bufferevent_openssl_filter_new(). vagrant fixes, some build fixes, increased timeout for some tests (to reduce number of failures due to timing issues), date in RFC1123 format and running tests in parallel. |
2017-02-15 18:34:37 by Adam Ciarcinski | Files touched by this commit (9) |
Log message: Libevent 2.1.8-stable, it contains openssl fixes for resetting fd and using bufferevent_openssl_filter_new(). vagrant fixes, some build fixes, increased timeout for some tests (to reduce number of failures due to timing issues), date in RFC1123 format and running tests in parallel. |
2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995) |
Log message: Add SHA512 digests for distfiles for devel category Issues found with existing distfiles: distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip distfiles/fortran-utils-1.1.tar.gz distfiles/ivykis-0.39.tar.gz distfiles/enum-1.11.tar.gz distfiles/pvs-3.2-libraries.tgz distfiles/pvs-3.2-linux.tgz distfiles/pvs-3.2-solaris.tgz distfiles/pvs-3.2-system.tgz No changes made to these distinfo files. Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail. |
2015-02-04 09:04:34 by S.P.Zeidler | Files touched by this commit (4) | |
Log message: update libevent to version 2.0.22 (which also updates py-libevent-rpcgen) Upstream ChangeLog: Changes in version 2.0.22-stable (5 Jan 2015) SECURITY FIXES (evbuffers) o Avoid integer overflow bugs in evbuffer_add() and related functions. See CVE-2014-6272 advisory for more information. (20d6d4458bee5d88bda1511c225c25b2d3198d6c) BUGFIXES (evhttp) o fix #73 and fix http_connection_fail_test to catch it (crash fix) (b618204 Greg Hazel) o Avoid racy bufferevent activation (5eb1788 Nate Rosenblum) BUGFIXES (compilation and portability) o Fix compilation with WIN32_HAVE_CONDITION_VARIABLES enabled (7e45739) o Fix missing AC_PROG_SED on older Autoconfs (9ab2b3f Tay Ray Chuan) o Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5) (74d4c44 Kevin Bowling) o Use AC_CONFIG_HEADERS in place of AM_CONFIG_HEADERS for automake 1.13 compat (817ea36) o Rename configure.in to configure.ac to appease newer autoconfs (0c79787) o Avoid using top_srcdir in TESTS: new automakes do not like this (a55514e) o Use windows vsnprintf fixup logic on all windows environments (e826f19) o Fix a compiler warning when checking for arc4random_buf linker breakage. (5cb3865) o Fix another arc4random_buf-related warning (e64a2b0) o Add -Qunused-arguments for clang on macos (b56611d Trond Norbye) BUGFIXES (resource leaks/lock errors on error) o Avoid leaking fds on evconnlistener with no callback set (69db261) o Avoid double-close on getsockname error in evutil_ersatz_socketpair (0a822a6) o Fix a locking error in bufferevent_socket_get_dns_error. (0a5eb2e) o libevent/win32_dealloc() : fix sizeof(pointer) vs sizeof(*pointer) (b8f5980 Frank Denis) BUGFIXES: (other stability) o bufferevent_pair: don't call downcast(NULL) (f2428a2) o Consistently check for failure from evbuffer_pullup() (60f8f72) o Fix race caused by event_active (3c7d6fc vjpai) BUGFIXES (miscellaneous) o Avoid redundant invocations of init_extension_functions for IOCP (3b77d62) o Typo fixes from Linus Nordberg (cec62cb, 8cd695b) o Add a few files created by "make verify" to .gitignore. (1a8295a Pierre Phaneuf) o regress_buffer: fix 'memcmp' compare size (79800df Maks Naumov) o Fix bufferevent setwatermark suspend_read (b34e4ac ufo2243) o Fix evbuffer_peek() with len==-1 and start_at non-NULL. (fb7e76a) BUFGIXES (evdns) o Checking request nameserver for NULL, before using it. (5c710c0 Belobrov Andrey) o Fix SEGFAULT after evdns_base_resume if no nameservers installed. (f8d7df8 Azat Khuzhin) o Fix a crash in evdns related to shutting down evdns (9f39c88,e8fe749) BUGFIXES (epoll) o Check does arch have the epoll_create and __NR_epoll_wait syscalls. (dfe1e52 Marcin Juszkiewicz) BUGFIXES (evutil_secure_random) o Avoid other RNG initialization FS reads when urandom file is specified (9695e9c, bb52471) o When we seed from /proc/sys/kernel/random/uuid, count it as success (e35b540) o Document that arc4random is not a great cryptographic PRNG. (6e49696) o Add evutil_secure_rng_set_urandom_device_file (2bbb5d7) o Really remove RNG seeds from the stack (f5ced88) DOCUMENTATION FIXES o Fix a mistake in evbuffer_remove() arguments in example http server code (c322c20 Gyepi Sam) o Fix a typo in a comment in buffer.h. Spotted by Alt_F4 (773b0a5) o Clarify event_base_loop exit conditions (031a803) o Use FindClose for handle from FindFirstFile in http-server.c (6466e88) o Fix a typo in a doxygen comment. Reported by 亦å¾. (be1aeff) |
2013-05-10 06:13:51 by Taylor R Campbell | Files touched by this commit (1) |
Log message: Helps to set INSTALLATION_DIRS too. |
2013-05-10 03:29:59 by Taylor R Campbell | Files touched by this commit (1) |
Log message: ...aaaaand set PKGNAME, not DISTNAME. |
2013-05-10 03:25:03 by Taylor R Campbell | Files touched by this commit (1) |
Log message: Fix poty in new py-libevent-rpcgen makefile. |