r23699 - in /trunk/libpoe-component-irc-perl: ./ debian/ inc/Module/ inc/Module/Install/ lib/POE/Component/ lib/POE/Component/IRC/Plugin/ lib/POE/Filter/IRC/

tincho at users.alioth.debian.org tincho at users.alioth.debian.org
Wed Jul 30 22:46:33 UTC 2008


Author: tincho
Date: Wed Jul 30 22:46:20 2008
New Revision: 23699

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=23699
Log:
New upstream release.

Modified:
    trunk/libpoe-component-irc-perl/Changes
    trunk/libpoe-component-irc-perl/META.yml
    trunk/libpoe-component-irc-perl/debian/changelog
    trunk/libpoe-component-irc-perl/inc/Module/Install.pm
    trunk/libpoe-component-irc-perl/inc/Module/Install/Base.pm
    trunk/libpoe-component-irc-perl/inc/Module/Install/Can.pm
    trunk/libpoe-component-irc-perl/inc/Module/Install/Fetch.pm
    trunk/libpoe-component-irc-perl/inc/Module/Install/Makefile.pm
    trunk/libpoe-component-irc-perl/inc/Module/Install/Metadata.pm
    trunk/libpoe-component-irc-perl/inc/Module/Install/Win32.pm
    trunk/libpoe-component-irc-perl/inc/Module/Install/WriteAll.pm
    trunk/libpoe-component-irc-perl/lib/POE/Component/IRC.pm
    trunk/libpoe-component-irc-perl/lib/POE/Component/IRC/Plugin/Connector.pm
    trunk/libpoe-component-irc-perl/lib/POE/Component/IRC/Plugin/Logger.pm
    trunk/libpoe-component-irc-perl/lib/POE/Component/IRC/Plugin/Proxy.pm
    trunk/libpoe-component-irc-perl/lib/POE/Filter/IRC/Compat.pm

Modified: trunk/libpoe-component-irc-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-irc-perl/Changes?rev=23699&op=diff
==============================================================================
--- trunk/libpoe-component-irc-perl/Changes (original)
+++ trunk/libpoe-component-irc-perl/Changes Wed Jul 30 22:46:20 2008
@@ -1,4 +1,8 @@
 Revision history for Perl extension POE::Component::IRC.
+
+5.86  Tue Jul 22 09:53:26 BST 2008
+    - Proxy.pm: Remove 'options => {trace => 1}' from constructor (Hinrik)
+    - Compat.pm: Don't handle CAPAB IDENTIFY-MSG with non-ACTION CTCPs (Hinrik)
 
 5.84 Thu Jun 26 19:55:41 BST 2008
     - BotAddressed.pm: Made it a little smarter (Hinrik)

Modified: trunk/libpoe-component-irc-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-irc-perl/META.yml?rev=23699&op=diff
==============================================================================
--- trunk/libpoe-component-irc-perl/META.yml (original)
+++ trunk/libpoe-component-irc-perl/META.yml Wed Jul 30 22:46:20 2008
@@ -5,17 +5,16 @@
 build_requires:
   Test::More: 0.47
 distribution_type: module
-generated_by: 'Module::Install version 0.75'
+generated_by: 'Module::Install version 0.76'
 license: perl
 meta-spec:
-  url: http://module-build.sourceforge.net/META-spec-v1.3.html
-  version: 1.3
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4
 name: POE-Component-IRC
 no_index:
   directory:
     - inc
     - t
-    - examples
     - examples
 requires:
   Encode: 0
@@ -30,4 +29,6 @@
   POE::Wheel::ReadWrite: 0
   POE::Wheel::SocketFactory: 0
   perl: 5.6.0
-version: 5.84
+resources:
+  license: http://dev.perl.org/licenses/
+version: 5.86

