Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15650 - Updated ebuild for mod_php 4.3.0 w/ Java Extensions support
Summary: Updated ebuild for mod_php 4.3.0 w/ Java Extensions support
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: PHP Bugs
Depends on: 23579
  Show dependency tree
Reported: 2003-02-13 14:52 UTC by Stuart Herbert (RETIRED)
Modified: 2003-06-29 20:39 UTC (History)
0 users

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

Updated mod_php 4.3.0 ebuild (mod_php-4.3.0-r2.ebuild,9.28 KB, text/plain)
2003-02-13 14:54 UTC, Stuart Herbert (RETIRED)
PHP eclass with Java support (php.eclass,15.09 KB, text/plain)
2003-06-27 10:29 UTC, Stuart Herbert (RETIRED)
mod_php ebuild updated for accompanying eclass (mod_php-4.3.2-r3.ebuild,3.25 KB, text/plain)
2003-06-27 10:42 UTC, Stuart Herbert (RETIRED)
Updated php CLI build with *working* Java support (grrr) (php-4.3.2-r1.ebuild,1.40 KB, text/plain)
2003-06-27 11:28 UTC, Stuart Herbert (RETIRED)

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Herbert (RETIRED) gentoo-dev 2003-02-13 14:52:57 UTC
Please find attached a new ebuild for mod_php 4.3.0. 
1) Fixes for Java Extension support (same code as for my PHP 4.3.0 ebuild) 
2) Moves config files for mod_php into /etc/conf.d/mod_php/ directory 
3) /etc/conf.d/mod_php/lib points to PHP extensions, and no longer to Apache extensions.  This 
is in common with PHP CLI ebuild 
I suggest updating my PHP 4.3.0 ebuild to move /etc/php4 into /etc/conf.d/php4 to be consistent. 

Reproducible: Always
Steps to Reproduce:
Comment 1 Stuart Herbert (RETIRED) gentoo-dev 2003-02-13 14:54:13 UTC
Created attachment 8245 [details]
Updated mod_php 4.3.0 ebuild
Comment 2 Tal Peer (RETIRED) gentoo-dev 2003-06-08 11:36:58 UTC
IIRC this was merged into older ebuilds and robbat2 is now working on java support in php.eclass.
Comment 3 Stuart Herbert (RETIRED) gentoo-dev 2003-06-27 10:29:53 UTC
Created attachment 13936 [details]
PHP eclass with Java support

Here's the changelist over the php.eclass v1.41:

1) php_check_java_config() updated to spot and reject attempts to build using
Kaffe JVM
2) 'java support may be flaky' message removed
3) obsolete (and commented out) java support removed
4) php.ini file now installs into $INIFILE_DIR (set $INIFILE_DIR inside the
ebuild that uses this eclass)
5) java settings in php.ini automatically setup if compiled with java support
6) java DSO & support scripts automatically copied into $EXT_DIR (set $EXT_DIR
inside the ebuild that uses this eclass)

Tested with no JVM installed, with Blackdown, and with Sun JDK.  Both JDK's
have a problem loading under PHP; see for details.

Comment 4 Stuart Herbert (RETIRED) gentoo-dev 2003-06-27 10:42:16 UTC
Created attachment 13937 [details]
mod_php ebuild updated for accompanying eclass

Changes against the ebuild in portage:

1) Installation of php.ini now handled by the eclass
2) Separate php.ini files for different apache builds
3) added notification on how to check Java support is working

See comment above about a bug preventing PHP<->Java from working for me today.

Best regards,
Comment 5 Stuart Herbert (RETIRED) gentoo-dev 2003-06-27 11:28:17 UTC
Created attachment 13938 [details]
Updated php CLI build with *working* Java support (grrr)

Changes since php-4.3.2.ebuild:

1) updated to use the accompanying php.eclass
2) outputs an information message if java support enabled

Best regards,
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-29 20:39:57 UTC
I've integrated this still into the eclass, and mod_php-4.3.2-r3, php-4.3.2-r1.
They will be released later tonight, please check them when they are released.