Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 2009 19:56:01 GMT
From:      Linus Lejon Isaksson <gilinko@yahoo.se>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/134547: pear-Auth installs into faulty directory
Message-ID:  <200905141956.n4EJu1MT040018@www.freebsd.org>
Resent-Message-ID: <200905142000.n4EK0BEH067244@freefall.freebsd.org>

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

>Number:         134547
>Category:       ports
>Synopsis:       pear-Auth installs into faulty directory
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 14 20:00:11 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Linus Lejon Isaksson
>Release:        7.2
>Organization:
>Environment:
FreeBSD haven.verse 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009     root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
security/pear-Auth installs files into a faulty directory structure, and not complying with defined paths in package2.xml

The following files is installed into the wrong directory, $BASE is /usr/local/share/pear

$BASE/Auth.php is in $BASE/Auth/Auth.php
$BASE/Auth/Auth.php is in $BASE/Auth/Auth/Auth.php
$BASE/Auth/Anonymous.php is in $BASE/Auth/Auth/Anonymous.php
$BASE/Auth/Controller.php is in $BASE/Auth/Auth/Controller.php

So a total of 4 files in the wrong location, so it's probably an error in the Makefile. Not familiar with the Makefile syntax so I can't supply a patch.

Correct layout can be seen using:
pear list-files Auth
>How-To-Repeat:
1. install the pear-Auth port
2. Create a file according to documentation using include("Auth.php)
3. Open file in webbrowser and get a "file not found in path error
>Fix:
1. uninstall the pear-Auth port
2. install Auth using pear utility

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



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