milis/talimatname/genel/w/wpa-supplicant/talimat

55 lines
1.5 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: WPA kablosuz ağlar için anahtar müzakeresi sağlayan bir yardımcı program
2016-02-24 01:27:23 +01:00
# URL: http://hostap.epitest.fi/wpa_supplicant
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: libnl dbus libxml2
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=wpa-supplicant
surum=2.5
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
kaynak=(http://hostap.epitest.fi/releases/wpa_supplicant-$surum.tar.gz)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd wpa_supplicant-$surum
2016-02-24 01:27:23 +01:00
cat > wpa_supplicant/.config << "EOF"
CONFIG_BACKEND=file
CONFIG_CTRL_IFACE=y
CONFIG_DEBUG_FILE=y
CONFIG_DEBUG_SYSLOG=y
CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON
CONFIG_DRIVER_NL80211=y
CONFIG_DRIVER_WEXT=y
CONFIG_DRIVER_WIRED=y
CONFIG_EAP_GTC=y
CONFIG_EAP_LEAP=y
CONFIG_EAP_MD5=y
CONFIG_EAP_MSCHAPV2=y
CONFIG_EAP_OTP=y
CONFIG_EAP_PEAP=y
CONFIG_EAP_TLS=y
CONFIG_EAP_TTLS=y
CONFIG_IEEE8021X_EAPOL=y
CONFIG_IPV6=y
CONFIG_LIBNL32=y
CONFIG_PEERKEY=y
CONFIG_PKCS12=y
CONFIG_READLINE=y
CONFIG_SMARTCARD=y
CONFIG_WPS=y
CFLAGS += -I/usr/include/libnl3
CONFIG_CTRL_IFACE_DBUS=y
CONFIG_CTRL_IFACE_DBUS_NEW=y
CONFIG_CTRL_IFACE_DBUS_INTRO=y
EOF
cd wpa_supplicant &&
make BINDIR=/sbin LIBDIR=/lib
mkdir -p $PKG/{etc/dbus-1/system.d,sbin,usr/share/{dbus-1/system-services,man/man{5,8}}}
install -v -m755 wpa_{cli,passphrase,supplicant} $PKG/sbin
install -v -m644 doc/docbook/wpa_supplicant.conf.5 $PKG/usr/share/man/man5
install -v -m644 doc/docbook/wpa_{cli,passphrase,supplicant}.8 $PKG/usr/share/man/man8
install -v -m644 dbus/fi.{epitest.hostap.WPASupplicant,w1.wpa_supplicant1}.service \
$PKG/usr/share/dbus-1/system-services
install -v -m644 dbus/dbus-wpa_supplicant.conf \
$PKG/etc/dbus-1/system.d/wpa_supplicant.conf
}