summaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.2.2.bb
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2025-02-10 10:17:22 +0800
committerKhem Raj <raj.khem@gmail.com>2025-02-09 20:12:29 -0800
commit5f43b1086275603d3303ea8a05d6f0dc8fca8955 (patch)
tree639b173b82c1e61b0d49663f921cc65e1b9011ed /meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.2.2.bb
parent2810f1456238107d43a6bff3b2de5aea126c38ab (diff)
downloadmeta-openembedded-5f43b1086275603d3303ea8a05d6f0dc8fca8955.tar.gz
phpmyadmin: upgrade 5.2.1 -> 5.2.2
License-Update: License year updated This upgrade include security fix for: CVE-2025-24529 CVE-2025-24530 Release note: https://www.phpmyadmin.net/news/2025/1/21/phpMyAdmin-522-is-released/ Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.2.2.bb')
-rw-r--r--meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.2.2.bb40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.2.2.bb b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.2.2.bb
new file mode 100644
index 0000000000..b896f4409a
--- /dev/null
+++ b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.2.2.bb
@@ -0,0 +1,40 @@
1SUMMARY = "Web-based MySQL administration interface"
2HOMEPAGE = "http://www.phpmyadmin.net"
3# Main code is GPLv2, vendor/tecnickcom/tcpdf is under LGPLv3, js/jquery is under MIT
4LICENSE = "GPL-2.0-only & LGPL-3.0-only & MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
6 file://vendor/tecnickcom/tcpdf/LICENSE.TXT;md5=72bda492a00ee8c4121987c6afdefc07 \
7 file://js/vendor/jquery/MIT-LICENSE.txt;md5=de877aa6d744cc160ff41c26a8e4811f \
8"
9
10SRC_URI = "https://files.phpmyadmin.net/phpMyAdmin/${PV}/phpMyAdmin-${PV}-all-languages.tar.xz \
11 file://apache.conf \
12"
13
14SRC_URI[sha256sum] = "f881819a3b11e653b0212afaf0cc105db85c767715cb3f5852670f7fc36c9669"
15
16UPSTREAM_CHECK_URI = "https://www.phpmyadmin.net/downloads/"
17UPSTREAM_CHECK_REGEX = "phpMyAdmin-(?P<pver>\d+(\.\d+)+)-all-languages.tar.xz"
18
19S = "${WORKDIR}/phpMyAdmin-${PV}-all-languages"
20
21inherit allarch
22
23do_install() {
24 install -d ${D}${datadir}/${BPN}
25 cp -R --no-dereference --preserve=mode,links -v * ${D}${datadir}/${BPN}
26 chown -R root:root ${D}${datadir}/${BPN}
27 # Don't install patches to target
28 rm -rf ${D}${datadir}/${BPN}/patches
29
30 install -d ${D}${sysconfdir}/apache2/conf.d
31 install -m 0644 ${UNPACKDIR}/apache.conf ${D}${sysconfdir}/apache2/conf.d/phpmyadmin.conf
32
33 # Remove a few scripts that explicitly require bash (!)
34 rm -f ${D}${datadir}/phpmyadmin/libraries/transformations/*.sh
35}
36
37FILES:${PN} = "${datadir}/${BPN} \
38 ${sysconfdir}/apache2/conf.d"
39
40RDEPENDS:${PN} += "bash php-cli"