Opened 21 years ago

Closed 20 years ago

Last modified 19 years ago

#770 closed defect (wontfix)

apache2 path layout

Reported by: bchesneau@… Owned by: jcorley1@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: fkr@…
Port:

Description

I put a little modification apache2 layout to put all conf files on $prefix/apache2/conf . I also create an Opendarwin layout. I do the same for apache 1. I think this is more easy to maintain apache modules and this the way used mainly by other mainteners.

The layout is :

prefix: /opt/local/apache2 exec_prefix: ${prefix} bindir: ${exec_prefix}/bin sbindir: ${exec_prefix}/bin libdir: ${exec_prefix}/lib libexecdir: ${exec_prefix}/modules mandir: ${prefix}/man sysconfdir: ${prefix}/conf datadir: ${prefix} installbuilddir: ${datadir}/build errordir: ${datadir}/error iconsdir: ${datadir}/icons htdocsdir: ${datadir}/htdocs manualdir: ${datadir}/manual cgidir: ${datadir}/cgi-bin includedir: ${prefix}/include localstatedir: ${prefix} runtimedir: ${localstatedir}/logs logfiledir: ${localstatedir}/logs proxycachedir: ${localstatedir}/proxy

find path of confog.layout and apache 2 portfile patch

Attachments (5)

apache2-portfile-patch (5.2 KB) - added by bchesneau@… 21 years ago.
patch cvs portfile
patch-config.layout (1.0 KB) - added by bchesneau@… 21 years ago.
patch-config.layout
Portfile-apache2-20030813.diff (5.9 KB) - added by bchesneau@… 21 years ago.
Patch Portfile in cvs
patch-config.2.layout (1019 bytes) - added by bchesneau@… 21 years ago.
files/patch-config.layout
update-apachemodules.pl (6.8 KB) - added by bchesneau@… 21 years ago.
files/update-apachemodules.pl

Download all attachments as: .zip

Change History (17)

Changed 21 years ago by bchesneau@…

Attachment: apache2-portfile-patch added

patch cvs portfile

Changed 21 years ago by bchesneau@…

Attachment: patch-config.layout added

patch-config.layout

comment:1 Changed 21 years ago by fkr@…

Cc: fkr@… added

Changed 21 years ago by bchesneau@…

Patch Portfile in cvs

comment:2 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

Changed 21 years ago by bchesneau@…

Attachment: patch-config.2.layout added

files/patch-config.layout

comment:3 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

Changed 21 years ago by bchesneau@…

Attachment: update-apachemodules.pl added

files/update-apachemodules.pl

comment:4 Changed 21 years ago by bchesneau@…

blocked: 774

comment:5 Changed 21 years ago by bchesneau@…

blocked: 774775

err.

comment:6 Changed 21 years ago by bchesneau@…

blocked: 775

comment:7 Changed 21 years ago by fkr@…

what is the status on this? -fkr

comment:8 Changed 21 years ago by bchesneau@…

No news from jasonc or michaelm, yet. I think that apache or apache2 should be installed in ${prefix} and not in ${prefix}/${name} for apache2 and ${prefix}/${name}-${version} for apache . This the way choosen by freebsd or other packagers. Like with mysql, I don't see the need to have both apache installed. And since darwinports don't manage installation of the same package with differents variants, we could not install a module with darwinports for apache and apache2 (for example php4 cant' be installed for apache and apache2...). For instance, I updated php4 to install with apache or apache2 currently in cvs.

But I think that installation layout should be discuted here, it would be usefull in the future to add more apache modules in darwinports.

About update-modules,sh, I think now that a better way could be a config target in darwinports to manage configuration process after installation. Would mail darwinports ml today to ask to others.

comment:9 Changed 21 years ago by fkr@…

jason, could you comment on this, please -fkr

comment:10 Changed 21 years ago by jcorley1@…

I don't like this setup. First, the apachemodules.pl is redundant given the functionality provided by apxs. Secondly, the patch would make apache 1.x and apache 2.x conflicting, which I feel is a bad thing. They should be able to coexist, imho. So the way to go about this is a) do nothing or b) rename all apache 2.x binaries and directories named foo as foo2. I'm open to other suggestions, but right now I think a) is the way I'm leaning, unless someone can present something to me that doesn't make b) absolutely hideous. So in summary, I'm rejecting this because it doesn't play nice with apache. Jason

comment:11 Changed 21 years ago by bchesneau@…

Mmm, about apachemodule you're right, it was just a try to have an easy installation of modules with their configuration files that could be included in apache. But about apache2, why having apache and apache2 installed on the same machine ? Modules can't be installed with both like php4. And dport don't manage installation of the same dport with different variant. If you want apache2 that work with apache why not create an apache variant to have apache layout (install in ${prefix}/apache2) like the apache dport ? Btw FreeBSD layout don't exist in apache2 you should add it to config.layout file If you want it.

comment:12 Changed 20 years ago by jcorley1@…

Resolution: wontfix
Status: newclosed

FreeBSD layout was added in the latest version of apache2. Since I think people want apache and apache2 on the same machine I'm resolving this bug.

Note: See TracTickets for help on using tickets.