]>
Commit | Line | Data |
---|---|---|
2f3072ad | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
2f3072ad MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = hostapd |
b38b522c | 7 | version = 0.7.3 |
93959bfe | 8 | release = 2 |
2f3072ad | 9 | |
802ea3af MT |
10 | groups = Networking/Tools |
11 | url = http://hostap.epitest.fi/hostapd/ | |
12 | license = GPLv2+ | |
13 | summary = User space daemon to create Wifi Access points. | |
2f3072ad | 14 | |
802ea3af | 15 | description |
2f3072ad MT |
16 | Hostapd is a user space daemon for access point and authentication \ |
17 | servers. It implements IEEE 802.11 access point management, IEEE \ | |
18 | 802.1X/WPA/WPA2/EAP Authenticators, RADIUS client, EAP server, and \ | |
19 | RADIUS authentication server. | |
802ea3af MT |
20 | end |
21 | ||
b38b522c | 22 | source_dl = http://hostap.epitest.fi/releases/ |
802ea3af MT |
23 | |
24 | build | |
25 | requires | |
26 | libnl-devel | |
27 | openssl-devel | |
28 | end | |
29 | ||
30 | prepare_cmds | |
31 | cd hostapd | |
32 | cp -vf %{DIR_SOURCE}/config .config | |
33 | sed -e "s@/usr/local@%{BUILDROOT}/usr@g" -i Makefile | |
34 | end | |
35 | ||
36 | build | |
37 | cd hostapd | |
38 | make %{PARALLELISMFLAGS} CC=gcc | |
39 | end | |
40 | ||
41 | install | |
42 | mkdir -pv %{BUILDROOT}/usr/bin | |
43 | cd hostapd && make install | |
44 | end | |
45 | end | |
46 | ||
47 | packages | |
48 | package %{name} | |
1f9bc2f0 MT |
49 | |
50 | package %{name}-debuginfo | |
51 | template DEBUGINFO | |
52 | end | |
802ea3af | 53 | end |