From 32ddea6c361ecbfa90fb3d853c5bf0e0b1f2b19f Mon Sep 17 00:00:00 2001 From: Vijay Anusuri Date: Mon, 10 Mar 2025 13:37:57 +0530 Subject: postgresql: upgrade 16.5 -> 16.8 License-Update: Update license year to 2025 Includes fix for CVE-2025-1094 Changelog: https://www.postgresql.org/docs/release/16.8/ Refreshed 0003-configure.ac-bypass-autoconf-2.69-version-check.patch for 16.8 Signed-off-by: Vijay Anusuri Signed-off-by: Armin Kuster --- ...configure.ac-bypass-autoconf-2.69-version-check.patch | 2 +- meta-oe/recipes-dbs/postgresql/postgresql_16.5.bb | 16 ---------------- meta-oe/recipes-dbs/postgresql/postgresql_16.8.bb | 16 ++++++++++++++++ 3 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 meta-oe/recipes-dbs/postgresql/postgresql_16.5.bb create mode 100644 meta-oe/recipes-dbs/postgresql/postgresql_16.8.bb diff --git a/meta-oe/recipes-dbs/postgresql/files/0003-configure.ac-bypass-autoconf-2.69-version-check.patch b/meta-oe/recipes-dbs/postgresql/files/0003-configure.ac-bypass-autoconf-2.69-version-check.patch index 0388bc1b40..9584cfcb16 100644 --- a/meta-oe/recipes-dbs/postgresql/files/0003-configure.ac-bypass-autoconf-2.69-version-check.patch +++ b/meta-oe/recipes-dbs/postgresql/files/0003-configure.ac-bypass-autoconf-2.69-version-check.patch @@ -18,7 +18,7 @@ index df61ab4..b795f8c 100644 +++ b/configure.ac @@ -19,10 +19,6 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros - AC_INIT([PostgreSQL], [16.5], [pgsql-bugs@lists.postgresql.org], [], [https://www.postgresql.org/]) + AC_INIT([PostgreSQL], [16.8], [pgsql-bugs@lists.postgresql.org], [], [https://www.postgresql.org/]) -m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required. -Untested combinations of 'autoconf' and PostgreSQL versions are not diff --git a/meta-oe/recipes-dbs/postgresql/postgresql_16.5.bb b/meta-oe/recipes-dbs/postgresql/postgresql_16.5.bb deleted file mode 100644 index 76498375b7..0000000000 --- a/meta-oe/recipes-dbs/postgresql/postgresql_16.5.bb +++ /dev/null @@ -1,16 +0,0 @@ -require postgresql.inc - -LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=89afbb2d7716371015101c2b2cb4297a" - -SRC_URI += "\ - file://not-check-libperl.patch \ - file://0001-Add-support-for-RISC-V.patch \ - file://0002-Improve-reproducibility.patch \ - file://0003-configure.ac-bypass-autoconf-2.69-version-check.patch \ - file://0004-config_info.c-not-expose-build-info.patch \ - file://0005-postgresql-fix-ptest-failure-of-sysviews.patch \ -" - -SRC_URI[sha256sum] = "a6cbbb7037f98cb8afa7d3970b7c48040cf02b115e39253a0c037a8bb8e778f0" - -CVE_STATUS[CVE-2017-8806] = "not-applicable-config: Ddoesn't apply to out configuration of postgresql so we can safely ignore it." diff --git a/meta-oe/recipes-dbs/postgresql/postgresql_16.8.bb b/meta-oe/recipes-dbs/postgresql/postgresql_16.8.bb new file mode 100644 index 0000000000..918ad13e63 --- /dev/null +++ b/meta-oe/recipes-dbs/postgresql/postgresql_16.8.bb @@ -0,0 +1,16 @@ +require postgresql.inc + +LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d5dd73e90ee1a572679460ee67233fcc" + +SRC_URI += "\ + file://not-check-libperl.patch \ + file://0001-Add-support-for-RISC-V.patch \ + file://0002-Improve-reproducibility.patch \ + file://0003-configure.ac-bypass-autoconf-2.69-version-check.patch \ + file://0004-config_info.c-not-expose-build-info.patch \ + file://0005-postgresql-fix-ptest-failure-of-sysviews.patch \ +" + +SRC_URI[sha256sum] = "9468083a56ce0ee7d294601b74dad3dd9fc69d87aff61f0a9fb63c813ff7efd8" + +CVE_STATUS[CVE-2017-8806] = "not-applicable-config: Ddoesn't apply to out configuration of postgresql so we can safely ignore it." -- cgit v1.2.3-54-g00ecf