diff options
| -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" | ||
