ports/134547: pear-Auth installs into faulty directory
Linus Lejon Isaksson
gilinko at yahoo.se
Thu May 14 20:00:12 UTC 2009
>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 at 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:
More information about the freebsd-ports-bugs
mailing list