diff options
author | dwcjr <dwcjr@FreeBSD.org> | 2001-06-23 23:56:03 +0800 |
---|---|---|
committer | dwcjr <dwcjr@FreeBSD.org> | 2001-06-23 23:56:03 +0800 |
commit | a4dd3a57b9bfb3ddf12196a570d8fc9bb065ce4e (patch) | |
tree | 39dd30512fd65cacf91793569832ddb613dbc3ac /devel | |
parent | 735818b032fba5304b65361c64a3b2ae9dab2b4f (diff) | |
download | freebsd-ports-gnome-a4dd3a57b9bfb3ddf12196a570d8fc9bb065ce4e.tar.gz freebsd-ports-gnome-a4dd3a57b9bfb3ddf12196a570d8fc9bb065ce4e.tar.zst freebsd-ports-gnome-a4dd3a57b9bfb3ddf12196a570d8fc9bb065ce4e.zip |
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>
Diffstat (limited to 'devel')
-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 |