Hello,

Its been a while since I looked at openca last, and I was looking at
updating my Debian package.

However, I notice that OpenCA still has the braindead assumption
that configure will be called once for every installation.

Under Debian this assumption is totally braindead, because the
same package will be used on all systems. It is not possible for
individual users to rerun configure, because that step has already been
done by the package maintainer.

Using configure is OK to configure stuff like Unix UIDs, directories,
etc. It is NOT OK to setup things like web host name, organisation name,
country, hierarchy-level, etc.

A possible solution, the *.in files need to be distributed with the
package (eg. in /usr/share/openca), and a script needs to be written
that will only configuration *after* everything else is installed (eg.
process the files in /usr/share/openca, process with sed, and produce
the files under /etc/openca). Obviously configuration would only be
for the first time, subsequent times would overwrite the initial
configuration (please correct me if this isn't already a problem
anyway).

Even better, if this script created a configuration file that could
be used on all systems used by one organisation.

Previously I have done something for my Debian package, but it would be
much better[1] if a solution could be maintained by you OpenCA people.

Comments?

Notes:
[1] My current Debian solution is very messy, because it has to search
for all these automatically generated configuration files and delete
them, manually replacing them with the *.in files instead.

It also makes it a pain to keep uptodate when the directory layout changes.
-- 
Brian May <[EMAIL PROTECTED]>


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
OpenCA-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to