Modified: trunk/libpoe-component-irc-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-irc-perl/debian/changelog?rev=23699&op=diff
==============================================================================
--- trunk/libpoe-component-irc-perl/debian/changelog (original)
+++ trunk/libpoe-component-irc-perl/debian/changelog Wed Jul 30 22:46:20 2008
@@ -1,3 +1,9 @@
+libpoe-component-irc-perl (5.86-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- Martín Ferrari <tincho at debian.org>  Wed, 30 Jul 2008 19:43:49 -0300
+
 libpoe-component-irc-perl (5.84+dfsg-1) unstable; urgency=low
 
   * New upstream release(s).

Modified: trunk/libpoe-component-irc-perl/inc/Module/Install.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-irc-perl/inc/Module/Install.pm?rev=23699&op=diff
==============================================================================
--- trunk/libpoe-component-irc-perl/inc/Module/Install.pm (original)
+++ trunk/libpoe-component-irc-perl/inc/Module/Install.pm Wed Jul 30 22:46:20 2008
@@ -30,7 +30,7 @@
 	# This is not enforced yet, but will be some time in the next few
 	# releases once we can make sure it won't clash with custom
 	# Module::Install extensions.
-	$VERSION = '0.75';
+	$VERSION = '0.76';
 
 	*inc::Module::Install::VERSION = *VERSION;
 	@inc::Module::Install::ISA     = __PACKAGE__;
@@ -339,7 +339,7 @@
 	close FH or die "close($_[0]): $!";
 }
 
-sub _version {
+sub _version ($) {
 	my $s = shift || 0;
 	   $s =~ s/^(\d+)\.?//;
 	my $l = $1 || 0;
@@ -348,6 +348,17 @@
 	return $l + 0;
 }
 
+# Cloned from Params::Util::_CLASS
+sub _CLASS ($) {
+	(
+		defined $_[0]
+		and
+		! ref $_[0]
+		and
+		$_[0] =~ m/^[^\W\d]\w*(?:::\w+)*$/s
+	) ? $_[0] : undef;
+}
+
 1;
 
 # Copyright 2008 Adam Kennedy.

Modified: trunk/libpoe-component-irc-perl/inc/Module/Install/Base.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-irc-perl/inc/Module/Install/Base.pm?rev=23699&op=diff
==============================================================================
--- trunk/libpoe-component-irc-perl/inc/Module/Install/Base.pm (original)
+++ trunk/libpoe-component-irc-perl/inc/Module/Install/Base.pm Wed Jul 30 22:46:20 2008
@@ -1,7 +1,7 @@
 #line 1
 package Module::Install::Base;
 
-$VERSION = '0.75';
+$VERSION = '0.76';
 
 # Suspend handler for "redefined" warnings
 BEGIN {
@@ -45,6 +45,8 @@
     $_[0]->_top->{admin} or Module::Install::Base::FakeAdmin->new;
 }
 
+#line 101
+
 sub is_admin {
     $_[0]->admin->VERSION;
 }
@@ -67,4 +69,4 @@
 
 1;
 
-#line 138
+#line 146

Modified: trunk/libpoe-component-irc-perl/inc/Module/Install/Can.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-irc-perl/inc/Module/Install/Can.pm?rev=23699&op=diff
==============================================================================
--- trunk/libpoe-component-irc-perl/inc/Module/Install/Can.pm (original)
+++ trunk/libpoe-component-irc-perl/inc/Module/Install/Can.pm Wed Jul 30 22:46:20 2008
@@ -11,7 +11,7 @@
 
 use vars qw{$VERSION $ISCORE @ISA};
 BEGIN {
-	$VERSION = '0.75';
+	$VERSION = '0.76';
 	$ISCORE  = 1;
 	@ISA     = qw{Module::Install::Base};
 }

Modified: trunk/libpoe-component-irc-perl/inc/Module/Install/Fetch.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-irc-perl/inc/Module/Install/Fetch.pm?rev=23699&op=diff
==============================================================================
--- trunk/libpoe-component-irc-perl/inc/Module/Install/Fetch.pm (original)
+++ trunk/libpoe-component-irc-perl/inc/Module/Install/Fetch.pm Wed Jul 30 22:46:20 2008
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION $ISCORE @ISA};
 BEGIN {
-	$VERSION = '0.75';
+	$VERSION = '0.76';
 	$ISCORE  = 1;
 	@ISA     = qw{Module::Install::Base};
 }

Modified: trunk/libpoe-component-irc-perl/inc/Module/Install/Makefile.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-irc-perl/inc/Module/Install/Makefile.pm?rev=23699&op=diff
==============================================================================
--- trunk/libpoe-component-irc-perl/inc/Module/Install/Makefile.pm (original)
+++ trunk/libpoe-component-irc-perl/inc/Module/Install/Makefile.pm Wed Jul 30 22:46:20 2008
@@ -7,7 +7,7 @@
 
 use vars qw{$VERSION $ISCORE @ISA};
 BEGIN {
-	$VERSION = '0.75';
+	$VERSION = '0.76';
 	$ISCORE  = 1;
 	@ISA     = qw{Module::Install::Base};
 }
