summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/wpa-supplicant
diff options
context:
space:
mode:
authorAlex Kiernan <alex.kiernan@gmail.com>2022-04-12 14:03:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-19 14:14:11 +0100
commit876430f8accee5ade150d5a001bc9684e87d597d (patch)
treea970f52e1e08d156fecafc88cb592351a0d486c0 /meta/recipes-connectivity/wpa-supplicant
parent996c17eb5b4c9637d6989742f1e28ae371e83611 (diff)
downloadpoky-876430f8accee5ade150d5a001bc9684e87d597d.tar.gz
wpa-supplicant: Reorder/group following style guide
(From OE-Core rev: d99436b3c3f38584e3638b4ccaa6a14382e0c3a5) Signed-off-by: Alex Kiernan <alexk@zuma.ai> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/wpa-supplicant')
-rw-r--r--meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb41
1 files changed, 22 insertions, 19 deletions
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb
index 6e80ac7de3..da8f0843dc 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb
@@ -1,23 +1,14 @@
1SUMMARY = "Client for Wi-Fi Protected Access (WPA)" 1SUMMARY = "Client for Wi-Fi Protected Access (WPA)"
2HOMEPAGE = "http://w1.fi/wpa_supplicant/"
3DESCRIPTION = "wpa_supplicant is a WPA Supplicant for Linux, BSD, Mac OS X, and Windows with support for WPA and WPA2 (IEEE 802.11i / RSN). Supplicant is the IEEE 802.1X/WPA component that is used in the client stations. It implements key negotiation with a WPA Authenticator and it controls the roaming and IEEE 802.11 authentication/association of the wlan driver." 2DESCRIPTION = "wpa_supplicant is a WPA Supplicant for Linux, BSD, Mac OS X, and Windows with support for WPA and WPA2 (IEEE 802.11i / RSN). Supplicant is the IEEE 802.1X/WPA component that is used in the client stations. It implements key negotiation with a WPA Authenticator and it controls the roaming and IEEE 802.11 authentication/association of the wlan driver."
3HOMEPAGE = "http://w1.fi/wpa_supplicant/"
4BUGTRACKER = "http://w1.fi/security/" 4BUGTRACKER = "http://w1.fi/security/"
5SECTION = "network" 5SECTION = "network"
6LICENSE = "BSD-3-Clause" 6LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://COPYING;md5=5ebcb90236d1ad640558c3d3cd3035df \ 7LIC_FILES_CHKSUM = "file://COPYING;md5=5ebcb90236d1ad640558c3d3cd3035df \
8 file://README;beginline=1;endline=56;md5=e3d2f6c2948991e37c1ca4960de84747 \ 8 file://README;beginline=1;endline=56;md5=e3d2f6c2948991e37c1ca4960de84747 \
9 file://wpa_supplicant/wpa_supplicant.c;beginline=1;endline=12;md5=76306a95306fee9a976b0ac1be70f705" 9 file://wpa_supplicant/wpa_supplicant.c;beginline=1;endline=12;md5=76306a95306fee9a976b0ac1be70f705"
10DEPENDS = "dbus libnl"
11RRECOMMENDS:${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli"
12 10
13PACKAGECONFIG ??= "openssl" 11DEPENDS = "dbus libnl"
14PACKAGECONFIG[gnutls] = ",,gnutls libgcrypt"
15PACKAGECONFIG[openssl] = ",,openssl"
16
17inherit pkgconfig systemd
18
19SYSTEMD_SERVICE:${PN} = "wpa_supplicant.service"
20SYSTEMD_AUTO_ENABLE = "disable"
21 12
22SRC_URI = "http://w1.fi/releases/wpa_supplicant-${PV}.tar.gz \ 13SRC_URI = "http://w1.fi/releases/wpa_supplicant-${PV}.tar.gz \
23 file://defconfig \ 14 file://defconfig \
@@ -28,15 +19,15 @@ SRC_URI = "http://w1.fi/releases/wpa_supplicant-${PV}.tar.gz \
28 " 19 "
29SRC_URI[sha256sum] = "20df7ae5154b3830355f8ab4269123a87affdea59fe74fe9292a91d0d7e17b2f" 20SRC_URI[sha256sum] = "20df7ae5154b3830355f8ab4269123a87affdea59fe74fe9292a91d0d7e17b2f"
30 21
31CVE_PRODUCT = "wpa_supplicant"
32
33S = "${WORKDIR}/wpa_supplicant-${PV}" 22S = "${WORKDIR}/wpa_supplicant-${PV}"
34 23
35PACKAGES:prepend = "wpa-supplicant-passphrase wpa-supplicant-cli " 24inherit pkgconfig systemd
36FILES:wpa-supplicant-passphrase = "${bindir}/wpa_passphrase" 25
37FILES:wpa-supplicant-cli = "${sbindir}/wpa_cli" 26PACKAGECONFIG ??= "openssl"
38FILES:${PN} += "${datadir}/dbus-1/system-services/* ${systemd_system_unitdir}/*" 27PACKAGECONFIG[gnutls] = ",,gnutls libgcrypt"
39CONFFILES:${PN} += "${sysconfdir}/wpa_supplicant.conf" 28PACKAGECONFIG[openssl] = ",,openssl"
29
30CVE_PRODUCT = "wpa_supplicant"
40 31
41do_configure () { 32do_configure () {
42 ${MAKE} -C wpa_supplicant clean 33 ${MAKE} -C wpa_supplicant clean
@@ -104,5 +95,17 @@ pkg_postinst:${PN} () {
104 if [ "x$D" = "x" ]; then 95 if [ "x$D" = "x" ]; then
105 killall -q -HUP dbus-daemon || true 96 killall -q -HUP dbus-daemon || true
106 fi 97 fi
107
108} 98}
99
100PACKAGES:prepend = "wpa-supplicant-passphrase wpa-supplicant-cli "
101
102FILES:wpa-supplicant-passphrase = "${bindir}/wpa_passphrase"
103FILES:wpa-supplicant-cli = "${sbindir}/wpa_cli"
104FILES:${PN} += "${datadir}/dbus-1/system-services/* ${systemd_system_unitdir}/*"
105
106CONFFILES:${PN} += "${sysconfdir}/wpa_supplicant.conf"
107
108RRECOMMENDS:${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli"
109
110SYSTEMD_SERVICE:${PN} = "wpa_supplicant.service"
111SYSTEMD_AUTO_ENABLE = "disable"