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_ACS=y/s/^#//' \
37 -e '/^#CONFIG_LIBNL32=y/s/^#//' \
38 -e '/^#CONFIG_TAXONOMY=y/s/^#//' \
39 -e '/^#CONFIG_DRIVER_NL80211=y/s/^#//' \
40 -e '/^#CONFIG_DRIVER_NONE=y/s/^#//' \
41 -e '/^#CONFIG_DRIVER_WIRED=y/s/^#//' \
42 -e '/^#CONFIG_IEEE80211AC=y/s/^#//' \
43 -e '/^#CONFIG_IEEE80211N=y/s/^#//' \
44 -e '/^#CONFIG_RADIUS_SERVER=y/s/^#//'
49 make %{PARALLELISMFLAGS} CC=gcc
56 mkdir -pv %{BUILDROOT}%{bindir} %{BUILDROOT}%{sbindir}
57 install -m 755 hostapd %{BUILDROOT}%{sbindir}
58 install -m 755 hostapd_cli %{BUILDROOT}%{bindir}
61 mkdir -pv %{BUILDROOT}%{mandir}/man{1,8}
62 install -m 644 hostapd.8 %{BUILDROOT}%{mandir}/man8
63 install -m 644 hostapd_cli.1 %{BUILDROOT}%{mandir}/man1
70 systemctl daemon-reload >/dev/null 2>&1 || :
74 systemctl daemon-reload >/dev/null 2>&1 || :
78 systemctl daemon-reload >/dev/null 2>&1 || :
82 package %{name}-debuginfo