[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#686780: unblock: libmojolicious-perl/2.98+dfsg-2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package libmojolicious-perl

This new version contains a small patch that fixes a nasty bug
(#686750)

This patch was taken from upstream (and slightly adapted for Wheezy's
mojolicious version). Other changes are minor versioned dependency
cleanup on debian/control.

See enclosed debdiff.

All the best

unblock libmojolicious-perl/2.98+dfsg-2

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -Nru libmojolicious-perl-2.98+dfsg/debian/changelog libmojolicious-perl-2.98+dfsg/debian/changelog
--- libmojolicious-perl-2.98+dfsg/debian/changelog	2012-06-02 19:26:18.000000000 +0200
+++ libmojolicious-perl-2.98+dfsg/debian/changelog	2012-09-05 17:49:47.000000000 +0200
@@ -1,3 +1,14 @@
+libmojolicious-perl (2.98+dfsg-2) unstable; urgency=low
+
+  [ gregor herrmann ]
+  * debian/control: update {versioned,alternative} (build) dependencies.
+
+  [ Dominique Dumont ]
+  * patch to avoid clobbering $_ (Closes: #686750)
+  * control: added dod to uploaders
+
+ -- Dominique Dumont <dod@debian.org>  Wed, 05 Sep 2012 17:45:00 +0200
+
 libmojolicious-perl (2.98+dfsg-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru libmojolicious-perl-2.98+dfsg/debian/control libmojolicious-perl-2.98+dfsg/debian/control
--- libmojolicious-perl-2.98+dfsg/debian/control	2012-06-02 19:26:18.000000000 +0200
+++ libmojolicious-perl-2.98+dfsg/debian/control	2012-09-05 17:49:47.000000000 +0200
@@ -1,14 +1,15 @@
 Source: libmojolicious-perl
-Section: perl
-Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
 Uploaders: Jonathan Yu <jawnsy@cpan.org>,
- gregor herrmann <gregoa@debian.org>,
- Fabrizio Regalli <fabreg@fabreg.it>,
- Krzysztof Krzyżaniak (eloy) <eloy@debian.org>,
- Angel Abad <angel@debian.org>
+           gregor herrmann <gregoa@debian.org>,
+           Fabrizio Regalli <fabreg@fabreg.it>,
+           Krzysztof Krzyżaniak (eloy) <eloy@debian.org>,
+           Angel Abad <angel@debian.org>,
+           Dominique Dumont <dod@debian.org>
+Section: perl
+Priority: optional
 Build-Depends: debhelper (>= 8)
-Build-Depends-Indep: perl (>= 5.10.1)
+Build-Depends-Indep: perl
 Standards-Version: 3.9.3
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libmojolicious-perl.git
 Vcs-Git: git://git.debian.org/pkg-perl/packages/libmojolicious-perl.git
@@ -16,15 +17,17 @@
 
 Package: libmojolicious-perl
 Architecture: all
-Depends: ${misc:Depends}, ${perl:Depends},
- libjs-jquery (>= 1.7.1),
- perl (>= 5.10.1)
+Depends: ${misc:Depends},
+         ${perl:Depends},
+         libjs-jquery (>= 1.7.1),
+         perl
 Recommends: libio-socket-inet6-perl,
- libio-socket-ssl-perl (>= 1.43),
- libmojo-server-fastcgi-perl
+            libio-socket-ssl-perl (>= 1.43),
+            libmojo-server-fastcgi-perl
 Description: simple, yet powerful, Web Application Framework
  Mojolicious is a Perl Web Application Framework built around the familiar
  Model-View-Controller philosophy. It supports a simple single file mode via
  Mojolicious::Lite, RESTful routes, plugins, Perl-ish templates, session
  management, signed cookies, a testing framework, internationalization, first
  class Unicode support, and more.
+
diff -Nru libmojolicious-perl-2.98+dfsg/debian/patches/dont-clobber-dollar-_ libmojolicious-perl-2.98+dfsg/debian/patches/dont-clobber-dollar-_
--- libmojolicious-perl-2.98+dfsg/debian/patches/dont-clobber-dollar-_	1970-01-01 01:00:00.000000000 +0100
+++ libmojolicious-perl-2.98+dfsg/debian/patches/dont-clobber-dollar-_	2012-09-05 17:49:47.000000000 +0200
@@ -0,0 +1,24 @@
+Description: Dont clobber  $_ global variable
+ replace $_ with a lexical varable. A similar patch has 
+ been applied upstream.
+ .
+ This patch should be removed for Mojolicous >= 3.38
+Bug: Debian-686750
+Author: dod
+Applied-Upstream: yes
+--- a/lib/Mojo/Transaction/WebSocket.pm
++++ b/lib/Mojo/Transaction/WebSocket.pm
+@@ -297,9 +297,10 @@
+ 
+   # 512 byte mask
+   $mask = $mask x 128;
+-  my $output = '';
+-  $output .= $_ ^ $mask while length($_ = substr($input, 0, 512, '')) == 512;
+-  return $output .= $_ ^ substr($mask, 0, length, '');
++  my $buffer = my $output = '';
++  $output .= $buffer ^ $mask 
++	while length($buffer = substr($input, 0, 512, '')) == 512;
++  return $output .= $buffer ^ substr($mask, 0, length $buffer, '');
+ }
+ 
+ 1;
diff -Nru libmojolicious-perl-2.98+dfsg/debian/patches/series libmojolicious-perl-2.98+dfsg/debian/patches/series
--- libmojolicious-perl-2.98+dfsg/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ libmojolicious-perl-2.98+dfsg/debian/patches/series	2012-09-05 17:49:47.000000000 +0200
@@ -0,0 +1 @@
+dont-clobber-dollar-_

Reply to: