Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55445 - php/mod_php should USE oracle and configure --with-oracle
Summary: php/mod_php should USE oracle and configure --with-oracle
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: PHP Bugs
URL: http://www.php.net/oracle
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-28 10:26 UTC by Don Seiler (RETIRED)
Modified: 2004-08-07 12:30 UTC (History)
0 users

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


Attachments
php-sapi.eclass diff (php-sapi_oracle.diff,1.43 KB, patch)
2004-06-28 11:00 UTC, Don Seiler (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Don Seiler (RETIRED) gentoo-dev 2004-06-28 10:26:59 UTC
Just filing my thoughts that php and mod_php (basically the php-sapi.eclass) should configure --with-oracle, which is different than --with-oci8 and provides a different set of functions.  See http://www.php.net/oracle for details.

I've recently proposed adding 'oracle' as a global USE flag, and would suggest that php-sapi.eclass make use of said flag for --with-oracle, keeping use of 'oci8' for --with-oci8.

Just my $0.02.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-06-28 10:31:05 UTC
rizzo: send in a patch and it's all yours ;-).
Comment 2 Don Seiler (RETIRED) gentoo-dev 2004-06-28 10:43:06 UTC
Alright I'm testing the changed eclass file and will send in cvs diff when I have it.
Comment 3 Don Seiler (RETIRED) gentoo-dev 2004-06-28 11:00:57 UTC
Created attachment 34341 [details, diff]
php-sapi.eclass diff

Here be the patch.  Worked fine for dev-php/php and `php -i` reports what I'd
expect for it's configuration.
Comment 4 Stuart Herbert (RETIRED) gentoo-dev 2004-06-28 11:02:28 UTC
Hrm ... --with-oracle enables oracle7 support, according to the PHP docs.  There's already an oracle7 global USE flag.  Please make sure the patch uses that USE flag.

Best regards,
Stu
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-07 12:30:22 UTC
functionality present for our PHP5 release (coming very soon).