hostapd/hostapd.spec

59 lines
2.1 KiB
RPMSpec
Raw Permalink Normal View History

Name: hostapd
Version: 2.1
Release: 1mamba
Summary: A user space daemon for access point and authentication servers
Group: Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://hostap.epitest.fi/hostapd/
Source: http://hostap.epitest.fi/releases/hostapd-%{version}.tar.gz
Source1: hostapd-config
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libopenssl-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
hostapd is a user space daemon for access point and authentication servers. It implements IEEE 802.11 access point management, IEEE 802.1X/WPA/WPA2/EAP Authenticators, RADIUS client, EAP server, and RADIUS authentication server. The current version supports Linux (Host AP, madwifi, mac80211-based drivers) and FreeBSD (net80211).
hostapd is designed to be a "daemon" program that runs in the background and acts as the backend component controlling authentication. hostapd supports separate frontend programs and an example text-based frontend, hostapd_cli, is included with hostapd.
%debug_package
%prep
%setup -q
install %{SOURCE1} hostapd/.config
%build
%make -C hostapd
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m0755 hostapd/hostapd %{buildroot}%{_bindir}/hostapd
install -D -m0755 hostapd/hostapd_cli %{buildroot}%{_bindir}/hostapd_cli
install -D -m0644 hostapd/hostapd.conf %{buildroot}%{_sysconfdir}/hostapd.conf
install -D -m0644 hostapd/wired.conf %{buildroot}%{_sysconfdir}/hostapd-wired.conf
%makeinstall -C src
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_sysconfdir}/hostapd.conf
%{_sysconfdir}/hostapd-wired.conf
%{_bindir}/hostapd
%{_bindir}/hostapd_cli
%doc COPYING
%changelog
* Sun Mar 02 2014 Automatic Build System <autodist@mambasoft.it> 2.1-1mamba
- automatic version update by autodist
* Tue Aug 13 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0-1mamba
- package created by silvan using the webbuild interface