summaryrefslogtreecommitdiff
path: root/devel/libevent
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2002-09-19 01:51:24 +0000
committeruebayasi <uebayasi@pkgsrc.org>2002-09-19 01:51:24 +0000
commitf16dfe1d7fd98329e277de7469cad5656f2f4876 (patch)
treef4ea0bdce4808a2db00bb7c3b1c36135b319e11c /devel/libevent
parentaff1f33c88a8c90ba9174f357f6edda8ed82cc28 (diff)
downloadpkgsrc-f16dfe1d7fd98329e277de7469cad5656f2f4876.tar.gz
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.
Diffstat (limited to 'devel/libevent')
-rw-r--r--devel/libevent/DESCR14
-rw-r--r--devel/libevent/Makefile14
-rw-r--r--devel/libevent/PLIST4
-rw-r--r--devel/libevent/distinfo4
4 files changed, 36 insertions, 0 deletions
diff --git a/devel/libevent/DESCR b/devel/libevent/DESCR
new file mode 100644
index 00000000000..40636d31a4c
--- /dev/null
+++ b/devel/libevent/DESCR
@@ -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.
diff --git a/devel/libevent/Makefile b/devel/libevent/Makefile
new file mode 100644
index 00000000000..1ae17323567
--- /dev/null
+++ b/devel/libevent/Makefile
@@ -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"
diff --git a/devel/libevent/PLIST b/devel/libevent/PLIST
new file mode 100644
index 00000000000..6129e0bcd31
--- /dev/null
+++ b/devel/libevent/PLIST
@@ -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
diff --git a/devel/libevent/distinfo b/devel/libevent/distinfo
new file mode 100644
index 00000000000..11a63e5db9a
--- /dev/null
+++ b/devel/libevent/distinfo
@@ -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