#767 closed defect (fixed)
Apache 1 && installation path + minor fix
Reported by: | bchesneau@… | Owned by: | michaelm@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | fkr@…, bchesneau@…, jcorley1@… | |
Port: |
Description
In my opinion the path of apache 1 should be $prefix/apache for apache 1 and $prefix/apache2 for apache2. This is more easier to maintain and this the way choosen by lot of mainteners. More overe by doing this yhis more easier to add modules that depends on apache version. I also found a better way to do this by patching config.layout and add new Opendarwin layout. This layout is :
prefix: PREFIX/apache exec_prefix: $prefix bindir: $exec_prefix/bin sbindir: $exec_prefix/bin libexecdir: $exec_prefix/libexec mandir: $prefix/man sysconfdir: $prefix/conf datadir: $prefix iconsdir: $datadir/icons htdocsdir: $datadir/htdocs manualdir: $htdocsdir/manual cgidir: $datadir/cgi-bin includedir: $prefix/include localstatedir: $prefix runtimedir: $localstatedir/run logfiledir: $localstatedir/logs proxycachedir: $localstatedir/proxy
Find enclosed the patch of Portfile cvs version and the patch needed to create new Opendarwin layout. Hope this could help. You can also irc me (benoitc) or email me. I think that the same way should be used for apache 2.
Attachments (7)
Change History (21)
Changed 21 years ago by bchesneau@…
Attachment: | apache-portfile-20030811.diff added |
---|
Changed 21 years ago by bchesneau@…
Attachment: | patch-apache.sh added |
---|
patch apache.sh from cvs version
comment:1 Changed 21 years ago by bchesneau@…
attachments.description: | patche apache.sh from cvs version → patch apache.sh from cvs version |
---|
comment:2 Changed 21 years ago by fkr@…
Cc: | fkr@… added |
---|
Changed 21 years ago by bchesneau@…
Attachment: | Portfile-apache-20030813.diff added |
---|
Patch Portfile in cvs
comment:3 Changed 21 years ago by bchesneau@…
attachments.isobsolete: | 0 → 1 |
---|
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: | → 775 |
---|
comment:6 Changed 21 years ago by bchesneau@…
mod_pel is now installed with its' own dport bug #774. I will create soon an mod_perl2 to install mod_perl for apache2. This model is close to freebsd model.
Changed 21 years ago by bchesneau@…
Attachment: | Portfile-apache-20030814.diff added |
---|
patche apache.sh from cvs version
comment:7 Changed 21 years ago by bchesneau@…
attachments.isobsolete: | 0 → 1 |
---|
Changed 21 years ago by bchesneau@…
Attachment: | apache-portfile-20030818.diff added |
---|
New patch for portfile
comment:8 Changed 21 years ago by bchesneau@…
attachments.isobsolete: | 0 → 1 |
---|
comment:9 Changed 21 years ago by bchesneau@…
blocked: | → 803 |
---|
comment:10 Changed 21 years ago by bchesneau@…
Just a comment about this patch.
I post this one to allow installation of apache in ${prefix}/apache (remove version, install conf file in ${prefix}/apache/conf against ${prefix}/apache/etc/apache actually...) with apache_layout variant or in ${prefix} with darwin and freebsd variant (freeBSD layout) . I 've alos updated php4 portfile (bug #775) and create mod_hfs_apple (bug #803) to use this layout. Installation in ${prefix} is the default behavior since majority of people install one apache at a time. But if someone want to install both apache it's possible with apache_layout variant.
This is just a suggestion, tell me what you think about it and I will update php4 and mod_hfs_apple dports. But Ipropose this layout to improve installation of apache modules that use apxs with autodetection of apache.
comment:11 Changed 21 years ago by bchesneau@…
blocked: | 775 |
---|
comment:12 Changed 21 years ago by bchesneau@…
blocked: | 803 |
---|
comment:13 Changed 21 years ago by michaelm@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
patch commited, with minor modifications
comment:14 Changed 21 years ago by bchesneau@…
blocked: | 774 |
---|
Patch Portfile in cvs