Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362413 - dev-php5/pecl-apc-3.1.7: reports wrong path for apc.php in postinstall information
Summary: dev-php5/pecl-apc-3.1.7: reports wrong path for apc.php in postinstall inform...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-07 08:51 UTC by Michael Gisbers
Modified: 2011-04-19 17:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Gisbers 2011-04-07 08:51:21 UTC
Ebuild reports wrong path for apc.php in postinstall information.

Path reported is '/usr/share/php/apc/apc/', should be '/usr/share/php/apc/'.

Reproducible: Always

Steps to Reproduce:
1. emerge dev-php5/pecl-apc
2. read postinstall information

Actual Results:  
>>> Installing (1 of 1) dev-php5/pecl-apc-3.1.7
 * Removing /usr/share/man
 * Removing /usr/share/info
 * Removing /usr/share/doc
 * The apc.php file shipped with this release of PECL-APC was
 * installed into /usr/share/php/apc/apc/.

 * Messages for package dev-php5/pecl-apc-3.1.7:

 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. If you seek a secure
 * production server profile, please check the Hardened project
 * (http://hardened.gentoo.org)
 * The apc.php file shipped with this release of PECL-APC was
 * installed into /usr/share/php/apc/apc/.

Expected Results:  
>>> Installing (1 of 1) dev-php5/pecl-apc-3.1.7
 * Removing /usr/share/man
 * Removing /usr/share/info
 * Removing /usr/share/doc
 * The apc.php file shipped with this release of PECL-APC was
 * installed into /usr/share/php/apc/.

 * Messages for package dev-php5/pecl-apc-3.1.7:

 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. If you seek a secure
 * production server profile, please check the Hardened project
 * (http://hardened.gentoo.org)
 * The apc.php file shipped with this release of PECL-APC was
 * installed into /usr/share/php/apc/.

small diff:

--- pecl-apc-3.1.7.ebuild.orig  2011-04-07 10:50:24.015165535 +0200
+++ pecl-apc-3.1.7.ebuild       2011-04-07 10:50:44.162256290 +0200
@@ -65,5 +65,5 @@
 
 pkg_postinst() {
        elog "The apc.php file shipped with this release of PECL-APC was"
-       elog "installed into ${PHP_EXT_SHARED_DIR}/apc/."
+       elog "installed into ${PHP_EXT_SHARED_DIR}/."
 }
Comment 1 Ole Markus With (RETIRED) gentoo-dev 2011-04-19 17:43:45 UTC
Thanks for this. Should be fixed in the tree.