• Home
Name Date Size #Lines LOC

..--

include/03-May-2024-9,9702,761

Android.mkD03-May-20242.1 KiB8763

ChangeLogD03-May-202489.5 KiB1,3971,247

CleanSpec.mkD03-May-20242.2 KiB500

DoxyfileD03-May-202410 KiB258186

LICENSED03-May-20243.2 KiB7558

MODULE_LICENSE_BSD_LIKED03-May-20240

Makefile.amD03-May-20247.4 KiB245128

Makefile.inD03-May-202450.5 KiB1,3321,134

Makefile.nmakeD03-May-20241.4 KiB4828

NOTICED03-May-20243.2 KiB7558

READMED03-May-20244 KiB199169

README.androidD03-May-20241.2 KiB3628

aclocal.m4D03-May-202435.6 KiB1,015915

arc4random.cD03-May-202412.8 KiB556392

autogen.shD03-May-2024308 1613

buffer.cD03-May-202472.5 KiB3,1242,427

buffer_iocp.cD03-May-20248.4 KiB326229

bufferevent-internal.hD03-May-202415.4 KiB411152

bufferevent.cD03-May-202422 KiB876692

bufferevent_async.cD03-May-202417.8 KiB691521

bufferevent_filter.cD03-May-202414.7 KiB512357

bufferevent_openssl.cD03-May-202437.1 KiB1,4551,115

bufferevent_pair.cD03-May-20248.6 KiB335249

bufferevent_ratelim.cD03-May-202427.9 KiB1,012749

bufferevent_sock.cD03-May-202417.4 KiB700520

changelist-internal.hD03-May-20244.5 KiB10224

compileD03-May-20247.1 KiB343253

config.guessD03-May-202443.8 KiB1,5311,321

config.h.inD03-May-202411.8 KiB443298

config.subD03-May-202434.7 KiB1,7831,640

configureD03-May-2024494.5 KiB17,61314,659

configure.acD03-May-202421.8 KiB822727

defer-internal.hD03-May-20243.6 KiB10135

depcompD03-May-202420.4 KiB708460

devpoll.cD03-May-20247.6 KiB307196

epoll.cD03-May-202412.8 KiB474335

epoll_sub.cD03-May-20242.3 KiB6634

evbuffer-internal.hD03-May-202410.6 KiB294127

evdns.cD03-May-2024125 KiB4,6763,645

evdns.hD03-May-20241.9 KiB467

event-internal.hD03-May-202412.4 KiB369159

event.cD03-May-202473.8 KiB2,9442,216

event.hD03-May-20242.7 KiB8641

event_iocp.cD03-May-20247.5 KiB294223

event_rpcgen.pyD03-May-202454.2 KiB1,7181,347

event_tagging.cD03-May-202414.1 KiB597416

evhttp.hD03-May-20241.9 KiB467

evmap-internal.hD03-May-20243.9 KiB9317

evmap.cD03-May-202420.9 KiB800585

evport.cD03-May-202411.8 KiB474262

evrpc-internal.hD03-May-20245.5 KiB20582

evrpc.cD03-May-202428.7 KiB1,175861

evrpc.hD03-May-20241.9 KiB467

evsignal-internal.hD03-May-20242.5 KiB6523

evthread-internal.hD03-May-202413.5 KiB383244

evthread.cD03-May-202411.8 KiB446368

evthread_pthread.cD03-May-20244.8 KiB190146

evthread_win32.cD03-May-20248.3 KiB340270

evutil.cD03-May-202457.5 KiB2,1911,765

evutil.hD03-May-20241.7 KiB404

evutil_rand.cD03-May-20244.8 KiB183121

ht-internal.hD03-May-202428.5 KiB485393

http-internal.hD03-May-20245.2 KiB196110

http.cD03-May-2024108.7 KiB4,5303,351

install-shD03-May-202413.7 KiB528351

iocp-internal.hD03-May-20247.5 KiB20267

ipv6-internal.hD03-May-20242.4 KiB8236

