Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Oct 2013 09:08:30 GMT
From:      Markus Golser <golserma@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/182593: Typo in ampache sourcecode makes the package not functional.
Message-ID:  <201310030908.r9398UTV081285@oldred.freebsd.org>
Resent-Message-ID: <201310030910.r939A0LP055776@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182593
>Category:       misc
>Synopsis:       Typo in ampache sourcecode makes the package not functional.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 03 09:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Markus Golser
>Release:        9.1-RC3
>Organization:
>Environment:
FreeBSD 9.1-RC3 FreeBSD 9.1-RC3 #0 r242324: Tue Oct 30 00:58:57 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
audio/ampache has a typo in the current stable release if you install the package you are getting a not usable installation.
>How-To-Repeat:

>Fix:
apply the patch

Patch attached with submission follows:

--- ampache/lib/class/vauth.class.php.orig	2013-10-03 09:01:22.867287062 +0000
+++ ampache/lib/class/vauth.class.php	2013-10-03 09:02:04.050256226 +0000
@@ -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;


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310030908.r9398UTV081285>