Opened 21 years ago

Closed 21 years ago

Last modified 5 months ago

#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)

apache-portfile-20030811.diff (3.0 KB) - added by bchesneau@… 21 years ago.
Patch Portfile in cvs
patch-config.layout (863 bytes) - added by bchesneau@… 21 years ago.
patch coonfig.layout
patch-apache.sh (606 bytes) - added by bchesneau@… 21 years ago.
patch apache.sh from cvs version
Portfile-apache-20030813.diff (5.0 KB) - added by bchesneau@… 21 years ago.
Patch Portfile in cvs
update-apachemodules.pl (6.8 KB) - added by bchesneau@… 21 years ago.
files/update-apachemodules.pl
Portfile-apache-20030814.diff (4.8 KB) - added by bchesneau@… 21 years ago.
patche apache.sh from cvs version
apache-portfile-20030818.diff (5.1 KB) - added by bchesneau@… 21 years ago.
New patch for portfile

Download all attachments as: .zip

Change History (21)

Changed 21 years ago by bchesneau@…

Patch Portfile in cvs

Changed 21 years ago by bchesneau@…

Attachment: patch-config.layout added

patch coonfig.layout

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 versionpatch apache.sh from cvs version

comment:2 Changed 21 years ago by fkr@…

Cc: fkr@… added

Changed 21 years ago by bchesneau@…

Patch Portfile in cvs

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: 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@…

patche apache.sh from cvs version

comment:7 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

Changed 21 years ago by bchesneau@…

New patch for portfile

comment:8 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

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: newclosed

patch commited, with minor modifications

comment:14 Changed 21 years ago by bchesneau@…

blocked: 774
Note: See TracTickets for help on using tickets.