mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 20:43:38 +02:00
hostapd: this one might actually work, probably
This commit is contained in:
parent
2eff4494f5
commit
92c3f17d04
2 changed files with 4124 additions and 2 deletions
4121
net-wireless/hostapd/files/hostapd-2.6-wpe-r2.patch
Normal file
4121
net-wireless/hostapd/files/hostapd-2.6-wpe-r2.patch
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -45,7 +45,7 @@ src_prepare() {
|
|||
popd >/dev/null || die
|
||||
|
||||
#https://github.com/aircrack-ng/aircrack-ng/tree/master/patches/wpe/hostapd-wpe
|
||||
use wpe && cd .. && epatch "${FILESDIR}/${P}-wpe.patch"
|
||||
use wpe && cd .. && epatch "${FILESDIR}/${P}-wpe-r2.patch"
|
||||
|
||||
#mana (cli) patch from https://gist.github.com/singe/05799e3e3184947a6803d6cd1538a71a
|
||||
use karma_cli && cd .. && epatch "${FILESDIR}/${P}-wpe_mana.patch"
|
||||
|
|
@ -187,7 +187,8 @@ src_install() {
|
|||
if use wpe; then
|
||||
dosbin ${PN}-wpe
|
||||
dobin ${PN}-wpe_cli
|
||||
dosym /usr/sbin/${PN}-wpe /usr/sbin/${PN}
|
||||
dosym ./${PN}-wpe /usr/sbin/${PN}
|
||||
DESTDIR="${ED}" emake wpe
|
||||
else
|
||||
dosbin ${PN}
|
||||
dobin ${PN}_cli
|
||||
Loading…
Reference in a new issue