1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Networking/Tools
11 url = http://hostap.epitest.fi/hostapd/
13 summary = User space daemon to create Wifi Access points.
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.
22 source_dl = http://hostap.epitest.fi/releases/
33 # Create our custom configuration.
34 cat defconfig > .config
36 -e "/^#CONFIG_IEEE80211N=y/s/^#//" \
37 -e "/^#CONFIG_RADIUS_SERVER=y/s/^#//"
42 make %{PARALLELISMFLAGS} CC=gcc
49 mkdir -pv %{BUILDROOT}%{bindir} %{BUILDROOT}%{sbindir}
50 install -m 755 hostapd %{BUILDROOT}%{sbindir}
51 install -m 755 hostapd_cli %{BUILDROOT}%{bindir}
54 mkdir -pv %{BUILDROOT}%{mandir}/man{1,8}
55 install -m 644 hostapd.8 %{BUILDROOT}%{mandir}/man8
56 install -m 644 hostapd_cli.1 %{BUILDROOT}%{mandir}/man1
63 systemctl daemon-reload >/dev/null 2>&1 || :
67 systemctl daemon-reload >/dev/null 2>&1 || :
71 systemctl daemon-reload >/dev/null 2>&1 || :
75 package %{name}-debuginfo