wpa_supplicant: update to 0.7.0.
--HG-- extra : convert_revision : 83e23d3ea30d0eb6905151fcf9812f1b22161090
This commit is contained in:
parent
c15eeb6a89
commit
4f0d2df917
2 changed files with 8 additions and 7 deletions
srcpkgs/wpa_supplicant
|
@ -6,7 +6,7 @@ command=/usr/sbin/wpa_supplicant
|
||||||
: ${wpa_supplicant_conf:=/etc/wpa_supplicant.conf}
|
: ${wpa_supplicant_conf:=/etc/wpa_supplicant.conf}
|
||||||
: ${wpa_supplicant_log:=/var/log/wpa_supplicant.log}
|
: ${wpa_supplicant_log:=/var/log/wpa_supplicant.log}
|
||||||
wpa_supplicant_if=${wpa_supplicant_if:+-i}$wpa_supplicant_if
|
wpa_supplicant_if=${wpa_supplicant_if:+-i}$wpa_supplicant_if
|
||||||
command_args="$wpa_supplicant_args -f $wpa_supplicant_log -B -c $wpa_supplicant_conf $wpa_supplicant_if"
|
command_args="$wpa_supplicant_args -f $wpa_supplicant_log -B -c$wpa_supplicant_conf $wpa_supplicant_if"
|
||||||
name="WPA Supplicant Daemon"
|
name="WPA Supplicant Daemon"
|
||||||
|
|
||||||
depend()
|
depend()
|
||||||
|
@ -15,7 +15,7 @@ depend()
|
||||||
use logger
|
use logger
|
||||||
after bootmisc modules
|
after bootmisc modules
|
||||||
before dns dhcpcd net
|
before dns dhcpcd net
|
||||||
keyword noshutdown
|
keyword -shutdown
|
||||||
}
|
}
|
||||||
|
|
||||||
find_wireless()
|
find_wireless()
|
||||||
|
@ -25,7 +25,9 @@ find_wireless()
|
||||||
case "$RC_UNAME" in
|
case "$RC_UNAME" in
|
||||||
Linux)
|
Linux)
|
||||||
for iface in /sys/class/net/*; do
|
for iface in /sys/class/net/*; do
|
||||||
if [ -e "$iface"/wireless ]; then
|
if [ -e "$iface"/wireless -o \
|
||||||
|
-e "$iface"/phy80211 ]
|
||||||
|
then
|
||||||
echo "${iface##*/}"
|
echo "${iface##*/}"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# Template file for 'wpa_supplicant'
|
# Template file for 'wpa_supplicant'
|
||||||
pkgname=wpa_supplicant
|
pkgname=wpa_supplicant
|
||||||
version=0.6.9
|
version=0.7.0
|
||||||
revision=1
|
|
||||||
wrksrc=${pkgname}-${version}/${pkgname}
|
wrksrc=${pkgname}-${version}/${pkgname}
|
||||||
distfiles="http://hostap.epitest.fi/releases/$pkgname-$version.tar.gz"
|
distfiles="http://hostap.epitest.fi/releases/$pkgname-$version.tar.gz"
|
||||||
build_style=gnu_makefile
|
build_style=gnu_makefile
|
||||||
|
@ -9,7 +8,7 @@ make_install_target="PREFIX=/usr
|
||||||
DESTDIR=${XBPS_DESTDIR}/${pkgname}-${version} install"
|
DESTDIR=${XBPS_DESTDIR}/${pkgname}-${version} install"
|
||||||
short_desc="WPA/WPA2/IEEE 802.1X Supplicant"
|
short_desc="WPA/WPA2/IEEE 802.1X Supplicant"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
checksum=6e5284fa3f7c56e001fae92486eaa31340db5dd925dcb38bd572d2e8ed70f570
|
checksum=9d34f678881b21eb685b730bfed2dc56f4c9eb50bf79245c246f0b8266b75e21
|
||||||
long_desc="
|
long_desc="
|
||||||
$pkgname is a WPA Supplicant for Linux, BSD, Mac OS X, and Windows with
|
$pkgname is a WPA Supplicant for Linux, BSD, Mac OS X, and Windows with
|
||||||
support for WPA and WPA2 (IEEE 802.11i / RSN). It is suitable for both
|
support for WPA and WPA2 (IEEE 802.11i / RSN). It is suitable for both
|
||||||
|
@ -35,7 +34,7 @@ Add_dependency build dbus
|
||||||
Add_dependency run ncurses-libs
|
Add_dependency run ncurses-libs
|
||||||
Add_dependency run dbus-libs
|
Add_dependency run dbus-libs
|
||||||
|
|
||||||
pre_configure()
|
pre_build()
|
||||||
{
|
{
|
||||||
sed -i 's|/usr/local|$(PREFIX)|g' ${wrksrc}/Makefile
|
sed -i 's|/usr/local|$(PREFIX)|g' ${wrksrc}/Makefile
|
||||||
cp -f ${FILESDIR}/config ${wrksrc}/.config
|
cp -f ${FILESDIR}/config ${wrksrc}/.config
|
||||||
|
|
Loading…
Reference in a new issue