[Bug 759021] perl-EV-4.03-6 does not build because libev-source changed version

2011-12-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=759021

Petr Pisar ppi...@redhat.com changed:

   What|Removed |Added

 CC||fedora-perl-devel-list@redh
   ||at.com
  Component|libev   |perl-EV

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Bug 759021] perl-EV-4.03-6 does not build because libev-source changed version

2011-12-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=759021

--- Comment #2 from Mathieu Bridon boche...@fedoraproject.org 2011-12-01 
05:09:50 EST ---
I had thought about that when I made the package, but I was a bit worried about
potential incompatible changes in libev.

But I guess if that happened then the package would not build anymore, which is
what happens with the strict versioned BR anyway, so the strict == doesn't
seem to bring any value over a =

Thanks for the patch, I'll try to apply/push/build/update tomorrow or next week
(bit swamped), but feel free to use your provenpackager super powers and beat
me to it. :)

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Bug 759129] New: perl-POE-1.289 does not handle alarms properly

2011-12-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: perl-POE-1.289 does not handle alarms properly

https://bugzilla.redhat.com/show_bug.cgi?id=759129

   Summary: perl-POE-1.289 does not handle alarms properly
   Product: Fedora
   Version: 16
  Platform: Unspecified
OS/Version: Unspecified
Status: NEW
  Severity: unspecified
  Priority: unspecified
 Component: perl-POE
AssignedTo: cw...@alumni.drew.edu
ReportedBy: ppi...@redhat.com
 QAContact: extras...@fedoraproject.org
CC: cw...@alumni.drew.edu,
fedora-perl-devel-l...@redhat.com
Classification: Fedora
  Story Points: ---
  Type: ---


When rebuilding perl-POE-1.289 in F16, I got following failures in upstream
test suite:

#   Failed test 'alarm 14 remove: data is correct'
#   at /usr/share/perl5/vendor_perl/POE/Test/Loops/k_alarms.pm line 350.
# Structures begin differing at:
#  $got = '14'
# $expected = ARRAY(0x806d26c8)
#   Failed test 'alarm 15 remove: data is correct'
#   at /usr/share/perl5/vendor_perl/POE/Test/Loops/k_alarms.pm line 365.
# Structures begin differing at:
#  $got = '15'
# $expected = ARRAY(0x806d29b0)
# Looks like you failed 2 tests of 37.
t/30_loops/io_poll/k_alarms.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/37 subtests 

#   Failed test 'alarm 14 remove: data is correct'
#   at /usr/share/perl5/vendor_perl/POE/Test/Loops/k_alarms.pm line 350.
# Structures begin differing at:
#  $got = '14'
# $expected = ARRAY(0x806c05b8)
#   Failed test 'alarm 15 remove: data is correct'
#   at /usr/share/perl5/vendor_perl/POE/Test/Loops/k_alarms.pm line 365.
# Structures begin differing at:
#  $got = '15'
# $expected = ARRAY(0x806c51b8)
# Looks like you failed 2 tests of 37.
t/30_loops/select/k_alarms.t ... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/37 subtests 

Version 1.312 from F17 passes all test in F16. I'm not sure what has changed in
the distribution since last build but this issue should be fixed as it can
exhibit in real applications too.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Bug 759129] perl-POE-1.289 does not handle alarms properly

2011-12-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=759129

--- Comment #1 from Petr Pisar ppi...@redhat.com 2011-12-01 08:33:18 EST ---
Failing tests in Koji:
http://koji.fedoraproject.org/koji/taskinfo?taskID=3555388

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[perl-POE/f16] Fix alarm handling

2011-12-01 Thread Petr Pisar
commit 1f7581a36e17ae7c867512474c638e8b81e8096e
Author: Petr Písař ppi...@redhat.com
Date:   Thu Dec 1 14:12:52 2011 +0100

Fix alarm handling

 ...89-Fix-double-event-arguments-dereference.patch |   29 ++
 ...ose-chars-work-when-cursor-is-at-end-of-l.patch |   32 
 perl-POE.spec  |   11 ++-
 3 files changed, 71 insertions(+), 1 deletions(-)
---
diff --git a/perl-POE-1.289-Fix-double-event-arguments-dereference.patch 
b/perl-POE-1.289-Fix-double-event-arguments-dereference.patch
new file mode 100644
index 000..25487c7
--- /dev/null
+++ b/perl-POE-1.289-Fix-double-event-arguments-dereference.patch
@@ -0,0 +1,29 @@
+From 0a286398b5ef3f14454cc605f71d5be28e07481e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= ppi...@redhat.com
+Date: Thu, 1 Dec 2011 13:35:37 +0100
+Subject: [PATCH] Fix double event arguments dereference
+
+From upstream commit 41f3b9eca45a2314a6f43723e5e9f71731ef7b3e to fix
+alarm handling.
+---
+ lib/POE/Kernel.pm |4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/lib/POE/Kernel.pm b/lib/POE/Kernel.pm
+index 150e3d3..6efc794 100644
+--- a/lib/POE/Kernel.pm
 b/lib/POE/Kernel.pm
