libevent is an asynchronous event notification software library. The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached. Furthermore, libevent also supports callbacks due to signals or regular timeouts.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz
Download SHA256 Sum: 92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb
Download MD5 sum: b5333f021f880fe76490d8a799cd79f4
Download size: 1.0 MB
Estimated disk space required: 20 MB (add 4 MB for tests and 4 MB for API docs)
Estimated build time: 0.3 SBU (add 11 SBU for tests)
"doxygen" (for API documentation)
First, fix an issue that prevents event_rpcgen.py from working:
sed -i 's/python/&3/' event_rpcgen.py
Now Prepare libevent, issue these commands:
./configure --prefix=/usr --disable-static
make
Six tests in every suite related to regress_ssl.c and
regress_http.c are known to fail due to
incompatibilities with OpenSSL-3. Some tests that are related to
regress_dns.c are also known to fail intermittently
due to insufficient test timeouts. To test the results, issue:
make verify
Now, as the root user:
make install