pkg download command and patches

This commit is contained in:
2026-09-10 16:59:11 +03:00
parent c6dcbc1ca5
commit b099c3d88b
110 changed files with 1582 additions and 332 deletions

View File

@ -0,0 +1,12 @@
hostap/hostapd 2.12
=
https://git.w1.fi/hostap.git
``` sh *** build ***
cd hostapd
cp defconfig .config
make
make install BINDIR=/pkg/gnu/hostap/hostapd/bin
mkdir -p ../etc
cp hostapd.conf ../etc
```

View File

@ -0,0 +1,27 @@
hostap/wpa_supplicant 2.12
=
https://git.w1.fi/hostap.git
``` sh *** build ***
cd wpa_supplicant
cp defconfig .config
make
make install \
SBINDIR=/pkg/gnu/hostap/wpa_supplicant/sbin \
BINDIR=/pkg/gnu/hostap/wpa_supplicant/bin \
CONFDIR=/pkg/gnu/hostap/wpa_supplicant/etc \
DBUSDIR=/pkg/gnu/hostap/wpa_supplicant/share/dbus-1/system.d \
LIBDIR=/pkg/gnu/hostap/wpa_supplicant/lib \
MANDIR=/pkg/gnu/hostap/wpa_supplicant/share/man
```
``` sh *** config ***
mkdir -p /pkg/gnu/hostap/wpa_supplicant/run
sed -i 's|^ctrl_interface=.*|ctrl_interface=/pkg/gnu/hostap/wpa_supplicant/run|' /pkg/gnu/wpa_supplicant/etc/wpa_supplicant.conf
```
``` cfg *** build deps ***
libnl
dbus
openssl
```