On Thu, Apr 3, 2008 at 1:22 PM, Isvaran Krishnamurthy <Isvaran.Krishnamurthy at sun.com> wrote: > Please find attached the draft ARC case text for including phpMyAdmin > 2.11.5.1 into SFW. > > Please send me your review comments/feedback.
See inline. > Including phpMyAdmin 2.11.5.1 with OpenSolaris > > 03 April 2008 > > 1. Summary > > This ARC case delivers phpMyAdmin 2.11.5.1 as a component in SFW stack. > > From the phpMyAdmin web site[1], "phpMyAdmin is a tool written in PHP > intended to handle the administration of MySQL over the Web." > > This ARC proposes the integration of the most recent stable release of > phpMyAdmin 2.11.x. > > This case seeks a Minor Release Binding. > > 2. Technical Details > > 2.1 Key objects > > 2.1.1 Files from the phpMyAdmin project > > /usr/share/phpmyadmin/* Which immediately gives us a problem. Like many other applications, phpMyAdmin expects its config files to be editable and to be mixed up with the rest of its files. Which fails for two reasons: - /usr might be read only (even in the global zone) - /usr may be shared between zones (and would be readonly in non-global zones in that case) Therefore: where do the config files go? > 2.1.2 File to configure apache with a new URL mapping for > /phpmyadmin > > /etc/apache2/2.2/conf.d/phpmyadmin.conf What is the mechanism for a user to enable phpmyadmin? > 2.2 Versioning > > At any point of time there will be only one phpMyAdmin release > available. The > current release is 2.11.5.1 (released on 29.Mar.2008) > > 3. phpMyAdmin Documentation > > 3.1 Documentation files > > /usr/share/phpmyadmin/Documentation.html > /usr/share/phpmyadmin/Documentation.txt > > Both the phpMyAdmin web site[1] and the phpMyAdmin wiki[2] also provide > detailed > and current documentation. How does the user discover this documentation? > 5. phpMyAdmin Interfaces > > 5.1 Imported Interfaces > > NAME STABILITY NOTES > > Apache PHP5 module Uncommitted PSARC > 2007/552 > PHP5 for MySQL Uncommitted PSARC > 2007/656 > MySQL Committed LSARC > 2007/608 What package dependencies do you require? Presumably php, apache, and php-mysql. As the mysql server might conceivably live on another system, it can't be a prerequisite. (And I believe it's mysql 5 or later that's a prerequisite.) > 5.2 Exported Interfaces > > NAME STABILITY NOTES > > http://hostname:portnumber/phpmyadmin/ Uncommitted URL for > launching phpMyAdmin > > /usr/share/phpmyadmin/config Uncommitted Location for > configuration files created by phpMyAdmin > /usr/share/phpmyadmin/config.sample.inc.php Uncommitted A sample > phpMyAdmin configuration file See comments above as to why these can't be delivered into /usr. -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/