12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- # Tanım: WPA kablosuz ağlar için anahtar müzakeresi sağlayan bir yardımcı program
- # URL: http://hostap.epitest.fi/wpa_supplicant
- # Paketçi: milisarge
- # Gerekler: libnl dbus libxml2
- isim=wpa-supplicant
- surum=2.5
- devir=1
- kaynak=(http://hostap.epitest.fi/releases/wpa_supplicant-$surum.tar.gz)
- derle() {
- cd wpa_supplicant-$surum
- 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
- }
|