Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-oe][PATCH v3] php: upgrade to 5.5.15
Date: Wed,  7 Jan 2015 11:53:25 +0000	[thread overview]
Message-ID: <1420631605-28970-1-git-send-email-paul.eggleton@linux.intel.com> (raw)
In-Reply-To: <ea7b1f497731a701108d74384a3ca585690ddcc5.1420453688.git.paul.eggleton@linux.intel.com>

Based on the corresponding changes to the modphp recipe in
meta-webserver. From the commit message for the modphp upgrade:

* LIC_FILES_CHKSUM needed to change because the copyright year changed
* Enabled mcrypt since upstream recommend this for acceptable
  performance
* Disabled the opcache; this is a new feature in 5.5 and the configure
  check for it currently breaks when cross-compiling.

Also fix an issue with the "phar" script which ended up with a shebang
pointing into the workdir on the host.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 .../recipes-devtools/php/{php_5.4.33.bb => php_5.5.15.bb}    | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
 rename meta-oe/recipes-devtools/php/{php_5.4.33.bb => php_5.5.15.bb} (93%)

diff --git a/meta-oe/recipes-devtools/php/php_5.4.33.bb b/meta-oe/recipes-devtools/php/php_5.5.15.bb
similarity index 93%
rename from meta-oe/recipes-devtools/php/php_5.4.33.bb
rename to meta-oe/recipes-devtools/php/php_5.5.15.bb
index 6fdfe0f..1031127 100644
--- a/meta-oe/recipes-devtools/php/php_5.4.33.bb
+++ b/meta-oe/recipes-devtools/php/php_5.5.15.bb
@@ -3,11 +3,11 @@ HOMEPAGE = "http://www.php.net"
 SECTION = "console/network"
 
 LICENSE = "PHP-3.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=cb564efdf78cce8ea6e4b5a4f7c05d97"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=52dd90569008fee5bcdbb22d945b1108"
 
 BBCLASSEXTEND = "native"
 DEPENDS = "zlib libxml2 virtual/libiconv php-native lemon-native \
-           libc-client openssl"
+           libc-client openssl libmcrypt"
 DEPENDS_virtclass-native = "zlib-native libxml2-native"
 
 # The new PHP downloads server groups PHP releases by major version so find
@@ -30,8 +30,8 @@ SRC_URI_append_class-target += " \
             file://php-fpm-apache.conf \
           "
 
-SRC_URI[md5sum] = "c6878bb1cdb46bfc1e1a5cd67a024737"
-SRC_URI[sha256sum] = "1a75b2d0835e74b8886cd3980d9598a0e06691441bb7f91d19b74c2278e40bb5"
+SRC_URI[md5sum] = "5cb5f2ed9099299f8a4c952d59d93812"
+SRC_URI[sha256sum] = "00f24226b12fee27e332383b6304f1b9ed3f4d9173dd728a68c5c3f5a59b8ba7"
 
 S = "${WORKDIR}/php-${PV}"
 
@@ -40,7 +40,7 @@ inherit autotools pkgconfig pythonnative gettext
 SSTATE_SCAN_FILES += "build-defs.h"
 
 # Common EXTRA_OECONF
-COMMON_EXTRA_OECONF = "--enable-sockets --enable-pcntl --enable-shared"
+COMMON_EXTRA_OECONF = "--enable-sockets --enable-pcntl --enable-shared --disable-opcache"
 EXTRA_OECONF = "--enable-mbstring \
                 --enable-wddx \
                 --enable-fpm \
@@ -49,6 +49,7 @@ EXTRA_OECONF = "--enable-mbstring \
                 --with-imap-ssl=${STAGING_DIR_HOST} \
                 --with-zlib=${STAGING_LIBDIR}/.. \
                 --with-iconv=${STAGING_LIBDIR}/.. \
+                --with-mcrypt=${STAGING_DIR_TARGET}${exec_prefix} \
                 ${COMMON_EXTRA_OECONF} \
 "
 EXTRA_OECONF_virtclass-native = " \
@@ -111,6 +112,7 @@ do_install_append_class-target() {
         rmdir ${TMP}
         TMP=`dirname ${TMP}`;
     done
+    sed -i 's:^#!/.*/php:#!${bindir}/php:' ${D}${bindir}/phar.phar
 }
 
 PACKAGES = "${PN}-dbg ${PN}-cli ${PN}-cgi ${PN}-fpm ${PN}-fpm-apache2 ${PN}-pear ${PN}-dev ${PN}-staticdev ${PN}-doc ${PN}"
-- 
1.9.3



  reply	other threads:[~2015-01-07 11:53 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-05 10:33 [meta-oe/meta-webserver][PATCH v2 00/11] Merge modphp into php and upgrade Paul Eggleton
2015-01-05 10:33 ` [meta-oe][PATCH v2 01/12] php: upgrade to 5.5.15 Paul Eggleton
2015-01-07 11:53   ` Paul Eggleton [this message]
2015-01-05 10:33 ` [meta-oe][PATCH v2 02/12] libc-client: rename to uw-imap, upgrade to 2007f Paul Eggleton
2015-01-05 10:33 ` [meta-oe][PATCH v2 03/12] php: integrate modphp Paul Eggleton
2015-01-05 10:33 ` [meta-oe][PATCH v2 04/12] php: upgrade to 5.5.20 Paul Eggleton
2015-01-05 10:33 ` [meta-webserver][PATCH v2 05/12] modphp: remove Paul Eggleton
2015-01-05 10:33 ` [meta-webserver][PATCH v2 06/12] README: update for modphp merging into php Paul Eggleton
2015-01-05 10:33 ` [meta-oe][PATCH v2 07/12] uw-imap: make libpam dependency dependent on DISTRO_FEATURES Paul Eggleton
2015-01-05 10:33 ` [meta-oe][PATCH v2 08/12] php: add PACKAGECONFIG to fix implicit dependency on libpam Paul Eggleton
2015-01-05 10:33 ` [meta-oe][PATCH v2 09/12] php: add PACKAGECONFIG for imap Paul Eggleton
2015-01-05 10:33 ` [meta-webserver][PATCH v2 10/12] xdebug: fix DEPENDS and un-blacklist Paul Eggleton
2015-01-05 10:33 ` [meta-webserver][PATCH v2 11/12] xdebug: update to 2.2.6 Paul Eggleton
2015-01-05 10:33 ` [meta-webserver][PATCH v2 12/12] phpmyadmin: update to 4.3.4 Paul Eggleton
2015-01-05 11:59 ` [meta-oe/meta-webserver][PATCH v2 00/11] Merge modphp into php and upgrade Martin Jansa
2015-01-07 10:14   ` Martin Jansa
2015-01-07 10:34     ` Paul Eggleton
2015-01-07 10:41       ` Paul Eggleton
2015-01-07 10:42       ` Martin Jansa
2015-01-07 11:55     ` Paul Eggleton
2015-01-07 12:06       ` Paul Eggleton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1420631605-28970-1-git-send-email-paul.eggleton@linux.intel.com \
    --to=paul.eggleton@linux.intel.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox