aboutsummaryrefslogtreecommitdiff
path: root/lang/php53/files
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2012-02-08 14:53:55 +0000
committerAlex Dupre <ale@FreeBSD.org>2012-02-08 14:53:55 +0000
commit1c08b00624732c0270a7d0657b9686d11c88a55a (patch)
treed9eabd199d8f8208fd17722fc89b887b2713f93e /lang/php53/files
parente29ff365246bf1e509aa88e3965ebea6d31f2656 (diff)
When FPM is selected, install status.html into ${PREFIX}/share/php/fpm/.
Submitted by: Michael Vorobyov <vmb@ric168.ru>
Notes
Notes: svn path=/head/; revision=290720
Diffstat (limited to 'lang/php53/files')
-rw-r--r--lang/php53/files/patch-sapi_fpm_Makefile.frag31
-rw-r--r--lang/php53/files/patch-sapi_fpm_php-fpm.conf.in11
2 files changed, 23 insertions, 19 deletions
diff --git a/lang/php53/files/patch-sapi_fpm_Makefile.frag b/lang/php53/files/patch-sapi_fpm_Makefile.frag
index 205537ef04e2..177f4d2c151b 100644
--- a/lang/php53/files/patch-sapi_fpm_Makefile.frag
+++ b/lang/php53/files/patch-sapi_fpm_Makefile.frag
@@ -1,19 +1,12 @@
---- sapi/fpm/Makefile.frag.orig 2010-07-27 15:57:32.000000000 +0200
-+++ sapi/fpm/Makefile.frag 2010-07-27 15:57:06.000000000 +0200
-@@ -3,14 +3,14 @@
- $(builddir)/fpm:
- @mkdir -p $(builddir)/fpm
-
--$(SAPI_FPM_PATH): $(builddir)/fpm $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS) $(SAPI_EXTRA_DEPS)
-+$(SAPI_FPM_PATH): $(builddir)/fpm $(PHP_GLOBAL_OBJS) $(PHP_FPM_OBJS) $(FPM_EXTRA_DEPS)
- $(BUILD_FPM)
-
- $(builddir)/fpm/fpm_conf.lo: $(builddir)/../../main/build-defs.h
-
- install-build: install-fpm
-
--install-fpm: install-sapi
-+install-fpm:
- @echo "Installing PHP FPM binary: $(INSTALL_ROOT)$(sbindir)/"
- @$(mkinstalldirs) $(INSTALL_ROOT)$(sbindir)
- @$(mkinstalldirs) $(INSTALL_ROOT)$(localstatedir)/log
+--- sapi/fpm/Makefile.frag.orig 2012-02-08 15:48:16.000000000 +0100
++++ sapi/fpm/Makefile.frag 2012-02-08 15:48:44.000000000 +0100
+@@ -27,6 +27,6 @@
+ @$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man8
+ @$(INSTALL_DATA) sapi/fpm/php-fpm.8 $(INSTALL_ROOT)$(mandir)/man8/php-fpm$(program_suffix).8
+
+- @echo "Installing PHP FPM status page: $(INSTALL_ROOT)$(datadir)/fpm/"
+- @$(mkinstalldirs) $(INSTALL_ROOT)$(datadir)/fpm
+- @$(INSTALL_DATA) sapi/fpm/status.html $(INSTALL_ROOT)$(datadir)/fpm/status.html
++ @echo "Installing PHP FPM status page: $(INSTALL_ROOT)$(datadir)/php/fpm/"
++ @$(mkinstalldirs) $(INSTALL_ROOT)$(datadir)/php/fpm
++ @$(INSTALL_DATA) sapi/fpm/status.html $(INSTALL_ROOT)$(datadir)/php/fpm/status.html
diff --git a/lang/php53/files/patch-sapi_fpm_php-fpm.conf.in b/lang/php53/files/patch-sapi_fpm_php-fpm.conf.in
new file mode 100644
index 000000000000..315f2470a773
--- /dev/null
+++ b/lang/php53/files/patch-sapi_fpm_php-fpm.conf.in
@@ -0,0 +1,11 @@
+--- sapi/fpm/php-fpm.conf.in.orig 2012-02-08 15:50:42.000000000 +0100
++++ sapi/fpm/php-fpm.conf.in 2012-02-08 15:50:54.000000000 +0100
+@@ -317,7 +317,7 @@
+ ; last request memory: 0
+ ;
+ ; Note: There is a real-time FPM status monitoring sample web page available
+-; It's available in: @EXPANDED_DATADIR@/fpm/status.html
++; It's available in: @EXPANDED_DATADIR@/php/fpm/status.html
+ ;
+ ; Note: The value must start with a leading slash (/). The value can be
+ ; anything, but it may not be a good idea to use the .php extension or it