unixodbc: upgrade from 2.3.12 to 2.3.14
PATCH 1/4 unixodbc: upgrade from 2.3.12 to 2.3.14
From: Chen Qi <[email protected]>
The following two patches are dropped as they have already been in the new version:
- 0001-exe-Makefile.am-add-CROSS_LAUNCHER-to-run-odbc_confi.patch
- CVE-2024-1013.patch
---
...add-CROSS_LAUNCHER-to-run-odbc_confi.patch | 54 -------------------
.../unixodbc/files/CVE-2024-1013.patch | 53 ------------------
...{unixodbc_2.3.12.bb => unixodbc_2.3.14.bb} | 4 +-
3 files changed, 1 insertion(+), 110 deletions(-)
delete mode 100644 meta-oe/recipes-support/unixodbc/files/0001-exe-Makefile.am-add-CROSS_LAUNCHER-to-run-odbc_confi.patch
delete mode 100644 meta-oe/recipes-support/unixodbc/files/CVE-2024-1013.patch
rename meta-oe/recipes-support/unixodbc/{unixodbc_2.3.12.bb => unixodbc_2.3.14.bb} (87%)meta-oe/recipes-support/unixodbc/files/0001-exe-Makefile.am-add-CROSS_LAUNCHER-to-run-odbc_confi.patch deleted +0 -54
@@ -1,54 +0,0 @@ -From e886222c70d4b251f0785f670477b7aee938e5af Mon Sep 17 00:00:00 2001 -From: Chen Qi <[email protected]> -Date: Wed, 21 Feb 2024 13:55:41 +0800 -Subject: [PATCH] exe/Makefile.am: add CROSS_LAUNCHER to run odbc_config - -In case of cross compilation, the odbc_config cannot run, the error message -would be like below: - - /bin/bash: line 1: ../exe/odbc_config: cannot execute binary file: Exec format error - -Add CROSS_LAUNCHER to allow the possibility of running odbc_config correctly in -case of cross compilation. - -For example, here's a possible value for it (Yocto project environment, aarch64 target). - export CROSS_LAUNCHER="PSEUDO_UNLOAD=1 qemu-aarch64 -r 5.15 \ - -L /PATH/TO/unixodbc/2.3.11/recipe-sysroot \ - -E LD_LIBRARY_PATH=/PATH/TO/unixodbc/2.3.11/recipe-sysroot//usr/lib:/PATH/TO/unixodbc/2.3.11/recipe-sysroot//usr/lib " - -Other projects can use the launcher they like to allow correct generation of -the odbc.pc file in cross compilation environment. - -Upstream-Status: Submitted [Personal Email, [email protected]] - -As said in the official website, https://www.unixodbc.org/, the way to report bug and send -out patch is via personal email. So there's a public link above. - -Signed-off-by: Chen Qi <[email protected]> ---- - exe/Makefile.am | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/exe/Makefile.am b/exe/Makefile.am -index 03f3d5a..5f33cf2 100644 ---- a/exe/Makefile.am -+++ b/exe/Makefile.am -@@ -59,11 +59,13 @@ slencheck_SOURCES = slencheck.c - dltest_DEPENDENCIES = $(LTDLDEPS) - dltest_LDADD = $(LIBLTDL) - -+CROSS_LAUNCHER ?= "" -+ - all-am: -- @sed "s![@]ODBC_ULEN[@]!`$(top_builddir)/exe/odbc_config$(EXEEXT) --ulen`!" \ -+ @sed "s![@]ODBC_ULEN[@]!`$(CROSS_LAUNCHER)$(top_builddir)/exe/odbc_config$(EXEEXT) --ulen`!" \ - $(top_builddir)/DriverManager/odbc.pc > $(top_builddir)/exe/odbc.pc.tmp - @mv -f $(top_builddir)/exe/odbc.pc.tmp $(top_builddir)/DriverManager/odbc.pc -- @sed "s![@]ODBC_CFLAGS[@]!`$(top_builddir)/exe/odbc_config$(EXEEXT) --cflags | sed 's/ -I.*//'`!" \ -+ @sed "s![@]ODBC_CFLAGS[@]!`$(CROSS_LAUNCHER)$(top_builddir)/exe/odbc_config$(EXEEXT) --cflags | sed 's/ -I.*//'`!" \ - $(top_builddir)/DriverManager/odbc.pc > $(top_builddir)/exe/odbc.pc.tmp - @mv -f $(top_builddir)/exe/odbc.pc.tmp $(top_builddir)/DriverManager/odbc.pc - --- -2.34.1 -
meta-oe/recipes-support/unixodbc/files/CVE-2024-1013.patch deleted +0 -53
53 lines not on this page · raw message
meta-oe/recipes-support/unixodbc/unixodbc_2.3.14.bb renamed from meta-oe/recipes-support/unixodbc/unixodbc_2.3.12.bb +1 -3
@@ -10,10 +10,8 @@ DEPENDS = "libtool readline" SRC_URI = "https://www.unixodbc.org/unixODBC-${PV}.tar.gz \ file://do-not-use-libltdl-source-directory.patch \ - file://0001-exe-Makefile.am-add-CROSS_LAUNCHER-to-run-odbc_confi.patch \ - file://CVE-2024-1013.patch \ " -SRC_URI[sha256sum] = "f210501445ce21bf607ba51ef8c125e10e22dffdffec377646462df5f01915ec" +SRC_URI[sha256sum] = "4e2814de3e01fc30b0b9f75e83bb5aba91ab0384ee951286504bb70205524771" UPSTREAM_CHECK_URI = "https://www.unixodbc.org/download.html" UPSTREAM_CHECK_REGEX = "unixODBC-(?P<pver>\d+(\.\d+)+)\.tar"
Signature · 1 line
2.49.0
PATCH 2/4 lockfile-progs: upgrade from 0.1.19 to 0.2.0
From: Chen Qi <[email protected]>
In this new version, we need to 'rewrite-time' first as it's a build host tool that is used during the actual build.
---
.../{lockfile-progs_0.1.19.bb => lockfile-progs_0.2.0.bb} | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
rename meta-oe/recipes-extended/lockfile-progs/{lockfile-progs_0.1.19.bb => lockfile-progs_0.2.0.bb} (73%)meta-oe/recipes-extended/lockfile-progs/lockfile-progs_0.2.0.bb renamed from meta-oe/recipes-extended/lockfile-progs/lockfile-progs_0.1.19.bb +4 -2
@@ -8,10 +8,12 @@ LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" DEPENDS = "liblockfile" -SRC_URI = "${DEBIAN_MIRROR}/main/l/${BPN}/${BPN}_${PV}.tar.gz" -SRC_URI[sha256sum] = "2c5704b01c8f474f82921780e4592a927b2bf6a6d7616354a6c5d7cd5664857e" +SRC_URI = "${DEBIAN_MIRROR}/main/l/${BPN}/${BPN}_${PV}.tar.xz" +SRC_URI[sha256sum] = "2988fb5a8b407e52e2aa6282ce45497f465c921d591138c100f4898215844c90" do_compile() { + ${BUILD_CC} ${BUILD_CPPFLAGS} ${BUILD_CFLAGS} -c rewrite-time.c + ${BUILD_CC} -o rewrite-time ${BUILD_LDFLAGS} rewrite-time.o oe_runmake CFLAGS=' -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ${DEBUG_PREFIX_MAP}' }
Signature · 1 line
2.49.0
PATCH 3/4 libinih: upgrade from 58 to 62
In reply to [email protected]From: Chen Qi <[email protected]>
Upgrade libinih from 58 to 62.
---
meta-oe/recipes-support/inih/{libinih_58.bb => libinih_62.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-support/inih/{libinih_58.bb => libinih_62.bb} (88%)meta-oe/recipes-support/inih/libinih_62.bb renamed from meta-oe/recipes-support/inih/libinih_58.bb +1 -1
@@ -8,6 +8,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a7a95d2af90376e85a05318794e6f202" SRC_URI = "git://github.com/benhoyt/inih.git;protocol=https;branch=master" -SRCREV = "5cc5e2c24642513aaa5b19126aad42d0e4e0923e" +SRCREV = "26254ee9de7681f8825433415443e7116ff24b98" inherit meson pkgconfig
Signature · 1 line
2.49.0
PATCH 4/4 gosu: upgrade from 1.17 to 1.19
In reply to [email protected]From: Chen Qi <[email protected]>
Upgrade gosu from 1.17 to 1.19.
Add extra tag=${PV} parameter in SRC_URI to ensure we're at the correct srcrev.
---
meta-oe/recipes-support/gosu/{gosu_1.17.bb => gosu_1.19.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-oe/recipes-support/gosu/{gosu_1.17.bb => gosu_1.19.bb} (92%)meta-oe/recipes-support/gosu/gosu_1.19.bb renamed from meta-oe/recipes-support/gosu/gosu_1.17.bb +2 -2
@@ -5,11 +5,11 @@ LICENSE = "Apache-2.0 " LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" GO_IMPORT = "github.com/tianon/gosu" -SRC_URI = "git://${GO_IMPORT}.git;destsuffix=src/${GO_IMPORT};branch=master;protocol=https \ +SRC_URI = "git://${GO_IMPORT}.git;destsuffix=src/${GO_IMPORT};branch=master;protocol=https;tag=${PV} \ git://github.com/moby/sys;name=user;destsuffix=src/github.com/moby/sys;branch=main;protocol=https \ git://github.com/golang/sys;name=sys;destsuffix=src/golang.org/x/sys;branch=master;protocol=https \ " -SRCREV = "0d1847490b448a17eb347e5e357f2c0478df87ad" +SRCREV = "6456aaa0f3c854d199d0f037f068eb97515b7513" #v0.1.0 SRCREV_user = "c0711cde08c8fa33857a2c28721659267f49b5e2" #v0.1.0
Signature · 1 line
2.49.0