blob: 1462e8840790945594cf701fcbc8924e837d76de [file] [log] [blame]
Scott Graham66962112018-06-08 12:42:08 -07001Name: libevent
2URL: http://libevent.org/
3Version: 1.4.15
4License: BSD
5Security Critical: yes
6
7Local Modifications:
8Rather than use libevent's own build system, we just build a Chrome
9static library using GYP.
10
111) Run configure and "make event-config.h" on Linux, FreeBSD, Solaris,
12 and Mac and copy config.h and event-config.h to linux/, freebsd/,
13 solaris/, and mac/ respectively.
142) Add libevent.gyp.
153) chromium.patch is applied to make the following changes:
16 - Allow libevent to be used without being installed by changing <...>
17 #includes to "...".
18 - Fix a race condition in event_del.
19 - Optimistically assume CLOCK_MONOTONIC is available and fallback if it
20 fails, rather than explicitly testing for it.
21 - Remove an unneeded variable that causes a -Werror build failure.
22 - Add an #ifndef to fix a preprocessor redefined -Werror build failure.
23 - Revert the patch from http://sourceforge.net/p/levent/bugs/223/ that
24 introduces use-after-free memory corruption when an event callback frees
25 the struct event memory.
26 - Remove deprecated global variables, event_sigcb and event_gotsig
27 (essentially unused) that trigger tsan errors. (crbug/605894)
284) The directories WIN32-Code and WIN32-Prj are not included.
295) The configs for android were copied from Linux's which were very close to
30 android one with the exception of HAVE_FD_MASK and HAVE_STRLCPY.
316) Add files to support building with the PNaCl toolchain. Added
32 libevent_nacl_nonsfi.gyp for build rule. nacl_nonsfi/config.h and
33 nacl_nonsfi/event-config.h are derived from linux/ counterparts.
34 nacl_nonsfi/random.c is also added to provide the random() function,
35 which is missing in the newlib-based PNaCl toolchain.
367) Stub out signal.c for nacl_helper_nonsfi. socketpair() will be prohibited
37 by sandbox in nacl_helper_nonsfi.
388) Remove an unnecessary workaround for OS X 10.4 from kqueue.c. It was causing
39 problems on macOS Sierra.