summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2005-11-12 23:23:59 +0000
committerStefan Schweizer <genstef@gentoo.org>2005-11-12 23:23:59 +0000
commit22f0e1604a686786a9ab2011496f170ebcf0c1cc (patch)
treefabdce401a5a4e56beb06a482de30df15805daa3 /net-wireless
parentadd patch to fix #112284. (diff)
downloadhistorical-22f0e1604a686786a9ab2011496f170ebcf0c1cc.tar.gz
historical-22f0e1604a686786a9ab2011496f170ebcf0c1cc.tar.bz2
historical-22f0e1604a686786a9ab2011496f170ebcf0c1cc.zip
Add wlan_scan_sta, wlan_scan_ap, postinst einfo note, new homepage, extra docs, madwifi-tools DEPEND
Package-Manager: portage-2.0.53_rc7
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/madwifi-driver/ChangeLog7
-rw-r--r--net-wireless/madwifi-driver/Manifest28
-rw-r--r--net-wireless/madwifi-driver/madwifi-driver-0.1_pre20051031.ebuild32
3 files changed, 43 insertions, 24 deletions
diff --git a/net-wireless/madwifi-driver/ChangeLog b/net-wireless/madwifi-driver/ChangeLog
index 5d34ff6ebc19..e34bffa79e83 100644
--- a/net-wireless/madwifi-driver/ChangeLog
+++ b/net-wireless/madwifi-driver/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-wireless/madwifi-driver
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/ChangeLog,v 1.26 2005/11/09 05:57:34 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/ChangeLog,v 1.27 2005/11/12 23:23:59 genstef Exp $
+
+ 12 Nov 2005; Stefan Schweizer <genstef@gentoo.org>
+ madwifi-driver-0.1_pre20051031.ebuild:
+ Add wlan_scan_sta, wlan_scan_ap, postinst einfo note, new homepage, extra
+ docs, madwifi-tools DEPEND
*madwifi-driver-0.1_pre20051031 (09 Nov 2005)
diff --git a/net-wireless/madwifi-driver/Manifest b/net-wireless/madwifi-driver/Manifest
index 8af67c608be2..cdb4184616e6 100644
--- a/net-wireless/madwifi-driver/Manifest
+++ b/net-wireless/madwifi-driver/Manifest
@@ -1,19 +1,19 @@
-MD5 d31e367abf6bad427bff92479be44a28 madwifi-driver-0.1_pre20050107.ebuild 1558
-MD5 15a55ce88b8b1de6bda7d2b7c2e67d0f ChangeLog 5708
-MD5 19fd766bac8e110b4620363a1ace26dd metadata.xml 159
-MD5 e0020685c1a32f48dd2bc8f2871c944e madwifi-driver-0.1_pre20050224.ebuild 1600
-MD5 854bc4696b95b7971755073267c3fb46 madwifi-driver-0.1_pre20050420.ebuild 1641
-MD5 cc8a7129d95603c1317b0d059ec56227 madwifi-driver-0.1_pre20051031.ebuild 2157
-MD5 1b9a0408676d910cdc32a019e1861364 madwifi-driver-0.1_pre20050420-r1.ebuild 1966
-MD5 f0cb84db3b036aaf10676122893a4214 madwifi-driver-0.1_pre20050809-r1.ebuild 2026
-MD5 a5437df679fa2707e622cfcc87824d8e madwifi-driver-0.1_pre20050809.ebuild 1829
-MD5 d4937e6f87128084a32ef792ddbccc6e files/digest-madwifi-driver-0.1_pre20050420 85
+MD5 ac7d1bcfeed513a4370d5698745ee6bd ChangeLog 5908
MD5 283e94543234c3f396d65824fbcccb32 files/digest-madwifi-driver-0.1_pre20050107 85
MD5 9ce1d64dc0d6c9a682a5d287a85eaf51 files/digest-madwifi-driver-0.1_pre20050224 85
-MD5 807179e31533b4895664bff1421f4381 files/madwifi-multi-ssid-support.patch 3343
-MD5 d9ea69973349d71e055b16a64039f1b7 files/madwifi-driver-2.6.8-20040814-proc_dointvec.patch 1749
-MD5 444756b2062924ee7e0e631e956d46e9 files/madwifi-driver-0.1-arp-packets-33958.patch 704
-MD5 f14c460ff95aa3e3ad0f065c5e5d8aa3 files/digest-madwifi-driver-0.1_pre20051031 81
+MD5 d4937e6f87128084a32ef792ddbccc6e files/digest-madwifi-driver-0.1_pre20050420 85
MD5 d4937e6f87128084a32ef792ddbccc6e files/digest-madwifi-driver-0.1_pre20050420-r1 85
MD5 18e8dd64189fffac2fac9689668d4fcf files/digest-madwifi-driver-0.1_pre20050809 85
MD5 18e8dd64189fffac2fac9689668d4fcf files/digest-madwifi-driver-0.1_pre20050809-r1 85
+MD5 f14c460ff95aa3e3ad0f065c5e5d8aa3 files/digest-madwifi-driver-0.1_pre20051031 81
+MD5 444756b2062924ee7e0e631e956d46e9 files/madwifi-driver-0.1-arp-packets-33958.patch 704
+MD5 d9ea69973349d71e055b16a64039f1b7 files/madwifi-driver-2.6.8-20040814-proc_dointvec.patch 1749
+MD5 807179e31533b4895664bff1421f4381 files/madwifi-multi-ssid-support.patch 3343
+MD5 d31e367abf6bad427bff92479be44a28 madwifi-driver-0.1_pre20050107.ebuild 1558
+MD5 e0020685c1a32f48dd2bc8f2871c944e madwifi-driver-0.1_pre20050224.ebuild 1600
+MD5 1b9a0408676d910cdc32a019e1861364 madwifi-driver-0.1_pre20050420-r1.ebuild 1966
+MD5 854bc4696b95b7971755073267c3fb46 madwifi-driver-0.1_pre20050420.ebuild 1641
+MD5 f0cb84db3b036aaf10676122893a4214 madwifi-driver-0.1_pre20050809-r1.ebuild 2026
+MD5 a5437df679fa2707e622cfcc87824d8e madwifi-driver-0.1_pre20050809.ebuild 1829
+MD5 ad3a2e7305ec52fb339431eee6b154cc madwifi-driver-0.1_pre20051031.ebuild 2512
+MD5 19fd766bac8e110b4620363a1ace26dd metadata.xml 159
diff --git a/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20051031.ebuild b/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20051031.ebuild
index a20c2e5aea1c..e8c7d90251e1 100644
--- a/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20051031.ebuild
+++ b/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20051031.ebuild
@@ -1,18 +1,18 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20051031.ebuild,v 1.1 2005/11/09 05:57:34 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20051031.ebuild,v 1.2 2005/11/12 23:23:59 genstef Exp $
inherit linux-mod
MADWIFI_SVN_REV="1227"
DESCRIPTION="Wireless driver for Atheros chipset a/b/g cards"
-HOMEPAGE="http://madwifi.sourceforge.net/"
+HOMEPAGE="http://www.madwifi.org"
SRC_URI="http://snapshots.madwifi.org/madwifi-trunk-r${MADWIFI_SVN_REV}-${PV:7:8}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64 ~ppc"
IUSE=""
DEPEND="app-arch/sharutils"
-RDEPEND=""
+RDEPEND=">=net-wireless/madwifi-tools-0.1_pre20051031"
S=${WORKDIR}/madwifi-trunk-r${MADWIFI_SVN_REV}-${PV:7:8}
CONFIG_CHECK="NET_RADIO"
ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
@@ -25,9 +25,10 @@ pkg_setup() {
use ppc && TARGET=powerpc-be-eabi
MODULE_NAMES="ath_hal(net:${S}/ath_hal) wlan(net:${S}/net80211) wlan_acl(net:${S}/net80211)
wlan_ccmp(net:${S}/net80211) wlan_tkip(net:${S}/net80211) wlan_wep(net:${S}/net80211)
- wlan_xauth(net:${S}/net80211) ath_rate_onoe(net:${S}/ath_rate/onoe)
+ wlan_xauth(net:${S}/net80211) wlan_scan_sta(net:${S}/net80211) wlan_scan_ap(net:${S}/net80211)
ath_rate_onoe(net:${S}/ath_rate/onoe)
ath_rate_sample(net:${S}/ath_rate/sample) ath_pci(net:${S}/ath)"
+ # does not compile ath_rate_amrr(net:${S}/ath_rate/amrr)
BUILD_PARAMS="KERNELPATH=${ROOT}${KV_OUT_DIR} KERNELRELEASE=${KV_FULL}
TARGET=${TARGET} TOOLPREFIX=/usr/bin/"
BUILD_TARGETS="all"
@@ -47,7 +48,7 @@ src_unpack() {
src_install() {
linux-mod_src_install
- dodoc README COPYRIGHT
+ dodoc README COPYRIGHT docs/users-guide.pdf docs/WEP-HOWTO.txt
# install headers for use by
# net-wireless/wpa_supplicant and net-wireless/hostapd
@@ -61,8 +62,21 @@ pkg_postinst() {
linux-mod_pkg_postinst
einfo ""
- einfo "The madwifi drivers create an interface named 'athX'"
- einfo "Create /etc/init.d/net.ath0 and add a line for athX"
- einfo "in /etc/conf.d/net"
- einfo ""
+ einfo "You need to create athX using wlanconfig"
+ einfo "Baselayout will do that with the following in /etc/conf.d/net:"
+ cat <<EOF
+preup() {
+ if [ "${IFACE}" = "ath0" ]; then
+ /sbin/wlanconfig ath0 create wlandev wifi0 wlanmode sta
+ return $?
+ fi
+}
+
+postdown() {
+ if [ "${IFACE}" = "ath0" ]; then
+ /sbin/wlanconfig ath0 destroy
+ return $?
+ fi
+}
+EOF
}