@@ -36,9 +36,9 @@
 
 sub makemaker_args {
 	my $self = shift;
-	my $args = ($self->{makemaker_args} ||= {});
-	  %$args = ( %$args, @_ ) if @_;
-	$args;
+	my $args = ( $self->{makemaker_args} ||= {} );
+	%$args = ( %$args, @_ );
+	return $args;
 }
 
 # For mm args that take multiple space-seperated args,
@@ -116,7 +116,13 @@
 
 	# Make sure we have a new enough
 	require ExtUtils::MakeMaker;
-	$self->configure_requires( 'ExtUtils::MakeMaker' => $ExtUtils::MakeMaker::VERSION );
+
+	# MakeMaker can complain about module versions that include
+	# an underscore, even though its own version may contain one!
+	# Hence the funny regexp to get rid of it.  See RT #35800
+	# for details.
+
+	$self->configure_requires( 'ExtUtils::MakeMaker' => $ExtUtils::MakeMaker::VERSION =~ /^(\d+\.\d+)/ );
 
 	# Generate the 
 	my $args = $self->makemaker_args;
@@ -242,4 +248,4 @@
 
 __END__
 
-#line 371
+#line 377

Modified: trunk/libpoe-component-irc-perl/inc/Module/Install/Metadata.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-irc-perl/inc/Module/Install/Metadata.pm?rev=23699&op=diff
==============================================================================
--- trunk/libpoe-component-irc-perl/inc/Module/Install/Metadata.pm (original)
+++ trunk/libpoe-component-irc-perl/inc/Module/Install/Metadata.pm Wed Jul 30 22:46:20 2008
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION $ISCORE @ISA};
 BEGIN {
-	$VERSION = '0.75';
+	$VERSION = '0.76';
 	$ISCORE  = 1;
 	@ISA     = qw{Module::Install::Base};
 }
@@ -17,9 +17,7 @@
 	abstract
 	author
 	version
-	license
 	distribution_type
-	perl_version
 	tests
 	installdirs
 };
@@ -33,11 +31,18 @@
 	resources
 };
 
-sub Meta            { shift        }
-sub Meta_ScalarKeys { @scalar_keys }
-sub Meta_TupleKeys  { @tuple_keys  }
-
-foreach my $key (@scalar_keys) {
+my @resource_keys = qw{
+	homepage
+	bugtracker
+	repository
+};
+
+sub Meta              { shift          }
+sub Meta_ScalarKeys   { @scalar_keys   }
+sub Meta_TupleKeys    { @tuple_keys    }
+sub Meta_ResourceKeys { @resource_keys }
+
+foreach my $key ( @scalar_keys ) {
 	*$key = sub {
 		my $self = shift;
 		return $self->{values}{$key} if defined wantarray and !@_;
@@ -46,12 +51,30 @@
 	};
 }
 
+foreach my $key ( @resource_keys ) {
+	*$key = sub {
+		my $self = shift;
+		unless ( @_ ) {
+			return () unless $self->{values}{resources};
+			return map  { $_->[1] }
+			       grep { $_->[0] eq $key }
+			       @{ $self->{values}{resources} };
+		}
+		return $self->{values}{resources}{$key} unless @_;
+		my $uri = shift or die(
+			"Did not provide a value to $key()"
+		);
+		$self->resources( $key => $uri );
+		return 1;
+	};
+}
+
 sub requires {
 	my $self = shift;
 	while ( @_ ) {
 		my $module  = shift or last;
 		my $version = shift || 0;
-		push @{ $self->{values}->{requires} }, [ $module, $version ];
+		push @{ $self->{values}{requires} }, [ $module, $version ];
 	}
 	$self->{values}{requires};
 }
@@ -61,7 +84,7 @@
 	while ( @_ ) {
 		my $module  = shift or last;
 		my $version = shift || 0;
-		push @{ $self->{values}->{build_requires} }, [ $module, $version ];
+		push @{ $self->{values}{build_requires} }, [ $module, $version ];
 	}
 	$self->{values}{build_requires};
 }
