termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.31k stars 3.06k forks source link

Package request: hostapd #10160

Open drygdryg opened 4 years ago

drygdryg commented 4 years ago

Package description hostapd is a user space daemon for access point and authentication servers. It implements IEEE 802.11 access point management, IEEE 802.1X/WPA/WPA2/EAP Authenticators, RADIUS client, EAP server, and RADIUS authentication server. Link to home page and sources

  1. Home page: https://www.w1.fi/hostapd/
  2. Source code: https://www.w1.fi/releases/hostapd-2.9.tar.gz (latest stable version)

Additional information Successfully compiled. Package requirements: build-essential, pkg-config, libnl, openssl

pkg install build-essential pkg-config libnl openssl wget
wget https://www.w1.fi/releases/hostapd-2.9.tar.gz && tar xvf hostapd-2.9.tar.gz
cd hostapd-2.9/hostapd/
cp defconfig .config
make

Installation

cp hostapd hostapd_cli $PREFIX/bin/
chmod +x $PREFIX/bin/hostapd*
Nappy-Says commented 3 years ago

Hello When i try command "make" - i'm except error .../wireless.h:350:13: error: use of undeclared identifier 'IFNAMSIZ' char name[IFNAMSIZ];

Help..

Chotu75 commented 3 years ago

Hello When i try command "make" - i'm except error .../wireless.h:350:13: error: use of undeclared identifier 'IFNAMSIZ' char name[IFNAMSIZ];

Help..

Same problem.. I can't install hostapd :(