devel/libevent - The NetBSD Packages Collection

Asynchronous event notification 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 support callbacks due
to signals or regular timeouts.

libevent is meant to replace the asynchronous event loop found in
event driven network servers. An application just needs to call
event_dispatch() and can then add or remove events dynamically
without having to change the event loop.

Currently, libevent supports /dev/poll, kqueue(2), event ports,
select(2), poll(2), and epoll(4). The internal event mechanism is
completely independent of the exposed event API, and a simple update
of libevent can provide new functionality without having to redesign
the applications.

Libevent additionally provides a sophisticated framework for buffered
network IO, with support for sockets, filters, rate-limiting, SSL,
zero-copy file transmission, and IOCP. Libevent includes support
for several useful protocols, including DNS, HTTP, and a minimal
RPC framework.

Build dependencies

devel/libtool-base pkgtools/mktools pkgtools/cwrappers

Runtime dependencies


Binary packages

NetBSD 10.0aarch64libevent-2.1.12nb2.tgz
NetBSD 10.0aarch64libevent-2.1.12nb1.tgz
NetBSD 10.0aarch64eblibevent-2.1.12nb2.tgz
NetBSD 10.0alphalibevent-2.1.12nb1.tgz
NetBSD 10.0alphalibevent-2.1.12nb2.tgz
NetBSD 10.0earmv4libevent-2.1.12nb1.tgz
NetBSD 10.0earmv4libevent-2.1.12nb2.tgz
NetBSD 10.0earmv6hflibevent-2.1.12nb2.tgz
NetBSD 10.0earmv6hflibevent-2.1.12nb1.tgz
NetBSD 10.0earmv7hflibevent-2.1.12nb2.tgz
NetBSD 10.0earmv7hflibevent-2.1.12nb1.tgz
NetBSD 10.0i386libevent-2.1.12nb2.tgz
NetBSD 10.0i386libevent-2.1.12nb1.tgz
NetBSD 10.0m68klibevent-2.1.12nb1.tgz
NetBSD 10.0m68klibevent-2.1.12nb2.tgz
NetBSD 10.0mips64eblibevent-2.1.12nb1.tgz
NetBSD 10.0mips64eblibevent-2.1.12nb2.tgz
NetBSD 10.0powerpclibevent-2.1.12.tgz
NetBSD 10.0powerpclibevent-2.1.12nb1.tgz
NetBSD 10.0sh3ellibevent-2.1.12nb1.tgz
NetBSD 10.0sh3ellibevent-2.1.12nb2.tgz
NetBSD 10.0sparc64libevent-2.1.12nb2.tgz
NetBSD 10.0sparclibevent-2.1.12nb1.tgz
NetBSD 10.0sparclibevent-2.1.12nb2.tgz
NetBSD 10.0vaxlibevent-2.1.12nb1.tgz
NetBSD 10.0vaxlibevent-2.1.12nb2.tgz
NetBSD 10.0vaxlibevent-2.1.12.tgz
NetBSD 10.0x86_64libevent-2.1.12nb2.tgz
NetBSD 10.0x86_64libevent-2.1.12nb1.tgz
NetBSD 9.0aarch64libevent-2.1.12nb2.tgz
NetBSD 9.0aarch64libevent-2.1.12nb1.tgz
NetBSD 9.0alphalibevent-2.1.12nb1.tgz
NetBSD 9.0alphalibevent-2.1.12nb2.tgz
NetBSD 9.0earmlibevent-2.1.12.tgz
NetBSD 9.0earmv4libevent-2.1.12nb1.tgz
NetBSD 9.0earmv4libevent-2.1.12nb2.tgz
NetBSD 9.0earmv6hflibevent-2.1.12nb2.tgz
NetBSD 9.0earmv6hflibevent-2.1.12nb1.tgz
NetBSD 9.0earmv7hflibevent-2.1.12nb2.tgz
NetBSD 9.0earmv7hflibevent-2.1.12nb1.tgz
NetBSD 9.0i386libevent-2.1.12nb2.tgz
NetBSD 9.0i386libevent-2.1.12nb1.tgz
NetBSD 9.0m68klibevent-2.1.12nb2.tgz
NetBSD 9.0mips64eblibevent-2.1.12.tgz
NetBSD 9.0mipsellibevent-2.1.12.tgz
NetBSD 9.0powerpclibevent-2.1.12nb1.tgz
NetBSD 9.0powerpclibevent-2.1.12.tgz
NetBSD 9.0powerpclibevent-2.1.12nb2.tgz
NetBSD 9.0sh3ellibevent-2.1.12.tgz
NetBSD 9.0sparc64libevent-2.1.12.tgz
NetBSD 9.0sparc64libevent-2.1.12nb2.tgz
NetBSD 9.0sparclibevent-2.1.12.tgz
NetBSD 9.0vaxlibevent-2.1.12nb1.tgz
NetBSD 9.0x86_64libevent-2.1.12nb2.tgz
NetBSD 9.0x86_64libevent-2.1.12nb1.tgz
NetBSD 9.3x86_64libevent-2.1.12nb2.tgz
NetBSD 9.3x86_64libevent-2.1.12nb2.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.