FreeBSD Ports

devel/libevent 2.1.13

API for executing callback functions on events or timeouts

Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD3CLAUSE
Categories
devel
Package size
339.7 KiB, 2435.3 KiB installed

Description

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 event loop found in event driven network servers. An application just needs to call event_dispatch() and 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. As a result, Libevent allows for portable application development and provides the most scalable event notification mechanism available on an operating system. Libevent can also be used for multi-threaded applications.

Install

As a binary package — by origin, or by package name:

pkg install devel/libevent
pkg install libevent

From the ports tree:

cd /usr/ports/devel/libevent/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libevent>0:devel/libevent
LIB_DEPENDS=	libevent.so:devel/libevent

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.1.132.1.132.1.122.1.122.1.13
FreeBSD:14:quarterly2.1.132.1.13n/a2.1.122.1.13
FreeBSD:15:latest2.1.132.1.13n/a2.1.122.1.12
FreeBSD:15:quarterly2.1.132.1.13n/an/an/a
FreeBSD:16:latest2.1.132.1.13n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

All build dependencies 1
Required by 4598

The first 100 are listed.

Configuration

Options name: devel_libevent

OptionDefaultDescription
OPENSSLonSSL/TLS support via OpenSSL
THREADSonThreading support
USES
cpe libtool pathfix pkgconfig python:env shebangfix
Service scripts
none
Conflicts with
libevent-devel

Files

pkg-plist 57
  • bin/event_rpcgen.py
  • include/evdns.h
  • include/event.h
  • include/event2/buffer.h
  • include/event2/buffer_compat.h
  • include/event2/bufferevent.h
  • include/event2/bufferevent_compat.h
  • include/event2/bufferevent_ssl.h
  • include/event2/bufferevent_struct.h
  • include/event2/dns.h
  • include/event2/dns_compat.h
  • include/event2/dns_struct.h
  • include/event2/event-config.h
  • include/event2/event.h
  • include/event2/event_compat.h
  • include/event2/event_struct.h
  • include/event2/http.h
  • include/event2/http_compat.h
  • include/event2/http_struct.h
  • include/event2/keyvalq_struct.h
  • include/event2/listener.h
  • include/event2/rpc.h
  • include/event2/rpc_compat.h
  • include/event2/rpc_struct.h
  • include/event2/tag.h
  • include/event2/tag_compat.h
  • include/event2/thread.h
  • include/event2/util.h
  • include/event2/visibility.h
  • include/evhttp.h
  • include/evrpc.h
  • include/evutil.h
  • lib/libevent-2.1.so.7
  • lib/libevent-2.1.so.7.0.2
  • lib/libevent.a
  • lib/libevent.so
  • lib/libevent_core-2.1.so.7
  • lib/libevent_core-2.1.so.7.0.2
  • lib/libevent_core.a
  • lib/libevent_core.so
  • lib/libevent_extra-2.1.so.7
  • lib/libevent_extra-2.1.so.7.0.2
  • lib/libevent_extra.a
  • lib/libevent_extra.so
  • lib/libevent_openssl-2.1.so.7
  • lib/libevent_openssl-2.1.so.7.0.2
  • lib/libevent_openssl.a
  • lib/libevent_openssl.so
  • lib/libevent_pthreads-2.1.so.7
  • lib/libevent_pthreads-2.1.so.7.0.2
  • lib/libevent_pthreads.a
  • lib/libevent_pthreads.so
  • libdata/pkgconfig/libevent.pc
  • libdata/pkgconfig/libevent_core.pc
  • libdata/pkgconfig/libevent_extra.pc
  • libdata/pkgconfig/libevent_openssl.pc
  • libdata/pkgconfig/libevent_pthreads.pc
distinfo 1
FileSizeSHA256
libevent-2.1.13-stable.tar.gz1.126525e+06f7e9383b8c0baa81b687e5b5eecc01beefaf1b19b64151d95ed61647fe7a315c
Master sites 1
  • https://github.com/libevent/libevent/releases/download/release-2.1.13-stable/

Commit history 0

No commits in the history this site was built from.