[oe-commits] [meta-openembedded] 02/02: php: disable this version by default

git at git.openembedded.org git at git.openembedded.org
Tue Aug 15 23:25:54 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit c02dc528e358db68cbcd01594dc6511175e91d80
Author: Joe Slater <jslater at windriver.com>
AuthorDate: Tue Aug 15 15:58:55 2017 -0700

    php: disable this version by default
    
    There are many unaddressed CVEs which are fixed in 7.1.7
    and later versions.  Allow the user to define php_5.6.26
    to enable building the recipe.
    
    Signed-off-by: Joe Slater <jslater at windriver.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-devtools/php/php_5.6.26.bb | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/meta-oe/recipes-devtools/php/php_5.6.26.bb b/meta-oe/recipes-devtools/php/php_5.6.26.bb
index dfce949..7e566b1 100644
--- a/meta-oe/recipes-devtools/php/php_5.6.26.bb
+++ b/meta-oe/recipes-devtools/php/php_5.6.26.bb
@@ -8,3 +8,12 @@ SRC_URI += "file://change-AC_TRY_RUN-to-AC_TRY_LINK.patch \
            "
 SRC_URI[md5sum] = "cb424b705cfb715fc04f499f8a8cf52e"
 SRC_URI[sha256sum] = "d47aab8083a4284b905777e1b45dd7735adc53be827b29f896684750ac8b6236"
+
+python () {
+    ver = d.getVar('PV')
+    if not d.getVar('php_'+ver+'_OK'):
+        msg = "%s disables itself because of many outstanding CVEs!" % (ver)
+        msg = msg + " Define php_%s_OK = '1' to build it." % (ver)
+        raise bb.parse.SkipPackage(msg)
+}
+

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list