openldap: 2.4.41 -> 2.4.42
PATCH 1/2 openldap: 2.4.41 -> 2.4.42
From: Kai Kang <[email protected]>
Upgrade phpmyadmin from 2.4.41 to 2.4.42. And backport patch from
http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=commitdiff;h=6fe51a9
to fix CVE-2015-6908.
Signed-off-by Kai Kang <[email protected]>
---
.../openldap/openldap-fix-CVE-2015-6908.patch | 28 ++++++++++++++++++++++
.../{openldap_2.4.41.bb => openldap_2.4.42.bb} | 6 +++--
2 files changed, 32 insertions(+), 2 deletions(-)
create mode 100644 meta-oe/recipes-support/openldap/openldap/openldap-fix-CVE-2015-6908.patch
rename meta-oe/recipes-support/openldap/{openldap_2.4.41.bb => openldap_2.4.42.bb} (98%)meta-oe/recipes-support/openldap/openldap/openldap-fix-CVE-2015-6908.patch new file +28 -0
@@ -0,0 +1,28 @@ +Upstream-Status: Backport + +Signed-off-by: Kai Kang <[email protected]> +--- +From 6fe51a9ab04fd28bbc171da3cf12f1c1040d6629 Mon Sep 17 00:00:00 2001 +From: Howard Chu <[email protected]> +Date: Thu, 10 Sep 2015 00:37:32 +0100 +Subject: [PATCH 1/1] ITS#8240 remove obsolete assert + +--- + libraries/liblber/io.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libraries/liblber/io.c b/libraries/liblber/io.c +index 85c3e23..c05dcf8 100644 +--- a/libraries/liblber/io.c ++++ b/libraries/liblber/io.c +@@ -679,7 +679,7 @@ done: + return (ber->ber_tag); + } + +- assert( 0 ); /* ber structure is messed up ?*/ ++ /* invalid input */ + return LBER_DEFAULT; + } + +-- +1.7.10.4
meta-oe/recipes-support/openldap/openldap_2.4.42.bb renamed from meta-oe/recipes-support/openldap/openldap_2.4.41.bb +4 -2
@@ -24,9 +24,11 @@ SRC_URI = "ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${BP}.tgz \ file://initscript \ file://slapd.service \ file://thread_stub.patch \ + file://openldap-fix-CVE-2015-6908.patch \ " -SRC_URI[md5sum] = "3f1a4cea52827e18feaedfdc1634b5d0" -SRC_URI[sha256sum] = "27856bb4a8b44feca2b326c309000e16a9dadd52362c8ab6eec6c67a43737f6e" + +SRC_URI[md5sum] = "47c8e2f283647a6105b8b0325257e922" +SRC_URI[sha256sum] = "eeb7b0e2c5852bfd2650e83909bb6152835c0b862fab10b63954dc1bcbba8e63" DEPENDS = "util-linux groff-native"
Signature · 1 line
2.6.1
PATCH 2/2 phpmyadmin: 4.4.9 -> 4.5.0.2
From: Kai Kang <[email protected]>
Upgrade phpmyadmin from 4.4.9 to 4.5.0.2 and SRC_URI is updated.
Accoring to release note, there is NO API changes for 4.5.0.x serial. So upgrade to 4.5.0.2 rather than 4.4.15 which will only support for security fixes only.
And license file has some text update. See:
https://github.com/phpmyadmin/phpmyadmin/commit/9d080a482fae73bde5049620088d4687da245163
Change files owner to fix [host-user-contaminated] warnings.
Signed-off-by Kai Kang <[email protected]>
---
.../phpmyadmin/{phpmyadmin_4.4.9.bb => phpmyadmin_4.5.0.2.bb} | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
rename meta-webserver/recipes-php/phpmyadmin/{phpmyadmin_4.4.9.bb => phpmyadmin_4.5.0.2.bb} (72%)meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.5.0.2.bb renamed from meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.4.9.bb +5 -4
@@ -2,14 +2,14 @@ SUMMARY = "Web-based MySQL administration interface" HOMEPAGE = "http://www.phpmyadmin.net" # Main code is GPLv2, libraries/tcpdf is under LGPLv3, js/jquery is under MIT LICENSE = "GPLv2 & LGPLv3 & MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=eb723b61539feef013de476e68b5c50a \ +LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://libraries/tcpdf/LICENSE.TXT;md5=5c87b66a5358ebcc495b03e0afcd342c" -SRC_URI = "${SOURCEFORGE_MIRROR}/phpmyadmin/phpMyAdmin/${PV}/phpMyAdmin-${PV}-all-languages.tar.xz \ +SRC_URI = "https://files.phpmyadmin.net/phpMyAdmin/4.5.0.2/phpMyAdmin-4.5.0.2-all-languages.tar.xz \ file://apache.conf" -SRC_URI[md5sum] = "d60d80fabe1b27023122228dcf7ee73e" -SRC_URI[sha256sum] = "b9a31d6ec3e7abe708160ce8dbc364c029015256766bac6f68134b84a836d766" +SRC_URI[md5sum] = "2d08d2fcc8f70f88a11a14723e3ca275" +SRC_URI[sha256sum] = "d2e90ea486d90b4ebe5eb02d7ad349ad2916c12a8981f98553395ef78d22a8ec" S = "${WORKDIR}/phpMyAdmin-${PV}-all-languages"
@@ -18,6 +18,7 @@ inherit allarch do_install() { install -d ${D}${datadir}/${BPN} cp -a * ${D}${datadir}/${BPN} + chown -R root:root ${D}${datadir}/${BPN} # Don't install patches to target rm -rf ${D}${datadir}/${BPN}/patches
Signature · 1 line
2.6.1