UmVirt LFS Package info

DB commit: 34a83c7a68a930f721bd7a7f9cb2c2ac41e76ba8
APP commit: 0bd167a48557b5a14ac68d0229893245aacc7f12
[ BASH | XML | JSON ]

hostapd

User space daemon for access point and authentication servers.

Package info

Template:
Codename: hostapd
Source file: hostapd-2.11.tar.gz
Source directory: hostapd-2.11
Package URL: hostapd-2.11.tar.gz
Package md5-checksum URL: hostapd-2.11.tar.gz.md5sum
Dependances: !sqlite, libnl, linux-firmware.
Dependance of: *** NO PACKAGES FOUND ***
Patches: hostapd-2.11-fhs-config.patch.
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
cd hostapd
cp defconfig .config

Build script:
cd hostapd
make

Install script:
cd hostapd
make install  BINDIR=/usr/bin

install -vDm 640 hostapd.{accept,conf,deny,eap_user,radius_clients,vlan,wpa_psk} -t "/etc/hostapd/"
install -vDm 640 hostapd.{accept,conf,deny,eap_user,radius_clients,vlan,wpa_psk} -t "/usr/share/factory/etc/hostapd/"

install -vDm 644 hostapd.8 -t "/usr/share/man/man8/"
install -vDm 644 hostapd_cli.1 -t "/usr/share/man/man1/"



cat > /usr/lib/systemd/system/hostapd.service << "EOF" 

[Unit]
Description=Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
After=network.target

[Service]
ExecStart=/usr/bin/hostapd /etc/hostapd/hostapd.conf
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target

EOF

cat > /usr/lib/systemd/system/hostapd@.service << "EOF" 

[Unit]
Description=Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
After=network.target

[Service]
ExecStart=/usr/bin/hostapd /etc/hostapd/%i.conf
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target

EOF

cat > /usr/lib/tmpfiles.d/hostapd.tmpfiles << "EOF" 

# create configuration files and directories from factory defaults if they do not exist
C /etc/hostapd - - - - /usr/share/factory/etc/hostapd

# create state dir
d /var/lib/hostapd 750 root root - 

EOF