ports/130995: Add php-fpm to lang/php5
Till Klampaeckel
till at php.net
Mon Jan 26 00:00:03 UTC 2009
>Number: 130995
>Category: ports
>Synopsis: Add php-fpm to lang/php5
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 26 00:00:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Till Klampaeckel
>Release: 6.3, 7.x
>Organization:
n/a
>Environment:
>Description:
For an idea of what php-fpm provides, please follow this link:
http://translate.google.com/translate?prev=hp&hl=en&u=http%3A%2F%2Fphp-fpm.anight.org%2Fcurrent_php_fastcgi_problems.html&sl=ru&tl=en
Or, if you speak Russian:
http://php-fpm.anight.org/current_php_fastcgi_problems.html
So anyway, I'd like lang/php5 to offer php-fpm support, unfortunately, I haven't been very successful with a patch (beyond Makefile and distinfo). I can get the port to download the patches, but it fails applying them.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
--- Makefile 2009-01-25 18:49:29.000000000 -0500
+++ Makefile.orig 2009-01-25 18:44:10.000000000 -0500
@@ -48,8 +48,7 @@ OPTIONS= CLI "Build CLI version" on \
REDIRECT "Enable force-cgi-redirect support (CGI only)" off \
DISCARD "Enable discard-path support (CGI only)" off \
FASTCGI "Enable fastcgi support (CGI only)" on \
- PATHINFO "Enable path-info-check support (CGI only)" on \
- PHPFPM "Enable php-fpm patch (experimental, CGI only)" off
+ PATHINFO "Enable path-info-check support (CGI only)" on
CONFLICTS= php4-4*
@@ -97,10 +96,6 @@ CONFIGURE_ARGS+=--enable-fastcgi
.if defined(WITHOUT_PATHINFO)
CONFIGURE_ARGS+=--disable-path-info-check
.endif
-.if defined(WITH_PHPFPM)
-PATCHFILES+= php-${PORTVERSION}-fpm-0.5.10.diff.gz:phpfpm
-PATCH_SITES+= http://php-fpm.anight.org/downloads/head/:phpfpm
-.endif
.else
PLIST_SUB+= CGI="@comment "
CONFIGURE_ARGS+=--disable-cgi
web03# diff -up Makefile.orig Makefile
--- Makefile.orig 2009-01-25 18:44:10.000000000 -0500
+++ Makefile 2009-01-25 18:49:29.000000000 -0500
@@ -48,7 +48,8 @@ OPTIONS= CLI "Build CLI version" on \
REDIRECT "Enable force-cgi-redirect support (CGI only)" off \
DISCARD "Enable discard-path support (CGI only)" off \
FASTCGI "Enable fastcgi support (CGI only)" on \
- PATHINFO "Enable path-info-check support (CGI only)" on
+ PATHINFO "Enable path-info-check support (CGI only)" on \
+ PHPFPM "Enable php-fpm patch (experimental, CGI only)" off
CONFLICTS= php4-4*
@@ -96,6 +97,10 @@ CONFIGURE_ARGS+=--enable-fastcgi
.if defined(WITHOUT_PATHINFO)
CONFIGURE_ARGS+=--disable-path-info-check
.endif
+.if defined(WITH_PHPFPM)
+PATCHFILES+= php-${PORTVERSION}-fpm-0.5.10.diff.gz:phpfpm
+PATCH_SITES+= http://php-fpm.anight.org/downloads/head/:phpfpm
+.endif
.else
PLIST_SUB+= CGI="@comment "
CONFIGURE_ARGS+=--disable-cgi
--- distinfo.orig 2009-01-25 18:51:09.000000000 -0500
+++ distinfo 2009-01-25 18:52:55.000000000 -0500
@@ -7,3 +7,6 @@ SIZE (suhosin-patch-5.2.7-0.9.6.3.patch.
MD5 (php-5.2.8-mail-header.patch) = 74bf3a2a123c284f908c4f5483ebe886
SHA256 (php-5.2.8-mail-header.patch) = 9bd306145153a371f619d89996cb329bdc36791b22a50daf4afe7cc69c46dccb
SIZE (php-5.2.8-mail-header.patch) = 3381
+MD5 (php-5.2.8-fpm-0.5.10.diff.gz) = 7104c76e2891612af636104e0f6d60d4
+SHA256 (php-5.2.8-fpm-0.5.10.diff.gz) = 682fb8b9b45e0c0c3f0c5fbf1065215baddbd4a73b3eb6e2468a68062ee16491
+SIZE (php-5.2.8-fpm-0.5.10.diff.gz) = 204248
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list