This commit is contained in:
parent
fc375c681f
commit
ff7e63102a
8 changed files with 657 additions and 0 deletions
28
package.yml
Normal file
28
package.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
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/"
|
Loading…
Add table
Add a link
Reference in a new issue