Bug 134547 - pear-Auth installs into faulty directory
Summary: pear-Auth installs into faulty directory
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-14 21:00 UTC by Linus Lejon Isaksson
Modified: 2009-05-16 14:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Linus Lejon Isaksson 2009-05-14 21:00:11 UTC
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

Fix: 

1. uninstall the pear-Auth port
2. install Auth using pear utility
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
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2009-05-14 21:42:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-05-16 14:29:41 UTC
miwi        2009-05-16 13:29:26 UTC

  FreeBSD ports repository

  Modified files:
    security/pear-Auth   Makefile 
  Log:
  - Fix install location
  
  PR:             134547
  Reported by:    Linus Lejon Isaksson <gilinko@yahoo.se>, many other
  
  Revision  Changes    Path
  1.18      +1 -1      ports/security/pear-Auth/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2009-05-16 14:29:53 UTC
State Changed
From-To: open->closed

fixed thx for your report.