]> git.pld-linux.org Git - packages/php.git/commitdiff
- install control script to init.d dir
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 16 Nov 2008 15:50:08 +0000 (15:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-fpm-initdir.patch -> 1.1

php-fpm-initdir.patch [new file with mode: 0644]

diff --git a/php-fpm-initdir.patch b/php-fpm-initdir.patch
new file mode 100644 (file)
index 0000000..f8f6520
--- /dev/null
@@ -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
This page took 0.50163 seconds and 4 git commands to generate.