summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2006-02-01 14:05:28 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2006-02-01 14:05:28 +0000
commite36301a20416b3ef1991bf2153b9eaa4831b9d19 (patch)
treec815ebc81ce793276ce53a6b206c7535fb243803 /net-wireless/madwifi-driver
parentNew snapshot. (diff)
downloadgentoo-2-e36301a20416b3ef1991bf2153b9eaa4831b9d19.tar.gz
gentoo-2-e36301a20416b3ef1991bf2153b9eaa4831b9d19.tar.bz2
gentoo-2-e36301a20416b3ef1991bf2153b9eaa4831b9d19.zip
New snapshot. Fixes bug #120290.
(Portage version: 2.0.54)
Diffstat (limited to 'net-wireless/madwifi-driver')
-rw-r--r--net-wireless/madwifi-driver/ChangeLog8
-rw-r--r--net-wireless/madwifi-driver/Manifest4
-rw-r--r--net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1420.200602011
-rw-r--r--net-wireless/madwifi-driver/madwifi-driver-0.1420.20060201.ebuild109
4 files changed, 120 insertions, 2 deletions
diff --git a/net-wireless/madwifi-driver/ChangeLog b/net-wireless/madwifi-driver/ChangeLog
index b4b05dad4634..ef7ccf9b0d23 100644
--- a/net-wireless/madwifi-driver/ChangeLog
+++ b/net-wireless/madwifi-driver/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-wireless/madwifi-driver
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/ChangeLog,v 1.33 2006/01/17 20:04:36 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/ChangeLog,v 1.34 2006/02/01 14:05:28 brix Exp $
+
+*madwifi-driver-0.1420.20060201 (01 Feb 2006)
+
+ 01 Feb 2006; Henrik Brix Andersen <brix@gentoo.org>
+ +madwifi-driver-0.1420.20060201.ebuild:
+ New snapshot. Fixes bug #120290.
17 Jan 2006; Roy Marples <uberlord@gentoo.org>
madwifi-driver-0.1401.20060117.ebuild:
diff --git a/net-wireless/madwifi-driver/Manifest b/net-wireless/madwifi-driver/Manifest
index ae582d0cae14..b663cdfb04e2 100644
--- a/net-wireless/madwifi-driver/Manifest
+++ b/net-wireless/madwifi-driver/Manifest
@@ -1,8 +1,10 @@
-MD5 451c5f51b81dec803ac60b9529e9346f ChangeLog 7239
+MD5 891c44555e9f6079e68febf1eaafa1c7 ChangeLog 7418
MD5 6225a58b69ebeb67ff97ab4026b21e58 files/digest-madwifi-driver-0.1401.20060117 78
+MD5 04ecb172d5d25d2995578d1772e2c239 files/digest-madwifi-driver-0.1420.20060201 78
MD5 d4937e6f87128084a32ef792ddbccc6e files/digest-madwifi-driver-0.1_pre20050420-r1 85
MD5 91250d7eaa44ba70b4d71107fc259f8b files/digest-madwifi-driver-0.1_pre20051111 81
MD5 bffeadae7b2aa3e9f87fe8b5392531e9 madwifi-driver-0.1401.20060117.ebuild 3439
+MD5 5e5457af6c85a52ddbf62922e7cdc0d2 madwifi-driver-0.1420.20060201.ebuild 3226
MD5 1b9a0408676d910cdc32a019e1861364 madwifi-driver-0.1_pre20050420-r1.ebuild 1966
MD5 cca36f620a6db28229a0ababf9ab90f2 madwifi-driver-0.1_pre20051111.ebuild 2667
MD5 19fd766bac8e110b4620363a1ace26dd metadata.xml 159
diff --git a/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1420.20060201 b/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1420.20060201
new file mode 100644
index 000000000000..f2065bf75b64
--- /dev/null
+++ b/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1420.20060201
@@ -0,0 +1 @@
+MD5 7aec9b28cc27519d5d58addc81bda290 madwifi-ng-r1420-20060201.tar.gz 3249497
diff --git a/net-wireless/madwifi-driver/madwifi-driver-0.1420.20060201.ebuild b/net-wireless/madwifi-driver/madwifi-driver-0.1420.20060201.ebuild
new file mode 100644
index 000000000000..cf285393ad4f
--- /dev/null
+++ b/net-wireless/madwifi-driver/madwifi-driver-0.1420.20060201.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2006 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.1420.20060201.ebuild,v 1.1 2006/02/01 14:05:28 brix Exp $
+
+inherit linux-mod
+
+MY_P=madwifi-ng-r${PV:2:4}-${PV:7:8}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Driver for Atheros based IEEE 802.11a/b/g wireless LAN cards"
+HOMEPAGE="http://www.madwifi.org/"
+SRC_URI="http://snapshots.madwifi.org/madwifi-ng/${MY_P}.tar.gz"
+
+LICENSE="|| ( BSD GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE="amrr onoe"
+DEPEND="app-arch/sharutils"
+RDEPEND=">=net-wireless/madwifi-tools-${PV}"
+
+CONFIG_CHECK="CRYPTO NET_RADIO SYSCTL"
+ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
+ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
+ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
+BUILD_TARGETS="all"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ 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)
+ wlan_scan_sta(net:${S}/net80211)
+ wlan_scan_ap(net:${S}/net80211)"
+
+ BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
+
+ if use amrr && use onoe; then
+ eerror
+ eerror "USE=\"amrr onoe\" is invalid, you can only specify one at a time."
+ eerror
+ die "USE=\"amrr onoe\" is invalid"
+ fi
+
+ if use amrr; then
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_amrr(net:${S}/ath_rate/amrr)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/amrr"
+ elif use onoe; then
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_onoe(net:${S}/ath_rate/onoe)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/onoe"
+ else
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_sample(net:${S}/ath_rate/sample)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/sample"
+ fi
+
+ MODULE_NAMES="${MODULE_NAMES} ath_pci(net:${S}/ath)"
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ for dir in ath ath_hal net80211 ath_rate/amrr ath_rate/onoe ath_rate/sample; do
+ convert_to_m ${S}/${dir}/Makefile
+ done
+}
+
+src_compile() {
+ # assists in debugging
+ emake KERNELPATH=${KV_OUT_DIR} info || die "emake info failed"
+
+ linux-mod_src_compile
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc README THANKS docs/users-guide.pdf docs/WEP-HOWTO.txt
+
+ # install headers for use by
+ # net-wireless/wpa_supplicant and net-wireless/hostapd
+ insinto /usr/include/madwifi/include/
+ doins include/*.h
+ insinto /usr/include/madwifi/net80211
+ doins net80211/*.h
+}
+
+pkg_postinst() {
+ local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
+
+ einfo "Removing old ath_rate modules"
+ if use amrr; then
+ [[ -f "${moddir}/ath_rate_onoe.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_onoe.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_sample.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_sample.${KV_OBJ}"
+ elif use onoe; then
+ [[ -f "${moddir}/ath_rate_amrr.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_amrr.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_sample.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_sample.${KV_OBJ}"
+ else
+ [[ -f "${moddir}/ath_rate_amrr.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_amrr.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_onoe.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_onoe.${KV_OBJ}"
+ fi
+
+ linux-mod_pkg_postinst
+}