@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := php
PKG_NAME := php
PKG_VERSION := 5.6.8
PKG_VERSION := 5.6.8
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_MAINTAINER := W. Michael Petullo <mike@flyn.org>
PKG_MAINTAINER := W. Michael Petullo <mike@flyn.org>
@ -36,7 +36,7 @@ PHP5_MODULES = \
json \
json \
ldap \
ldap \
mbstring mcrypt mysql mysqli \
mbstring mcrypt mysql mysqli \
openssl \
opcache op enssl \
pcntl pdo pdo-mysql pdo-pgsql pdo-sqlite pgsql \
pcntl pdo pdo-mysql pdo-pgsql pdo-sqlite pgsql \
session shmop simplexml soap sockets sqlite3 sysvmsg sysvsem sysvshm \
session shmop simplexml soap sockets sqlite3 sysvmsg sysvsem sysvshm \
tokenizer \
tokenizer \
@ -276,6 +276,12 @@ else
CONFIGURE_ARGS += --without-mysqli
CONFIGURE_ARGS += --without-mysqli
e n d i f
e n d i f
i f n e q ( $( SDK ) $( CONFIG_PACKAGE_php 5-mod -opcache ) , )
CONFIGURE_ARGS += --enable-opcache= shared
e l s e
CONFIGURE_ARGS += --disable-opcache
e n d i f
i f n e q ( $( SDK ) $( CONFIG_PACKAGE_php 5-mod -openssl ) , )
i f n e q ( $( SDK ) $( CONFIG_PACKAGE_php 5-mod -openssl ) , )
CONFIGURE_ARGS += \
CONFIGURE_ARGS += \
--with-openssl= shared," $( STAGING_DIR) /usr " \
--with-openssl= shared," $( STAGING_DIR) /usr " \
@ -508,7 +514,11 @@ define BuildModule
$( INSTALL_DIR) $$ ( 1) /usr/lib/php
$( INSTALL_DIR) $$ ( 1) /usr/lib/php
$( INSTALL_BIN) $( PKG_BUILD_DIR) /modules/$( subst -,_,$( 1) ) .so $$ ( 1) /usr/lib/php/
$( INSTALL_BIN) $( PKG_BUILD_DIR) /modules/$( subst -,_,$( 1) ) .so $$ ( 1) /usr/lib/php/
$( INSTALL_DIR) $$ ( 1) /etc/php5
$( INSTALL_DIR) $$ ( 1) /etc/php5
ifeq ( $( 4) ,zend)
echo " zend_extension=/usr/lib/php/ $( subst -,_,$( 1) ) .so " > $$ ( 1) /etc/php5/$( subst -,_,$( 1) ) .ini
else
echo " extension= $( subst -,_,$( 1) ) .so " > $$ ( 1) /etc/php5/$( subst -,_,$( 1) ) .ini
echo " extension= $( subst -,_,$( 1) ) .so " > $$ ( 1) /etc/php5/$( subst -,_,$( 1) ) .ini
endif
endef
endef
$$ ( eval $$ ( call BuildPackage,php5-mod-$( 1) ) )
$$ ( eval $$ ( call BuildPackage,php5-mod-$( 1) ) )
@ -540,6 +550,7 @@ $(eval $(call BuildModule,mbstring,MBString))
$(eval $(call BuildModule,mcrypt,Mcrypt,+PACKAGE_php5-mod-mcrypt : libmcrypt +PACKAGE_php 5-mod -mcrypt :libltdl ))
$(eval $(call BuildModule,mcrypt,Mcrypt,+PACKAGE_php5-mod-mcrypt : libmcrypt +PACKAGE_php 5-mod -mcrypt :libltdl ))
$(eval $(call BuildModule,mysql,MySQL,+PACKAGE_php5-mod-mysql : libmysqlclient ))
$(eval $(call BuildModule,mysql,MySQL,+PACKAGE_php5-mod-mysql : libmysqlclient ))
$(eval $(call BuildModule,mysqli,MySQL Improved Extension,+PACKAGE_php5-mod-mysqli : libmysqlclient ))
$(eval $(call BuildModule,mysqli,MySQL Improved Extension,+PACKAGE_php5-mod-mysqli : libmysqlclient ))
$( eval $ ( call BuildModule ,opcache ,OPcache ,,zend ) )
$(eval $(call BuildModule,openssl,OpenSSL,+PACKAGE_php5-mod-openssl : libopenssl ))
$(eval $(call BuildModule,openssl,OpenSSL,+PACKAGE_php5-mod-openssl : libopenssl ))
$( eval $ ( call BuildModule ,pcntl ,PCNTL ) )
$( eval $ ( call BuildModule ,pcntl ,PCNTL ) )
$( eval $ ( call BuildModule ,pdo ,PHP Data Objects ) )
$( eval $ ( call BuildModule ,pdo ,PHP Data Objects ) )