Skip to contentSkip to conversation

package/wpa_supplicant: bump version to 2.11

PATCH In review Sergey Matyukevich 2 participants 2 messages Aug 2, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/wpa_supplicant: bump version to 2.11

Update wpa_supplicant to the latest release v2.11. Drop all the patches as they are already included into the release.

---
 ...le-options-for-libwpa_client.so-and-.patch | 68 ----------------
 ...se-a-less-generic-name-for-IEEE802.1.patch | 79 -------------------
 ...384-512-KDF-for-SAE-if-SHA384-512-is.patch | 64 ---------------
 package/wpa_supplicant/wpa_supplicant.hash    |  2 +-
 package/wpa_supplicant/wpa_supplicant.mk      |  2 +-
 5 files changed, 2 insertions(+), 213 deletions(-)
 delete mode 100644 package/wpa_supplicant/0001-build-re-enable-options-for-libwpa_client.so-and-.patch
 delete mode 100644 package/wpa_supplicant/0002-wpa_supplicant-use-a-less-generic-name-for-IEEE802.1.patch
 delete mode 100644 package/wpa_supplicant/0003-Include-HMAC-SHA384-512-KDF-for-SAE-if-SHA384-512-is.patch
package/wpa_supplicant/0001-build-re-enable-options-for-libwpa_client.so-and-.patch deleted +0 -68
deleted file mode 100644
index 156d0e7e2c..0000000000
@@ -1,68 +0,0 @@
-From e6a6a4e3df52cc60425fcd037d3ec68a38f948ce Mon Sep 17 00:00:00 2001
-From: Sergey Matyukevich <[email protected]>
-Date: Sun, 20 Feb 2022 10:12:28 +0300
-Subject: [PATCH] build: re-enable options for libwpa_client.so and wpa_passphrase
-
-Commit a41a29192e5d ("build: Pull common fragments into a build.rules
-file") introduced regression into wpa_supplicant build process. Build
-target libwpa_client.so is not built regardless of whether the option
-CONFIG_BUILD_WPA_CLIENT_SO is set or not. This happens because config
-option is used before it is imported from the configuration file.
-Moving its usage after including build.rules does not help: variable
-ALL is processed by build.rules and further changes are not applied.
-Similarly, option CONFIG_NO_WPA_PASSPHRASE also does not work as
-expected: wpa_passphrase is always built regardless of whether the
-option is set or not.
-
-This commit re-enables options adding both build targets to _all
-dependencies.
-
-Signed-off-by: Sergey Matyukevich <[email protected]>
----
- wpa_supplicant/Makefile | 19 ++++++++++++-------
- 1 file changed, 12 insertions(+), 7 deletions(-)
-
-diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
-index cb66defac..e384cc6b8 100644
---- a/wpa_supplicant/Makefile
-+++ b/wpa_supplicant/Makefile
-@@ -1,24 +1,29 @@
- BINALL=wpa_supplicant wpa_cli
- 
--ifndef CONFIG_NO_WPA_PASSPHRASE
--BINALL += wpa_passphrase
--endif
--
- ALL = $(BINALL)
- ALL += systemd/wpa_supplicant.service
- ALL += systemd/[email protected]
- ALL += systemd/[email protected]
- ALL += systemd/[email protected]
- ALL += dbus/fi.w1.wpa_supplicant1.service
--ifdef CONFIG_BUILD_WPA_CLIENT_SO
--ALL += libwpa_client.so
--endif
- 
- EXTRA_TARGETS=dynamic_eap_methods
- 
- CONFIG_FILE=.config
- include ../src/build.rules
- 
-+ifdef CONFIG_BUILD_WPA_CLIENT_SO
-+# add the dependency this way to allow CONFIG_BUILD_WPA_CLIENT_SO
-+# being set in the config which is read by build.rules
-+_all: libwpa_client.so
-+endif
-+
-+ifndef CONFIG_NO_WPA_PASSPHRASE
-+# add the dependency this way to allow CONFIGNO_WPA_PASSPHRASE
-+# being set in the config which is read by build.rules
-+_all: wpa_passphrase
-+endif
-+
- ifdef LIBS
- # If LIBS is set with some global build system defaults, clone those for
- # LIBS_c and LIBS_p to cover wpa_passphrase and wpa_cli as well.
--- 
-2.35.1
-
package/wpa_supplicant/0002-wpa_supplicant-use-a-less-generic-name-for-IEEE802.1.patch deleted +0 -79

79 lines not on this page · raw message

package/wpa_supplicant/0003-Include-HMAC-SHA384-512-KDF-for-SAE-if-SHA384-512-is.patch deleted +0 -64

64 lines not on this page · raw message

package/wpa_supplicant/wpa_supplicant.hash +1 -1
index fcaee0a30b..940fad4c6f 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  20df7ae5154b3830355f8ab4269123a87affdea59fe74fe9292a91d0d7e17b2f  wpa_supplicant-2.10.tar.gz
+sha256  912ea06f74e30a8e36fbb68064d6cdff218d8d591db0fc5d75dee6c81ac7fc0a  wpa_supplicant-2.11.tar.gz
 sha256  af01e1d1ee065a1054d20ebe8a78a016f1fb1133b73e6a9d50801b165bb280c7  README
package/wpa_supplicant/wpa_supplicant.mk +1 -1
index 42c6f772ac..984959f679 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-WPA_SUPPLICANT_VERSION = 2.10
+WPA_SUPPLICANT_VERSION = 2.11
 WPA_SUPPLICANT_SITE = http://w1.fi/releases
 WPA_SUPPLICANT_LICENSE = BSD-3-Clause
 WPA_SUPPLICANT_LICENSE_FILES = README
Signature · 6 lines
2.45.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hello Sergey,

Quoted 4 lines · On Fri, 2 Aug 2024 20:39:00 +0300 Sergey Matyukevich <[email protected]>…

Update wpa_supplicant to the latest release v2.11. Drop all the patches as they are already included into the release.

Quoted 10 lines
---
 ...le-options-for-libwpa_client.so-and-.patch | 68 ----------------
 ...se-a-less-generic-name-for-IEEE802.1.patch | 79 -------------------
 ...384-512-KDF-for-SAE-if-SHA384-512-is.patch | 64 ---------------
 package/wpa_supplicant/wpa_supplicant.hash    |  2 +-
 package/wpa_supplicant/wpa_supplicant.mk      |  2 +-
 5 files changed, 2 insertions(+), 213 deletions(-)
 delete mode 100644 package/wpa_supplicant/0001-build-re-enable-options-for-libwpa_client.so-and-.patch
 delete mode 100644 package/wpa_supplicant/0002-wpa_supplicant-use-a-less-generic-name-for-IEEE802.1.patch
 delete mode 100644 package/wpa_supplicant/0003-Include-HMAC-SHA384-512-KDF-for-SAE-if-SHA384-512-is.patch

I've applied, after fixing two things:

- You had forgotten to drop the entry corresponding to patch 0001 in .checkpackageignore (this is listed by "make check-package")

- You had forgotten to check the legal information for this package, and the hash of the README file had changed.

I fixed both small issues and pushed your patch. Thanks a lot!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot