summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/wpa-supplicant
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-connectivity/wpa-supplicant
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) 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.9.bb16
1 files changed, 8 insertions, 8 deletions
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.9.bb b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.9.bb
index 16c5918522..309bb4aea5 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.9.bb
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.9.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=279b4f5abb9c153c285221855ddb78cc \
8 file://README;beginline=1;endline=56;md5=e7d3dbb01f75f0b9799e192731d1e1ff \ 8 file://README;beginline=1;endline=56;md5=e7d3dbb01f75f0b9799e192731d1e1ff \
9 file://wpa_supplicant/wpa_supplicant.c;beginline=1;endline=12;md5=0a8b56d3543498b742b9c0e94cc2d18b" 9 file://wpa_supplicant/wpa_supplicant.c;beginline=1;endline=12;md5=0a8b56d3543498b742b9c0e94cc2d18b"
10DEPENDS = "dbus libnl" 10DEPENDS = "dbus libnl"
11RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli" 11RRECOMMENDS:${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli"
12 12
13PACKAGECONFIG ??= "openssl" 13PACKAGECONFIG ??= "openssl"
14PACKAGECONFIG[gnutls] = ",,gnutls libgcrypt" 14PACKAGECONFIG[gnutls] = ",,gnutls libgcrypt"
@@ -16,7 +16,7 @@ PACKAGECONFIG[openssl] = ",,openssl"
16 16
17inherit pkgconfig systemd 17inherit pkgconfig systemd
18 18
19SYSTEMD_SERVICE_${PN} = "wpa_supplicant.service" 19SYSTEMD_SERVICE:${PN} = "wpa_supplicant.service"
20SYSTEMD_AUTO_ENABLE = "disable" 20SYSTEMD_AUTO_ENABLE = "disable"
21 21
22SRC_URI = "http://w1.fi/releases/wpa_supplicant-${PV}.tar.gz \ 22SRC_URI = "http://w1.fi/releases/wpa_supplicant-${PV}.tar.gz \
@@ -41,11 +41,11 @@ CVE_PRODUCT = "wpa_supplicant"
41 41
42S = "${WORKDIR}/wpa_supplicant-${PV}" 42S = "${WORKDIR}/wpa_supplicant-${PV}"
43 43
44PACKAGES_prepend = "wpa-supplicant-passphrase wpa-supplicant-cli " 44PACKAGES:prepend = "wpa-supplicant-passphrase wpa-supplicant-cli "
45FILES_wpa-supplicant-passphrase = "${bindir}/wpa_passphrase" 45FILES:wpa-supplicant-passphrase = "${bindir}/wpa_passphrase"
46FILES_wpa-supplicant-cli = "${sbindir}/wpa_cli" 46FILES:wpa-supplicant-cli = "${sbindir}/wpa_cli"
47FILES_${PN} += "${datadir}/dbus-1/system-services/* ${systemd_system_unitdir}/*" 47FILES:${PN} += "${datadir}/dbus-1/system-services/* ${systemd_system_unitdir}/*"
48CONFFILES_${PN} += "${sysconfdir}/wpa_supplicant.conf" 48CONFFILES:${PN} += "${sysconfdir}/wpa_supplicant.conf"
49 49
50do_configure () { 50do_configure () {
51 ${MAKE} -C wpa_supplicant clean 51 ${MAKE} -C wpa_supplicant clean
@@ -108,7 +108,7 @@ do_install () {
108 install -m 0644 ${WORKDIR}/99_wpa_supplicant ${D}/etc/default/volatiles 108 install -m 0644 ${WORKDIR}/99_wpa_supplicant ${D}/etc/default/volatiles
109} 109}
110 110
111pkg_postinst_wpa-supplicant () { 111pkg_postinst:wpa-supplicant () {
112 # If we're offline, we don't need to do this. 112 # If we're offline, we don't need to do this.
113 if [ "x$D" = "x" ]; then 113 if [ "x$D" = "x" ]; then
114 killall -q -HUP dbus-daemon || true 114 killall -q -HUP dbus-daemon || true