+@@ -1993,8 +1993,8 @@ sub alarm_remove {
+   # value when someone needs something useful from it.
+ 
+   return unless defined wantarray;
+-  return ( $event-[EV_NAME], $time, @{$event-[EV_ARGS]} ) if wantarray;
+-  return [ $event-[EV_NAME], $time, @{$event-[EV_ARGS]} ];
++  return ( $event-[EV_NAME], $time, $event-[EV_ARGS] ) if wantarray;
++  return [ $event-[EV_NAME], $time, $event-[EV_ARGS] ];
+ }
+ 
+ # Move an alarm to a new time.  This virtually removes the alarm and
+-- 
+1.7.7.4
+
diff --git 
a/perl-POE-1.289-Make-transpose-chars-work-when-cursor-is-at-end-of-l.patch 
b/perl-POE-1.289-Make-transpose-chars-work-when-cursor-is-at-end-of-l.patch
new file mode 100644
index 000..59b3aea
--- /dev/null
+++ b/perl-POE-1.289-Make-transpose-chars-work-when-cursor-is-at-end-of-l.patch
@@ -0,0 +1,32 @@
+From 9c028bba7e526d4e0e152c33ba3c7b14d034c301 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Hinrik=20=C3=96rn=20Sigur=C3=B0sson?= hinrik@gmail.com
+Date: Mon, 18 Apr 2011 17:01:12 +
+Subject: [PATCH] Make transpose-chars work when cursor is at end of line
+
+Petr Pisar: Upstream commit de7200ea6ccf466f1a6d74cd86e3b53b590c2c43
+ported to 1.289.
+---
+ lib/POE/Wheel/ReadLine.pm |7 ++-
+ 1 files changed, 6 insertions(+), 1 deletions(-)
+
+diff --git a/lib/POE/Wheel/ReadLine.pm b/lib/POE/Wheel/ReadLine.pm
+index 4a3a89f..86e1770 100644
+--- a/lib/POE/Wheel/ReadLine.pm
 b/lib/POE/Wheel/ReadLine.pm
