Bug#711178: pu: package php5/5.4.4-14+deb7u2
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: pu
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi release team,
since the next point release is not out, I am asking for another pu
for php5. This update bring one bugfix and one small improvement:
debian/patches/fix-filter-SAPI-REQUEST_TIME.patch:
1. Fix $_SERVER[REQUEST_TIME] in filter SAPI (Closes: #709023)
- - The patch is small and contained only in libapache2-mod-php5filter
debian/control:
2. Make the Breaks on php5-suhosin versioned to allow suhosin backports
when there's a new upstream version (Acked by suhosin maintainer)
- - We had unversioned Breaks: php5-suhosin, because of the mess created
by Laszlo Boszormenyi (as explained in #675312). I was approached
by Jan Wagner (the _real_ maintainer of php-suhosin), if I could add
versioned Breaks, so he can provide backports of php5-suhosin for
wheezy users. It's safe thing to do now when wheezy is out, so I am
adding the versioned Breaks.
$ diffstat php5_5.4.4-14+deb7u2.debdiff
debian/patches/fix-filter-SAPI-REQUEST_TIME.patch | 21 +++++++++++++++++++++
php5-5.4.4/debian/changelog | 8 ++++++++
php5-5.4.4/debian/control | 2 +-
php5-5.4.4/debian/patches/series | 1 +
4 files changed, 31 insertions(+), 1 deletion(-)
Thank you,
Ondrej
- -- System Information:
Debian Release: 7.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlGu+YMACgkQ9OZqfMIN8nMoXwCggTjF7eakE/pp5DboGtUjd/IO
W2YAoKOE6oXpjbnLxrOjXMCwEv5z21Ct
=uhm+
-----END PGP SIGNATURE-----
diff -u php5-5.4.4/debian/control php5-5.4.4/debian/control
--- php5-5.4.4/debian/control
+++ php5-5.4.4/debian/control
@@ -106,7 +106,7 @@
php-kolab-filter (<= 0.1.9-4),
horde3 (<= 3.3.12+debian0-1),
moodle (<= 1.9.9.dfsg2-4),
- php5-suhosin
+ php5-suhosin (<< 0.9.34)
Description: Common files for packages built from the php5 source
This package contains the documentation and example files relevant to all
the other packages built from the php5 source.
diff -u php5-5.4.4/debian/changelog php5-5.4.4/debian/changelog
--- php5-5.4.4/debian/changelog
+++ php5-5.4.4/debian/changelog
@@ -1,3 +1,11 @@
+php5 (5.4.4-14+deb7u2) stable; urgency=low
+
+ * Fix $_SERVER[REQUEST_TIME] in filter SAPI (Closes: #709023)
+ * Make the Breaks on php5-suhosin versioned to allow suhosin backports
+ when there's a new upstream version (Acked by suhosin maintainer)
+
+ -- Ondřej Surý <ondrej@debian.org> Wed, 05 Jun 2013 09:35:56 +0200
+
php5 (5.4.4-14+deb7u1) stable; urgency=low
* Pull upstream fix for FPM drops connection while receiving some binary
diff -u php5-5.4.4/debian/patches/series php5-5.4.4/debian/patches/series
--- php5-5.4.4/debian/patches/series
+++ php5-5.4.4/debian/patches/series
@@ -85,0 +86 @@
+fix-filter-SAPI-REQUEST_TIME.patch
only in patch2:
unchanged:
--- php5-5.4.4.orig/debian/patches/fix-filter-SAPI-REQUEST_TIME.patch
+++ php5-5.4.4/debian/patches/fix-filter-SAPI-REQUEST_TIME.patch
@@ -0,0 +1,21 @@
+From 2019062cfc6e4b4832aaca3b73891d93adc115a8 Mon Sep 17 00:00:00 2001
+From: Felipe Pena <felipensp@gmail.com>
+Date: Sun, 8 Jul 2012 14:05:28 -0300
+Subject: [PATCH] - Fixed bug #62507 (['REQUEST_TIME'] under mod_php5 returns
+ miliseconds instead of seconds)
+
+---
+ sapi/apache2filter/sapi_apache2.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/sapi/apache2filter/sapi_apache2.c
++++ b/sapi/apache2filter/sapi_apache2.c
+@@ -311,7 +311,7 @@ php_apache_disable_caching(ap_filter_t *
+ static double php_apache_sapi_get_request_time(TSRMLS_D)
+ {
+ php_struct *ctx = SG(server_context);
+- return apr_time_as_msec(ctx->r->request_time);
++ return ((double) apr_time_as_msec(ctx->r->request_time)) / 1000.0;
+ }
+
+ extern zend_module_entry php_apache_module;
Reply to: