Bug 152039

Summary: [PATCH] security/pear-Auth: Wrong installation path
Product: Ports & Packages Reporter: Yamashiro Jun <yamajun>
Component: Individual Port(s)Assignee: Martin Wilke <miwi>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Yamashiro Jun 2010-11-08 09:00:18 UTC
pear::Auth's some files(Container.php Container/* Frontend/*) must install
at /usr/local/share/pear/Auth. But, current version of security/pear-Auth
installed these files into wrong path: /usr/local/share/pear.

Fix: Apply attached patch and reinstall.

Patch attached with submission follows:
How-To-Repeat: # cd /usr/ports/security/pear-Auth
# make install clean
# cat > test.php
<?php
require_once 'Auth.php';
$auth = new Auth('Array');
$auth->start();
^D
# php test.php | & grep include_once
PHP Warning:  include_once(Auth/Container/Array.php): failed to open stream: No such file or directory in /usr/local/share/pear/Auth.php on line 468
..
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-11-08 09:00:26 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Erwin Lansing freebsd_committer freebsd_triage 2010-12-06 17:00:28 UTC
This seems to be caused by revision 1.18, which might need to be backed out.
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-12-09 08:15:57 UTC
erwin       2010-12-09 08:15:52 UTC

  FreeBSD ports repository

  Modified files:
    security/pear-Auth   Makefile 
  Log:
  Revert rev 1.18 to fix installation location
  
  PR:             152039 (different solution than in the PR)
  Submitted by:   YAMASHIRO Jun <yamajun@ofug.net>
  Approved by:    maintainer
  
  Revision  Changes    Path
  1.20      +2 -0      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 4 Erwin Lansing freebsd_committer freebsd_triage 2010-12-09 08:17:21 UTC
State Changed
From-To: open->closed

Committed a different solution, but solves this problem. 
Thanks for the patch!