]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - wpa_supplicant/wpa_supplicant.nm
glib2: Update to 2.39.4.
[people/ms/ipfire-3.x.git] / wpa_supplicant / wpa_supplicant.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = wpa_supplicant
7 version = 1.0
8 release = 2
9
10 groups = Sytem/Base
11 url = http://hostap.epitest.fi/releases/
12 license = BSD
13 summary = WPA/WPA2/IEEE 802.1X Supplicant.
14
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
20 authentication/association of the wlan driver.
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}
56 requires += network >= 1:005
57 end
58
59 package %{name}-debuginfo
60 template DEBUGINFO
61 end
62 end