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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.1.13 | 2.1.13 | 2.1.12 | 2.1.12 | 2.1.13 |
| FreeBSD:14:quarterly | 2.1.13 | 2.1.13 | n/a | 2.1.12 | 2.1.13 |
| FreeBSD:15:latest | 2.1.13 | 2.1.13 | n/a | 2.1.12 | 2.1.12 |
| FreeBSD:15:quarterly | 2.1.13 | 2.1.13 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.1.13 | 2.1.13 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
- accessibility/accerciser
- accessibility/caribou
- accessibility/kdeaccessibility
- accessibility/kmag
- accessibility/kmousetool
- accessibility/kmouth
- accessibility/libqaccessibilityclient
- accessibility/onboard
- accessibility/orca
- accessibility/py-speech-dispatcher
- accessibility/qt5-speech
- accessibility/qt6-speech
- accessibility/speech-dispatcher
- arabic/arabtex
- arabic/libreoffice
- archivers/R-cran-brotli
- archivers/R-cran-zip
- archivers/ark
- archivers/arqiver
- archivers/engrampa
- archivers/file-roller
- archivers/gnome-autoar
- archivers/kf6-karchive
- archivers/libarchive-qt
- archivers/lxqt-archiver
- archivers/peazip
- archivers/quazip
- archivers/thunar-archive-plugin
- archivers/unarchiver
- archivers/xarchive
- archivers/xarchiver
- archivers/zipper
- astro/celestia-gtk
- astro/foxtrotgps
- astro/gkrellmoon2
- astro/gnuastro
- astro/gpsbabel
- astro/gpscorrelate
- astro/gpsd
- astro/indiwebmanagerapp
- astro/kosmindoormap
- astro/kosmorro
- astro/kstars
- astro/marble
- astro/merkaartor
- astro/nightfall
- astro/opencpn
- astro/oskar
- astro/phd2
- astro/pp3
- astro/qmapshack
- astro/siril
- astro/starplot
- astro/stellarium
- astro/stellarsolver
- astro/viking
- astro/wmglobe
- audio/abgate-lv2
- audio/abx
- audio/amarok
- audio/amberol
- audio/amsynth
- audio/aqualung
- audio/ardour
- audio/ario
- audio/atunes
- audio/audacity
- audio/audiocd-kio
- audio/autozen
- audio/aylet
- audio/bambootracker
- audio/baresip
- audio/beets
- audio/bespokesynth
- audio/boca
- audio/cadence
- audio/calf-lv2
- audio/cantata
- audio/cardinal
- audio/carla
- audio/cava
- audio/cddb-bundle
- audio/cli-visualizer
- audio/csoundqt
- audio/d11amp
- audio/deadbeef-gui-plugins
- audio/deadbeef-musical-spectrum-plugin
- audio/deadbeef-playback-status-plugin
- audio/deadbeef-quick-search-plugin
- audio/deadbeef-spectrogram-plugin
- audio/deadbeef-vu-meter-plugin
- audio/deadbeef-waveform-seekbar-plugin
- audio/dmidiplayer
- audio/dpf-plugins-lv2
- audio/dragonfly-reverb-lv2
- audio/drumkv1-lv2
- audio/drumstick
- audio/dsbmixer
- audio/easytag
- audio/elisa
The first 100 are listed.
Configuration
Options name: devel_libevent
| Option | Default | Description |
|---|---|---|
| OPENSSL | on | SSL/TLS support via OpenSSL |
| THREADS | on | Threading 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
| File | Size | SHA256 |
|---|---|---|
| libevent-2.1.13-stable.tar.gz | 1.126525e+06 | f7e9383b8c0baa81b687e5b5eecc01beefaf1b19b64151d95ed61647fe7a315c |
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.