Your message dated Sun, 29 Apr 2012 09:33:03 +0000
with message-id <e1soqv5-0003ql...@franck.debian.org>
and subject line Bug#653621: fixed in php-openid 2.2.2-1.1
has caused the Debian Bug report #653621,
regarding php-openid: lacks patch to avoid "Call-time pass-by-reference is 
deprecated" errors
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
653621: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653621
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: php-openid
Version: 2.2.2-1
Severity: important


In squeeze, php5 5.3.3 is the default.  However, php-openid as
packaged triggers "Call-time pass-by-reference" errors in php >= 5.3

A circulating patch, that is distributed with the MediaWiki OpenID
extension, removes the offending '&' characters, but I'd prefer to 
use unmangled Debian packages when possible (besides which the patch's
line numbers seem to be 3 smaller than those in the files in the 
debian .orig source package).

Patch: 
Described at http://www.mediawiki.org/wiki/Extension:OpenID , under
requisite 1 / "patch for PHP > 5.3.x"
Specific patch file packaged with mediawiki extension, is attached.

I haven't tested wheezy, but expect the same problem & solution would
apply there.

Thanks much!
-arthur prokosch
system administrator
MIT Computer Science and Artificial Intelligence Lab.

---- from MediaWiki trunk, r107299, OpenID/patches/php-openid-2.2.2.patch ----