@@ -71,9 +94,9 @@
 	while ( @_ ) {
 		my $module  = shift or last;
 		my $version = shift || 0;
-		push @{ $self->{values}->{configure_requires} }, [ $module, $version ];
-	}
-	$self->{values}->{configure_requires};
+		push @{ $self->{values}{configure_requires} }, [ $module, $version ];
+	}
+	$self->{values}{configure_requires};
 }
 
 sub recommends {
@@ -81,9 +104,9 @@
 	while ( @_ ) {
 		my $module  = shift or last;
 		my $version = shift || 0;
-		push @{ $self->{values}->{recommends} }, [ $module, $version ];
-	}
-	$self->{values}->{recommends};
+		push @{ $self->{values}{recommends} }, [ $module, $version ];
+	}
+	$self->{values}{recommends};
 }
 
 sub bundles {
@@ -91,26 +114,31 @@
 	while ( @_ ) {
 		my $module  = shift or last;
 		my $version = shift || 0;
-		push @{ $self->{values}->{bundles} }, [ $module, $version ];
-	}
-	$self->{values}->{bundles};
+		push @{ $self->{values}{bundles} }, [ $module, $version ];
+	}
+	$self->{values}{bundles};
 }
 
 # Resource handling
+my %lc_resource = map { $_ => 1 } qw{
+	homepage
+	license
+	bugtracker
+	repository
+};
+
 sub resources {
 	my $self = shift;
 	while ( @_ ) {
-		my $resource = shift or last;
-		my $value    = shift or next;
-		push @{ $self->{values}->{resources} }, [ $resource, $value ];
-	}
-	$self->{values}->{resources};
-}
-
-sub repository {
-	my $self = shift;
-	$self->resources( repository => shift );
-	return 1;
+		my $name  = shift or last;
+		my $value = shift or next;
+		if ( $name eq lc $name and ! $lc_resource{$name} ) {
+			die("Unsupported reserved lowercase resource '$name'");
+		}
+		$self->{values}{resources} ||= [];
+		push @{ $self->{values}{resources} }, [ $name, $value ];
+	}
+	$self->{values}{resources};
 }
 
 # Aliases for build_requires that will have alternative
@@ -126,30 +154,64 @@
 
 sub sign {
 	my $self = shift;
-	return $self->{'values'}{'sign'} if defined wantarray and ! @_;
-	$self->{'values'}{'sign'} = ( @_ ? $_[0] : 1 );
+	return $self->{values}{sign} if defined wantarray and ! @_;
+	$self->{values}{sign} = ( @_ ? $_[0] : 1 );
 	return $self;
 }
 
 sub dynamic_config {
 	my $self = shift;
 	unless ( @_ ) {
-		warn "You MUST provide an explicit true/false value to dynamic_config, skipping\n";
+		warn "You MUST provide an explicit true/false value to dynamic_config\n";
 		return $self;
 	}
 	$self->{values}{dynamic_config} = $_[0] ? 1 : 0;
-	return $self;
+	return 1;
+}
+
+sub perl_version {
+	my $self = shift;
+	return $self->{values}{perl_version} unless @_;
+	my $version = shift or die(
+		"Did not provide a value to perl_version()"
+	);
+	$version =~ s/_.+$//;
+	$version = $version + 0; # Numify
+	unless ( $version >= 5.005 ) {
+		die "Module::Install only supports 5.005 or newer (use ExtUtils::MakeMaker)\n";
+	}
+	$self->{values}{perl_version} = $version;
+	return 1;
+}
+
+sub license {
+	my $self = shift;
+	return $self->{values}{license} unless @_;
+	my $license = shift or die(
+		'Did not provide a value to license()'
+	);
+	$self->{values}{license} = $license;
+
+	# Automatically fill in license URLs
+	if ( $license eq 'perl' ) {
+		$self->resources( license => 'http://dev.perl.org/licenses/' );
+	}
+
+	return 1;
 }
 
 sub all_from {
 	my ( $self, $file ) = @_;
 
 	unless ( defined($file) ) {
-		my $name = $self->name
-			or die "all_from called with no args without setting name() first";
+		my $name = $self->name or die(
+			"all_from called with no args without setting name() first"
+		);
 		$file = join('/', 'lib', split(/-/, $name)) . '.pm';
 		$file =~ s{.*/}{} unless -e $file;
-		die "all_from: cannot find $file from $name" unless -e $file;
+		unless ( -e $file ) {
+			die("all_from cannot find $file from $name");
+		}
 	}
 
 	# Some methods pull from POD instead of code.
@@ -228,8 +290,8 @@
 	while ( my ( $name, $mods ) = splice( @_, 0, 2 ) ) {
 		$self->feature( $name, @$mods );
 	}
-	return $self->{values}->{features}
-		? @{ $self->{values}->{features} }
+	return $self->{values}{features}
+		? @{ $self->{values}{features} }
 		: ();
 }
 
@@ -303,7 +365,7 @@
 			$self->module_name($module_name);
 		}
 	} else {
-		die "Cannot determine name from $file\n";
+		die("Cannot determine name from $file\n");
 	}
 }
 
@@ -389,6 +451,24 @@
 	return 'unknown';
 }
 
+sub bugtracker_from {
+	my $self    = shift;
+	my $content = Module::Install::_read($_[0]);
+	my @links   = $content =~ m/L\<(http\:\/\/rt\.cpan\.org\/[^>]+)\>/g;
+	unless ( @links ) {
+		warn "Cannot determine bugtracker info from $_[0]\n";
+		return 0;
+	}
+	if ( @links > 1 ) {
+		warn "Found more than on rt.cpan.org link in $_[0]\n";
+		return 0;
+	}
+
+	# Set the bugtracker
+	bugtracker( $links[0] );
+	return 1;
+}
+
 sub install_script {
 	my $self = shift;
 	my $args = $self->makemaker_args;
@@ -399,7 +479,7 @@
 		} elsif ( -d 'script' and -f "script/$_" ) {
 			push @$exe, "script/$_";
 		} else {
-			die "Cannot find script '$_'";
+			die("Cannot find script '$_'");
 		}
 	}
 }

Modified: trunk/libpoe-component-irc-perl/inc/Module/Install/Win32.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-irc-perl/inc/Module/Install/Win32.pm?rev=23699&op=diff
==============================================================================
--- trunk/libpoe-component-irc-perl/inc/Module/Install/Win32.pm (original)
+++ trunk/libpoe-component-irc-perl/inc/Module/Install/Win32.pm Wed Jul 30 22:46:20 2008
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '0.75';
+	$VERSION = '0.76';
 	@ISA     = qw{Module::Install::Base};
 	$ISCORE  = 1;
 }

Modified: trunk/libpoe-component-irc-perl/inc/Module/Install/WriteAll.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-irc-perl/inc/Module/Install/WriteAll.pm?rev=23699&op=diff
==============================================================================
--- trunk/libpoe-component-irc-perl/inc/Module/Install/WriteAll.pm (original)
+++ trunk/libpoe-component-irc-perl/inc/Module/Install/WriteAll.pm Wed Jul 30 22:46:20 2008
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '0.75';
+	$VERSION = '0.76';
 	@ISA     = qw{Module::Install::Base};
 	$ISCORE  = 1;
 }

Modified: trunk/libpoe-component-irc-perl/lib/POE/Component/IRC.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-irc-perl/lib/POE/Component/IRC.pm?rev=23699&op=diff
==============================================================================
--- trunk/libpoe-component-irc-perl/lib/POE/Component/IRC.pm (original)
+++ trunk/libpoe-component-irc-perl/lib/POE/Component/IRC.pm Wed Jul 30 22:46:20 2008
@@ -16,8 +16,8 @@
 use Socket;
 use base qw(POE::Component::Pluggable);
 
