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%)

diff --git a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.4.9.bb 
b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.5.0.2.bb
similarity index 72%
rename from meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.4.9.bb
rename to meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.5.0.2.bb
index 91a1cbf..e28b66a 100644
--- a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.4.9.bb
+++ b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.5.0.2.bb
@@ -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
 
-- 
2.6.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to