kqueue.cD03-May-202411.9 KiB476315

libevent.pc.inD03-May-2024317 1713

libevent_openssl.pc.inD03-May-2024357 1713

libevent_pthreads.pc.inD03-May-2024384 1713

listener.cD03-May-202420.6 KiB887727

log-internal.hD03-May-20242.5 KiB6026

log.cD03-May-20245 KiB225156

ltmain.shD03-May-2024276.8 KiB9,6567,304

make-event-config.sedD03-May-2024542 2420

minheap-internal.hD03-May-20245.6 KiB161115

missingD03-May-20249.9 KiB331243

mm-internal.hD03-May-20242.5 KiB6228

poll.cD03-May-20247.8 KiB334237

ratelim-internal.hD03-May-20244 KiB10641

select.cD03-May-20248.2 KiB334223

signal.cD03-May-202411.8 KiB446317

strlcpy-internal.hD03-May-2024320 2215

strlcpy.cD03-May-20242.5 KiB7531

util-internal.hD03-May-202410.4 KiB330197

whatsnew-2.0.txtD03-May-202425.7 KiB610450

win32select.cD03-May-202410 KiB378291

README

10. BUILDING AND INSTALLATION (Briefly)
2
3$ ./configure
4$ make
5$ make verify   # (optional)
6$ sudo make install
7
81. BUILDING AND INSTALLATION (In Depth)
9
10To build libevent, type
11
12$ ./configure && make
13
14     (If you got libevent from the git repository, you will
15      first need to run the included "autogen.sh" script in order to
16      generate the configure script.)
17
18You can run the regression tests by running
19
20$ make verify
21
22Install as root via
23
24# make install
25
26Before, reporting any problems, please run the regression tests.
27
28To enable the low-level tracing build the library as:
29
30   CFLAGS=-DUSE_DEBUG ./configure [...]
31
32Standard configure flags should work.  In particular, see:
33
34   --disable-shared          Only build static libraries
35   --prefix                  Install all files relative to this directory.
36
37
38The configure script also supports the following flags:
39
40   --enable-gcc-warnings     Enable extra compiler checking with GCC.
41   --disable-malloc-replacement
42                             Don't let applications replace our memory
43                             management functions
44   --disable-openssl         Disable support for OpenSSL encryption.
45   --disable-thread-support  Don't support multithreaded environments.
46
472. USEFUL LINKS:
48
49For the latest released version of Libevent, see the official website at
50http://libevent.org/ .
51
52There's a pretty good work-in-progress manual up at
53   http://www.wangafu.net/~nickm/libevent-book/ .
54
55For the latest development versions of Libevent, access our Git repository
56via
57   "git clone git://levent.git.sourceforge.net/gitroot/levent/libevent"
58
59You can browse the git repository online at
60http://levent.git.sourceforge.net/git/gitweb-index.cgi .
61
62To report bugs, request features, or submit patches to Libevent,
63use the Sourceforge trackers at
64https://sourceforge.net/tracker/?group_id=50884 .
65
66There's also a libevent-users mailing list for talking about Libevent
67use and development: http://archives.seul.org/libevent/users/
68
693. ACKNOWLEDGMENTS
70
71The following people have helped with suggestions, ideas, code or
72fixing bugs:
73
74  Arno Bakker
75  Alejo
76  Weston Andros Adamson
77  William Ahern
78  Ivan Andropov
79  Sergey Avseyev
80  Avi Bab
81  Gilad Benjamini
82  Stas Bekman
83  Joachim Bauch
84  Denis Bilenko
85  Julien Blache
86  Kevin Bowling
87  Tomash Brechko
88  Kelly Brock
89  Ralph Castain
90  Adrian Chadd
91  Lawnstein Chan
92  Shuo Chen
93  Ka-Hing Cheung
94  Andrew Cox
95  George Danchev
96  Andrew Danforth
97  Antony Dovgal
98  Ed Day
99  Christopher Davis
100  Mike Davis
101  Mihai Draghicioiu
102  Mark Ellzey
103  Shie Erlich
104  Leonid Evdokimov
105  Juan Pablo Fernandez
106  Christophe Fillot
107  Mike Frysinger
108  Remi Gacogne
109  Alexander von Gernler
110  Artur Grabowski
111  Sebastian Hahn
112  Dave Hart
113  Greg Hazel
114  Michael Herf
115  Savg He
116  Mark Heily
117  Greg Hewgill
118  Andrew Hochhaus
119  Aaron Hopkins
120  Tani Hosokawa
121  Jamie Iles
122  Claudio Jeker
123  Evan Jones
124  George Kadianakis
125  Phua Keat
126  Kevin Ko
127  Brian Koehmstedt
128  Marko Kreen
129  Valery Kyholodov
130  Ross Lagerwall
131  Scott Lamb
132  Christopher Layne
133  Adam Langley
134  Philip Lewis
135  Zhou Li
136  David Libenzi
137  Yan Lin
138  Moshe Litvin
139  Simon Liu
140  Mitchell Livingston
141  Hagne Mahre
142  Lubomir Marinov
143  Abilio Marques
144  Nick Mathewson
145  James Mansion
146  Nicholas Marriott
147  Andrey Matveev
148  Caitlin Mercer
149  Dagobert Michelsen
150  Mansour Moufid
151  Felix Nawothnig
152  Trond Norbye
153  Linus Nordberg
154  Richard Nyberg
155  Jon Oberheide
156  Phil Oleson
157  Dave Pacheco
158  Tassilo von Parseval
159  Catalin Patulea
160  Patrick Pelletier
161  Simon Perreault
162  Pierre Phaneuf
163  Ryan Phillips
164  Dimitre Piskyulev
165  Pavel Plesov
166  Jon Poland
167  Nate R
168  Robert Ransom
169  Bert JW Regeer
170  Peter Rosin
171  Maseeb Abdul Qadir
172  Wang Qin
173  Alex S
174  Hanna Schroeter
175  Ralf Schmitt
176  Mike Smellie
177  Kevin Springborn
178  Harlan Stenn
179  Steve Snyder
180  Dug Song
181  Dongsheng Song
182  Hannes Sowa
183  Ferenc Szalai
184  Brodie Thiesfield
185  Jason Toffaletti
186  Gisle Vanem
187  Bas Verhoeven
188  Constantine Verutin
189  Colin Watt
190  Zack Weinberg
191  Jardel Weyrich
192  Alex
193  Taral
194  propanbutan
195  mmadia
196
197
198If we have forgotten your name, please contact us.
199

