summaryrefslogtreecommitdiff
path: root/devel/libevent
AgeCommit message (Collapse)AuthorFilesLines
2011-04-23Fix the interpreter of event_rpcgen.py to point to a known Python binary.jmmv1-1/+5
This requires a dependency on Python. Bump PKGREVISION to 1. This is probably not the best solution: I guess it'd be nice to have a libevent package that only included the binary libraries and no dependency on Python, and another libevent-dev package with the event_rpcgen.py binary and the Python dependency. But this can be done later; I want to just fix the breakage first.
2011-02-11Update to libevent-2.0.10.tnn7-61/+45
Supposedly API backwards-compatible with libevent 1.x. Will need a recursive revbump for shlib name changes, though. All regression tests pass except "thread_conditions_simple". Not sure why yet, but it's new API so shouldn't break anything existing in pkgsrc today. Changes in libevent 2.0 include cleaner interfaces, buffered I/O improvements, improved multithreading and openssl integration.
2010-01-29adust CONFLICTStnn1-2/+3
2009-11-13recognize builtin libevent-1.4.12 (as in NetBSD-current)drochner1-2/+6
2009-10-27recognize builtin libevent 1.4.11drochner1-1/+7
2009-08-18recognize builtin libevent-1.4 so that apps can build against itdrochner1-2/+7
This way we sidestep the mess introduced by conflicting libev/libevent, at least on NetBSD>=5.
2009-08-18That's all not true... SONAMEs didn't change since at least 1.4.3.drochner2-9/+3
Relax ABI dependency and remove an outdated comment.
2009-08-17this conflicts with libev, ride on recent updatedrochner1-1/+3
2009-08-16Bump ABI depends, like Makefile suggests.wiz1-2/+2
2009-08-16Update to 1.4.12:wiz3-10/+10
Changes in 1.4.12-stable: Try to contain degree of failure when running on a win32 version so heavily firewalled that we can't fake a socketpair. Fix an obscure timing-dependent, allocator-dependent crash in the evdns code. Use __VA_ARGS__ syntax for varargs macros in event_rpcgen when compiler is not GCC. Activate fd events in a pseudorandom order with O(N) backends, so that we don't systematically favor low fds (select) or earlier-added fds (poll, win32). Fix another pair of fencepost bugs in epoll.c. [Patch from Adam Langley.] Do not break evdns connections to nameservers when our IP changes. Set truncated flag correctly in evdns server replies. Disable strict aliasing with GCC: our code is not compliant with it. Changes in 1.4.11-stable: Fix a bug when removing a timeout from the heap. [Patch from Marko Kreen] Remove the limit on size of HTTP headers by removing static buffers. Fix a nasty dangling pointer bug in epoll.c that could occur after epoll_recalc(). [Patch from Kevin Springborn] Distribute Win32-Code/event-config.h, not ./event-config.h Changes in 1.4.10-stable: clean up buffered http connection data on reset; reported by Brian O'Kelley bug fix and potential race condition in signal handling; from Alexander Drozdov rename the Solaris event ports backend to evport support compilation on Haiku fix signal processing when a signal callback delivers a signal; from Alexander Drozdov const-ify some arguments to evdns functions. off-by-one error in epoll_recalc; reported by Victor Goya include Doxyfile in tar ball; from Jeff Garzik correctly parse queries with encoded \r, \n or + characters
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2009-02-27Update to 1.4.9, bump ABI depends as usual for this package.wiz3-8/+8
Changes in 1.4.9-stable: o event_add would not return error for some backends; from Dean McNamee o Clear the timer cache on entering the event loop; reported by Victor Chang o Only bind the socket on connect when a local address has been provided; reported by Alejo Sanchez o Allow setting of local port for evhttp connections to support millions of connections from a single system; from Richard Jones. o Clear the timer cache when leaving the event loop; reported by Robin Haberkorn o Fix a typo in setting the global event base; reported by lance. o Fix a memory leak when reading multi-line headers o Fix a memory leak by not running explicit close detection for server connections
2008-10-16Update to 1.4.8:wiz3-8/+8
Changes in 1.4.8-stable: o Match the query in DNS replies to the query in the request; from Vsevolod Stakhov. o Fix a merge problem in which name_from_addr returned pointers to the stack; found by Jiang Hong. o Do not remove Accept-Encoding header Changes in 1.4.7-stable: o Fix a bug where headers arriving in multiple packets were not parsed; fix from Jiang Hong; test by me. Changes in 1.4.6-stable: o evutil.h now includes <stdarg.h> directly o switch all uses of [v]snprintf over to evutil o Correct handling of trailing headers in chunked replies; from Scott Lamb. o Support multi-line HTTP headers; based on a patch from Moshe Litvin o Reject negative Content-Length headers; anonymous bug report o Detect CLOCK_MONOTONIC at runtime for evdns; anonymous bug report o Fix a bug where deleting signals with the kqueue backend would cause subsequent adds to fail o Support multiple events listening on the same signal; make signals regular events that go on the same event queue; problem report by Alexander Drozdov. o Deal with evbuffer_read() returning -1 on EINTR|EAGAIN; from Adam Langley. o Fix a bug in which the DNS server would incorrectly set the type of a cname reply to a. o Fix a bug where setting the timeout on a bufferevent would take not effect if the event was already pending. o Fix a memory leak when using signals for some event bases; reported by Alexander Drozdov. o Add libevent.vcproj file to distribution to help with Windows build. o Fix a problem with epoll() and reinit; problem report by Alexander Drozdov. o Fix off-by-one errors in devpoll; from Ian Bell o Make event_add not change any state if it fails; reported by Ian Bell. o Do not warn on accept when errno is either EAGAIN or EINTR
2008-09-06libevent update incurs ABI bump.wiz1-2/+2
2008-09-06Update to 1.4.5:wiz2-6/+6
Changes in 1.4.5-stable: o Fix connection keep-alive behavior for HTTP/1.0 o Fix use of freed memory in event_reinit; pointed out by Peter Postma o Constify struct timeval * where possible; pointed out by Forest Wilkinson o allow min_heap_erase to be called on removed members; from liusifan. o Rename INPUT and OUTPUT to EVRPC_INPUT and EVRPC_OUTPUT. Retain INPUT/OUTPUT aliases on on-win32 platforms for backwards compatibility. o Do not use SO_REUSEADDR when connecting o Fix Windows build o Fix a bug in event_rpcgen when generated fixed-sized entries Changes in 1.4.4-stable: o Correct the documentation on buffer printf functions. o Don't warn on unimplemented epoll_create(): this isn't a problem, just a reason to fall back to poll or select. o Correctly handle timeouts larger than 35 minutes on Linux with epoll.c. This is probably a kernel defect, but we'll have to support old kernels anyway even if it gets fixed. o Fix a potential stack corruption bug in tagging on 64-bit CPUs. o expose bufferevent_setwatermark via header files and fix high watermark on read o fix a bug in bufferevent read water marks and add a test for them o introduce bufferevent_setcb and bufferevent_setfd to allow better manipulation of bufferevents o use libevent's internal timercmp on all platforms, to avoid bugs on old platforms where timercmp(a,b,<=) is buggy. o reduce system calls for getting current time by caching it. o fix evhttp_bind_socket() so that multiple sockets can be bound by the same http server. o Build test directory correctly with CPPFLAGS set. o Fix build under Visual C++ 2005. o Expose evhttp_accept_socket() API. o Merge windows gettimeofday() replacement into a new evutil_gettimeofday() function. o Fix autoconf script behavior on IRIX. o Make sure winsock2.h include always comes before windows.h include.
2008-04-23Fix path.wiz1-2/+2
2008-04-22Fix build on HP-UX 11.11tnn1-1/+8
2008-04-22Update to libevent-1.4.3.tnn8-81/+44
1.4.3-stable: 1.4.2-rc: * make Solaris event subsystems more reliable; from W.C.A. Wijngaards * event_base_get_method(); from Springande Ulv * fix HTTP/1.1 chunk formatting; from "propanbutan" * allow 64-bit content lengths; from Scott Lamb * and more... 1.4.1-beta: * fixed some memory leaks and other misc cleanup; from Christopher Layne, Scott Lamb and Charles Kerr * introduced event_reinit to deal with fork() * improved efficiency of generated RPC structure * performance improvements to Win32 backend * and many more... 1.4.0-beta: * a new RPC subsytem for writing distributed clients and servers * almost everything is documented via Doxygen now * many fixes and improvements to evdns and evhttp * libevent now builds two additional libraries: libevent_core (containing only the event core) and libevent_extras (contained evdns, evhttp and evrpc) * performance improvements due to using a heap instead of red-black trees for timeouts * Solaris' event ports are better supported 1.3e: * Fix compilation on Solaris; from Magne Mahre * Add a "Date" header to HTTP responses when it's missing, as required by HTTP 1.1. Original Patch from Ralph Moritz. * Fix a memory leak in which failed HTTP connections whould not free the request object. * Fix a memory leak in the DNS server. * Handle NULL timeouts correctly on Solaris; from Trond Norbye * Recalculate pending events properly when reallocating event array on Solaris; from Trond Norbye
2007-10-04One more try. event.h gets installed and used by other programs sodmcmahill3-29/+5
we can't use config.h in it. Instead use the substitution framework which was already in place for making some other SunOS changes.
2007-10-04SunOS-5.9 doesn't have stdint.h. There is already a configure test for thisdmcmahill5-2/+73
so use the results.
2007-08-16Update to libevent-1.3d. ChangeLog is not available but from the homepage:tnn5-36/+12
libevent-1.3d: Bug fixes in the HTTP layer. libevent-1.3c: Small bug and portability fixes. Worth mentioning is that patch-ab and patch-ac were applied upstream. As usual with libevent, this breaks the ABI due to .so naming, so a small revbump sweep will be needed.
2007-08-01Fix build on AIX: event.c needs time.h to get CLOCK_REALTIME andjoerg3-1/+29
the select implementation needs sys/select.h. The latter should be detected by autoconf, but can break e.g. older DragonFly.
2007-07-29Detect built-in libevent version.obache1-1/+67
Need for net/spreadload (PR 36348).
2007-07-17Use c99 uint* types rather than u_int* on HPUX.tnn1-7/+8
2007-04-25Update to libevent-1.3b.tnn3-9/+8
1.3b: * Fixes when using signals in multi-threaded applications from Scott Lamb. * Other small bug fixes. 1.3a: * Small bug and performances fixes to evhttp layer. 1.3: * DNS Server from Adam Langley and Nick Mathewson * Chunked transfer encoding for HTTP/1.1 from Dug Song. * DNS DDoS fix; bug report from Jon Oberheide. * Various small improvements.
2007-02-27improvements to last:grant5-32/+38
- configure script already has provision for different compiler inline directives, just not every file was using it. - u_intXX_t types need to be fixed in installed event.h too.
2007-02-27make this build on Solaris with sunpro.grant3-2/+41
2007-02-11PLIST fix and PKGREVISION bump. (Python dependency not added as the scripttv2-2/+4
is not required for normal use, only for development work.)
2007-02-11Add a BUILDLINK_ABI_DEPENDS and a verbose comment in Makefile explainingtv2-3/+10
why the author of this software should learn more about ABI compatibility.
2007-02-08Update to 1.2a.xtraeme3-7/+10
1.2a: * Made HTTP support more usable * Various portability fixes. 1.2: * Support for non-blocking DNS resolution; from Adam Langley and Nick Mathewson. * Support for lightweight HTTP clients and servers. * Support for Sun's Event Ports from David Pacheco of Sun.
2006-08-29Update to 1.1b. No ChangeLog; website states:tv2-6/+6
* Bug fixes - thanks to Nick Mathewson for helping. (However, anecdotal references in Tor 0.1.2.1's doc seem to indicate that 1.1b fixes more kqueue problems on Darwin/OSX.)
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-04-12Aligned the last line of the buildlink3.mk files with the first line, sorillig1-2/+2
that they look nicer.
2006-04-06Over 1200 files touched but no revisions bumped :)reed2-4/+4
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-03-30Avoid extra stat() calls by not repeatedly checking whether a filejlam1-2/+2
exists on the disk -- we can just check whether a variable defined by find-files.mk is "__nonexistent__" or not.
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2005-09-16"Oops." BUILDLINK_DEPMETHOD.libevent was defaulting to "build", which istv1-2/+1
no longer correct since update to libevent 1.x; it now uses libtool and generates a shlib. Remove the offending bl3 line, and bump all dependents' PKGREVISIONs, since the binary pkg changes for any OS that doesn't have a sufficient builtin libevent version (or the package has requested a non-builtin version).
2005-06-25Update to 1.1a:wiz2-6/+6
* Minor reliability fixes.
2005-06-01Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.jlam1-3/+40
Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
2005-05-19Update to 1.1:wiz3-8/+9
# libevent-1.1.tar.gz - Release 2005-05-14 * Performance improvements from Nick Mathewson. * Work around for kqueue bug in Mac OS X 10.4. # libevent-1.0e.tar.gz - Release 2005-04-26 * Important fix to bug in poll implementation introduced in 1.0d. # libevent-1.0d.tar.gz - Release 2005-04-22 * Several minor bug fixes and building of shared libraries.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-04-04Update to 1.0c:wiz2-7/+7
* Bug fixes for Windows, Solaris and improved logging interface.
2005-02-28Update to 1.0b:wiz2-6/+6
Bug fixes for backwards compatibility.
2005-02-23Add RMD160 digests.agc1-1/+2
2005-01-05Update to 1.0a:wiz2-5/+5
* Bug fixes for threaded applications. Thanks to Andrew Danforth.
2004-12-26Update to 1.0, and set TEST_TARGET.wiz2-5/+6
Changes in 1.0: * Support for multi-threaded applications - experimental. * Event priorities with priority queues.
2004-08-15Update to 0.9:wiz2-5/+5
This version includes support for /dev/poll so that libevent now supports all fast event mechanisms. It also improves the portability across operating systems.
2004-04-30libevent has no shlibs. Make BUILDLINK_DEPMETHOD.libevent=build.tv1-1/+2
2004-04-25Unused.wiz1-58/+0