diff options
author | Eric Hameleers <alien@slackware.com> | 2008-02-15 14:17:45 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2008-02-15 14:17:45 +0000 |
commit | 9841f6ed8aca946426ca2831c68cc1e4f32647d8 (patch) | |
tree | f81dd51a78ad835f70e30f339eb77f782df62b1c /wpa_supplicant/build/wpa_supplicant.SlackBuild | |
parent | 18da859e407459cbf16019c6fb2cc912ff583782 (diff) | |
download | asb-9841f6ed8aca946426ca2831c68cc1e4f32647d8.tar.gz asb-9841f6ed8aca946426ca2831c68cc1e4f32647d8.tar.xz |
Update for 0.5.9, enable DBUS support
Diffstat (limited to 'wpa_supplicant/build/wpa_supplicant.SlackBuild')
-rwxr-xr-x | wpa_supplicant/build/wpa_supplicant.SlackBuild | 33 |
1 files changed, 25 insertions, 8 deletions
diff --git a/wpa_supplicant/build/wpa_supplicant.SlackBuild b/wpa_supplicant/build/wpa_supplicant.SlackBuild index a1bb5ba4..f0ae2887 100755 --- a/wpa_supplicant/build/wpa_supplicant.SlackBuild +++ b/wpa_supplicant/build/wpa_supplicant.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh # $Id$ -# Copyright (c) 2006,2007 Eric Hameleers <alien@slackware.com> +# Copyright (c) 2004-2008 Eric Hameleers <alien@slackware.com> # Permission to use, copy, modify, and distribute this software for # any purpose with or without fee is hereby granted, provided that # the above copyright notice and this permission notice appear in all @@ -77,6 +77,8 @@ # * Update, remove GPL license from the script. # 0.5.8-1: 29/Jan/2007 by Eric Hameleers <alien@slackware.com> # * Update +# 0.5.9-1: 15/feb/2008 by Eric Hameleers <alien@slackware.com> +# * Update. Enable DBUS support. # # Run 'sh wpa_supplicant.SlackBuild --cleanup' to build a Slackware package. # The package (.tgz) plus descriptive .txt file are created in /tmp . @@ -89,11 +91,11 @@ SNAPSHOT="" # set to "yes" if you're building from CVS SRCNAM=hostap PRGNAM=wpa_supplicant -VERSION=${VERSION:-0.5.8} +VERSION=${VERSION:-0.5.9} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} -DOCS="ChangeLog COPYING README* examples wpa_supplicant.conf.sample" +DOCS="ChangeLog COPYING README* *.txt examples wpa_supplicant.conf.sample" # Support for some of the wireless drivers needs the header files of those # drivers. @@ -265,9 +267,25 @@ popd cp wpa_supplicant.conf wpa_supplicant.conf.sample # Install binaries: -mkdir -p $PKG/usr/sbin $PKG/usr/X11R6/bin +mkdir -p $PKG/usr/sbin $PKG/usr/bin cp wpa_supplicant wpa_passphrase wpa_cli $PKG/usr/sbin/ -cp wpa_gui/wpa_gui $PKG/usr/X11R6/bin/ +cp wpa_gui/wpa_gui $PKG/usr/bin/ + +# Install dbus configuration file: +mkdir -p $PKG/etc/dbus-1/system.d/ +cp dbus-wpa_supplicant.conf $PKG/etc/dbus-1/system.d/dbus-wpa_supplicant.conf.new + +# Install a .desktop file for wpa_gui: +mkdir -p $PKG/usr/share/applications +cat <<EOT > $PKG/usr/share/applications/wpa_gui.desktop +[Desktop Entry] +Name=wpa_gui +Comment[en]=Wpa_supplicant management +Exec=kdesu wpa_gui +Icon=wlassistant +Type=Application +Categories=Qt;Network; +EOT # Install man pages: for m in 5 8; do @@ -303,11 +321,9 @@ cat <<-_EOT_ > $PKG/etc/wpa_supplicant.conf.new # Plaintext connection (no WPA, no IEEE 802.1X), # nice for hotel/airport types of WiFi network. - # You'll need a recent version of wireless-tools for this! network={ - ssid="any" key_mgmt=NONE - priority=2 + priority=0 } _EOT_ @@ -330,6 +346,7 @@ config() { done } config etc/wpa_supplicant.conf.new +config etc/dbus-1/system.d/dbus-wpa_supplicant.conf.new EOINS |