Initial import of libevent-0.6.

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.

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 kqueue(2) and select(2). Support for poll(2)
and /dev/poll is planned. The internal event mechanism is completely
independent of the exposed event API, and a simple update of libevent can
provide this new functionality without having to redesign the server
applications.
This commit is contained in:
uebayasi 2002-09-19 01:51:24 +00:00
parent aff1f33c88
commit f16dfe1d7f
4 changed files with 36 additions and 0 deletions

14
devel/libevent/DESCR Normal file
View file

@ -0,0 +1,14 @@
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.
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 kqueue(2) and select(2). Support for poll(2)
and /dev/poll is planned. The internal event mechanism is completely
independent of the exposed event API, and a simple update of libevent can
provide this new functionality without having to redesign the server
applications.

14
devel/libevent/Makefile Normal file
View file

@ -0,0 +1,14 @@
# $NetBSD: Makefile,v 1.1.1.1 2002/09/19 01:51:24 uebayasi Exp $
#
DISTNAME= libevent-0.6
CATEGORIES= devel
MASTER_SITES= http://monkey.org/~provos/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://monkey.org/~provos/libevent/
COMMENT= asynchronous event notification library
GNU_CONFIGURE= # defined
.include "../../mk/bsd.pkg.mk"

4
devel/libevent/PLIST Normal file
View file

@ -0,0 +1,4 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2002/09/19 01:51:24 uebayasi Exp $
include/event.h
lib/libevent.a
man/man3/event.3

4
devel/libevent/distinfo Normal file
View file

@ -0,0 +1,4 @@
$NetBSD: distinfo,v 1.1.1.1 2002/09/19 01:51:24 uebayasi Exp $
SHA1 (libevent-0.6.tar.gz) = 352487e0c839bcac8c4d53a39bb1726cff244e62
Size (libevent-0.6.tar.gz) = 50384 bytes