-our $VERSION = '5.84';
-our $REVISION = do {my at r=(q$Revision: 696 $=~/\d+/g);sprintf"%d"."%04d"x$#r, at r};
+our $VERSION = '5.86';
+our $REVISION = do {my at r=(q$Revision: 703 $=~/\d+/g);sprintf"%d"."%04d"x$#r, at r};
 our ($GOT_SSL, $GOT_CLIENT_DNS, $GOT_SOCKET6, $GOT_ZLIB);
 
 BEGIN {
@@ -2492,8 +2492,9 @@
 event, CTCP ACTION (produced by typing "/me" in most IRC clients)
 generates an C<irc_ctcp_action> event, blah blah, so on and so forth. ARG0
 is the nick!hostmask of the sender. ARG1 is the channel/recipient
-name(s). ARG2 is the text of the CTCP message. On FreeNode there is also
-ARG3, which will be 1 if the sender has identified with NickServ, 0 otherwise.
+name(s). ARG2 is the text of the CTCP message. On servers supporting the
+CAPAB IDENTIFY-MSG feature (e.g. FreeNode), CTCP ACTIONs will have ARG3,
+which will be 1 if the sender has identified with NickServ, 0 otherwise.
 
 Note that DCCs are handled separately -- see the
 L<DCC plugin|POE::Component::IRC::Plugin::DCC>.

Modified: trunk/libpoe-component-irc-perl/lib/POE/Component/IRC/Plugin/Connector.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-irc-perl/lib/POE/Component/IRC/Plugin/Connector.pm?rev=23699&op=diff
==============================================================================
--- trunk/libpoe-component-irc-perl/lib/POE/Component/IRC/Plugin/Connector.pm (original)
+++ trunk/libpoe-component-irc-perl/lib/POE/Component/IRC/Plugin/Connector.pm Wed Jul 30 22:46:20 2008
@@ -22,7 +22,6 @@
         object_states => [
             $self => [ qw(_start _auto_ping _reconnect _shutdown _start_ping _start_time_out _stop_ping _time_out) ],
         ],
-        options => { trace => 0 },
     )->ID();
 
     $irc->plugin_register( $self, 'SERVER', qw(all) );

Modified: trunk/libpoe-component-irc-perl/lib/POE/Component/IRC/Plugin/Logger.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-irc-perl/lib/POE/Component/IRC/Plugin/Logger.pm?rev=23699&op=diff
==============================================================================
--- trunk/libpoe-component-irc-perl/lib/POE/Component/IRC/Plugin/Logger.pm (original)
+++ trunk/libpoe-component-irc-perl/lib/POE/Component/IRC/Plugin/Logger.pm Wed Jul 30 22:46:20 2008
@@ -311,7 +311,7 @@
 sub _open_log {
     my ($self, $file_name) = @_;
     sysopen(my $log, $file_name, O_WRONLY|O_APPEND|O_CREAT, $self->{file_perm})
-        or die "Couldn't create file $file_name: $!; aborted";
+        or die "Couldn't open or create file '$file_name': $!; aborted";
     binmode($log, ':utf8');
     $log->autoflush(1);
     return $log;

Modified: trunk/libpoe-component-irc-perl/lib/POE/Component/IRC/Plugin/Proxy.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-irc-perl/lib/POE/Component/IRC/Plugin/Proxy.pm?rev=23699&op=diff
==============================================================================
--- trunk/libpoe-component-irc-perl/lib/POE/Component/IRC/Plugin/Proxy.pm (original)
+++ trunk/libpoe-component-irc-perl/lib/POE/Component/IRC/Plugin/Proxy.pm Wed Jul 30 22:46:20 2008
@@ -8,7 +8,7 @@
 use POE::Component::IRC::Plugin qw( :ALL );
 use POE::Component::IRC::Common qw( :ALL );
 
-our $VERSION = '5.78';
+our $VERSION = '5.86';
 
 sub new {
     my ($package, %args) = @_;
@@ -28,7 +28,6 @@
         object_states => [
             $self => [ qw(_client_error _client_flush _client_input _listener_accept _listener_failed _start _shutdown _spawn_listener) ],
         ],
-        options => { trace => 1 },
     )->ID();
 
     return 1;

Modified: trunk/libpoe-component-irc-perl/lib/POE/Filter/IRC/Compat.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-irc-perl/lib/POE/Filter/IRC/Compat.pm?rev=23699&op=diff
==============================================================================
--- trunk/libpoe-component-irc-perl/lib/POE/Filter/IRC/Compat.pm (original)
+++ trunk/libpoe-component-irc-perl/lib/POE/Filter/IRC/Compat.pm Wed Jul 30 22:46:20 2008
@@ -289,8 +289,9 @@
     # Is this a CTCP request or reply?
     $type = $type eq 'PRIVMSG' ? 'ctcp' : 'ctcpreply';
     
+    # CAPAP IDENTIFY-MSG is only applied to ACTIONs
     my $identified;
-    ($msg, $identified) = _split_idmsg($msg) if $self->{identifymsg};
+    ($msg, $identified) = _split_idmsg($msg) if $self->{identifymsg} && $msg =~ /.ACTION/;
     
     my ($ctcp, $text) = _ctcp_dequote($msg);
     my $nick = (split /!/, $who)[0];
@@ -342,7 +343,7 @@
                     $who,
                     [split /,/, $where],
                     (defined $args ? $args : ''),
-                    ($self->{identifymsg} ? $identified : () ),
+                    (defined $identified ? $identified : () ),
                 ],
                 raw_line => $line,
             };




More information about the Pkg-perl-cvs-commits mailing list