Patchwork [meta-webserver,4/7] modphp: enable bz2, zip and mbstring

login
register
mail settings
Submitter Eric BENARD
Date Nov. 25, 2012, 5:25 p.m.
Message ID <1353864310-20097-4-git-send-email-eric@eukrea.com>
Download mbox | patch
Permalink /patch/39587/
State Accepted
Commit 9439d8132a0f936dfb7cefb73fa0a1c582826e4b
Headers show

Comments

Eric BENARD - Nov. 25, 2012, 5:25 p.m.
- bz2 and zip remove warnings in phpmyadmin
- mbstring is usefull for multibyte strings

Signed-off-by: Eric BĂ©nard <eric@eukrea.com>
---
 meta-webserver/recipes-php/modphp/modphp5.inc      | 5 ++++-
 meta-webserver/recipes-php/modphp/modphp_5.3.19.bb | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

Patch

diff --git a/meta-webserver/recipes-php/modphp/modphp5.inc b/meta-webserver/recipes-php/modphp/modphp5.inc
index 1db85bf..3302936 100644
--- a/meta-webserver/recipes-php/modphp/modphp5.inc
+++ b/meta-webserver/recipes-php/modphp/modphp5.inc
@@ -1,7 +1,7 @@ 
 SECTION = "console/network"
 DESCRIPTION = "A server-side, HTML-embedded scripting language. This package provides the apache php module."
 LICENSE = "PHP-3.0"
-DEPENDS = "apache2-native apache2 zlib"
+DEPENDS = "apache2-native apache2 zlib bzip2"
 
 SRC_URI = "http://www.php.net/distributions/php-${PV}.tar.bz2 \
            file://configure.patch \
@@ -36,6 +36,9 @@  EXTRA_OECONF = "--with-apxs2=${STAGING_BINDIR_CROSS}/apxs \
                 --disable-rpath \
                 --libdir=${libdir}/php5 \
                 --with-zlib --with-zlib-dir=${STAGING_DIR_TARGET}${exec_prefix} \
+                --with-bz2=${STAGING_DIR_TARGET}${exec_prefix} \
+                --enable-zip \
+                --enable-mbstring \
                 --with-config-file-path=${sysconfdir}/php/apache2-php5"
 
 PACKAGECONFIG ??= ""
diff --git a/meta-webserver/recipes-php/modphp/modphp_5.3.19.bb b/meta-webserver/recipes-php/modphp/modphp_5.3.19.bb
index 56599d6..ecc6e86 100644
--- a/meta-webserver/recipes-php/modphp/modphp_5.3.19.bb
+++ b/meta-webserver/recipes-php/modphp/modphp_5.3.19.bb
@@ -1,5 +1,5 @@ 
 include modphp5.inc
-PR = "r0"
+PR = "r1"
 
 SRC_URI[md5sum] = "e1d2a3ec7849d4b3032bd1abf1916aa4"
 SRC_URI[sha256sum] = "814ce55b950158c4ddadbcd0b2d7d8cb4b570de4a29b9db021020594e2469fd6"