]>
Commit | Line | Data |
---|---|---|
75e38195 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
75e38195 MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = wpa_supplicant |
db116d55 MT |
7 | version = 2.4 |
8 | release = 1 | |
75e38195 | 9 | |
802ea3af MT |
10 | groups = Sytem/Base |
11 | url = http://hostap.epitest.fi/releases/ | |
12 | license = BSD | |
13 | summary = WPA/WPA2/IEEE 802.1X Supplicant. | |
75e38195 | 14 | |
802ea3af MT |
15 | description |
16 | wpa_supplicant is a WPA Supplicant for Linux, BSD and Windows with support | |
17 | for WPA and WPA2 (IEEE 802.11i / RSN). Supplicant is the IEEE 802.1X/WPA | |
18 | component that is used in the client stations. It implements key negotiation | |
19 | with a WPA Authenticator and it controls the roaming and IEEE 802.11 | |
75e38195 | 20 | authentication/association of the wlan driver. |
802ea3af MT |
21 | end |
22 | ||
23 | source_dl = http://hostap.epitest.fi/releases/ | |
24 | ||
25 | build | |
26 | requires | |
27 | dbus-devel | |
28 | openssl-devel | |
29 | pkg-config | |
30 | end | |
31 | ||
32 | build | |
33 | # Copy our config file for build | |
34 | cp %{DIR_SOURCE}/wpa_supplicant.config %{DIR_APP}/wpa_supplicant/.config | |
35 | ||
36 | # Build wpa_supplicant | |
37 | cd %{DIR_APP}/wpa_supplicant && make %{PARALLELISMFLAGS} | |
38 | end | |
39 | ||
40 | install | |
41 | mkdir -pv %{BUILDROOT}/etc/wpa_supplicant | |
42 | mkdir -pv %{BUILDROOT}/usr/sbin | |
43 | ||
44 | # Install config file | |
45 | install -D -m 0600 %{DIR_SOURCE}/wpa_supplicant.conf %{BUILDROOT}/etc/wpa_supplicant | |
46 | ||
47 | # Install binaries | |
48 | install -m 0755 %{DIR_APP}/wpa_supplicant/wpa_passphrase %{BUILDROOT}/usr/sbin | |
49 | install -m 0755 %{DIR_APP}/wpa_supplicant/wpa_cli %{BUILDROOT}/usr/sbin | |
50 | install -m 0755 %{DIR_APP}/wpa_supplicant/wpa_supplicant %{BUILDROOT}/usr/sbin | |
51 | end | |
52 | end | |
53 | ||
54 | packages | |
55 | package %{name} | |
6205da65 MT |
56 | requires += network >= 1:005 |
57 | end | |
1f9bc2f0 MT |
58 | |
59 | package %{name}-debuginfo | |
60 | template DEBUGINFO | |
61 | end | |
802ea3af | 62 | end |