drop upstreamed cross-compile test patch This release already guards the auth-pam unit test TESTS assignment with "if !CROSS_COMPILING" in tests/unit_tests/plugins/auth-pam/Makefile.am
Signed-off-by: Khem Raj <[email protected]> --- ...-test-execution-when-cross-compiling.patch | 34 ------------------- .../{openvpn_2.7.0.bb => openvpn_2.7.4.bb} | 3 +- 2 files changed, 1 insertion(+), 36 deletions(-) delete mode 100644 meta-networking/recipes-support/openvpn/openvpn/0001-tests-skip-test-execution-when-cross-compiling.patch rename meta-networking/recipes-support/openvpn/{openvpn_2.7.0.bb => openvpn_2.7.4.bb} (96%) diff --git a/meta-networking/recipes-support/openvpn/openvpn/0001-tests-skip-test-execution-when-cross-compiling.patch b/meta-networking/recipes-support/openvpn/openvpn/0001-tests-skip-test-execution-when-cross-compiling.patch deleted file mode 100644 index f8f2d2907f..0000000000 --- a/meta-networking/recipes-support/openvpn/openvpn/0001-tests-skip-test-execution-when-cross-compiling.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 93f7f6ca0c916427d28610d3e263fa556587532d Mon Sep 17 00:00:00 2001 -From: Haixiao Yan <[email protected]> -Date: Thu, 26 Mar 2026 13:43:50 +0800 -Subject: [PATCH] tests: skip test execution when cross-compiling - -The auth-pam unit test Makefile.am unconditionally assigns the TESTS variable, -causing test execution to fail during cross-compilation because the target -binaries are not executable on the build host. - -Upstream-Status: Pending - -Signed-off-by: Haixiao Yan <[email protected]> ---- - tests/unit_tests/plugins/auth-pam/Makefile.am | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/tests/unit_tests/plugins/auth-pam/Makefile.am b/tests/unit_tests/plugins/auth-pam/Makefile.am -index ba32013ac920..7da299ccde92 100644 ---- a/tests/unit_tests/plugins/auth-pam/Makefile.am -+++ b/tests/unit_tests/plugins/auth-pam/Makefile.am -@@ -4,8 +4,10 @@ AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING) auth_pam Plugin Unit-Tests - - if ENABLE_PLUGIN_AUTH_PAM - check_PROGRAMS = auth_pam_testdriver -+if !CROSS_COMPILING - TESTS = $(check_PROGRAMS) - endif -+endif - - auth_pam_testdriver_SOURCES = test_search_and_replace.c $(top_srcdir)/src/plugins/auth-pam/utils.h $(top_srcdir)/src/plugins/auth-pam/utils.c - auth_pam_testdriver_CFLAGS = @TEST_CFLAGS@ -I$(top_srcdir)/src/plugins/auth-pam --- -2.43.0 - diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb b/meta-networking/recipes-support/openvpn/openvpn_2.7.4.bb similarity index 96% rename from meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb rename to meta-networking/recipes-support/openvpn/openvpn_2.7.4.bb index 6ddebde4d1..6349b62638 100644 --- a/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb +++ b/meta-networking/recipes-support/openvpn/openvpn_2.7.4.bb @@ -9,14 +9,13 @@ inherit autotools systemd update-rc.d pkgconfig ptest SRC_URI = "http://swupdate.openvpn.org/community/releases/${BP}.tar.gz \ file://0001-configure.ac-eliminate-build-path-from-openvpn-versi.patch \ - file://0001-tests-skip-test-execution-when-cross-compiling.patch \ file://openvpn \ file://run-ptest \ " UPSTREAM_CHECK_URI = "https://openvpn.net/community-downloads" -SRC_URI[sha256sum] = "2f0e10eb272be61e8fb25fe1cfa20875ff30ac857ef1418000c02290bd6dfa45" +SRC_URI[sha256sum] = "18db05f3d5eee3663db1914590044e5f96ff5cd47b6e7846c6a350806c23dbce" CVE_STATUS[CVE-2020-27569] = "not-applicable-config: Applies only Aviatrix OpenVPN client, not openvpn"
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#127820): https://lists.openembedded.org/g/openembedded-devel/message/127820 Mute This Topic: https://lists.openembedded.org/mt/120013616/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
