aboutsummaryrefslogtreecommitdiff
path: root/extra/wpa_supplicant
diff options
context:
space:
mode:
Diffstat (limited to 'extra/wpa_supplicant')
-rwxr-xr-xextra/wpa_supplicant/build15
-rw-r--r--extra/wpa_supplicant/checksums6
-rw-r--r--extra/wpa_supplicant/depends6
-rw-r--r--extra/wpa_supplicant/files/.config7
-rwxr-xr-xextra/wpa_supplicant/files/wpa_supplicant.run2
-rw-r--r--extra/wpa_supplicant/meta3
-rw-r--r--extra/wpa_supplicant/sources5
-rw-r--r--extra/wpa_supplicant/version2
8 files changed, 33 insertions, 13 deletions
diff --git a/extra/wpa_supplicant/build b/extra/wpa_supplicant/build
index 9b82e869..125301f1 100755
--- a/extra/wpa_supplicant/build
+++ b/extra/wpa_supplicant/build
@@ -2,5 +2,16 @@
cd wpa_supplicant
-make LIBDIR=/usr/lib BINDIR=/usr/bin LDFLAGS="$LDFLAGS -static"
-make LIBDIR=/usr/lib BINDIR=/usr/bin DESTDIR="$1" install
+mk() {
+ make \
+ LIBDIR=/usr/lib \
+ BINDIR=/usr/bin \
+ LDFLAGS="$LDFLAGS -static" \
+ "$@"
+}
+
+mk
+mk DESTDIR="$1" install
+
+clman -d "$1" ./doc/docbook/*.[0-9]
+clsv -d "$1" wpa_supplicant.run
diff --git a/extra/wpa_supplicant/checksums b/extra/wpa_supplicant/checksums
index 8be19a91..45b8f3d7 100644
--- a/extra/wpa_supplicant/checksums
+++ b/extra/wpa_supplicant/checksums
@@ -1,2 +1,4 @@
-fcbdee7b4a64bea8177973299c8c824419c413ec2e3a95db63dd6a5dc3541f17 wpa_supplicant-2.9.tar.gz
-6a753cde8110f38580ed8e73a50b344c9249aabcef9f1fc689900e9f0c424640 .config
+%BLAKE3
+7a14f578ff7c6a47c00da7f8259f2d27a458cc08e95d6c20cbd4c3f1fd6ef4dc wpa_supplicant-2.10.tar.gz
+67a51a809af00ee94b712c3c10d95114eaf9844cd9301de43ee470e0e2ad9305 .config
+31cd8d3da593a5e8dc8afedf74af9383a20fbffd7710eeca63aec1e92e43be03 wpa_supplicant.run
diff --git a/extra/wpa_supplicant/depends b/extra/wpa_supplicant/depends
index acecf458..9c0f7582 100644
--- a/extra/wpa_supplicant/depends
+++ b/extra/wpa_supplicant/depends
@@ -1,3 +1,3 @@
-libnl make
-libressl make
-pkgconf make
+libnl-tiny make
+libressl make
+pkgconf make
diff --git a/extra/wpa_supplicant/files/.config b/extra/wpa_supplicant/files/.config
index 5851a44f..fd8c998f 100644
--- a/extra/wpa_supplicant/files/.config
+++ b/extra/wpa_supplicant/files/.config
@@ -37,14 +37,15 @@ CONFIG_DRIVER_NL80211=y
# driver_nl80211.c requires libnl. If you are compiling it yourself
# you may need to point hostapd to your version of libnl.
#
-#CFLAGS += -I$<path to libnl include files>
-#LIBS += -L$<path to libnl library files>
+CFLAGS += -I/usr/include/libnl-tiny -DLIBNL1_COMPAT -D_GNU_SOURCE
+LIBS += /usr/lib/libnl-tiny.a
+CONFIG_LIBNL_TINY=y
# Use libnl v2.0 (or 3.0) libraries.
#CONFIG_LIBNL20=y
# Use libnl 3.2 libraries (if this is selected, CONFIG_LIBNL20 is ignored)
-CONFIG_LIBNL32=y
+#CONFIG_LIBNL32=y
# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
diff --git a/extra/wpa_supplicant/files/wpa_supplicant.run b/extra/wpa_supplicant/files/wpa_supplicant.run
new file mode 100755
index 00000000..55e1be7f
--- /dev/null
+++ b/extra/wpa_supplicant/files/wpa_supplicant.run
@@ -0,0 +1,2 @@
+#!/bin/sh -e
+exec wpa_supplicant -C /etc/wpa_supplicant.conf
diff --git a/extra/wpa_supplicant/meta b/extra/wpa_supplicant/meta
new file mode 100644
index 00000000..4791bd47
--- /dev/null
+++ b/extra/wpa_supplicant/meta
@@ -0,0 +1,3 @@
+description: WPA Supplicant
+license: BSD-3-Clause
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/extra/wpa_supplicant/sources b/extra/wpa_supplicant/sources
index f106958d..4028e0a1 100644
--- a/extra/wpa_supplicant/sources
+++ b/extra/wpa_supplicant/sources
@@ -1,2 +1,3 @@
-https://w1.fi/releases/wpa_supplicant-2.9.tar.gz
-files/.config wpa_supplicant/
+https://w1.fi/releases/wpa_supplicant-2.10.tar.gz
+files/.config wpa_supplicant
+files/wpa_supplicant.run wpa_supplicant
diff --git a/extra/wpa_supplicant/version b/extra/wpa_supplicant/version
index 0b884f41..05ed2945 100644
--- a/extra/wpa_supplicant/version
+++ b/extra/wpa_supplicant/version
@@ -1 +1 @@
-2.9 4
+2.10 1