BSD Ports

devel/tevent 0.15.0_2 FreeBSD

Talloc based event loop library

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
01b6612939
License
LGPL3
Categories
devel
Package size
54.3 KiB, 202.2 KiB installed

Description

tevent is a simple library that can handle the main event loop for an application. It supports three kinds of events: timed events, file descriptors becoming readable or writable and signals.

Talloc is used for memory management, both internally and for private data provided by users of the library.

In the other systems

SystemPortVersion
FreeBSDdevel/tevent0.15.0_2
NetBSDdevel/tevent0.17.2
DragonFlydevel/tevent0.15.0_1
MidnightBSDdevel/tevent0.15.0_1

Install

Binary package:

pkg install tevent

From the ports tree:

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

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

RUN_DEPENDS=	tevent>0:devel/tevent
LIB_DEPENDS=	libtevent.so:devel/tevent

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:latest0.15.0_20.15.0_20.13.0_10.15.0_10.15.0_2
FreeBSD:14:quarterly0.15.0_20.15.0_2n/a0.15.0_10.15.0_2
FreeBSD:15:latest0.15.0_20.15.0_2n/a0.15.0_10.15.0_1
FreeBSD:15:quarterly0.15.0_20.15.0_2n/an/an/a
FreeBSD:16:latest0.15.0_20.15.0_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

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

Build dependencies 9
Run dependencies 8
Required by 122

The first 100 are listed.

Configuration

Options name: devel_tevent

OptionDefaultDescription
DEBUGoffBuild with debugging support
PYTHONonPython bindings or support
USES
compiler pkgconfig shebangfix waf
Service scripts
none
Conflicts with
tevent[0-9]*

Files

pkg-plist 7
  • include/tevent.h
  • lib/libtevent.so
  • lib/libtevent.so.0
  • %%PYTHON_SITELIBDIR%%/__pycache__/tevent.cpython-.pyc
  • %%PYTHON_SITELIBDIR%%/_tevent.so
  • %%PYTHON_SITELIBDIR%%/tevent.py
  • %%PKGCONFIGDIR%%/tevent.pc
distinfo 1
FileSizeSHA256
tevent-0.15.0.tar.gz884634662a9f277281bcf506b6bc0a0baa03e44a62229516ee34bcc703a0b82aa46905
Master sites 1
  • SAMBA

Commit history 1

DateCommitCreditsLog message
01b6612939 Jochen Neumeister devel/tevent: clamp far-future poll(2) timeout to avoid a busy-loop
When a timer is scheduled far enough in the future, tvalp->tv_sec * 1000 overflows the int millisecond value that poll_event_loop_poll() passes to poll(2). poll(2) then fails with EINVAL and tevent spins in a busy-loop instead of sleeping. Clamp the computed timeout to INT_MAX in that case. PR: 297401 Approved by: 0mp (samba) Sponsored by: Netzkommune GmbH