There are some packages (e.g. horde, webcollab, sql-ledger, etc.) where it
would be useful to be able to install multiple instances under a single
OpenPKG instance.  The ones I've come across generally are web applications
that run under apache, and run under their own director(y|ies) with the
appropriate Apache configuration files.

One way to do this would be to have an option containing a list of
installation directories, and have the %install portion of the SPEC file
loop through these.  Another might have the installation directories
specified in a file on the system, and an option pointing to that file.
This file could be in the %{l_prefix}/etc/package directory, and specified
as %config(noreplace) (which would requir some pre-installation work before
installing the first time).

The Apache configuration could be simplified by adding a single include
spec (Include "%{l_prefix}/etc/apache/package/*.conf") with each instance
having its own file in the directory to eliminate the necessity of editing
a single configuration file.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Anyone who thinks Microsoft never does anything truly innovative isn't
paying attention to the part of the company that pushes the state of
its art: Microsoft's legal department.'' 
   --Ed Foster, InfoWorld Gripe Line columnist
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to