+@@ -1848,7 +1848,12 @@ sub rl_clear_screen {
+ 
+ sub rl_transpose_chars {
+   my ($self, $key) = @_;
+-  if ($self-[SELF_CURSOR_INPUT]  0 and $self-[SELF_CURSOR_INPUT]  
length($self-[SELF_INPUT])) {
++  if (length($self-[SELF_INPUT])  1  length($self-[SELF_INPUT]) == 
$self-[SELF_CURSOR_INPUT]) {
++my $transposition = reverse substr($self-[SELF_INPUT], -2, 2);
++substr($self-[SELF_INPUT], -2, 2) = $transposition;
++_curs_left(_display_width($transposition));
++print $stdout _normalize($transposition);
++  } elsif (length($self-[SELF_INPUT])  1  $self-[SELF_CURSOR_INPUT]  0) 
{
+ my $width_left = _display_width(substr($self-[SELF_INPUT], 
$self-[SELF_CURSOR_INPUT] - 1, 1));
+ 
+ my $transposition = reverse substr($self-[SELF_INPUT], 
$self-[SELF_CURSOR_INPUT] - 1, 2);
+-- 
+1.7.7.4
+
diff --git a/perl-POE.spec b/perl-POE.spec
index ddbe770..de2891a 100644
--- a/perl-POE.spec
+++ b/perl-POE.spec
@@ -1,12 +1,16 @@
 Name:  perl-POE
 Version:   1.289
-Release:   5%{?dist}
+Release:   6%{?dist}
 Summary:   POE - portable multitasking and networking framework for Perl
 
 Group: Development/Libraries
 License:   GPL+ or Artistic
 URL:   http://search.cpan.org/dist/POE/
 Source0:   
http://search.cpan.org/CPAN/authors/id/R/RC/RCAPUTO/POE-%{version}.tar.gz
+# Fixed in 1.299, bug #759129.
+Patch0:perl-POE-1.289-Fix-double-event-arguments-dereference.patch
+# Fixed in 1.310, bug #759129.
+Patch1:
perl-POE-1.289-Make-transpose-chars-work-when-cursor-is-at-end-of-l.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch: noarch
 Requires:  perl(:MODULE_COMPAT_%(eval `%{__perl} -V:version`; echo $version))
@@ -75,6 +79,8 @@ possible to use POE at varying levels of abstraction.
 
 %prep
 %setup -q -n POE-%{version}
+%patch0 -p1
+%patch1 -p1
 
 # make rpmlint happy...
 chmod -c -x examples/*
@@ -123,6 +129,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Dec 01 2011 Petr Pisar ppi...@redhat.com - 1.289-6
+- Fix alarm handling (bug #759129)
+
 * Wed Jul 20 2011 Petr Sabata con...@redhat.com - 1.289-5
 - Perl mass rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Bug 759129] perl-POE-1.289 does not handle alarms properly

2011-12-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=759129

--- Comment #2 from Petr Pisar ppi...@redhat.com 2011-12-01 08:35:33 EST ---
Created attachment 539204
  -- https://bugzilla.redhat.com/attachment.cgi?id=539204
Fix

Fixes ported from upstream.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Bug 759129] perl-POE-1.289 does not handle alarms properly

2011-12-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=759129

Petr Pisar ppi...@redhat.com changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 AssignedTo|cw...@alumni.drew.edu   |ppi...@redhat.com

--- Comment #3 from Petr Pisar ppi...@redhat.com 2011-12-01 08:39:40 EST ---
I will push it into F16.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

File PAR-1.004.tar.gz uploaded to lookaside cache by ppisar

2011-12-01 Thread Petr Pisar
A file has been added to the lookaside cache for perl-PAR:

6174ba38b5cc80bc47c8961bffe22347  PAR-1.004.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[perl-PAR] 1.004 bump

2011-12-01 Thread Petr Pisar
commit 5bd7df65ed4cabf71b7648379c06df560688ee8a
Author: Petr Písař ppi...@redhat.com
Date:   Thu Dec 1 15:05:11 2011 +0100

1.004 bump

 .gitignore|1 +
 perl-PAR.spec |5 -
 sources   |2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fff5586..ffebb06 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 PAR-1.000.tar.gz
 /PAR-1.002.tar.gz
 /PAR-1.003.tar.gz
+/PAR-1.004.tar.gz
diff --git a/perl-PAR.spec b/perl-PAR.spec
index 3a379ea..349e65b 100644
--- a/perl-PAR.spec
+++ b/perl-PAR.spec
@@ -1,5 +1,5 @@
 Name:   perl-PAR
-Version:1.003
+Version:1.004
 Release:1%{?dist}
 Summary:Perl Archive Toolkit
 License:GPL+ or Artistic
@@ -42,6 +42,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Thu Dec 01 2011 Petr Pisar ppi...@redhat.com - 1.004-1
+- 1.004 bump
+
 * Tue Nov 29 2011 Petr Šabata con...@redhat.com - 1.003-1
 - 1.003 bump
 - Update Source URL
diff --git a/sources b/sources
index 151cf43..34a6eba 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bfdb92cd2c1b507e5704859469ce9a4e  PAR-1.003.tar.gz
+6174ba38b5cc80bc47c8961bffe22347  PAR-1.004.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Bug 759021] perl-EV-4.03-6 does not build because libev-source changed version

2011-12-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=759021

--- Comment #4 from Fedora Update System upda...@fedoraproject.org 2011-12-01 
10:15:47 EST ---
perl-EV-4.03-7.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/perl-EV-4.03-7.fc16

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Bug 753955] CVE-2011-4114 perl-PAR-Packer: insecure temporary directory handling

2011-12-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=753955

Petr Pisar ppi...@redhat.com changed:

   What|Removed |Added

 CC||ppi...@redhat.com

--- Comment #2 from Petr Pisar ppi...@redhat.com 2011-12-01 09:18:18 EST ---
`PAR' (http://search.cpan.org/~rschupp/PAR/, packaged as perl-PAR in Fedora)
author recognized this vulnerability in PAR too (this is related but different
piece of code from PAR::Packer) and fixed it in version 1.003:

[Changes for 1.003 - Nov 28, 2011]
  -  RT #69560/CVE-2011-4114: PAR packed files are extracted to unsafe
 and predictable temporary directories
 (Note: this bug was originally reported against PAR::Packer, but
 it applies to PAR as well)
 - create parent of cache directory (i.e. /tmp/par-USER) with mode 0700
 - if it already exists, make sure that (and bail out if not)
   - it's not a symlink
   - it's mode 0700
   - it's owned by USER

Fixed perl-PAR version is available in F17 only at this moment.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Bug 759092] perl-PAR-1.004 is available

2011-12-01 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=759092

Petr Pisar ppi...@redhat.com changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC|mmasl...@redhat.com |ppi...@redhat.com
 AssignedTo|mmasl...@redhat.com |ppi...@redhat.com

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel