mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
hostapd: update to 2.2.
This commit is contained in:
parent
26e0d4c6dd
commit
69e1408967
1 changed files with 8 additions and 18 deletions
|
@ -1,43 +1,33 @@
|
||||||
# Template file for 'hostapd'
|
# Template file for 'hostapd'
|
||||||
pkgname=hostapd
|
pkgname=hostapd
|
||||||
version=2.1
|
version=2.2
|
||||||
revision=1
|
revision=1
|
||||||
build_wrksrc=${pkgname}
|
build_wrksrc=${pkgname}
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libnl3-devel openssl-devel"
|
makedepends="libnl3-devel openssl-devel"
|
||||||
conf_files="
|
|
||||||
/etc/hostapd/hostapd.conf
|
|
||||||
/etc/hostapd/hlr_auc_gw.milenage_db
|
|
||||||
/etc/hostapd/hostapd.accept
|
|
||||||
/etc/hostapd/hostapd.deny
|
|
||||||
/etc/hostapd/hostapd.eap_user
|
|
||||||
/etc/hostapd/hostapd.radius_clients
|
|
||||||
/etc/hostapd/hostapd.sim_db
|
|
||||||
/etc/hostapd/hostapd.vlan
|
|
||||||
/etc/hostapd/hostapd.wpa_psk
|
|
||||||
/etc/hostapd/wired.conf"
|
|
||||||
short_desc="IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator"
|
short_desc="IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://w1.fi/hostapd/"
|
homepage="http://w1.fi/hostapd/"
|
||||||
distfiles="http://w1.fi/releases/${pkgname}-${version}.tar.gz"
|
distfiles="http://w1.fi/releases/${pkgname}-${version}.tar.gz"
|
||||||
checksum=5c7110f55b6092e5277e26edc961eda2def12b94218129d116f5681e34bb2f88
|
checksum=f15b6bcb434378860ea5b88dffed7f54d8cb71fff2146de0f006977a5e25a882
|
||||||
|
|
||||||
do_build() {
|
do_configure() {
|
||||||
cp -f ${FILESDIR}/config .config
|
cp -f ${FILESDIR}/config .config
|
||||||
sed -i 's#/etc/hostapd#/etc/hostapd/hostapd#' hostapd.conf
|
sed -i 's#/etc/hostapd#/etc/hostapd/hostapd#' hostapd.conf
|
||||||
export CFLAGS="${CFLAGS} $(pkg-config --cflags libnl-3.0)"
|
}
|
||||||
|
do_build() {
|
||||||
|
export CFLAGS+=" $(pkg-config --cflags libnl-3.0)"
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vinstall ${FILESDIR}/hostapd.service 644 usr/lib/systemd/system
|
vinstall ${FILESDIR}/hostapd.service 644 usr/lib/systemd/system
|
||||||
|
|
||||||
vmkdir usr/bin
|
vmkdir usr/bin
|
||||||
install -t ${DESTDIR}/usr/bin hostapd hostapd_cli
|
install -t ${DESTDIR}/usr/bin hostapd hostapd_cli
|
||||||
|
|
||||||
vmkdir etc/hostapd
|
vmkdir usr/share/examples/hostapd
|
||||||
install -m644 -t ${DESTDIR}/etc/hostapd \
|
install -m644 -t ${DESTDIR}/usr/share/examples/hostapd \
|
||||||
hostapd.{accept,conf,deny,eap_user,radius_clients,sim_db,vlan,wpa_psk} \
|
hostapd.{accept,conf,deny,eap_user,radius_clients,sim_db,vlan,wpa_psk} \
|
||||||
wired.conf hlr_auc_gw.milenage_db
|
wired.conf hlr_auc_gw.milenage_db
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue