1 |
On Wed, 2003-07-23 at 15:17, Max Kalika wrote: |
2 |
> I've ported over most of |
3 |
> the Horde apps to use this eclass in my local tree as an exercise and let |
4 |
> me tell you, installing (and upgrading) Horde is actually pleasant now. |
5 |
|
6 |
Oh, yeah, I can see that. The app I have in mind is dotProject (also a |
7 |
PHP web app) |
8 |
|
9 |
Web Application installations ARE a bit more complex than just `make |
10 |
install` the program: |
11 |
|
12 |
a) installing PHP app (ok, this is relatively straight forward - you |
13 |
just unpack tarball somewhere and ta-da, but one *does* need to know |
14 |
where to put it) |
15 |
|
16 |
b) ensure you've got all the dependencies. (Yuk). |
17 |
|
18 |
c) configure application [not so optional, but in Gentoo you are |
19 |
expected to do this on your own; also applies to:] |
20 |
|
21 |
d) install DB tables [optional, depends on which DB you're running, etc, |
22 |
etc... could guess from USE flags, but who wants an app just madly |
23 |
crashing around creating tables, especially when config may not be in |
24 |
place and when, if an upgrade, tables all ready exist] |
25 |
|
26 |
"Where to put it" does have slightly broader implications. Under the |
27 |
machine's default DocumentRoot seems a good idea, but there are many |
28 |
instances where one wants to make a separate virtual host for the |
29 |
installation, or, or.... |
30 |
|
31 |
Is there a way that that can be automated too? I suspect not, without |
32 |
going to something like linux-control-center or debconf or some similar |
33 |
craziness] |
34 |
|
35 |
Certainly as a first approximation, "sub directory of machine default |
36 |
DocRoot" seems a not bad place to start, but I'm curious what others |
37 |
think we should practice as I can think of numerous objections to this. |
38 |
|
39 |
AfC |
40 |
|
41 |
-- |
42 |
Andrew Frederick Cowie |
43 |
Operational Dynamics Consulting Pty Ltd |
44 |
|
45 |
Australia +61 2 9977 6866 North America +1 646 270 5376 |
46 |
|
47 |
http://www.operationaldynamics.com/ |
48 |
|
49 |
-- |
50 |
gentoo-dev@g.o mailing list |