pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/p5-AnyEvent Updating package for p5 module AnyEv...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c57851990464
branches: trunk
changeset: 397098:c57851990464
user: sno <sno%pkgsrc.org@localhost>
date: Sat Aug 08 20:58:21 2009 +0000
description:
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:
devel/p5-AnyEvent/Makefile | 19 ++++++++++---------
devel/p5-AnyEvent/distinfo | 8 ++++----
2 files changed, 14 insertions(+), 13 deletions(-)
diffs (48 lines):
diff -r ef9bc6d8c6e0 -r c57851990464 devel/p5-AnyEvent/Makefile
--- a/devel/p5-AnyEvent/Makefile Sat Aug 08 20:53:35 2009 +0000
+++ b/devel/p5-AnyEvent/Makefile Sat Aug 08 20:58:21 2009 +0000
@@ -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 @@
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 -r ef9bc6d8c6e0 -r c57851990464 devel/p5-AnyEvent/distinfo
--- a/devel/p5-AnyEvent/distinfo Sat Aug 08 20:53:35 2009 +0000
+++ b/devel/p5-AnyEvent/distinfo Sat Aug 08 20:58:21 2009 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index