Commit 27d4045b authored by Natanael Copa's avatar Natanael Copa

testing/wpa_supplicant: new aport

A utility providing key negotiation for WPA wireless networks
http://hostap.epitest.fi/wpa_supplicant
parent 58140133
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=wpa_supplicant
pkgver=0.5.11
pkgrel=0
pkgdesc="A utility providing key negotiation for WPA wireless networks"
url="http://hostap.epitest.fi/wpa_supplicant"
license="GPL"
subpackages="$pkgname-doc"
depends="openssl uclibc"
makedepends="openssl-dev"
source="http://hostap.epitest.fi/releases/$pkgname-$pkgver.tar.gz
config
"
build ()
{
cd "$srcdir"/$pkgname-$pkgver
cp ../config ./.config
sed -i 's@/usr/local@$(PREFIX)@g' Makefile
sed -i 's@dynamic_eap_methods@@g' Makefile
make || return 1
make PREFIX=/usr DESTDIR="$pkgdir" install || return 1
install -Dm644 wpa_supplicant.conf "$pkgdir"/etc/wpa_supplicant.conf
install -Dm644 doc/docbook/wpa_supplicant.conf.5 \
"$pkgdir"/usr/share/man/man5/wpa_supplicant.conf.5 || return 1
for i in wpa_background wpa_cli wpa_passphrase wpa_supplicant; do
install -Dm644 doc/docbook/$i.8 \
"$pkgdir"/usr/share/man/man8/$i.8 || return 1
done
# install -m755 -d ""$pkgdir"/usr/share/dbus-1/system-services"
# install -m644 dbus-wpa_supplicant.service ""$pkgdir"/usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service" || return 1
# sed -e 's/sbin/usr\/sbin/' -i ""$pkgdir"/usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service" || return 1
# install -m755 -d ""$pkgdir"/etc/dbus-1/system.d"
# install -m644 dbus-wpa_supplicant.conf ""$pkgdir"/etc/dbus-1/system.d/fi.epitest.hostap.WPASupplicant.conf" || return 1
}
md5sums="ad320af63f735531878e592f1ffd9b06 wpa_supplicant-0.5.11.tar.gz
3db583801e91fb409a5994a08ea31838 config"
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment