Opened 14 years ago
Last modified 13 years ago
#26396 closed update
mod_fcgid update — at Initial Version
Reported by: | ro@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | ||
Port: | mod_fcgid |
Description
The version of mod_fcgid (2.2) is pretty old by now. Which is too bad, because 2.3.5 fixes some OS X bugs. (I only looked at it because my apache kept giving HTTP 500 errors, with "Resource temporarily unavailable: mod_fcgid: write data to fastcgi server error".)
Maybe that went unnoticed because the repository changed... (It's not sourceforge anymore.) It also has a somewhat new build process; I guess it's standard Apache's now.
I'm a new MacOS & MacPorts user, so I just trial-and-errored my way though things and came halfway creating an updated Portfile. I got through the fetch / checksum / extract / patch parts, but got tired at 'configure'. (I don't know how to run a nonstandard command.)
So after the 'patch' phase, I just ran the following by hand (from the build dir):
APXS=/opt/local/apache2/bin/apxs ./configure.apxs
make
rm /opt/local/apache2/modules/mod_fcgid.so
cp modules/fcgid/.libs/mod_fcgid.so /opt/local/apache2/modules/mod_fcgid.so
...and after a restart, my apache stopped crashing. So I'm happy for now :)
Maybe someone wants to use my updates to build a working Portfile?
I'll try to attach:
- half-functional Portfile
- diff to the existing Portfile (so you can see what I did so far)
- an updated patch-fcgid_conf.c (copy it over the existing one)
Change History (3)
Changed 14 years ago by ro@…
Changed 14 years ago by ro@…
Attachment: | patch-fcgid_conf.c added |
---|
New patch, replaces existing file
new (unfinished) Portfile