BSD Ports

devel/libevent-devel 2.2.1_1 FreeBSD

API for executing callback functions on events or timeouts

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD3CLAUSE
Categories
devel
Package size
365.8 KiB, 2632.1 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.

In the other systems

SystemPortVersion
FreeBSDdevel/libevent-devel2.2.1_1
DragonFlydevel/libevent-devel2.2.1_1
HardenedBSDdevel/libevent-devel2.2.1_1
GhostBSDdevel/libevent-devel2.2.1_1

Install

Binary package:

pkg install libevent-devel

From the ports tree:

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

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

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

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.2.1_12.2.1_1-2.2.1_12.2.1_1
FreeBSD:14:quarterly2.2.1_12.2.1_1n/a2.2.1_12.2.1_1
FreeBSD:15:latest2.2.1_12.2.1_1n/a2.2.1_12.2.1_1
FreeBSD:15:quarterly2.2.1_12.2.1_1n/an/an/a
FreeBSD:16:latest2.2.1_12.2.1_1n/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.

Build dependencies 1
Required by 1

Configuration

Options name: devel_libevent

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

Files

pkg-plist 64
  • 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/event2/watch.h
  • include/event2/ws.h
  • include/evhttp.h
  • include/evrpc.h
  • include/evutil.h
  • lib/libevent-2.2.so.1
  • lib/libevent-2.2.so.1.0.0
  • lib/libevent.a
  • lib/libevent.so
  • lib/libevent_core-2.2.so.1
  • lib/libevent_core-2.2.so.1.0.0
  • lib/libevent_core.a
  • lib/libevent_core.so
  • lib/libevent_extra-2.2.so.1
  • lib/libevent_extra-2.2.so.1.0.0
  • lib/libevent_extra.a
  • lib/libevent_extra.so
  • lib/libevent_mbedtls-2.2.so.1
  • lib/libevent_mbedtls-2.2.so.1.0.0
  • lib/libevent_mbedtls.a
  • lib/libevent_mbedtls.so
  • lib/libevent_openssl-2.2.so.1
  • lib/libevent_openssl-2.2.so.1.0.0
  • lib/libevent_openssl.a
  • lib/libevent_openssl.so
  • lib/libevent_pthreads-2.2.so.1
  • lib/libevent_pthreads-2.2.so.1.0.0
  • 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_mbedtls.pc
  • libdata/pkgconfig/libevent_openssl.pc
  • libdata/pkgconfig/libevent_pthreads.pc
distinfo 1
FileSizeSHA256
libevent-2.2.1-alpha-dev.tar.gz1.16655e+0636d0726e570fc2ee61a0a27cfb6bf2799e14a28d030a7473a7a2411f7533d359
Master sites 1
  • https://github.com/libevent/libevent/releases/download/release-2.2.1-alpha/

Commit history 0

No commits in the history this site was built from.