Hi all, Have been working on other things for the last 3 weeks (including JavaOne and illness).
Jyri made a valid point about Lighttpd being dependent on MySQL. What I propose is dropping the MySQL Virtual Host module from the main Lighttpd packaging (SUNWlighttpd14u) and putting it instead in a dedicated package named SUNWlighttpd-mysql. We can then drop the dependency on MySQL for the Lighttpd core packages and simply add it as a dependency for SUNWlighttpd-mysql. The problem that needs to be resolved is what to do with the module in the core package. The choices are simple: 1. Have no module in which case Lighttpd will not start if the MySQL vhost directives are added to the config file by a user 2. Have the "stub" module that Lighttpd always creates even if a build time dependency isn't satisfied, this will give the standard "unknown config-key" errors if the MySQL vhost directives are added to the config file by a user (but Lighttpd will run) 3. keep the correctly built MySQL module in the core package but use the SUNWlighttpd-mysql to enforce the MySQL dependency to be satisfied by installing it again, this is much the same as '2' but won't give any errors (it could also be considered a little counter-intuitive) There is another alternative, just drop the MySQL dependency, build Lighttpd with MySQL support and add a note to the config file to indicate that the user should install MySQL if they want to use MySQL for Virtual Host docroot mappings. This actually is very intuitive as I feel fairly certain that anyone looking to use MySQL for Virtual Host docroot mappings would realise that they need to have MySQL installed (and have to do a bunch of configuration such as creating the DB and tables, adding grants and adding mappings to the tables). I like this alternative option as it's simple, and clean. Option 1 has obvious problems, Options 2 and 3 both require that the module be editable in the package so that it can be replaced (and renamed). Let me know what you think, I'll go with the consensus. Cheers Amanda -- Amanda Waite ISV-Engineering OSS, Sun Microsystems Tel: +44 (0)1252 420693 Mobile: +44 (0)7802 175732