{"id":15107075,"url":"https://github.com/shadowsocks/libevent","last_synced_at":"2025-09-27T05:31:31.139Z","repository":{"id":65979124,"uuid":"45718491","full_name":"shadowsocks/libevent","owner":"shadowsocks","description":"A public libevent repository.  The official repository is still at at  git://levent.git.sourceforge.net/gitroot/levent/libevent ","archived":false,"fork":true,"pushed_at":"2024-08-20T18:42:25.000Z","size":9934,"stargazers_count":23,"open_issues_count":0,"forks_count":65,"subscribers_count":8,"default_branch":"shadowsocks-android","last_synced_at":"2024-12-08T01:01:29.413Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://libevent.org","language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"libevent/libevent","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shadowsocks.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-07T01:59:53.000Z","updated_at":"2024-11-11T14:42:53.000Z","dependencies_parsed_at":"2023-02-19T18:25:21.769Z","dependency_job_id":null,"html_url":"https://github.com/shadowsocks/libevent","commit_stats":null,"previous_names":[],"tags_count":53,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowsocks%2Flibevent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowsocks%2Flibevent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowsocks%2Flibevent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowsocks%2Flibevent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shadowsocks","download_url":"https://codeload.github.com/shadowsocks/libevent/tar.gz/refs/heads/shadowsocks-android","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234391380,"owners_count":18824809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-25T21:04:14.265Z","updated_at":"2025-09-27T05:31:30.551Z","avatar_url":"https://github.com/shadowsocks.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://strcpy.net/libevent3.png\" alt=\"libevent logo\"/\u003e\n\u003c/p\u003e\n\n\n\n[![Appveyor Win32 Build Status](https://ci.appveyor.com/api/projects/status/ng3jg0uhy44mp7ik?svg=true)](https://ci.appveyor.com/project/libevent/libevent)\n[![Travis Build Status](https://travis-ci.org/libevent/libevent.svg?branch=master)](https://travis-ci.org/libevent/libevent)\n[![Coverage Status](https://coveralls.io/repos/github/libevent/libevent/badge.svg)](https://coveralls.io/github/libevent/libevent)\n[![Join the chat at https://gitter.im/libevent/libevent](https://badges.gitter.im/libevent/libevent.svg)](https://gitter.im/libevent/libevent?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n\n\n# 0. BUILDING AND INSTALLATION (Briefly)\n\n## Autoconf\n\n     $ ./configure\n     $ make\n     $ make verify   # (optional)\n     $ sudo make install\n\n## CMake (General)\n\n\nThe following Libevent specific CMake variables are as follows (the values being\nthe default).\n\n```\n# Type of the library to build (SHARED or STATIC)\n# Default is: SHARED for MSVC, otherwise BOTH\nEVENT__LIBRARY_TYPE:STRING=DEFAULT\n\n# Installation directory for CMake files\nEVENT_INSTALL_CMAKE_DIR:PATH=lib/cmake/libevent\n\n# Enable running gcov to get a test coverage report (only works with\n# GCC/CLang). Make sure to enable -DCMAKE_BUILD_TYPE=Debug as well.\nEVENT__COVERAGE:BOOL=OFF\n\n# Defines if Libevent should build without the benchmark executables\nEVENT__DISABLE_BENCHMARK:BOOL=OFF\n\n# Define if Libevent should build without support for a debug mode\nEVENT__DISABLE_DEBUG_MODE:BOOL=OFF\n\n# Define if Libevent should not allow replacing the mm functions\nEVENT__DISABLE_MM_REPLACEMENT:BOOL=OFF\n\n# Define if Libevent should build without support for OpenSSL encryption\nEVENT__DISABLE_OPENSSL:BOOL=OFF\n\n# Disable the regress tests\nEVENT__DISABLE_REGRESS:BOOL=OFF\n\n# Disable sample files\nEVENT__DISABLE_SAMPLES:BOOL=OFF\n\n# If tests should be compiled or not\nEVENT__DISABLE_TESTS:BOOL=OFF\n\n# Define if Libevent should not be compiled with thread support\nEVENT__DISABLE_THREAD_SUPPORT:BOOL=OFF\n\n# Enables verbose debugging\nEVENT__ENABLE_VERBOSE_DEBUG:BOOL=OFF\n\n# When cross compiling, forces running a test program that verifies that Kqueue\n# works with pipes. Note that this requires you to manually run the test program\n# on the the cross compilation target to verify that it works. See CMake\n# documentation for try_run for more details\nEVENT__FORCE_KQUEUE_CHECK:BOOL=OFF\n```\n\n__More variables can be found by running `cmake -LAH \u003csourcedir_path\u003e`__\n\n\n## CMake (Windows)\n\nInstall CMake: \u003chttps://www.cmake.org\u003e\n\n\n     $ md build \u0026\u0026 cd build\n     $ cmake -G \"Visual Studio 10\" ..   # Or whatever generator you want to use cmake --help for a list.\n     $ start libevent.sln\n\n## CMake (Unix)\n\n     $ mkdir build \u0026\u0026 cd build\n     $ cmake ..     # Default to Unix Makefiles.\n     $ make\n     $ make verify  # (optional)\n\n\n# 1. BUILDING AND INSTALLATION (In Depth)\n\n## Autoconf\n\nTo build Libevent, type\n\n     $ ./configure \u0026\u0026 make\n\n\n (If you got Libevent from the git repository, you will\n  first need to run the included \"autogen.sh\" script in order to\n  generate the configure script.)\n\nYou can run the regression tests by running\n\n     $ make verify\n\nInstall as root via\n\n     $ make install\n\nBefore reporting any problems, please run the regression tests.\n\nTo enable low-level tracing, build the library as:\n\n     $ CFLAGS=-DUSE_DEBUG ./configure [...]\n\nStandard configure flags should work.  In particular, see:\n\n     --disable-shared          Only build static libraries.\n     --prefix                  Install all files relative to this directory.\n\n\nThe configure script also supports the following flags:\n\n     --enable-gcc-warnings     Enable extra compiler checking with GCC.\n     --disable-malloc-replacement\n                               Don't let applications replace our memory\n                               management functions.\n     --disable-openssl         Disable support for OpenSSL encryption.\n     --disable-thread-support  Don't support multithreaded environments.\n\n## CMake (Windows)\n\n(Note that autoconf is currently the most mature and supported build\nenvironment for Libevent; the CMake instructions here are new and\nexperimental, though they _should_ be solid.  We hope that CMake will\nstill be supported in future versions of Libevent, and will try to\nmake sure that happens.)\n\nFirst of all install \u003chttps://www.cmake.org\u003e.\n\nTo build Libevent using Microsoft Visual studio open the \"Visual Studio Command prompt\" and type:\n\n```\n$ cd \u003clibevent source dir\u003e\n$ mkdir build \u0026\u0026 cd build\n$ cmake -G \"Visual Studio 10\" ..   # Or whatever generator you want to use cmake --help for a list.\n$ start libevent.sln\n```\n\nIn the above, the \"..\" refers to the dir containing the Libevent source code. \nYou can build multiple versions (with different compile time settings) from the same source tree\nby creating other build directories. \n\nIt is highly recommended to build \"out of source\" when using\nCMake instead of \"in source\" like the normal behaviour of autoconf for this reason.\n\nThe \"NMake Makefiles\" CMake generator can be used to build entirely via the command line.\n\nTo get a list of settings available for the project you can type:\n\n```\n$ cmake -LH ..\n```\n\n### GUI\n\nCMake also provides a GUI that lets you specify the source directory and output (binary) directory\nthat the build should be placed in.\n\n# 2. USEFUL LINKS:\n\nFor the latest released version of Libevent, see the official website at\n\u003chttp://libevent.org/\u003e .\n\nThere's a pretty good work-in-progress manual up at\n   \u003chttp://www.wangafu.net/~nickm/libevent-book/\u003e .\n\nFor the latest development versions of Libevent, access our Git repository\nvia\n\n```\n$ git clone https://github.com/libevent/libevent.git\n```\n\nYou can browse the git repository online at:\n\n\u003chttps://github.com/libevent/libevent\u003e\n\nTo report bugs, issues, or ask for new features:\n\n__Patches__: https://github.com/libevent/libevent/pulls\n\u003e OK, those are not really _patches_. You fork, modify, and hit the \"Create Pull Request\" button.\n\u003e You can still submit normal git patches via the mailing list.\n\n__Bugs, Features [RFC], and Issues__: https://github.com/libevent/libevent/issues\n\u003e Or you can do it via the mailing list.\n\nThere's also a libevent-users mailing list for talking about Libevent\nuse and development: \n\n\u003chttp://archives.seul.org/libevent/users/\u003e\n\n# 3. ACKNOWLEDGMENTS\n\nThe following people have helped with suggestions, ideas, code or\nfixing bugs:\n\n * Samy Al Bahra\n * Antony Antony\n * Jacob Appelbaum\n * Arno Bakker\n * Weston Andros Adamson\n * William Ahern\n * Ivan Andropov\n * Sergey Avseyev\n * Avi Bab\n * Joachim Bauch\n * Andrey Belobrov\n * Gilad Benjamini\n * Stas Bekman\n * Denis Bilenko\n * Julien Blache\n * Kevin Bowling\n * Tomash Brechko\n * Kelly Brock\n * Ralph Castain\n * Adrian Chadd\n * Lawnstein Chan\n * Shuo Chen\n * Ka-Hing Cheung\n * Andrew Cox\n * Paul Croome\n * George Danchev\n * Andrew Danforth\n * Ed Day\n * Christopher Davis\n * Mike Davis\n * Frank Denis\n * Antony Dovgal\n * Mihai Draghicioiu\n * Alexander Drozdov\n * Mark Ellzey\n * Shie Erlich\n * Leonid Evdokimov\n * Juan Pablo Fernandez\n * Christophe Fillot\n * Mike Frysinger\n * Remi Gacogne\n * Artem Germanov\n * Alexander von Gernler\n * Diego Giagio\n * Artur Grabowski\n * Diwaker Gupta\n * Kuldeep Gupta\n * Sebastian Hahn\n * Dave Hart\n * Greg Hazel\n * Nicholas Heath\n * Michael Herf\n * Savg He\n * Mark Heily\n * Maxime Henrion\n * Michael Herf\n * Greg Hewgill\n * Andrew Hochhaus\n * Aaron Hopkins\n * Tani Hosokawa\n * Jamie Iles\n * Xiuqiang Jiang\n * Claudio Jeker\n * Evan Jones\n * Marcin Juszkiewicz\n * George Kadianakis\n * Makoto Kato\n * Phua Keat\n * Azat Khuzhin\n * Alexander Klauer\n * Kevin Ko\n * Brian Koehmstedt\n * Marko Kreen\n * Ondřej Kuzník\n * Valery Kyholodov\n * Ross Lagerwall\n * Scott Lamb\n * Christopher Layne\n * Adam Langley\n * Graham Leggett\n * Volker Lendecke\n * Philip Lewis\n * Zhou Li\n * David Libenzi\n * Yan Lin\n * Moshe Litvin\n * Simon Liu\n * Mitchell Livingston\n * Hagne Mahre\n * Lubomir Marinov\n * Abilio Marques\n * Nicolas Martyanoff\n * Abel Mathew\n * Nick Mathewson\n * James Mansion\n * Nicholas Marriott\n * Andrey Matveev\n * Caitlin Mercer\n * Dagobert Michelsen\n * Andrea Montefusco\n * Mansour Moufid\n * Mina Naguib\n * Felix Nawothnig\n * Trond Norbye\n * Linus Nordberg\n * Richard Nyberg\n * Jon Oberheide\n * John Ohl\n * Phil Oleson\n * Alexey Ozeritsky\n * Dave Pacheco\n * Derrick Pallas\n * Tassilo von Parseval\n * Catalin Patulea\n * Patrick Pelletier\n * Simon Perreault\n * Dan Petro\n * Pierre Phaneuf\n * Amarin Phaosawasdi\n * Ryan Phillips\n * Dimitre Piskyulev\n * Pavel Plesov\n * Jon Poland\n * Roman Puls\n * Nate R\n * Robert Ransom\n * Balint Reczey\n * Bert JW Regeer\n * Nate Rosenblum\n * Peter Rosin\n * Maseeb Abdul Qadir\n * Wang Qin\n * Alex S\n * Gyepi Sam\n * Hanna Schroeter\n * Ralf Schmitt\n * Mike Smellie\n * Steve Snyder\n * Nir Soffer\n * Dug Song\n * Dongsheng Song\n * Hannes Sowa\n * Joakim Soderberg\n * Joseph Spadavecchia\n * Kevin Springborn\n * Harlan Stenn\n * Andrew Sweeney\n * Ferenc Szalai\n * Brodie Thiesfield\n * Jason Toffaletti\n * Brian Utterback\n * Gisle Vanem\n * Bas Verhoeven\n * Constantine Verutin\n * Colin Watt\n * Zack Weinberg\n * Jardel Weyrich\n * Jay R. Wren\n * Zack Weinberg\n * Mobai Zhang\n * Alejo\n * Alex\n * Taral\n * propanbutan\n * masksqwe\n * mmadia\n * yangacer\n * Andrey Skriabin\n * basavesh.as\n * billsegall\n * Bill Vaughan\n * Christopher Wiley\n * David Paschich\n * Ed Schouten\n * Eduardo Panisset\n * Jan Heylen\n * jer-gentoo\n * Joakim Söderberg\n * kirillDanshin\n * lzmths\n * Marcus Sundberg\n * Mark Mentovai\n * Mattes D\n * Matyas Dolak\n * Neeraj Badlani\n * Nick Mathewson\n * Rainer Keller\n * Seungmo Koo\n * Thomas Bernard\n * Xiao Bao Clark\n * zeliard\n * Zonr Chang\n * Kurt Roeckx\n * Seven\n * Simone Basso\n * Vlad Shcherban\n * Tim Hentenaar\n * Breaker\n * johnsonlee\n * Philip Prindeville\n * Vis Virial\n * Andreas Gustafsson\n * Andrey Okoshkin\n * an-tao\n * baixiangcpp\n * Bernard Spil\n * Bogdan Harjoc\n * Carlo Marcelo Arenas Belón\n * David Benjamin\n * David Disseldorp\n * Dmitry Alimov\n * Dominic Chen\n * dpayne\n * ejurgensen\n * Fredrik Strupe\n * Gonçalo Ribeiro\n * James Synge\n * Jan Beich\n * Jesse Fang\n * Jiri Luznicky\n * José Luis Millán\n * Kiyoshi Aman\n * Leo Zhang\n * lightningkay\n * Luke Dashjr\n * Marcin Szewczyk\n * Maximilian Brunner\n * Maya Rashish\n * Murat Demirten\n * Nathan French\n * Nikolay Edigaryev\n * Philip Herron\n * Redfoxmoon\n * stenn\n * SuckShit\n * The Gitter Badger\n * tim-le\n * Vincent JARDIN\n * Xiang Zhang\n * Xiaozhou Liu\n * yongqing.jiao\n * Enji Cooper\n * linxiaohui\n * Seong-Joong Kim\n * Tobias Stoeckmann\n * Yury Korzhetsky\n * zhuizhuhaomeng\n * Pierce Lopez\n * yuangongji\n * Keith Smiley\n * jeremyerb\n * Fabrice Fontaine\n * wenyg\n * Aleksandr-Melnikov\n * ayuseleznev\n * chenguolong\n * Dimo Markov\n * dota17\n * fanquake\n * Jan Kasiak\n * Kamil Rytarowski\n * Mario Emmenlauer\n * Michael Davidsaver\n * mohuang\n * Nick Grifka\n * Nicolas J. Bouliane\n * Paul Osborne\n * Philip Homburg\n * Wataru Ashihara\n * William A Rowe Jr\n * yangyongsheng\n\n\nIf we have forgotten your name, please contact us.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadowsocks%2Flibevent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshadowsocks%2Flibevent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadowsocks%2Flibevent/lists"}