[php-maint] Finally packaging PEAR+deps

Mark A. Hershberger mah at everybody.org
Fri May 9 18:20:40 UTC 2008

sean finney <seanius at debian.org> writes:

> - properly patch pear to look in both places

Yay!  And have it install in to /usr/local by default.

> - provide a /usr/bin/pear-local for the local admin to use, and 
>   leave /usr/bin/pear unchanged

Ugh.  I don't think admins are likely to use pear-local because they
often won't RTFM.  (And I say this from experience, not because I don't
like admins.)

> - move the /usr-oriented pear out of /usr/bin, and have /usr/bin/pear act like 
>   pear-local in the previous example

Hrm… If patching the default behavior, as in the first option, isn't
possible, then this makes sense.

Actually, I just checked /usr/bin/pear on my system and found that it is
patched to behave differently depending on a couple of environment
variables (PHP_PEAR_INSTALL_DIR and PHP_PEAR_PHP_BIN).  Any reason not
to change the default installation to /usr/local and otherwise use
/usr/bin/pear as it currently stands?

GPG Fingerprint: 7E15 362D A32C DFAB E4D2  B37A 735E F10A 2DFC BFF5

Ideas create idols; only wonder leads to knowing.
    -- St. Gregory of Nyssa

More information about the pkg-php-maint mailing list