• Home
  • Annotate
  • current directory
Name Date Size

..05-Dec-2017-

include/05-Dec-2017-

Android.bp A D05-Dec-20171.9 KiB

ChangeLog A D05-Dec-201789.5 KiB

CleanSpec.mk A D05-Dec-20172.2 KiB

Doxyfile A D05-Dec-201710 KiB

LICENSE A D05-Dec-20173.2 KiB

MODULE_LICENSE_BSD_LIKE A D05-Dec-20170

Makefile.am A D05-Dec-20177.4 KiB

Makefile.in A D05-Dec-201750.5 KiB

Makefile.nmake A D05-Dec-20171.4 KiB

NOTICE A D05-Dec-20173.2 KiB

README A D05-Dec-20174 KiB

README.android A D05-Dec-20171.2 KiB

aclocal.m4 A D05-Dec-201735.6 KiB

arc4random.c A D05-Dec-201712.8 KiB

autogen.sh A D05-Dec-2017308

buffer.c A D05-Dec-201772.5 KiB

buffer_iocp.c A D05-Dec-20178.4 KiB

bufferevent-internal.h A D05-Dec-201715.4 KiB

bufferevent.c A D05-Dec-201722 KiB

bufferevent_async.c A D05-Dec-201717.8 KiB

bufferevent_filter.c A D05-Dec-201714.7 KiB

bufferevent_openssl.c A D05-Dec-201737.1 KiB

bufferevent_pair.c A D05-Dec-20178.6 KiB

bufferevent_ratelim.c A D05-Dec-201727.9 KiB

bufferevent_sock.c A D05-Dec-201717.4 KiB

changelist-internal.h A D05-Dec-20174.5 KiB

compile A D05-Dec-20177.1 KiB

config.guess A D05-Dec-201743.8 KiB

config.h.in A D05-Dec-201711.8 KiB

config.sub A D05-Dec-201734.7 KiB

configure A D05-Dec-2017494.5 KiB

configure.ac A D05-Dec-201721.8 KiB

defer-internal.h A D05-Dec-20173.6 KiB

depcomp A D05-Dec-201720.4 KiB

devpoll.c A D05-Dec-20177.6 KiB

epoll.c A D05-Dec-201712.8 KiB

epoll_sub.c A D05-Dec-20172.3 KiB

evbuffer-internal.h A D05-Dec-201710.6 KiB

evdns.c A D05-Dec-2017125 KiB

evdns.h A D05-Dec-20171.9 KiB

event-internal.h A D05-Dec-201712.4 KiB

event.c A D05-Dec-201773.8 KiB

event.h A D05-Dec-20172.7 KiB

event_iocp.c A D05-Dec-20177.5 KiB

event_rpcgen.py A D05-Dec-201754.2 KiB

event_tagging.c A D05-Dec-201714.1 KiB

evhttp.h A D05-Dec-20171.9 KiB

evmap-internal.h A D05-Dec-20173.9 KiB

evmap.c A D05-Dec-201720.9 KiB

evport.c A D05-Dec-201711.8 KiB

evrpc-internal.h A D05-Dec-20175.5 KiB

evrpc.c A D05-Dec-201728.7 KiB

evrpc.h A D05-Dec-20171.9 KiB

evsignal-internal.h A D05-Dec-20172.5 KiB

evthread-internal.h A D05-Dec-201713.5 KiB

evthread.c A D05-Dec-201711.8 KiB

evthread_pthread.c A D05-Dec-20174.8 KiB

evthread_win32.c A D05-Dec-20178.3 KiB

evutil.c A D05-Dec-201757.5 KiB

evutil.h A D05-Dec-20171.7 KiB

evutil_rand.c A D05-Dec-20174.8 KiB

ht-internal.h A D05-Dec-201728.5 KiB

http-internal.h A D05-Dec-20175.2 KiB

http.c A D05-Dec-2017108.7 KiB

install-sh A D05-Dec-201713.7 KiB

iocp-internal.h A D05-Dec-20177.5 KiB

ipv6-internal.h A D05-Dec-20172.4 KiB

kqueue.c A D05-Dec-201711.9 KiB

libevent.pc.in A D05-Dec-2017317

libevent_openssl.pc.in A D05-Dec-2017357

libevent_pthreads.pc.in A D05-Dec-2017384

listener.c A D05-Dec-201720.6 KiB

log-internal.h A D05-Dec-20172.5 KiB

log.c A D05-Dec-20175 KiB

ltmain.sh A D05-Dec-2017276.8 KiB

make-event-config.sed A D05-Dec-2017542

minheap-internal.h A D05-Dec-20175.6 KiB

missing A D05-Dec-20179.9 KiB

mm-internal.h A D05-Dec-20172.5 KiB

poll.c A D05-Dec-20177.8 KiB

ratelim-internal.h A D05-Dec-20174 KiB

select.c A D05-Dec-20178.2 KiB

signal.c A D05-Dec-201711.8 KiB

strlcpy-internal.h A D05-Dec-2017320

strlcpy.c A D05-Dec-20172.5 KiB

util-internal.h A D05-Dec-201710.4 KiB

whatsnew-2.0.txt A D05-Dec-201725.7 KiB

win32select.c A D05-Dec-201710 KiB

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