README.android

1This is libevent-2.0.22-stable from http://libevent.org/.
2
3No changes were made apart from the following:
4
5* copied LICENSE to NOTICE
6* added empty MODULE_LICENSE_BSD_LIKE
7* Removed directories:
8  - WIN32-Code
9  - compat
10  - m4
11  - sample
12  - test
13* added Android.mk
14* added CleanSpec.mk
15* added missing include of event-internal.h to buffer.c
16* added custom include/event2/event-config.h
17
18
19To uprev this project, you'll likely need to reverse engineer the autotools
20generated makefiles again.  This is the recipe I used:
21
22BRANCH_ROOT=/usr/local/google/home/wiley/mnc-dev
23PATH="${BRANCH_ROOT}/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin:${PATH}"
24NDK_ROOT="${BRANCH_ROOT}/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr"
25
26./configure --host=arm --build=`./config.guess` \
27  CC=arm-eabi-gcc \
28  CPPFLAGS="-I${NDK_ROOT}/usr/include" \
29  CFLAGS="-nostdlib
30          -Wl,-rpath-link=${BRANCH_ROOT}/out/target/product/hammerhead/obj/lib
31          -L${BRANCH_ROOT}/out/target/product/hammerhead/obj/lib
32          -I${BRANCH_ROOT}/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include" \
33  LIBS="-lc "
34
35Note that I built hammerhead first and used prebuilts from the most recent NDK.
36