7c28ce64bd
Copy from Base:System/hostapd based on submit request 41288 from user dirkmueller OBS-URL: https://build.opensuse.org/request/show/41288 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hostapd?expand=0&rev=7
88 lines
2.6 KiB
RPMSpec
88 lines
2.6 KiB
RPMSpec
#
|
|
# spec file for package hostapd (Version 0.6.10)
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: hostapd
|
|
BuildRequires: libnl-devel openssl-devel
|
|
Summary: Turns Your WLAN Card into a WPA capable Access Point
|
|
Version: 0.6.10
|
|
Release: 1
|
|
Group: Hardware/Wifi
|
|
License: BSD3c ; GPLv2+
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
#Provides:
|
|
#Requires:
|
|
#Conflicts:
|
|
Url: http://hostap.epitest.fi/
|
|
AutoReqProv: on
|
|
Source: hostapd-%{version}.tar.gz
|
|
Patch: hostapd.dif
|
|
Patch1: git-commit-eb1f744.diff
|
|
|
|
%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. Currently, hostapd supports HostAP,
|
|
madwifi, and prism54 drivers. It also supports wired IEEE 802.1X
|
|
authentication via any ethernet driver.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Jouni Malinen <jkmaline@cc.hut.fi>
|
|
|
|
%prep
|
|
%setup -n hostapd-%{version}/hostapd
|
|
%patch -p0
|
|
%patch1 -p2
|
|
cp defconfig .config
|
|
|
|
%build
|
|
CFLAGS="$RPM_OPT_FLAGS" make %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
mkdir -p %{buildroot}/%{_sbindir}
|
|
mkdir %{buildroot}/etc
|
|
mkdir -p %{buildroot}/%{_mandir}/man8
|
|
install -m 755 hostapd %{buildroot}/%{_sbindir}
|
|
install -m 755 hostapd_cli %{buildroot}/%{_sbindir}
|
|
install -m 644 hostapd.conf %{buildroot}/etc
|
|
install -m 644 hostapd.accept %{buildroot}/etc
|
|
install -m 644 hostapd.deny %{buildroot}/etc
|
|
install -m 644 hostapd.eap_user %{buildroot}/etc
|
|
install -m 644 hostapd.radius_clients %{buildroot}/etc
|
|
install -m 644 hostapd.sim_db %{buildroot}/etc
|
|
install -m 644 hostapd.vlan %{buildroot}/etc
|
|
install -m 644 hostapd.wpa_psk %{buildroot}/etc
|
|
install -m 644 hostapd.8 %{buildroot}/%{_mandir}/man8
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%config(noreplace) /etc/*
|
|
%{_sbindir}/*
|
|
%doc ChangeLog ../COPYING README wired.conf
|
|
%doc %{_mandir}/man8/*
|
|
|
|
%changelog
|