php: update to 5.5.9

This commit is contained in:
Fabian 2014-02-11 21:34:26 +00:00
parent aef474b9dd
commit f2cbe89236
2 changed files with 20 additions and 22 deletions

View File

@ -25,8 +25,8 @@ pkgname=('php'
'php-sqlite'
'php-tidy'
'php-xsl')
pkgver=5.4.13
pkgrel=4
pkgver=5.5.9
pkgrel=1
arch=('x86_64')
license=('PHP')
url='http://www.php.net'
@ -41,19 +41,23 @@ source=("http://www.php.net/distributions/${pkgbase}-${pkgver}.tar.bz2"
'logrotate.d.php-fpm'
'php-fpm.service'
'php-fpm.tmpfiles')
md5sums=('cacd308e978b7cf9ba4993196612ccf7'
'0b0bc7a917fc592bdf11dcd3c5c255e9'
md5sums=('c4a348a07b52f6e177d8fdc75fe507b1'
'799cd5f91f5253f4b47ec4fd7fccf4f1'
'e792470a40eaade691483ca424ea45ff'
'5c1f4c967b66ce3eaf819b46951dcbf5'
'f56b5bb7e93c802ae8519182fbea3387'
'86c73d481f3099e740e602869bacf637'
'c60343df74f8e1afb13b084d5c0e47ed')
build() {
# ldap-sasl does not compile with --as-needed
#export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
#export LDFLAGS="${LDFLAGS//,--as-needed}"
prepare() {
cd "${srcdir}/${pkgbase}-${pkgver}"
# adjust paths
patch -p0 -i "${srcdir}/php.ini.patch"
patch -p0 -i "${srcdir}/php-fpm.conf.in.patch"
}
build() {
local phpconfig=(
--srcdir="${srcdir}/${pkgbase}-${pkgver}"
--prefix=/usr
@ -133,8 +137,6 @@ build() {
--with-xmlrpc=shared
--with-xsl=shared
--with-zlib
--without-db2
--without-db3
)
EXTENSION_DIR=/usr/lib/php/modules
@ -145,10 +147,6 @@ build() {
cd "${srcdir}/${pkgbase}-${pkgver}"
# adjust paths
patch -p0 -i "${srcdir}/php.ini.patch"
patch -p0 -i "${srcdir}/php-fpm.conf.in.patch"
# php
mkdir -p "${srcdir}/build-php"
cd "${srcdir}/build-php"

View File

@ -1,15 +1,15 @@
--- php.ini-production 2012-03-29 06:17:59.000000000 +0200
+++ php.ini-production 2012-03-30 10:46:21.181340861 +0200
@@ -305,7 +305,7 @@
--- php.ini-production 2013-11-12 15:17:27.000000000 +0100
+++ php.ini-production 2013-11-12 17:28:12.715321014 +0100
@@ -306,7 +306,7 @@
; or per-virtualhost web server configuration file. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
; http://php.net/open-basedir
-;open_basedir =
+open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/
+open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/
; This directive allows you to disable certain functions for security reasons.
; It receives a comma-delimited list of function names. This directive is
@@ -702,7 +702,7 @@
@@ -703,7 +703,7 @@
;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIX: "/path1:/path2"
@ -18,7 +18,7 @@
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"
@@ -725,7 +725,7 @@
@@ -726,7 +726,7 @@
; Directory in which the loadable extensions (modules) reside.
; http://php.net/extension-dir
@ -27,7 +27,7 @@
; On windows:
; extension_dir = "ext"
@@ -859,51 +859,47 @@
@@ -864,50 +864,48 @@
; If you only provide the name of the extension, PHP will look for it in its
; default extension directory.
;
@ -75,7 +75,6 @@
-;extension=php_tidy.dll
-;extension=php_xmlrpc.dll
-;extension=php_xsl.dll
-;extension=php_zip.dll
+;extension=bcmath.so
+;extension=bz2.so
+;extension=calendar.so
@ -96,6 +95,7 @@
+;extension=mysqli.so
+;extension=mysql.so
+;extension=odbc.so
+;zend_extension=opcache.so
+;extension=openssl.so
+;extension=pdo_mysql.so
+;extension=pdo_odbc.so