mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
996c17eb5b
commit
876430f8ac
@@ -1,23 +1,14 @@
|
|||||||
SUMMARY = "Client for Wi-Fi Protected Access (WPA)"
|
SUMMARY = "Client for Wi-Fi Protected Access (WPA)"
|
||||||
HOMEPAGE = "http://w1.fi/wpa_supplicant/"
|
|
||||||
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."
|
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."
|
||||||
|
HOMEPAGE = "http://w1.fi/wpa_supplicant/"
|
||||||
BUGTRACKER = "http://w1.fi/security/"
|
BUGTRACKER = "http://w1.fi/security/"
|
||||||
SECTION = "network"
|
SECTION = "network"
|
||||||
LICENSE = "BSD-3-Clause"
|
LICENSE = "BSD-3-Clause"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=5ebcb90236d1ad640558c3d3cd3035df \
|
LIC_FILES_CHKSUM = "file://COPYING;md5=5ebcb90236d1ad640558c3d3cd3035df \
|
||||||
file://README;beginline=1;endline=56;md5=e3d2f6c2948991e37c1ca4960de84747 \
|
file://README;beginline=1;endline=56;md5=e3d2f6c2948991e37c1ca4960de84747 \
|
||||||
file://wpa_supplicant/wpa_supplicant.c;beginline=1;endline=12;md5=76306a95306fee9a976b0ac1be70f705"
|
file://wpa_supplicant/wpa_supplicant.c;beginline=1;endline=12;md5=76306a95306fee9a976b0ac1be70f705"
|
||||||
|
|
||||||
DEPENDS = "dbus libnl"
|
DEPENDS = "dbus libnl"
|
||||||
RRECOMMENDS:${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli"
|
|
||||||
|
|
||||||
PACKAGECONFIG ??= "openssl"
|
|
||||||
PACKAGECONFIG[gnutls] = ",,gnutls libgcrypt"
|
|
||||||
PACKAGECONFIG[openssl] = ",,openssl"
|
|
||||||
|
|
||||||
inherit pkgconfig systemd
|
|
||||||
|
|
||||||
SYSTEMD_SERVICE:${PN} = "wpa_supplicant.service"
|
|
||||||
SYSTEMD_AUTO_ENABLE = "disable"
|
|
||||||
|
|
||||||
SRC_URI = "http://w1.fi/releases/wpa_supplicant-${PV}.tar.gz \
|
SRC_URI = "http://w1.fi/releases/wpa_supplicant-${PV}.tar.gz \
|
||||||
file://defconfig \
|
file://defconfig \
|
||||||
@@ -28,15 +19,15 @@ SRC_URI = "http://w1.fi/releases/wpa_supplicant-${PV}.tar.gz \
|
|||||||
"
|
"
|
||||||
SRC_URI[sha256sum] = "20df7ae5154b3830355f8ab4269123a87affdea59fe74fe9292a91d0d7e17b2f"
|
SRC_URI[sha256sum] = "20df7ae5154b3830355f8ab4269123a87affdea59fe74fe9292a91d0d7e17b2f"
|
||||||
|
|
||||||
CVE_PRODUCT = "wpa_supplicant"
|
|
||||||
|
|
||||||
S = "${WORKDIR}/wpa_supplicant-${PV}"
|
S = "${WORKDIR}/wpa_supplicant-${PV}"
|
||||||
|
|
||||||
PACKAGES:prepend = "wpa-supplicant-passphrase wpa-supplicant-cli "
|
inherit pkgconfig systemd
|
||||||
FILES:wpa-supplicant-passphrase = "${bindir}/wpa_passphrase"
|
|
||||||
FILES:wpa-supplicant-cli = "${sbindir}/wpa_cli"
|
PACKAGECONFIG ??= "openssl"
|
||||||
FILES:${PN} += "${datadir}/dbus-1/system-services/* ${systemd_system_unitdir}/*"
|
PACKAGECONFIG[gnutls] = ",,gnutls libgcrypt"
|
||||||
CONFFILES:${PN} += "${sysconfdir}/wpa_supplicant.conf"
|
PACKAGECONFIG[openssl] = ",,openssl"
|
||||||
|
|
||||||
|
CVE_PRODUCT = "wpa_supplicant"
|
||||||
|
|
||||||
do_configure () {
|
do_configure () {
|
||||||
${MAKE} -C wpa_supplicant clean
|
${MAKE} -C wpa_supplicant clean
|
||||||
@@ -104,5 +95,17 @@ pkg_postinst:${PN} () {
|
|||||||
if [ "x$D" = "x" ]; then
|
if [ "x$D" = "x" ]; then
|
||||||
killall -q -HUP dbus-daemon || true
|
killall -q -HUP dbus-daemon || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PACKAGES:prepend = "wpa-supplicant-passphrase wpa-supplicant-cli "
|
||||||
|
|
||||||
|
FILES:wpa-supplicant-passphrase = "${bindir}/wpa_passphrase"
|
||||||
|
FILES:wpa-supplicant-cli = "${sbindir}/wpa_cli"
|
||||||
|
FILES:${PN} += "${datadir}/dbus-1/system-services/* ${systemd_system_unitdir}/*"
|
||||||
|
|
||||||
|
CONFFILES:${PN} += "${sysconfdir}/wpa_supplicant.conf"
|
||||||
|
|
||||||
|
RRECOMMENDS:${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli"
|
||||||
|
|
||||||
|
SYSTEMD_SERVICE:${PN} = "wpa_supplicant.service"
|
||||||
|
SYSTEMD_AUTO_ENABLE = "disable"
|
||||||
|
|||||||
Reference in New Issue
Block a user