105.2. libevent-2.1.13
Asynchronous event notification software library
2.1.13-1 · BSD-3-Clause · 0.5 SBU · 2.6 MiB, 58 files · 41_system, 50 of 1047 · ports/core/net-libs/libevent
Homepage: https://libevent.org/
libevent runs callbacks when a file descriptor becomes ready, a timer expires or a signal arrives, over the kernel’s own mechanism (epoll on Linux), and adds buffered I/O, DNS, HTTP and RPC layers on top. tmux, transmission, firefox-esr and thunderbird are among the ports that link it.
Depends on: openssl.
Required by (11): coeurl, firefox-esr, libcamera, librewolf, mtxclient, nfs-utils, nheko, thrift, thunderbird, tmux, transmission.
Sources: libevent-2.1.13.tar.gz (1.1 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install libevent'
build.sh:
./configure --prefix=/usr \
--enable-openssl \
--disable-samples
make
make DESTDIR=$PKG install
--enable-openssl— Buildlibevent_openssl, the TLS layer for libevent’s buffered events. It is configure’s default, and with it configure stops with an error when it cannot find OpenSSL, throughpkg-configor by linkingSSL_new;--disable-opensslis the only way to build without it. openssl is independsbecause the build needs it.--disable-samples— Build none of the example programs undersample/.
Programs: event_rpcgen.py.
Libraries: libevent-2.1.so, libevent.a, libevent.so, libevent_core-2.1.so, libevent_core.a, libevent_core.so, libevent_extra-2.1.so, libevent_extra.a, libevent_extra.so, libevent_openssl-2.1.so, libevent_openssl.a, libevent_openssl.so, libevent_pthreads-2.1.so, libevent_pthreads.a, libevent_pthreads.so.
Directories: /usr/include/event2, /usr/share/licenses/libevent.