#583 closed enhancement (fixed)
RFE: apache2 port
Reported by: | jcorley1@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
Here are the various files needed for an apache2 port. It installs into /opt/local/apache2 to avoid clobbering an existing apache 1 installation. The issues that I think exist (others may find more) are: a) No mod_perl or mod_python. I really don't know these too well so I thought I'd submit the port and someone who does know them can add them. b) No php update. Again I don't really know it. c) No suexec. I could add this, but without mod_perl or mod_python I didn't see the point. In order to be able to create modules with this I symlinked /opt/local/apache2/build/libtool to /usr/bin/glibtool, which places a requirement on the Apple Developer Tools, but since DarwinPorts itself requires that I didn't think it was a problem. The patchfile makes the default install use the www user that exists on all systems (no way to pass that arg to configure as best as I could tell). The apache2.sh is only installed if you install the variant +activate_server, just like the apache 1 port. Jason
Attachments (5)
Change History (18)
Changed 21 years ago by jcorley1@…
Changed 21 years ago by jcorley1@…
Attachment: | patch-httpd-std.conf.in added |
---|
patch for httpd.conf to use www user instead of nobody
comment:1 Changed 21 years ago by jcorley1@…
blocked: | → 586 |
---|
comment:2 Changed 21 years ago by jcorley1@…
attachments.mimetype: | application/octet-stream → application/text |
---|
comment:3 Changed 21 years ago by jcorley1@…
attachments.mimetype: | application/text → text/text |
---|
comment:4 Changed 21 years ago by jcorley1@…
attachments.mimetype: | text/text → text/plain |
---|
comment:5 Changed 21 years ago by jcorley1@…
Add a dependency on DarwinPortsStartup to the activate_server variant
--- misc/darwinports/dports/www/apache2/Portfile.orig Sun Jun 1 19:49:41 2003 +++ misc/darwinports/dports/www/apache2/Portfile Sun May 25 17:34:43 2003 @@ -39,8 +39,6 @@
}
variant activate_server {
+ depends_run path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup +
post-patch { system "sed -e \"s=%%PREFIX%%=${prefix}/${name}=g\" \
${filespath}/${name}.sh > \ ${portpath}/${workdir}/${name}.sh"
comment:6 Changed 21 years ago by jcorley1@…
attachments.mimetype: | application/octet-stream → text/plain |
---|
comment:7 Changed 21 years ago by bchesneau@…
blocked: | → 603 |
---|
Changed 21 years ago by jcorley1@…
Attachment: | Portfile.2 added |
---|
Portfile upgrade to 2.0.46 to avoid DoS in 2.0.45
comment:8 Changed 21 years ago by jcorley1@…
attachments.isobsolete: | 0 → 1 |
---|
comment:9 Changed 21 years ago by jcorley1@…
attachments.description: | Upgrade to 2.0.46 to avoid DoS in 2.0.45 → Portfile upgrade to 2.0.46 to avoid DoS in 2.0.45 |
---|
comment:10 Changed 21 years ago by fkr@…
attachments.isobsolete: | 0 → 1 |
---|
comment:11 Changed 21 years ago by fkr@…
forgot to mention, if no one objects I'd like to go ahead the port as it is now.
-fkr
comment:12 Changed 21 years ago by fkr@…
...liked to go ahead an commit the port as it is now (that's what I *wanted* tp type :) -fkr
comment:13 Changed 21 years ago by fkr@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
committed. thanks for the submission! -fkr
Portfile