summaryrefslogtreecommitdiff
path: root/devel/p5-AnyEvent
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2009-08-08 20:58:21 +0000
committersno <sno@pkgsrc.org>2009-08-08 20:58:21 +0000
commit437e5a99a74983f14949baf20b97b420d41b0ab3 (patch)
treea84213c5cf45e4b213a6aacc5b60d7c75671e8b4 /devel/p5-AnyEvent
parentfebc43e5203312fd1bea5965e2951fb5821749ce (diff)
downloadpkgsrc-437e5a99a74983f14949baf20b97b420d41b0ab3.tar.gz
Updating package for p5 module AnyEvent from 4.800 to 4.910
pkgsrc changes: - Adding recommended dependencies to pkgsrc and this package Upstream changes: 4.91 Thu Aug 6 15:42:45 CEST 2009 - AE::Handle::starttls could get out of sync when the read buffer already contains some TLS handshake. - AE::Handle did not properly free the TLS session, causing bigger memory leaks in Net::SSLeay than expected (reported by toaster). - AE::Socket::tcp_connect will now artificially delay invoking the callback to avoid returning after invoking the callback. - convert many internal watcher uses to AE API. 4.9 Sat Aug 1 11:07:01 CEST 2009 - Glib silently fails when registering a timeout with a negative value, so avoid that. - call condvar callback immediately when it is set after the condition is already signalled. - check rbuf_max condition only after trying to consume data. - normalise signal numbers to names when using the ae's signal handling, but do not document this (yet). - pure perl signal emulation did not properly set nonblocking mode on the signal pipe on win32 (this is unlikely to have caused any issues). - new module: AnyEvent::Debug. - AnyEvent::Strict now checks that a signal was specified by name (not name or number). - reduce memory footprint in typical cases by ~50kb by only compiling signal code when necessary. - add AnyEvent::Handle->rbuf_max. - grab the AE namespace for future new API, implement stubs for said future/alternative API. - new function: AnyEvent::Socket::format_hostport. 4.881 Tue Jul 28 12:51:53 CEST 2009 - work around a bug in local in pre-5.10 perls, causing AnyEvent::Handle to recurse when it should not (analyzed by elmex). 4.88 Tue Jul 28 04:04:37 CEST 2009 - re-bless the handle into a dummy package after calling AnyEvent::Handle::destroy, so the user does not need to check for errors after every push_write etc. - do not attempt to run t/02_signals.t on obviously broken platforms. 4.87 Sun Jul 26 02:06:16 CEST 2009 - do not attempt to linger when there is no longer a valid fh. - enforce tls mode to be either accept or connect, do not simply segfault in Net::SSLeay. - AnyEvent::Handle can now call tcp_connect itself (new parameters connect, on_prepare, on_connect and on_connect_error). Updated tutorial accordingly. - add AnyEvent::Impl::Irssi backend. 4.86 Mon Jul 20 23:52:29 CEST 2009 - since the verbose warning is not enough, explicitly document that versions before 1.33 of Net::SSLeay are not secure. - work around signal handling races in Event and (...) Event::Lib. - try to align signal-race timer to full-second boundaries. - work around Tk not liking negative timeouts. - don't complain of different grades of environmental unfriendlyness in IO::Async. 4.85 Sat Jul 18 06:16:14 CEST 2009 - nail the signal race problem in perl once and for all (see $AnyEvent::MAX_SIGNAL_LATENCY). - take advantage of Async::Interrupt if it is available. - load Time::HiRes and Guard modules on demand only. - add optional/recommended modules section to AnyEvent documentation. - reduce memory usage considerably (and reduce startup penalty) by not using "strict", "warnings" and "overload" modules. - work around buggy windows/openbsd perls and provide EBADMSG and EPROTO ourselves when missing. - improve perl 5.6 compatibility of the core event loop. - made Net::SSLeay version 1.33 a soft requirement. 4.83 Fri Jul 17 16:56:26 CEST 2009 - implement AnyEvent::Socket::getprotobyname. - AnyEvent::CondVar's will now detect recursive blocking waits and will croak, as too many people fall into this trap. - AnyEvent::Handle will now call ->destroy on itself after executing the on_error callback, instead of doing some half-baked internal shutdown, for fatal errors. - clarify on_eof behaviour w.r.t. the read queue and on_read callbacks. - ignore some possible spurious wake-ups in tcp_connect. 4.82 Sat Jul 11 00:34:55 CEST 2009 - POE and Event backends didn't accept some callable objects as callbacks. - use Config module instead of POSIX module to detect signal names in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX module doesn't even have all POSIX signals :/. - use more workarounds around the many refcnt/corruption bugs in Event::Lib. - work around a race condition in perl's select, causing t/03_child.t to rarely fail. 4.81 Thu Jul 9 10:30:30 CEST 2009 - AnyEvent::Handle didn't properly diagnose write errors (it expected -1 from syswrite, how lame... :). - support file descriptors in addition to file handles in AnyEvent->io. - new env variables: PERL_ANYEVENT_RESOLV_CONF, PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE and PERL_ANYEVENT_CA_PATH. - provide a sensible synopsis section for AnyEvent::TLS. - add a "supported backends" section to the manpage. - added simple io watcher test to testsuite, using a portable_socketpair. - tried to improve the stability of the Event::Lib backend, YMMV.
Diffstat (limited to 'devel/p5-AnyEvent')
-rw-r--r--devel/p5-AnyEvent/Makefile19
-rw-r--r--devel/p5-AnyEvent/distinfo8
2 files changed, 14 insertions, 13 deletions
diff --git a/devel/p5-AnyEvent/Makefile b/devel/p5-AnyEvent/Makefile
index c857af18328..4cb21b81e4f 100644
--- a/devel/p5-AnyEvent/Makefile
+++ b/devel/p5-AnyEvent/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2009/07/07 20:43:38 sno Exp $
+# $NetBSD: Makefile,v 1.16 2009/08/08 20:58:21 sno Exp $
#
-DISTNAME= AnyEvent-4.8
-PKGNAME= p5-${DISTNAME}00
+DISTNAME= AnyEvent-4.91
+PKGNAME= p5-${DISTNAME}0
CATEGORIES= devel
#MASTER_SITES= http://www.cpan.org/modules/by-authors/Marc_Lehmann/
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/M/ML/MLEHMANN/}
@@ -15,12 +15,13 @@ LICENSE= ${PERL5_LICENSE}
PKG_DESTDIR_SUPPORT= user-destdir
PERL5_PACKLIST= auto/AnyEvent/.packlist
-# XXX add options for recommented dependencies:
-# EV: 3.05
-# Guard: 1.02
-# JSON: 2.09
-# JSON::XS: 2.2
-# Net::SSLeay: 1.32
+# recommented dependencies:
+DEPENDS+= p5-Async-Interrupt>=1:../../devel/p5-Async-Interrupt
+DEPENDS+= p5-EV>=3.1:../../devel/p5-EV
+DEPENDS+= p5-Guard>=1.020:../../devel/p5-Guard
+DEPENDS+= p5-JSON>=2.09:../../converters/p5-JSON
+DEPENDS+= p5-JSON-XS>=2.200:../../converters/p5-JSON-XS
+DEPENDS+= p5-Net-SSLeay>=1.33:../../security/p5-Net-SSLeay
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-AnyEvent/distinfo b/devel/p5-AnyEvent/distinfo
index 2635ef94c86..bedb257a58e 100644
--- a/devel/p5-AnyEvent/distinfo
+++ b/devel/p5-AnyEvent/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2009/07/07 20:43:38 sno Exp $
+$NetBSD: distinfo,v 1.13 2009/08/08 20:58:21 sno Exp $
-SHA1 (AnyEvent-4.8.tar.gz) = 38bd81349f3cce637048964ff1a7d2446cbdc59d
-RMD160 (AnyEvent-4.8.tar.gz) = 7a2fb1e59f736456fc2b0537ad62313b42373325
-Size (AnyEvent-4.8.tar.gz) = 156446 bytes
+SHA1 (AnyEvent-4.91.tar.gz) = f5d83f6ac21c3808151dd7f5f522c13c54a0bf9e
+RMD160 (AnyEvent-4.91.tar.gz) = 873cfaec358072856cf133b849b508685e823f8d
+Size (AnyEvent-4.91.tar.gz) = 174140 bytes