Package: ampache
Version: 3.5.4-11
Severity: normal

I was getting the following message in the installation process:

"Deprecated: Call-time pass-by-reference has been deprecated in
/usr/share/ampache/www/lib/class/vauth.class.php on line 580 Call Stack: 0.0934
750312 1. {main}() /usr/share/ampache/www/install.php:0"

The attached patch fixes the issue.

Thank you.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-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 ampache depends on:
ii  debconf [debconf-2.0]         1.5.41     Debian configuration management sy
ii  libapache2-mod-php5           5.3.6-13   server-side, HTML-embedded scripti
ii  libjs-prototype               1.7.0-2    JavaScript Framework for dynamic w
ii  libnusoap-php                 0.7.3-4    SOAP toolkit for PHP
ii  libphp-snoopy                 1.2.4-2    Snoopy is a PHP class that simulat
ii  php-xml-rpc                   1.5.3-1    PHP implementation of the XML-RPC
ii  php5                          5.3.6-13   server-side, HTML-embedded scripti
ii  php5-auth-pam                 0.4-10+b1  A PHP5 extension for PAM authentic
ii  php5-cli                      5.3.6-13   command-line interpreter for the p
ii  php5-mysql                    5.3.6-13   MySQL module for php5
ii  ttf-freefont                  20100919-1 Freefont Serif, Sans and Mono True

Versions of packages ampache recommends:
ii  ampache-themes                3.5.1-1    Themes for Ampache
ii  apache2-mpm-prefork           2.2.19-1   Apache HTTP Server - traditional n

Versions of packages ampache suggests:
pn  eyed3                        <none>      (no description available)
pn  faad                         <none>      (no description available)
pn  lame                         <none>      (no description available)
pn  mp3-splt                     <none>      (no description available)
ii  mysql-server                 5.1.58-1    MySQL database server (metapackage
ii  mysql-server-5.1 [mysql-serv 5.1.58-1    MySQL database server binaries and
ii  php5-gd                      5.3.6-13    GD module for php5
ii  phpmyadmin                   4:3.4.3.2-1 MySQL web administration tool
pn  vorbis-tools                 <none>      (no description available)

-- Configuration Files:
/etc/apache2/sites-available/ApacheAmpache [Errno 2] No such file or directory:
u'/etc/apache2/sites-available/ApacheAmpache'

-- debconf information:
diff -Nru ampache-3.5.4/debian/changelog ampache-3.5.4/debian/changelog
--- ampache-3.5.4/debian/changelog	2011-02-16 13:55:12.000000000 -0200
+++ ampache-3.5.4/debian/changelog	2011-08-13 22:08:03.000000000 -0300
@@ -1,3 +1,10 @@
+ampache (3.5.4-11.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fixed deprecated message (installation process).
+
+ -- willian <wilt...@gmail.com>  Sat, 13 Aug 2011 22:05:58 -0300
+
 ampache (3.5.4-11) unstable; urgency=low
 
   * Made package check the md5sum of /etc/apache2/sites-available/default for
diff -Nru ampache-3.5.4/debian/patches/fix-deprecated-message-installation.patch ampache-3.5.4/debian/patches/fix-deprecated-message-installation.patch
--- ampache-3.5.4/debian/patches/fix-deprecated-message-installation.patch	1969-12-31 21:00:00.000000000 -0300
+++ ampache-3.5.4/debian/patches/fix-deprecated-message-installation.patch	2011-08-13 22:09:22.000000000 -0300
@@ -0,0 +1,13 @@
+Index: ampache-3.5.4/lib/class/vauth.class.php
+===================================================================
+--- ampache-3.5.4.orig/lib/class/vauth.class.php	2011-08-13 22:09:07.426013487 -0300
++++ ampache-3.5.4/lib/class/vauth.class.php	2011-08-13 22:09:14.581923525 -0300
+@@ -577,7 +577,7 @@
+ 				return $results;
+ 		}
+ 
+-		if (pam_auth($username, $password, &$results['error'])) {
++		if (pam_auth($username, $password, $results['error'])) {
+ 			$results['success'] = true;
+ 			$results['type'] = 'local';
+ 			$results['username'] = $username;
diff -Nru ampache-3.5.4/debian/patches/series ampache-3.5.4/debian/patches/series
--- ampache-3.5.4/debian/patches/series	2011-02-06 07:21:35.000000000 -0200
+++ ampache-3.5.4/debian/patches/series	2011-08-13 22:08:57.000000000 -0300
@@ -1,2 +1,3 @@
 xspf_notification.patch
 logrotate_fix.patch
+fix-deprecated-message-installation.patch

Reply via email to