SOURCES: php-fpm-initdir.patch (NEW) - install control script to init.d dir

glen glen at pld-linux.org
Sun Nov 16 16:50:14 CET 2008


Author: glen                         Date: Sun Nov 16 15:50:14 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- install control script to init.d dir

---- Files affected:
SOURCES:
   php-fpm-initdir.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/php-fpm-initdir.patch
diff -u /dev/null SOURCES/php-fpm-initdir.patch:1.1
--- /dev/null	Sun Nov 16 16:50:14 2008
+++ SOURCES/php-fpm-initdir.patch	Sun Nov 16 16:50:08 2008
@@ -0,0 +1,25 @@
+--- php-5.2.6/sapi/cgi/fpm/Makefile.frag~	2008-11-16 17:28:21.000000000 +0200
++++ php-5.2.6/sapi/cgi/fpm/Makefile.frag	2008-11-16 17:45:31.953423690 +0200
+@@ -1,8 +1,10 @@
+ 
++php_fpm_init_dir = /etc/rc.d/init.d
++
+ install-fpm: sapi/cgi/fpm/php-fpm.conf sapi/cgi/fpm/php-fpm
+ 	@echo "Installing FPM config:            $(INSTALL_ROOT)$(php_fpm_conf_path)"
+ 	-@$(mkinstalldirs) \
+-		$(INSTALL_ROOT)$(prefix)/sbin \
++		$(INSTALL_ROOT)$(php_fpm_init_dir) \
+ 		`dirname "$(INSTALL_ROOT)$(php_fpm_conf_path)"` \
+ 		`dirname "$(INSTALL_ROOT)$(php_fpm_log_path)"` \
+ 		`dirname "$(INSTALL_ROOT)$(php_fpm_pid_path)"`
+@@ -13,8 +15,8 @@
+ 		dest=`basename "$(php_fpm_conf_path)"` ; \
+ 	fi ; \
+ 	$(INSTALL_DATA) $(top_builddir)/sapi/cgi/fpm/php-fpm.conf $(INSTALL_ROOT)`dirname "$(php_fpm_conf_path)"`/$$dest
+-	@echo "Installing init.d script:         $(INSTALL_ROOT)$(prefix)/sbin/php-fpm"
+-	-@$(INSTALL) -m 0755 $(top_builddir)/sapi/cgi/fpm/php-fpm $(INSTALL_ROOT)$(prefix)/sbin/php-fpm
++	@echo "Installing init.d script:         $(INSTALL_ROOT)$(php_fpm_init_dir)/php-fpm"
++	-@$(INSTALL) -m 0755 $(top_builddir)/sapi/cgi/fpm/php-fpm $(INSTALL_ROOT)$(php_fpm_init_dir)/php-fpm
+ 
+ $(top_builddir)/libevent/libevent.a: $(top_builddir)/libevent/Makefile
+ 	cd $(top_builddir)/libevent && $(MAKE) libevent.a
================================================================


More information about the pld-cvs-commit mailing list