• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

include/22-Nov-2023-9,9702,761

.gitD01-Jan-19700

Android.mkD22-Nov-20231.8 KiB7855

ChangeLogD22-Nov-202389.5 KiB1,3971,247

CleanSpec.mkD22-Nov-20232.2 KiB500

DoxyfileD22-Nov-202310 KiB258186

LICENSED22-Nov-20233.2 KiB7558

MODULE_LICENSE_BSD_LIKED22-Nov-20230

Makefile.amD22-Nov-20237.4 KiB245128

Makefile.inD22-Nov-202350.5 KiB1,3321,134

Makefile.nmakeD22-Nov-20231.4 KiB4828

NOTICED22-Nov-20233.2 KiB7558

READMED22-Nov-20234 KiB199169

README.androidD22-Nov-20231.2 KiB3628

aclocal.m4D22-Nov-202335.6 KiB1,015915

arc4random.cD22-Nov-202312.8 KiB556392

autogen.shD22-Nov-2023308 1613

buffer.cD22-Nov-202372.5 KiB3,1242,427

buffer_iocp.cD22-Nov-20238.4 KiB326229

bufferevent-internal.hD22-Nov-202315.4 KiB411152

bufferevent.cD22-Nov-202322 KiB876692

bufferevent_async.cD22-Nov-202317.8 KiB691521

bufferevent_filter.cD22-Nov-202314.7 KiB512357

bufferevent_openssl.cD22-Nov-202337.1 KiB1,4551,115

bufferevent_pair.cD22-Nov-20238.6 KiB335249

bufferevent_ratelim.cD22-Nov-202327.9 KiB1,012749

bufferevent_sock.cD22-Nov-202317.4 KiB700520

changelist-internal.hD22-Nov-20234.5 KiB10224

compileD22-Nov-20237.1 KiB343253

config.guessD22-Nov-202343.8 KiB1,5311,321

config.h.inD22-Nov-202311.8 KiB443298

config.subD22-Nov-202334.7 KiB1,7831,640

configureD22-Nov-2023494.5 KiB17,61314,659

configure.acD22-Nov-202321.8 KiB822727

defer-internal.hD22-Nov-20233.6 KiB10135

depcompD22-Nov-202320.4 KiB708460

devpoll.cD22-Nov-20237.6 KiB307196

epoll.cD22-Nov-202312.8 KiB474335

epoll_sub.cD22-Nov-20232.3 KiB6634

evbuffer-internal.hD22-Nov-202310.6 KiB294127

evdns.cD22-Nov-2023125 KiB4,6763,645

evdns.hD22-Nov-20231.9 KiB467

event-internal.hD22-Nov-202312.4 KiB369159

event.cD22-Nov-202373.8 KiB2,9442,216

event.hD22-Nov-20232.7 KiB8641

event_iocp.cD22-Nov-20237.5 KiB294223

event_rpcgen.pyD22-Nov-202354.2 KiB1,7181,347

event_tagging.cD22-Nov-202314.1 KiB597416

evhttp.hD22-Nov-20231.9 KiB467

evmap-internal.hD22-Nov-20233.9 KiB9317

evmap.cD22-Nov-202320.9 KiB800585

evport.cD22-Nov-202311.8 KiB474262

evrpc-internal.hD22-Nov-20235.5 KiB20582

evrpc.cD22-Nov-202328.7 KiB1,175861

evrpc.hD22-Nov-20231.9 KiB467

evsignal-internal.hD22-Nov-20232.5 KiB6523

evthread-internal.hD22-Nov-202313.5 KiB383244

evthread.cD22-Nov-202311.8 KiB446368

evthread_pthread.cD22-Nov-20234.8 KiB190146

evthread_win32.cD22-Nov-20238.3 KiB340270

evutil.cD22-Nov-202357.5 KiB2,1911,765

evutil.hD22-Nov-20231.7 KiB404

evutil_rand.cD22-Nov-20234.8 KiB183121

ht-internal.hD22-Nov-202328.5 KiB485393

http-internal.hD22-Nov-20235.2 KiB196110

http.cD22-Nov-2023108.7 KiB4,5303,351

install-shD22-Nov-202313.7 KiB528351

iocp-internal.hD22-Nov-20237.5 KiB20267

ipv6-internal.hD22-Nov-20232.4 KiB8236

kqueue.cD22-Nov-202311.9 KiB476315

libevent.pc.inD22-Nov-2023317 1713

libevent_openssl.pc.inD22-Nov-2023357 1713

libevent_pthreads.pc.inD22-Nov-2023384 1713

listener.cD22-Nov-202320.6 KiB887727

log-internal.hD22-Nov-20232.5 KiB6026

log.cD22-Nov-20235 KiB225156

ltmain.shD22-Nov-2023276.8 KiB9,6567,304

make-event-config.sedD22-Nov-2023542 2420

minheap-internal.hD22-Nov-20235.6 KiB161115

missingD22-Nov-20239.9 KiB331243

mm-internal.hD22-Nov-20232.5 KiB6228

poll.cD22-Nov-20237.8 KiB334237

ratelim-internal.hD22-Nov-20234 KiB10641

select.cD22-Nov-20238.2 KiB334223

signal.cD22-Nov-202311.8 KiB446317

strlcpy-internal.hD22-Nov-2023320 2215

strlcpy.cD22-Nov-20232.5 KiB7531

util-internal.hD22-Nov-202310.4 KiB330197

whatsnew-2.0.txtD22-Nov-202325.7 KiB610450

win32select.cD22-Nov-202310 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