summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2006-01-17 15:19:03 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2006-01-17 15:19:03 +0000
commitb27eb720d37aae969de171e4efd28a1f6c02060c (patch)
treec5f50d95da63e40c54e6e52532c91707773fec93 /net-wireless
parentinitial commit. eselect module for the gnat compilers (#111340 (diff)
downloadgentoo-2-b27eb720d37aae969de171e4efd28a1f6c02060c.tar.gz
gentoo-2-b27eb720d37aae969de171e4efd28a1f6c02060c.tar.bz2
gentoo-2-b27eb720d37aae969de171e4efd28a1f6c02060c.zip
New snapshot, changed naming scheme to match upstream. Fixes bug #112853 and bug #102104.
(Portage version: 2.0.53)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/madwifi-driver/ChangeLog11
-rw-r--r--net-wireless/madwifi-driver/Manifest4
-rw-r--r--net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1401.200601171
-rw-r--r--net-wireless/madwifi-driver/madwifi-driver-0.1401.20060117.ebuild114
4 files changed, 127 insertions, 3 deletions
diff --git a/net-wireless/madwifi-driver/ChangeLog b/net-wireless/madwifi-driver/ChangeLog
index f632cfa6366d..dcac1378b22a 100644
--- a/net-wireless/madwifi-driver/ChangeLog
+++ b/net-wireless/madwifi-driver/ChangeLog
@@ -1,6 +1,13 @@
# 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.30 2005/11/16 21:59:26 genstef Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/ChangeLog,v 1.31 2006/01/17 15:19:03 brix Exp $
+
+*madwifi-driver-0.1401.20060117 (17 Jan 2006)
+
+ 17 Jan 2006; Henrik Brix Andersen <brix@gentoo.org>
+ +madwifi-driver-0.1401.20060117.ebuild:
+ New snapshot, changed naming scheme to match upstream. Fixes bug #112853 and
+ bug #102104.
16 Nov 2005; Stefan Schweizer <genstef@gentoo.org>
madwifi-driver-0.1_pre20051111.ebuild:
diff --git a/net-wireless/madwifi-driver/Manifest b/net-wireless/madwifi-driver/Manifest
index 9612c740912d..3dfa281c7ceb 100644
--- a/net-wireless/madwifi-driver/Manifest
+++ b/net-wireless/madwifi-driver/Manifest
@@ -1,6 +1,8 @@
-MD5 826adf2fec8d7822e64c0903b9dd0942 ChangeLog 6828
+MD5 993f48c76d95d975bad0596687dc8cb8 ChangeLog 7066
+MD5 6225a58b69ebeb67ff97ab4026b21e58 files/digest-madwifi-driver-0.1401.20060117 78
MD5 d4937e6f87128084a32ef792ddbccc6e files/digest-madwifi-driver-0.1_pre20050420-r1 85
MD5 91250d7eaa44ba70b4d71107fc259f8b files/digest-madwifi-driver-0.1_pre20051111 81
+MD5 217173cac9dd84b8055219748c72e63c madwifi-driver-0.1401.20060117.ebuild 3310
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.1401.20060117 b/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1401.20060117
new file mode 100644
index 000000000000..ac1f6c432a45
--- /dev/null
+++ b/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1401.20060117
@@ -0,0 +1 @@
+MD5 1a99b4b3c32e41911bc20ca0870f64b0 madwifi-ng-r1401-20060117.tar.gz 3196291
diff --git a/net-wireless/madwifi-driver/madwifi-driver-0.1401.20060117.ebuild b/net-wireless/madwifi-driver/madwifi-driver-0.1401.20060117.ebuild
new file mode 100644
index 000000000000..ce51b9bdcd23
--- /dev/null
+++ b/net-wireless/madwifi-driver/madwifi-driver-0.1401.20060117.ebuild
@@ -0,0 +1,114 @@
+# 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.1401.20060117.ebuild,v 1.1 2006/01/17 15:19:03 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() {
+ # make fails to determine TARGET if ARCH is set
+ unset ARCH
+
+ # assists in debugging
+ emake KERNELPATH=${KV_OUT_DIR} info || die "emake info failed"
+
+ linux-mod_src_compile
+
+ set_arch_to_portage
+}
+
+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
+}