Author: dzeus Date: Sat Apr 22 14:20:51 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - use %service and adapterize
---- Files affected: SPECS: hostapd.spec (1.14 -> 1.15) ---- Diffs: ================================================================ Index: SPECS/hostapd.spec diff -u SPECS/hostapd.spec:1.14 SPECS/hostapd.spec:1.15 --- SPECS/hostapd.spec:1.14 Tue Apr 11 13:37:44 2006 +++ SPECS/hostapd.spec Sat Apr 22 16:20:45 2006 @@ -1,6 +1,6 @@ # $Revision$, $Date$ # -# TODO: check madwifi-ng-devel and madwifi-devel BR +# TODO: check madwifi-ng-devel and madwifi-devel BR # Summary: HostAP - acts as an access point Summary(es): HostAP - actúa como un punto de acceso @@ -8,7 +8,7 @@ Name: hostapd Version: 0.5.2 Release: 1 -License: GPL +License: GPL v2 Group: Daemons Source0: http://hostap.epitest.fi/releases/%{name}-%{version}.tar.gz # Source0-md5: b7f4739ca4758798f8dc3b1ea9fd00d0 @@ -17,6 +17,7 @@ Patch1: %{name}-build-time-config.patch URL: http://hostap.epitest.fi/ BuildRequires: madwifi-ng-devel +BuildRequires: rpmbuild(macros) >= 1.268 Requires(post,preun): /sbin/chkconfig Requires: kernel-net-hostap >= 0.1.2 Requires: rc-scripts @@ -24,33 +25,36 @@ %description This package contains utilities and userspace daemon for the Linux -driver for wireless LAN cards based on Intersil's Prism2/2.5/3, -Intersil/Conexant Prism GT/Duette/Indigo (Prism54), Atheros ar521x -(madwifi) chipsets. The driver supports a so called Host AP mode, i.e., -it takes care of IEEE 802.11 management functions in the host computer -and acts as an access point. This does not require any special firmware -for the wireless LAN card. In addition to this, it has support for -normal station operations in BSS and possible also in IBSS. +driver for wireless LAN cards based on Intersil's Prism2/2.5/3, +Intersil/Conexant Prism GT/Duette/Indigo (Prism54), Atheros ar521x +(madwifi) chipsets. The driver supports a so called Host AP mode, +i.e., it takes care of IEEE 802.11 management functions in the host +computer and acts as an access point. This does not require any +special firmware for the wireless LAN card. In addition to this, it +has support for normal station operations in BSS and possible also in +IBSS. %description -l es Este paquete contiene unas herramientas y un servidor del espacio de usuario para tarjetas LAN inalámbricas basadas en el chipset Intersil -Prism2/2.5/3, Intersil/Conexant Prism GT/Duette/Indigo (Prism54), -Atheros ar521x (madwifi). El driver soporta el llamado modo Host AP, -es decir, se encarga de las funciones administrativas el el host, -actuando como "access point". Ello no requiere ningún firmware especial -para la tarjeta LAN inalámbrica. Además, también hay soporte para -operaciones normales de estación en BSS y posiblemente también en IBSS. +Prism2/2.5/3, Intersil/Conexant Prism GT/Duette/Indigo (Prism54), +Atheros ar521x (madwifi). El driver soporta el llamado modo Host AP, +es decir, se encarga de las funciones administrativas el el host, +actuando como "access point". Ello no requiere ningún firmware +especial para la tarjeta LAN inalámbrica. Además, también hay soporte +para operaciones normales de estación en BSS y posiblemente también en +IBSS. %description -l pl Ten pakiet zawiera narzędzia oraz demona działającego w przestrzeni użytkownika dla linuksowego sterownika kart sieci bezprzewodowych -opartych na układach Intersil Prism2/2.5/3, Intersil/Conexant -Prism GT/Duette/Indigo (Prism54), Atheros ar521x (madwifi). Sterownik -obsługuje tak zwany tryb Host AP, czyli dba o funkcje zarządzające -IEEE 802.11 na komputerze i działa jako access point. Nie wymaga -to żadnego specjalnego firmware dla karty sieci bezprzewodowej. Ponadto -ma obsługę normalnych operacji stacyjnych w BSS, a być może także IBSS. +opartych na układach Intersil Prism2/2.5/3, Intersil/Conexant Prism +GT/Duette/Indigo (Prism54), Atheros ar521x (madwifi). Sterownik +obsługuje tak zwany tryb Host AP, czyli dba o funkcje zarządzające +IEEE 802.11 na komputerze i działa jako access point. Nie wymaga to +żadnego specjalnego firmware dla karty sieci bezprzewodowej. Ponadto +ma obsługę normalnych operacji stacyjnych w BSS, a być może także +IBSS. %prep %setup -q @@ -83,17 +87,11 @@ %post /sbin/chkconfig --add hostapd -if [ -r /var/lock/subsys/hostapd ]; then - /etc/rc.d/init.d/hostapd restart >&2 -else - echo "Run \"/etc/rc.d/init.d/hostapd start\" to start HostAP daemons." -fi +%service hostapd restart "HostAP daemons" %preun if [ "$1" = "0" ]; then - if [ -r /var/lock/subsys/hostapd ]; then - /etc/rc.d/init.d/hostapd stop >&2 - fi + %service hostapd stop /sbin/chkconfig --del hostapd fi @@ -111,6 +109,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.15 2006/04/22 14:20:45 dzeus +- use %service and adapterize + Revision 1.14 2006/04/11 11:37:44 mguevara - 0.5.2 rel 1 - new chipsets - Atheros/madwifi-ng and Prism54 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/hostapd.spec?r1=1.14&r2=1.15&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit