Bug#568534: [stable] update of libapache-dbi-perl fixing #568534
Damyan Ivanov
dmn at debian.org
Tue Feb 9 12:55:45 UTC 2010
Dear stable release managers,
Please approve the upload of libapache-dbi-perl 1.07-1+lenny1 to
stable.
It fixes #568534[1] -- fails to load in startup scripts
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568534
The fix is to steal the relevant hunk from the upstream diff between
1.07 (in lenny) and 1.08 (in sid). The full upstream diff is available
at [2]. The backport_1.08-fix-startup.patch contains only the last
hunk (all else is cosmetics).
[2] http://search.cpan.org/diff?from=Apache-DBI-1.07&to=Apache-DBI-1.08
Debdiff, backport_1.08-fix-startup.patch and interdiff attached.
Thank you for your time.
-------------- next part --------------
File lists identical (after any substitutions)
Control files: lines which differ (wdiff format)
------------------------------------------------
Installed-Size: [-176-] {+172+}
Version: [-1.07-1-] {+1.07-1+lenny1+}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: backport_1.08-fix-startup.patch
Type: text/x-diff
Size: 746 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20100209/6939610b/attachment.patch>
-------------- next part --------------
diff -u libapache-dbi-perl-1.07/debian/changelog libapache-dbi-perl-1.07/debian/changelog
--- libapache-dbi-perl-1.07/debian/changelog
+++ libapache-dbi-perl-1.07/debian/changelog
@@ -1,3 +1,11 @@
+libapache-dbi-perl (1.07-1+lenny1) stable; urgency=low
+
+ * Backport fix for loading of Apache::DBI via startup files from 1.08.
+ + add backport_1.08-fix-startup.patch
+ + Closes: #568534 -- Apache::DBI fails to load in startup scripts
+
+ -- Damyan Ivanov <dmn at debian.org> Tue, 09 Feb 2010 12:48:05 +0200
+
libapache-dbi-perl (1.07-1) unstable; urgency=low
* New upstream release.
diff -u libapache-dbi-perl-1.07/debian/patches/series libapache-dbi-perl-1.07/debian/patches/series
--- libapache-dbi-perl-1.07/debian/patches/series
+++ libapache-dbi-perl-1.07/debian/patches/series
@@ -1,0 +2 @@
+backport_1.08-fix-startup.patch
only in patch2:
unchanged:
--- libapache-dbi-perl-1.07.orig/debian/patches/backport_1.08-fix-startup.patch
+++ libapache-dbi-perl-1.07/debian/patches/backport_1.08-fix-startup.patch
@@ -0,0 +1,17 @@
+# Description: backport fix for loading from startup.pl from 1.08
+# Origin: upstream, http://search.cpan.org/diff?from=Apache-DBI-1.07&to=Apache-DBI-1.08
+# Bug: https://rt.cpan.org/Public/Bug/Display.html?id=36346
+# Bug-Debian: http://bugs.debian.org/568534
+--- a/lib/Apache/DBI.pm
++++ b/lib/Apache/DBI.pm
+@@ -141,7 +141,9 @@ sub connect {
+ if (!$Rollback{$Idx}) {
+ my $r;
+ if (MP2) {
+- $r = Apache2::RequestUtil->request;
++ # We may not actually be in a request, but in <Perl> (or
++ # equivalent such as startup.pl), in which case this would die.
++ eval { $r = Apache2::RequestUtil->request };
+ }
+ elsif (Apache->can('push_handlers')) {
+ $r = 'Apache';
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20100209/6939610b/attachment.pgp>
More information about the pkg-perl-maintainers
mailing list