[79834] trunk/dports/www/mod_fcgid

pixilla at macports.org pixilla at macports.org
Mon Jun 27 15:22:15 PDT 2011


Revision: 79834
          http://trac.macports.org/changeset/79834
Author:   pixilla at macports.org
Date:     2011-06-27 15:22:14 -0700 (Mon, 27 Jun 2011)
Log Message:
-----------
www/mod_fcgid: Upgrade 2.3.5. Take maintainership. Closes #26396

Modified Paths:
--------------
    trunk/dports/www/mod_fcgid/Portfile
    trunk/dports/www/mod_fcgid/files/patch-fcgid_conf.c

Modified: trunk/dports/www/mod_fcgid/Portfile
===================================================================
--- trunk/dports/www/mod_fcgid/Portfile	2011-06-27 22:06:19 UTC (rev 79833)
+++ trunk/dports/www/mod_fcgid/Portfile	2011-06-27 22:22:14 UTC (rev 79834)
@@ -1,41 +1,38 @@
 # $Id$
 
-PortSystem 1.0
+PortSystem          1.0
 
 name                mod_fcgid
-version             2.2
+version             2.3.5
 
 categories          www
 platforms           darwin
-maintainers         nomaintainer
+maintainers         pixilla
 
 description         An alternative FastCGI module for Apache2
 long_description    ${description}
 
 homepage            http://httpd.apache.org/mod_fcgid/
-master_sites        sourceforge:mod-fcgid
+master_sites        apache:httpd/${name}
 
-distname            ${name}.${version}
-checksums           md5     ce7d7b16e69643dbd549d43d85025983 \
-                    sha1    dc817a20ad6528480a441e4b7ad6920ec11c55e0 \
-                    rmd160  9c45c2b25fcf0f4069cee4fb8917493f0a13b338
+use_bzip2           yes
+checksums           sha1    11034ad8231a6ea1e3c9385b9017e0f8dd7faff0 \
+                    rmd160  35f153326cd3688fd66f4654a8d72a96cfb5709f
+
 patchfiles          patch-fcgid_conf.c
 
 depends_lib         port:apache2
 
-use_configure       no
+configure.env       APXS=${prefix}/apache2/bin/apxs
+configure.cmd       ./configure.apxs
+configure.pre_args  
 
-post-patch {
-   reinplace "s|/usr/local/apache2|${prefix}/apache2|g" \
-      ${worksrcpath}/Makefile
-}
-
 destroot.violate_mtree   yes
 post-destroot {
-   xinstall -m 755 -d ${destroot}${prefix}/apache2/modules \
+   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+   xinstall -m 644 -W ${worksrcpath} \
+      CHANGES-FCGID LICENSE-FCGID NOTICE-FCGID README-FCGID STATUS-FCGID \
       ${destroot}${prefix}/share/doc/${name}
-   xinstall -m 644 -W ${worksrcpath} AUTHOR COPYING ChangeLog INSTALL.txt \
-      ${destroot}${prefix}/share/doc/${name}
 }
 
 notes "
@@ -46,4 +43,7 @@
 
 For further configuration information please visit
    http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html
+
+When upgrading from version 2.2, please see the above URL
+   about deprecated config options!
 =========="

Modified: trunk/dports/www/mod_fcgid/files/patch-fcgid_conf.c
===================================================================
--- trunk/dports/www/mod_fcgid/files/patch-fcgid_conf.c	2011-06-27 22:06:19 UTC (rev 79833)
+++ trunk/dports/www/mod_fcgid/files/patch-fcgid_conf.c	2011-06-27 22:22:14 UTC (rev 79834)
@@ -1,11 +1,13 @@
---- fcgid_conf.c.org	2007-02-15 18:34:41.000000000 -0800
-+++ fcgid_conf.c	2007-05-15 09:40:35.000000000 -0700
-@@ -16,7 +16,7 @@
- #define DEFAULT_ERROR_SCAN_INTERVAL 3
- #define DEFAULT_ZOMBIE_SCAN_INTERVAL 3
- #define DEFAULT_PROC_LIFETIME (60*60)
--#define DEFAULT_SOCKET_PREFIX "logs/fcgidsock"
-+#define DEFAULT_SOCKET_PREFIX "/var/run/fcgidsock"
- #define DEFAULT_SHM_PATH "logs/fcgid_shm"
- #define DEFAULT_SPAWNSOCRE_UPLIMIT 10
- #define DEFAULT_SPAWN_SCORE 1
+--- modules/fcgid/fcgid_conf.c.orig	2011-06-24 15:15:55.000000000 -0700
++++ modules/fcgid/fcgid_conf.c	2011-06-24 15:41:58.000000000 -0700
+@@ -28,9 +28,7 @@
+ #include "fcgid_global.h"
+ #include "fcgid_conf.h"
+ 
+-#ifndef DEFAULT_REL_RUNTIMEDIR /* Win32, etc. */
+-#define DEFAULT_REL_RUNTIMEDIR "logs"
+-#endif
++#define DEFAULT_REL_RUNTIMEDIR "var/run"
+ 
+ #define DEFAULT_IDLE_TIMEOUT 300
+ #define DEFAULT_IDLE_SCAN_INTERVAL 120
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110627/0c5bfa0f/attachment.html>


More information about the macports-changes mailing list