1 Summary: HostAP - acts as an access point
2 Summary(es): HostAP - actúa como un punto de acceso
3 Summary(pl): HostAP - praca jako access point
9 Source0: http://hostap.epitest.fi/releases/%{name}-%{version}.tar.gz
10 # Source0-md5: 6be6bb611ee624c66d94dbca104721e9
12 Patch0: %{name}-config.patch
13 URL: http://hostap.epitest.fi/
15 Requires(post,preun): /sbin/chkconfig
16 Requires: kernel-net-hostap >= 0.1.2
17 Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 This package contains utilities and userspace daemon for the Linux
21 driver for wireless LAN cards based on Intersil's Prism2/2.5/3
22 chipset. The driver supports a so called Host AP mode, i.e., it takes
23 care of IEEE 802.11 management functions in the host computer and acts
24 as an access point. This does not require any special firmware for the
25 wireless LAN card. In addition to this, it has support for normal
26 station operations in BSS and possible also in IBSS.
29 Este paquete contiene unas herramientas y un servidor del espacio de
30 usuario para tarjetas LAN inalámbricas basadas en el chipset Intersil
31 Prism2/2.5/3. El driver soporta el llamado modo Host AP, es decir, se
32 encarga de las funciones administrativas el el host, actuando como
33 "access point". Ello no requiere ningún firmware especial para la
34 tarjeta LAN inalámbrica. Además, también hay soporte para operaciones
35 normales de estación en BSS y posiblemente también en IBSS.
38 Ten pakiet zawiera narzêdzia oraz demona dzia³aj±cego w przestrzeni
39 u¿ytkownika dla linuksowego sterownika kart sieci bezprzewodowych
40 opartych na uk³adach Intersil Prism2/2.5/3. Sterownik obs³uguje tak
41 zwany tryb Host AP, czyli dba o funkcje zarz±dzaj±ce IEEE 802.11 na
42 komputerze i dzia³a jako access point. Nie wymaga to ¿adnego
43 specjalnego firmware dla karty sieci bezprzewodowej. Ponadto ma
44 obs³ugê normalnych operacji stacyjnych w BSS, a byæ mo¿e tak¿e IBSS.
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT{/sbin,%{_sysconfdir}/{hostap,pcmcia}}
57 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
60 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/hostapd
61 install hostapd $RPM_BUILD_ROOT/sbin
63 #hostapd configuration
64 install hostapd.accept $RPM_BUILD_ROOT%{_sysconfdir}/hostap
65 install hostapd.conf $RPM_BUILD_ROOT%{_sysconfdir}/hostap
66 install hostapd.deny $RPM_BUILD_ROOT%{_sysconfdir}/hostap
69 rm -rf $RPM_BUILD_ROOT
72 /sbin/chkconfig --add hostapd
73 if [ -r /var/lock/subsys/hostapd ]; then
74 /etc/rc.d/init.d/hostapd restart >&2
76 echo "Run \"/etc/rc.d/init.d/hostapd start\" to start HostAP daemons."
80 if [ "$1" = "0" ]; then
81 if [ -r /var/lock/subsys/hostapd ]; then
82 /etc/rc.d/init.d/hostapd stop >&2
84 /sbin/chkconfig --del hostapd
88 %defattr(644,root,root,755)
90 %dir %{_sysconfdir}/hostap
91 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/hostap/*
92 %attr(755,root,root) /sbin/hostapd
93 %attr(754,root,root) /etc/rc.d/init.d/hostapd