diff -bru _Auth//OpenID/Consumer.php Auth//OpenID/Consumer.php
--- _Auth//OpenID/Consumer.php  2010-04-29 22:41:05.000000000 +0200
+++ Auth//OpenID/Consumer.php   2011-02-03 12:17:42.000000000 +0100
@@ -666,7 +666,7 @@
                                         '_completeInvalid');
 
         return call_user_func_array(array($this, $method),
-                                    array($message, &$endpoint, $return_to));
+                                    array($message, $endpoint, $return_to));
     }
 
     /**
@@ -1181,7 +1181,7 @@
         // oidutil.log('Performing discovery on %s' % (claimed_id,))
         list($unused, $services) = call_user_func($this->discoverMethod,
                                                   $claimed_id,
-                                                                               
                  &$this->fetcher);
+                                                                               
                  $this->fetcher);
 
         if (!$services) {
             return new Auth_OpenID_FailureResponse(null,
diff -bru _Auth//OpenID/Server.php Auth//OpenID/Server.php
--- _Auth//OpenID/Server.php    2010-04-29 22:41:05.000000000 +0200
+++ Auth//OpenID/Server.php     2011-02-03 12:18:56.000000000 +0100
@@ -1704,7 +1704,7 @@
     {
         if (method_exists($this, "openid_" . $request->mode)) {
             $handler = array($this, "openid_" . $request->mode);
-            return call_user_func($handler, &$request);
+            return call_user_func($handler, $request);
         }
         return null;
     }
diff -bru _Auth//OpenID/TrustRoot.php Auth//OpenID/TrustRoot.php
--- _Auth//OpenID/TrustRoot.php 2010-04-29 22:41:05.000000000 +0200
+++ Auth//OpenID/TrustRoot.php  2011-02-03 12:19:24.000000000 +0100
@@ -413,7 +413,7 @@
     }
 
     call_user_func_array($discover_function,
-                         array($relying_party_url, &$fetcher));
+                         array($relying_party_url, $fetcher));
 
     $return_to_urls = array();
     $matching_endpoints = Auth_OpenID_extractReturnURL($endpoints);
diff -bru _Auth//Yadis/Manager.php Auth//Yadis/Manager.php
--- _Auth//Yadis/Manager.php    2010-04-29 22:41:05.000000000 +0200
+++ Auth//Yadis/Manager.php     2011-02-03 12:20:44.000000000 +0100
@@ -413,7 +413,7 @@
 
             list($yadis_url, $services) = call_user_func($discover_cb,
                                                          $this->url,
-                                                         &$fetcher);
+                                                         $fetcher);
 
             $manager = $this->createManager($services, $yadis_url);
         }
diff -bru _Auth//Yadis/XRDS.php Auth//Yadis/XRDS.php
--- _Auth//Yadis/XRDS.php       2010-04-29 22:41:05.000000000 +0200
+++ Auth//Yadis/XRDS.php        2011-02-03 12:19:58.000000000 +0100
@@ -429,7 +429,7 @@
 
                 foreach ($filters as $filter) {
 
-                    if (call_user_func_array($filter, array(&$service))) {
+                    if (call_user_func_array($filter, array($service))) {
                         $matches++;
 
                         if ($filter_mode == SERVICES_YADIS_MATCH_ANY) {
diff -bru _Auth//Yadis/Yadis.php Auth//Yadis/Yadis.php
--- _Auth//Yadis/Yadis.php      2010-04-29 22:41:05.000000000 +0200
+++ Auth//Yadis/Yadis.php       2011-02-03 12:20:26.000000000 +0100
@@ -141,7 +141,7 @@
     }
 
     $yadis_result = call_user_func_array($discover_func,
-                                         array($input_url, &$fetcher));
+                                         array($input_url, $fetcher));
 
     if ($yadis_result === null) {
         return array($input_url, array());


-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php-openid depends on:
ii  php5                    5.3.3-7+squeeze3 server-side, HTML-embedded scripti
ii  php5-curl               5.3.3-7+squeeze3 CURL module for php5
ii  php5-gmp                5.3.3-7+squeeze3 GMP module for php5

php-openid recommends no packages.

Versions of packages php-openid suggests:
pn  php-db                        <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: php-openid
Source-Version: 2.2.2-1.1

We believe that the bug you reported is fixed in the latest version of
php-openid, which is due to be installed in the Debian FTP archive:

php-openid_2.2.2-1.1.debian.tar.gz
  to main/p/php-openid/php-openid_2.2.2-1.1.debian.tar.gz
php-openid_2.2.2-1.1.dsc
  to main/p/php-openid/php-openid_2.2.2-1.1.dsc
php-openid_2.2.2-1.1_all.deb
  to main/p/php-openid/php-openid_2.2.2-1.1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 653...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <z...@debian.org> (supplier of updated php-openid package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Format: 1.8
Date: Sun, 29 Apr 2012 09:13:02 +0000
Source: php-openid
Binary: php-openid
Architecture: source all
Version: 2.2.2-1.1
Distribution: unstable
Urgency: low
Maintainer: Jan Hauke Rahm <j...@debian.org>
Changed-By: Thomas Goirand <z...@debian.org>
Description: 
 php-openid - PHP OpenID library
Closes: 653621
Changes: 
 php-openid (2.2.2-1.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Fixes call-time pass-by-reference (Closes: #653621).
Checksums-Sha1: 
 a028130343ff0c53f83875bf24122c10b7e0a9bc 1223 php-openid_2.2.2-1.1.dsc
 00b01dfd1f54393a234d64c0cfb55beda37d598a 3116 
php-openid_2.2.2-1.1.debian.tar.gz
 05ac849965b57a3ce57d6e83e035ee1f3b9b7814 233316 php-openid_2.2.2-1.1_all.deb
Checksums-Sha256: 
 c4400307da72232450410755f864df0737ef778cb39cb5db646db121175b6b43 1223 
php-openid_2.2.2-1.1.dsc
 52c47226b641fd21aca2e202efba79c763051e42c8cedae840c7d2f396006f6b 3116 
php-openid_2.2.2-1.1.debian.tar.gz
 2ecbfcc5258fcb378405dc1ecb4be4775427b694d2cfc4a11548f6ed53a23485 233316 
php-openid_2.2.2-1.1_all.deb
Files: 
 24fb8d36b412fa7f0332cee890f7800c 1223 php optional php-openid_2.2.2-1.1.dsc
 96a89a609dd3a63cc09e474401a7fd9d 3116 php optional 
php-openid_2.2.2-1.1.debian.tar.gz
 d6122259dc273a6b434245c045c0fd26 233316 php optional 
php-openid_2.2.2-1.1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEAREDAAYFAk+dBycACgkQl4M9yZjvmknj9QCfbYi1BzYnujzdXQzMutsDay+H
AccAoJuTmacwX27c3133MjA4kllrodqZ
=P/o2
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to