On Tue, 2006-03-21 at 10:05 -0500, John Dennis wrote:
> The answer is installation is divided into two parts. The first part is
> the use the standard GNU autotools which produce a "configure" script.
> BTW, almost done with the work ...

O.K. I've completed the autoconf support. The rpm needs a little bit
more work, but I've been distracted by other work commitments and I'll
be out of town for a week so I wanted to contribute this work before too
much time went by or there were too many changes from the 0.1-beta
release which formed the base I worked from. I went to SourceForge
project page and looked for a "Patches" page, but there wasn't one so I
created bug 1460202 and added a patch and tar file there along with
comments.

Of note there is new shell script SQL/roundcube_mysql which will perform
initial setup of the MySQL database, validate the MySQL installation,
and allow one to set the roundcube MySQL password.

Documentation can be found in the file autoconf_howto located in the
root directory. It explains what developers will need to know as they
work with the source tree and what end users need to know to perform an
installation.

At the moment the configure script supports these installation options:

  --with-pkgdir=DIR       primary installation directory
  --with-docdir=DIR       installation directory for documentation & examples

I fully expect the configure script will need more tweaking and
features, this is just a start. It should for instance allow for the
selection of the desired SQL database. I also expect as others use the
new support they will discover some problems I didn't hit and I'll be
happy to correct them.

Also of note is the fact the main.inc.php.dist and db.inc.php.dist files
in configure now have some of there parameters initialized via the
results of "configure". There are more opportunities here for updating
these files with parameters from "configure" so post installation is
less demanding.

After I return and as time permits I will complete the RPM. I currently
have a spec file written and it builds the RPM using the autoconf
support I created. But I have not had a chance to test it yet. I also
need to complete an /etc/httpd/conf.d/roundcube.conf file so roundcube
will work with Apache out of the box after RPM installation. FWIW, the
approach taken is for roundcube to install into its own directory
outside the document root (but inside the tree owned by Apache, this is
needed for proper SELinux file labeling) and then to use mod_rewrite to
point the URL's to the installation directory. This has the nice
property of keeping things out of the document root and nicely
partitioned, and allows for the site to select its preferred URL to get
to roundcube (another item to be added to configure).

-- 
John Dennis <[EMAIL PROTECTED]>
Red Hat Inc.



Reply via email to