summaryrefslogtreecommitdiffstats
path: root/meta/packages/wpa-supplicant/wpa-supplicant_0.5.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/wpa-supplicant/wpa-supplicant_0.5.1.bb')
-rw-r--r--meta/packages/wpa-supplicant/wpa-supplicant_0.5.1.bb56
1 files changed, 0 insertions, 56 deletions
diff --git a/meta/packages/wpa-supplicant/wpa-supplicant_0.5.1.bb b/meta/packages/wpa-supplicant/wpa-supplicant_0.5.1.bb
deleted file mode 100644
index 704efcac20..0000000000
--- a/meta/packages/wpa-supplicant/wpa-supplicant_0.5.1.bb
+++ /dev/null
@@ -1,56 +0,0 @@
1DESCRIPTION = "A Client for Wi-Fi Protected Access (WPA)."
2SECTION = "network"
3LICENSE = "GPL"
4HOMEPAGE = "http://hostap.epitest.fi/wpa_supplicant/"
5DEPENDS = "gnutls madwifi-ng"
6
7PR = "r4"
8DEFAULT_PREFERENCE = "-1"
9
10SRC_URI = "http://hostap.epitest.fi/releases/wpa_supplicant-${PV}.tar.gz \
11 file://defconfig-gnutls \
12 file://init.sh \
13 file://defaults-sane \
14 file://wpa_supplicant.conf \
15 file://wpa_supplicant.conf-sane"
16
17S = "${WORKDIR}/wpa_supplicant-${PV}"
18
19PACKAGES_prepend = "wpa-supplicant-passphrase wpa-supplicant-cli "
20FILES_wpa-supplicant-passphrase = "/usr/sbin/wpa_passphrase"
21FILES_wpa-supplicant-cli = "/usr/sbin/wpa_cli"
22
23RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli"
24
25INITSCRIPT_NAME = "wpa"
26INITSCRIPT_PARAMS = "defaults 10"
27inherit update-rc.d
28
29do_configure () {
30 install -m 0755 ${WORKDIR}/defconfig-gnutls .config
31 echo "CONFIG_DRIVER_MADWIFI=y" >> .config
32 echo "CFLAGS += -I${STAGING_INCDIR}/madwifi-ng" >> .config
33}
34
35do_compile () {
36 make
37}
38
39do_install () {
40 install -d ${D}${sbindir}
41 install -m755 wpa_supplicant ${D}${sbindir}
42 install -m755 wpa_passphrase ${D}${sbindir}
43 install -m755 wpa_cli ${D}${sbindir}
44
45 install -d ${D}${localstatedir}/run/wpa_supplicant
46
47 install -d ${D}${docdir}/wpa_supplicant
48 install -m644 README ${WORKDIR}/wpa_supplicant.conf ${D}${docdir}/wpa_supplicant
49
50 install -d ${D}${sysconfdir}/init.d
51 install -m700 ${WORKDIR}/init.sh ${D}${sysconfdir}/init.d/wpa
52
53 install -d ${D}${sysconfdir}/default
54 install -m600 ${WORKDIR}/defaults-sane ${D}${sysconfdir}/default/wpa
55 install -m600 ${WORKDIR}/wpa_supplicant.conf-sane ${D}${sysconfdir}/wpa_supplicant.conf
56}