Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2007 14:25:03 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        chinsan@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   security/pear-Auth problems
Message-ID:  <20070914042503.GA63964@server.vk2pj.dyndns.org>

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

--k1lZvvs/B4yU6o8G
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Chin-San,

I am trying to port an application that uses PEAR::Auth and have run
into an inconsistency between the PEAR::Auth documentation, the layout
installed by the security/pear-Auth port and the FreeBSD bsd.pear.mk
infrastructure.

According to the PEAR::Auth documentation[1], Auth.php should be
available via 'require_once "Auth.php";' - ie Auth.php should be
installed in ${PEARDIR}.  Currently, PEAR::Auth is installed one
level below this due to the 'CATEGORY=3DAuth'.

I'm not certain of the correct fix because the package.xml file allows
each file to have a different baseinstalldir, whilst the FreeBSD
bsd.pear.mk infrastructure only appears to support a single directory
for each type of file.  In the PEAR::Auth case, the package.xml file
contains (simplified):
  <file baseinstalldir=3D"" name=3D"Auth/Controller.php" role=3D"php" />
  <file baseinstalldir=3D"Auth" name=3D"Container/Array.php" role=3D"php" />
to install the files as follows:
   Source path               Destination path
Auth/Controller.php       Auth/Controller.php
Container/Array.php       Auth/Container/Array.php

Can you suggest how to correct this?

--=20
Peter Jeremy

--k1lZvvs/B4yU6o8G
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFG6g0f/opHv/APuIcRAqguAJ0WGPFjmOqbmUSz6mEUTldl92NplQCgwGvq
DhfVyNNAczzfO6yKwupughQ=
=GQMe
-----END PGP SIGNATURE-----

--k1lZvvs/B4yU6o8G--



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