diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2022-04-12 14:03:08 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-19 14:14:11 +0100 |
commit | 876430f8accee5ade150d5a001bc9684e87d597d (patch) | |
tree | a970f52e1e08d156fecafc88cb592351a0d486c0 /meta/recipes-connectivity/wpa-supplicant | |
parent | 996c17eb5b4c9637d6989742f1e28ae371e83611 (diff) | |
download | poky-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.bb | 41 |
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 @@ | |||
1 | SUMMARY = "Client for Wi-Fi Protected Access (WPA)" | 1 | SUMMARY = "Client for Wi-Fi Protected Access (WPA)" |
2 | HOMEPAGE = "http://w1.fi/wpa_supplicant/" | ||
3 | DESCRIPTION = "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." | 2 | DESCRIPTION = "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." |
3 | HOMEPAGE = "http://w1.fi/wpa_supplicant/" | ||
4 | BUGTRACKER = "http://w1.fi/security/" | 4 | BUGTRACKER = "http://w1.fi/security/" |
5 | SECTION = "network" | 5 | SECTION = "network" |
6 | LICENSE = "BSD-3-Clause" | 6 | LICENSE = "BSD-3-Clause" |
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=5ebcb90236d1ad640558c3d3cd3035df \ | 7 | LIC_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" |
10 | DEPENDS = "dbus libnl" | ||
11 | RRECOMMENDS:${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli" | ||
12 | 10 | ||
13 | PACKAGECONFIG ??= "openssl" | 11 | DEPENDS = "dbus libnl" |
14 | PACKAGECONFIG[gnutls] = ",,gnutls libgcrypt" | ||
15 | PACKAGECONFIG[openssl] = ",,openssl" | ||
16 | |||
17 | inherit pkgconfig systemd | ||
18 | |||
19 | SYSTEMD_SERVICE:${PN} = "wpa_supplicant.service" | ||
20 | SYSTEMD_AUTO_ENABLE = "disable" | ||
21 | 12 | ||
22 | SRC_URI = "http://w1.fi/releases/wpa_supplicant-${PV}.tar.gz \ | 13 | SRC_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 | " |
29 | SRC_URI[sha256sum] = "20df7ae5154b3830355f8ab4269123a87affdea59fe74fe9292a91d0d7e17b2f" | 20 | SRC_URI[sha256sum] = "20df7ae5154b3830355f8ab4269123a87affdea59fe74fe9292a91d0d7e17b2f" |
30 | 21 | ||
31 | CVE_PRODUCT = "wpa_supplicant" | ||
32 | |||
33 | S = "${WORKDIR}/wpa_supplicant-${PV}" | 22 | S = "${WORKDIR}/wpa_supplicant-${PV}" |
34 | 23 | ||
35 | PACKAGES:prepend = "wpa-supplicant-passphrase wpa-supplicant-cli " | 24 | inherit pkgconfig systemd |
36 | FILES:wpa-supplicant-passphrase = "${bindir}/wpa_passphrase" | 25 | |
37 | FILES:wpa-supplicant-cli = "${sbindir}/wpa_cli" | 26 | PACKAGECONFIG ??= "openssl" |
38 | FILES:${PN} += "${datadir}/dbus-1/system-services/* ${systemd_system_unitdir}/*" | 27 | PACKAGECONFIG[gnutls] = ",,gnutls libgcrypt" |
39 | CONFFILES:${PN} += "${sysconfdir}/wpa_supplicant.conf" | 28 | PACKAGECONFIG[openssl] = ",,openssl" |
29 | |||
30 | CVE_PRODUCT = "wpa_supplicant" | ||
40 | 31 | ||
41 | do_configure () { | 32 | do_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 | |||
100 | PACKAGES:prepend = "wpa-supplicant-passphrase wpa-supplicant-cli " | ||
101 | |||
102 | FILES:wpa-supplicant-passphrase = "${bindir}/wpa_passphrase" | ||
103 | FILES:wpa-supplicant-cli = "${sbindir}/wpa_cli" | ||
104 | FILES:${PN} += "${datadir}/dbus-1/system-services/* ${systemd_system_unitdir}/*" | ||
105 | |||
106 | CONFFILES:${PN} += "${sysconfdir}/wpa_supplicant.conf" | ||
107 | |||
108 | RRECOMMENDS:${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli" | ||
109 | |||
110 | SYSTEMD_SERVICE:${PN} = "wpa_supplicant.service" | ||
111 | SYSTEMD_AUTO_ENABLE = "disable" | ||