All checks were successful
Build / Build project (push) Successful in 52s
28 lines
1.3 KiB
YAML
28 lines
1.3 KiB
YAML
name : hostapd
|
|
version : 2.11
|
|
release : 1
|
|
source :
|
|
- https://w1.fi/releases/hostapd-2.11.tar.gz : 2b3facb632fd4f65e32f4bf82a76b4b72c501f995a4f62e330219fe7aed1747a
|
|
homepage : https://w1.fi/hostapd/
|
|
license : BSD-3-Clause
|
|
component : network.util
|
|
summary : IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
|
|
description: |
|
|
A software access point, also called virtual router or virtual Wi-Fi, enables a computer to turn its wireless interface into a Wi-Fi access point. It saves the trouble of getting a separate wireless router.
|
|
builddeps :
|
|
- pkgconfig(libnl-3.0)
|
|
- pkgconfig(sqlite3)
|
|
setup : |
|
|
%apply_patches
|
|
cp $pkgfiles/config hostapd/.config
|
|
build : |
|
|
%make -C hostapd
|
|
install : |
|
|
%make -C hostapd install DESTDIR="$installdir" BINDIR=/usr/bin
|
|
|
|
install -vDm 644 $pkgfiles/hostapd.service -t "$installdir/usr/lib/systemd/system/"
|
|
install -vDm 644 $pkgfiles/hostapd@.service -t "$installdir/usr/lib/systemd/system/"
|
|
install -vDm 644 $pkgfiles/hostapd.tmpfiles "$installdir/usr/lib/tmpfiles.d/hostapd.conf"
|
|
|
|
install -vDm 640 hostapd/hostapd.{accept,conf,deny,eap_user,radius_clients,vlan,wpa_psk} -t "$installdir/etc/hostapd/"
|
|
install -vDm 640 hostapd/hostapd.{accept,conf,deny,eap_user,radius_clients,vlan,wpa_psk} -t "$installdir/usr/share/defaults/etc/hostapd/"
|