Bug 152039 - [PATCH] security/pear-Auth: Wrong installation path
Summary: [PATCH] security/pear-Auth: Wrong installation path
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: 2010-11-08 09:00 UTC by Yamashiro Jun
Modified: 2010-12-09 08:20 UTC (History)
0 users

See Also:


Attachments
file.diff (1.73 KB, patch)
2010-11-08 09:00 UTC, Yamashiro Jun
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!