Opened 14 years ago

Closed 13 years ago

#26396 closed update (fixed)

mod_fcgid update

Reported by: ro@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: mod_fcgid

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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)

Attachments (3)

Portfile (1.5 KB) - added by ro@… 14 years ago.
new (unfinished) Portfile
Portfile.diff (1.4 KB) - added by ro@… 14 years ago.
Diff to existing Portfile for v2.2
patch-fcgid_conf.c (358 bytes) - added by ro@… 14 years ago.
New patch, replaces existing file

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by ro@…

Attachment: Portfile added

new (unfinished) Portfile

Changed 14 years ago by ro@…

Attachment: Portfile.diff added

Diff to existing Portfile for v2.2

Changed 14 years ago by ro@…

Attachment: patch-fcgid_conf.c added

New patch, replaces existing file

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Maybe that went unnoticed because the repository changed...

It went unnoticed because nobody was looking; mod_fcgid has no maintainer in MacPorts at this time.

comment:2 Changed 13 years ago by pixilla (Bradley Giesbrecht)

Resolution: fixed
Status: newclosed

Fixed r79834

Note: See TracTickets for help on using tickets.