diff options
author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2001-06-23 15:56:03 +0000 |
---|---|---|
committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2001-06-23 15:56:03 +0000 |
commit | cb1d95a5762937e7d8a54e4d881ec7d453e843c0 (patch) | |
tree | cc7ab2850f7c33fb9aca0cdc3bbed54256c600b0 | |
parent | Update to version 0.9.7 (diff) |
Add libevent, "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."
PR: 28302
Submitted by: Pete Fritchman <petef@databits.net>
Notes
Notes:
svn path=/head/; revision=44353
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/libevent/Makefile | 29 | ||||
-rw-r--r-- | devel/libevent/distinfo | 1 | ||||
-rw-r--r-- | devel/libevent/pkg-comment | 1 | ||||
-rw-r--r-- | devel/libevent/pkg-descr | 19 | ||||
-rw-r--r-- | devel/libevent/pkg-plist | 2 |
6 files changed, 53 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 751b779d792e..c67629cc8e97 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -192,6 +192,7 @@ SUBDIR += libdlmalloc SUBDIR += libdsp SUBDIR += libelf + SUBDIR += libevent SUBDIR += libffi SUBDIR += libformat SUBDIR += libg++ diff --git a/devel/libevent/Makefile b/devel/libevent/Makefile new file mode 100644 index 000000000000..e01d90080e0e --- /dev/null +++ b/devel/libevent/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: libevent +# Date created: 20 June 2001 +# Whom: Pete Fritchman <petef@databits.net> +# +# $FreeBSD$ +# + +PORTNAME= libevent +PORTVERSION= 0.3d +CATEGORIES= devel +MASTER_SITES= http://www.monkey.org/~provos/ + +MAINTAINER= petef@databits.net + +WRKSRC= ${WRKDIR}/${PORTNAME} + +GNU_CONFIGURE= yes + +MAN3= event.3 +MLINKS= event.3 event_init.3 event.3 event_dispatch.3 event.3 event_set.3 \ + event.3 event_add.3 event.3 event_del.3 event.3 event_pending.3 \ + event.3 event_initalized.3 event.3 timeout_set.3 event.3 timeout_add.3 \ + event.3 timeout_del.3 event.3 timeout_pending.3 event.3 \ + timeout_initalized.3 + +post-patch: + @${PERL} -pi -e 's!\*\.h!event.h!' ${WRKSRC}/Makefile.in + +.include <bsd.port.mk> diff --git a/devel/libevent/distinfo b/devel/libevent/distinfo new file mode 100644 index 000000000000..355d0cd0fb60 --- /dev/null +++ b/devel/libevent/distinfo @@ -0,0 +1 @@ +MD5 (libevent-0.3d.tar.gz) = 993696c2f5407a912ba4950b19359fba diff --git a/devel/libevent/pkg-comment b/devel/libevent/pkg-comment new file mode 100644 index 000000000000..357014c9c653 --- /dev/null +++ b/devel/libevent/pkg-comment @@ -0,0 +1 @@ +Provides an API to execute a fallback function at certain events diff --git a/devel/libevent/pkg-descr b/devel/libevent/pkg-descr new file mode 100644 index 000000000000..5173770bbe09 --- /dev/null +++ b/devel/libevent/pkg-descr @@ -0,0 +1,19 @@ +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. + +WWW: http://www.monkey.org/~provos/libevent/ + +- Pete +petef@databits.net diff --git a/devel/libevent/pkg-plist b/devel/libevent/pkg-plist new file mode 100644 index 000000000000..25fb9e3e0339 --- /dev/null +++ b/devel/libevent/pkg-plist @@ -0,0 +1,2 @@ +lib/libevent.a +include/event.h |