ports/154240: [NEW PORT] devel/libevent2: new major version of libevent
Mikhail T.
michael at fun-box.ru
Sun Jan 23 13:50:09 UTC 2011
>Number: 154240
>Category: ports
>Synopsis: [NEW PORT] devel/libevent2: new major version of libevent
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 23 13:50:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Mikhail T.
>Release: 8.2-RC2
>Organization:
FunBox
>Environment:
FreeBSD fobos 8.2-RC2 FreeBSD 8.2-RC2 #0 r217476: Sun Jan 16 22:22:41 MSK 2011 root at fobos:/usr/obj/usr/src/sys/DM i386
>Description:
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.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# .
# ./Makefile
# ./distinfo
# ./pkg-descr
# ./pkg-plist
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19'
X# New ports collection makefile for: libevent2
X# Date created: 2011-01-23
X# Whom: Mikhail T. <michael at fun-box.ru>
X#
X
XPORTNAME= libevent
XPORTVERSION= 2.0.10
XCATEGORIES= devel
XMASTER_SITES= http://monkey.org/~provos/
XDISTNAME= ${PORTNAME}-${DISTVERSION}-stable
X
XMAINTAINER= michael at fun-box.ru
XCOMMENT= Provides an API to execute callback functions on certain events
X
XLICENSE= BSD
X
XGNU_CONFIGURE= yes
XUSE_LDCONFIG= yes
X
XCONFLICTS= libevent-1.*
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's,CFLAGS =,CFLAGS +=,' ${WRKSRC}/Makefile.in
X @${REINPLACE_CMD} -e '/LIBS/s/-lrt//g' ${WRKSRC}/configure
X @${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' \
X ${WRKSRC}/epoll.c ${WRKSRC}/epoll_sub.c ${WRKSRC}/evdns.c
X
Xregression-test: build
X @(${SH} ${WRKSRC}/test/regress)
X
X.include <bsd.port.mk>
464ef7c6571951809b23e262cbe26e19
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2'
XSHA256 (libevent-2.0.10-stable.tar.gz) = a4b55810a9e21e9991b86ba5e82dbc9280598cc070544c4ecef4ab91b93dfc55
XSIZE (libevent-2.0.10-stable.tar.gz) = 793010
aec8793adfd5b7c3f00e62ae41a09ac2
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5'
XThe libevent API provides a mechanism to execute a callback function when
Xa specific event occurs on a file descriptor or after a timeout has been
Xreached.
X
Xlibevent is meant to replace the asynchronous event loop found in event
Xdriven network servers. An application just needs to call event_dispatch()
Xand can then add or remove events dynamically without having to change the
Xevent loop.
X
XCurrently, libevent supports kqueue(2), select(2), poll(2), and epoll(4).
XThe internal event mechanism is completely independent of the exposed event
XAPI, and a simple update of libevent can provide new functionality without
Xhaving to redesign the applications. As a result, Libevent allows for
Xportable application development and provides the most scalable event
Xnotification mechanism available on an operating system.
X
XWWW: http://www.monkey.org/~provos/libevent/
0e313719ff012ceaf97a028d51caa8f5
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'ef3e7f63841ae908ba397c2bef1fbad6'
Xbin/event_rpcgen.py
Xinclude/event.h
Xinclude/event2/buffer.h
Xinclude/event2/buffer_compat.h
Xinclude/event2/bufferevent.h
Xinclude/event2/bufferevent_compat.h
Xinclude/event2/bufferevent_ssl.h
Xinclude/event2/bufferevent_struct.h
Xinclude/event2/dns.h
Xinclude/event2/dns_compat.h
Xinclude/event2/dns_struct.h
Xinclude/event2/event-config.h
Xinclude/event2/event.h
Xinclude/event2/event_compat.h
Xinclude/event2/event_struct.h
Xinclude/event2/http.h
Xinclude/event2/http_compat.h
Xinclude/event2/http_struct.h
Xinclude/event2/keyvalq_struct.h
Xinclude/event2/listener.h
Xinclude/event2/rpc.h
Xinclude/event2/rpc_compat.h
Xinclude/event2/rpc_struct.h
Xinclude/event2/tag.h
Xinclude/event2/tag_compat.h
Xinclude/event2/thread.h
Xinclude/event2/util.h
Xlib/libevent-2.0.so
Xlib/libevent-2.0.so.5
Xlib/libevent_core-2.0.so
Xlib/libevent_core-2.0.so.5
Xlib/libevent_core.a
Xlib/libevent_core.la
Xlib/libevent_core.so
Xlib/libevent_extra-2.0.so
Xlib/libevent_extra-2.0.so.5
Xlib/libevent_extra.a
Xlib/libevent_extra.la
Xlib/libevent_extra.so
Xlib/libevent_openssl-2.0.so
Xlib/libevent_openssl-2.0.so.5
Xlib/libevent_openssl.a
Xlib/libevent_openssl.la
Xlib/libevent_openssl.so
Xlib/libevent_pthreads-2.0.so
Xlib/libevent_pthreads-2.0.so.5
Xlib/libevent_pthreads.a
Xlib/libevent_pthreads.la
Xlib/libevent_pthreads.so
Xlib/libevent.a
Xlib/libevent.la
Xlib/libevent.so
X at dirrm include/event2
ef3e7f63841ae908ba397c2bef1fbad6
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list