Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,8 @@ CHECK_SYMBOL_EXISTS(TAILQ_FOREACH sys/queue.h EVENT__HAVE_TAILQFOREACH)
CHECK_CONST_EXISTS(CTL_KERN sys/sysctl.h EVENT__HAVE_DECL_CTL_KERN)
CHECK_CONST_EXISTS(KERN_ARND sys/sysctl.h EVENT__HAVE_DECL_KERN_ARND)
CHECK_SYMBOL_EXISTS(F_SETFD fcntl.h EVENT__HAVE_SETFD)
CHECK_CONST_EXISTS(SO_TIMESTAMP sys/socket.h EVENT__HAVE_DECL_SO_TIMESTAMP)
CHECK_CONST_EXISTS(SO_TIMESTAMPNS sys/socket.h EVENT__HAVE_DECL_SO_TIMESTAMPNS)

CHECK_TYPE_SIZE(fd_mask EVENT__HAVE_FD_MASK)

Expand Down Expand Up @@ -841,7 +843,16 @@ if(EVENT__HAVE_EVENT_PORTS)
endif()

if (NOT EVENT__DISABLE_OPENSSL)
find_package(OpenSSL REQUIRED)
find_package(OpenSSL 3.0.0 REQUIRED)

set(CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIR})
check_symbol_exists(LIBRESSL_VERSION_NUMBER "openssl/opensslv.h" EVENT__HAVE_LIBRESSL)
unset(CMAKE_REQUIRED_INCLUDES)
if (EVENT__HAVE_LIBRESSL)
message(FATAL_ERROR
"Libevent requires OpenSSL >= 3.0.0; LibreSSL is not supported "
"(found headers reporting LIBRESSL_VERSION_NUMBER)")
endif()

set(EVENT__HAVE_OPENSSL 1)

Expand Down
20 changes: 20 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
Changes in version 2.1.13-stable-couchbase (05 August 2026)

This release applies additional patches on top of the upstream
2.1.13-stable release to add new features required by Couchbase.

New features (evbuffer, bufferevent):
- Add kernel socket receive timestamp support via BEV_OPT_RECV_TIMESTAMPS
and evbuffer_get_timestamp(), for TCP socket bufferevents. Currently
only supported on Linux (SO_TIMESTAMPNS/SO_TIMESTAMP); unsupported
on other platforms.
Build requirement changes (bufferevent_openssl):
- Libevent now requires OpenSSL >= 3.0.0 to build the openssl
bufferevent backend; older OpenSSL 1.x releases and LibreSSL
are no longer supported.
- CMake and Autotools now check the OpenSSL version (and reject
LibreSSL) at configure time, instead of failing later with a
compiler error in openssl-compat.h.



Changes in version 2.1.13-stable (01 July 2026)

This release contains several security fixes, affecting users of the
Expand Down
Loading
Loading