From 2f626f4b31893e92058cdc4f6fa17743131f7d5a Mon Sep 17 00:00:00 2001 From: hechos Date: Fri, 28 Jan 2022 14:08:29 -0300 Subject: [PATCH] hostapd update to 2.10 --- srcpkgs/hostapd/template | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/srcpkgs/hostapd/template b/srcpkgs/hostapd/template index 87cf12033e40..01b0409a6687 100644 --- a/srcpkgs/hostapd/template +++ b/srcpkgs/hostapd/template @@ -1,7 +1,7 @@ # Template file for 'hostapd' pkgname=hostapd -version=2.9 -revision=3 +version=2.10 +revision=1 build_wrksrc="$pkgname" conf_files="/etc/hostapd/hostapd.conf" hostmakedepends="pkg-config" @@ -11,29 +11,29 @@ maintainer="Orphaned " license="BSD-3-Clause" homepage="http://w1.fi/hostapd/" distfiles="http://w1.fi/releases/${pkgname}-${version}.tar.gz" -checksum=881d7d6a90b2428479288d64233151448f8990ab4958e0ecaca7eeb3c9db2bd7 +checksum=206e7c799b678572c2e3d12030238784bc4a9f82323b0156b4c9466f1498915d do_configure() { - cp -f ${FILESDIR}/config .config - sed -i 's#/etc/hostapd#/etc/hostapd/hostapd#' hostapd.conf + cp -f ${FILESDIR}/config .config + sed -i 's#/etc/hostapd#/etc/hostapd/hostapd#' hostapd.conf } do_build() { - export CFLAGS+=" $(pkg-config --cflags libnl-3.0)" - make ${makejobs} + export CFLAGS+=" $(pkg-config --cflags libnl-3.0)" + make ${makejobs} } do_install() { - vsv hostapd + vsv hostapd - vmkdir usr/bin - install -t ${DESTDIR}/usr/bin hostapd hostapd_cli + vmkdir usr/bin + install -t ${DESTDIR}/usr/bin hostapd hostapd_cli - vmkdir usr/share/examples/hostapd - install -m644 -t ${DESTDIR}/usr/share/examples/hostapd \ - hostapd.{accept,conf,deny,eap_user,radius_clients,sim_db,vlan,wpa_psk} \ - wired.conf hlr_auc_gw.milenage_db + vmkdir usr/share/examples/hostapd + install -m644 -t ${DESTDIR}/usr/share/examples/hostapd \ + hostapd.{accept,conf,deny,eap_user,radius_clients,sim_db,vlan,wpa_psk} \ + wired.conf hlr_auc_gw.milenage_db - vinstall hostapd.conf 644 etc/hostapd - vman hostapd.8 - vman hostapd_cli.1 - vlicense ${wrksrc}/COPYING + vinstall hostapd.conf 644 etc/hostapd + vman hostapd.8 + vman hostapd_cli.1 + vlicense ${wrksrc}/COPYING }