diff options
author | Waldemar Brodkorb <wbrodkorb@conet.de> | 2014-12-10 18:09:50 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbrodkorb@conet.de> | 2014-12-10 18:09:50 +0100 |
commit | 79f366c144db32e623a8280d3d9472df2a25a9ca (patch) | |
tree | 2d0976eba6bd179c738a9c0699b5f56b4a7d3316 /package/php/Makefile | |
parent | 26ce649e233d1ffc8d16f2ee6507f2a86854ca91 (diff) |
add PHP FPM
Diffstat (limited to 'package/php/Makefile')
-rw-r--r-- | package/php/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/package/php/Makefile b/package/php/Makefile index fe1236a50..3a2ca799c 100644 --- a/package/php/Makefile +++ b/package/php/Makefile @@ -13,9 +13,11 @@ PKG_DEPENDS:= libpthread librt PHP_URL:= http://www.php.net/ PKG_SITES:= http://de.php.net/distributions/ -PKG_SUBPKGS:= PHP PHP_CLI PHP_FASTCGI +PKG_SUBPKGS:= PHP PHP_CLI PHP_FASTCGI PHP_FPM PKGSD_PHP_FASTCGI:= php for fastcgi usage PKGSN_PHP_FASTCGI:= php +PKGSD_PHP_FPM:= php for fastcgi process manager usage +PKGSN_PHP_FPM:= php PKGSD_PHP_CLI:= php cli PKGSN_PHP_CLI:= php @@ -75,6 +77,7 @@ include $(ADK_TOPDIR)/mk/package.mk $(eval $(call PKG_template,PHP,php,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) $(eval $(call PKG_template,PHP_CLI,php-cli,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_PHP_CLI},${PKG_SECTION})) $(eval $(call PKG_template,PHP_FASTCGI,php-fastcgi,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_PHP_FASTCGI},${PKG_SECTION})) +$(eval $(call PKG_template,PHP_FPM,php-fpm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_PHP_FPM},${PKG_SECTION})) define PKG_mod_template @@ -91,6 +94,7 @@ PKG_CONFIGURE_OPTS:= \ --with-config-file-path=/etc \ --enable-cli \ --enable-cgi \ + --enable-fpm \ --enable-opcache=no \ --disable-hash \ --disable-mbstring \ @@ -259,5 +263,11 @@ do-install: ${INSTALL_MODS_y} ${INSTALL_MODS_m} ${INSTALL_DIR} $(IDIR_PHP_FASTCGI)/usr/bin ${INSTALL_BIN} $(WRKBUILD)/sapi/cgi/php-cgi \ $(IDIR_PHP_FASTCGI)/usr/bin/php + ${INSTALL_DIR} $(IDIR_PHP_FPM)/etc + $(CP) ./files/php-fpm.conf \ + $(IDIR_PHP_FPM)/etc + ${INSTALL_DIR} $(IDIR_PHP_FPM)/usr/bin + ${INSTALL_BIN} $(WRKBUILD)/sapi/fpm/php-fpm \ + $(IDIR_PHP_FPM)/usr/bin/php include ${ADK_TOPDIR}/mk/pkg-bottom.mk |