From 10e14b601c3bd55957ded175238bbf2338fe16e7 Mon Sep 17 00:00:00 2001 From: Gyorgy Sarvari Date: Thu, 18 Dec 2025 14:46:59 +0100 Subject: phpmyadmin: upgrade 5.1.3 -> 5.1.4 Last bugfix release of the 5.1.x series. Changelog: - Fixed sorting the database list with "statistics" enabled on "Data" column creates a PHP type error - Fix for invalid cache when losing access to config storage after it being cached - Fix session cookie not respecting the CookieSameSite configuration directive in PHP 7.2 - Fix create index form accepting too many columns - Disable editing to system schemas - Add better error handling when IndexedDB is not working - Fixed incorrect escaping of special MySQL characters on some pages - Fix GIS visualization with an edited query - Remove the use of the deprecated `strftime` function in OpenDocument exports - Enable tabindex recompute on preview button while insert new rows - Fix invalid SQL generated when PRIMARY/UNIQUE key contains a POINT column - Fix setup's CSS not loading when the URL doesn't have a trailing slash - Remove jQuery SVG JavaScript dependency - Fix column visibility dropdown when the column name is too long - Fix issue when exporting using Firefox or Safari on PHP 8.1.4 - Update JavaScript dependencies - Fix case where errors were thrown when browsing a table - Fix UI issue when user accounts page has the initials navigation bar Signed-off-by: Gyorgy Sarvari --- .../recipes-php/phpmyadmin/phpmyadmin_5.1.3.bb | 43 ---------------------- .../recipes-php/phpmyadmin/phpmyadmin_5.1.4.bb | 43 ++++++++++++++++++++++ 2 files changed, 43 insertions(+), 43 deletions(-) delete mode 100644 meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.1.3.bb create mode 100644 meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.1.4.bb diff --git a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.1.3.bb b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.1.3.bb deleted file mode 100644 index 85a18dfd1e..0000000000 --- a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.1.3.bb +++ /dev/null @@ -1,43 +0,0 @@ -SUMMARY = "Web-based MySQL administration interface" -HOMEPAGE = "http://www.phpmyadmin.net" -# Main code is GPLv2, vendor/tecnickcom/tcpdf is under LGPLv3, js/jquery is under MIT -LICENSE = "GPL-2.0-only & LGPL-3.0-only & MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ - file://vendor/tecnickcom/tcpdf/LICENSE.TXT;md5=dd6470bbcd3436ca317f82d34abaf688 \ - file://js/vendor/jquery/MIT-LICENSE.txt;md5=de877aa6d744cc160ff41c26a8e4811f \ -" - -SRC_URI = "https://files.phpmyadmin.net/phpMyAdmin/${PV}/phpMyAdmin-${PV}-all-languages.tar.xz \ - file://apache.conf \ - file://CVE-2023-25727.patch \ - file://CVE-2025-24529.patch \ - file://CVE-2025-24530.patch \ -" - -SRC_URI[sha256sum] = "c562feddc0f8ff5e69629113f273a0d024a65fb928c48e89ce614744d478296f" - -UPSTREAM_CHECK_URI = "https://www.phpmyadmin.net/downloads/" -UPSTREAM_CHECK_REGEX = "phpMyAdmin-(?P\d+(\.\d+)+)-all-languages.tar.xz" - -S = "${WORKDIR}/phpMyAdmin-${PV}-all-languages" - -inherit allarch - -do_install() { - install -d ${D}${datadir}/${BPN} - cp -R --no-dereference --preserve=mode,links -v * ${D}${datadir}/${BPN} - chown -R root:root ${D}${datadir}/${BPN} - # Don't install patches to target - rm -rf ${D}${datadir}/${BPN}/patches - - install -d ${D}${sysconfdir}/apache2/conf.d - install -m 0644 ${WORKDIR}/apache.conf ${D}${sysconfdir}/apache2/conf.d/phpmyadmin.conf - - # Remove a few scripts that explicitly require bash (!) - rm -f ${D}${datadir}/phpmyadmin/libraries/transformations/*.sh -} - -FILES:${PN} = "${datadir}/${BPN} \ - ${sysconfdir}/apache2/conf.d" - -RDEPENDS:${PN} += "bash php-cli" diff --git a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.1.4.bb b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.1.4.bb new file mode 100644 index 0000000000..0b855735cb --- /dev/null +++ b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.1.4.bb @@ -0,0 +1,43 @@ +SUMMARY = "Web-based MySQL administration interface" +HOMEPAGE = "http://www.phpmyadmin.net" +# Main code is GPLv2, vendor/tecnickcom/tcpdf is under LGPLv3, js/jquery is under MIT +LICENSE = "GPL-2.0-only & LGPL-3.0-only & MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://vendor/tecnickcom/tcpdf/LICENSE.TXT;md5=dd6470bbcd3436ca317f82d34abaf688 \ + file://js/vendor/jquery/MIT-LICENSE.txt;md5=de877aa6d744cc160ff41c26a8e4811f \ +" + +SRC_URI = "https://files.phpmyadmin.net/phpMyAdmin/${PV}/phpMyAdmin-${PV}-all-languages.tar.xz \ + file://apache.conf \ + file://CVE-2023-25727.patch \ + file://CVE-2025-24529.patch \ + file://CVE-2025-24530.patch \ +" + +SRC_URI[sha256sum] = "3230cf0e004b6284c70e0cb26064a8666b271749ef54236d035104a972822999" + +UPSTREAM_CHECK_URI = "https://www.phpmyadmin.net/downloads/" +UPSTREAM_CHECK_REGEX = "phpMyAdmin-(?P\d+(\.\d+)+)-all-languages.tar.xz" + +S = "${WORKDIR}/phpMyAdmin-${PV}-all-languages" + +inherit allarch + +do_install() { + install -d ${D}${datadir}/${BPN} + cp -R --no-dereference --preserve=mode,links -v * ${D}${datadir}/${BPN} + chown -R root:root ${D}${datadir}/${BPN} + # Don't install patches to target + rm -rf ${D}${datadir}/${BPN}/patches + + install -d ${D}${sysconfdir}/apache2/conf.d + install -m 0644 ${WORKDIR}/apache.conf ${D}${sysconfdir}/apache2/conf.d/phpmyadmin.conf + + # Remove a few scripts that explicitly require bash (!) + rm -f ${D}${datadir}/phpmyadmin/libraries/transformations/*.sh +} + +FILES:${PN} = "${datadir}/${BPN} \ + ${sysconfdir}/apache2/conf.d" + +RDEPENDS:${PN} += "bash php-cli" -- cgit v1.2.3-54-g00ecf