diff options
author | Stephen Diener <sediener@gentoo.org> | 2004-01-09 00:44:45 +0000 |
---|---|---|
committer | Stephen Diener <sediener@gentoo.org> | 2004-01-09 00:44:45 +0000 |
commit | 1479cc2d3ec3527212f6bbb2b2adb51f912dbb59 (patch) | |
tree | 973b9c598e67f5524314cd1487929d2f9d7a6ff8 /net-wireless | |
parent | CVS snapshot for Jan 2004 (diff) | |
download | gentoo-2-1479cc2d3ec3527212f6bbb2b2adb51f912dbb59.tar.gz gentoo-2-1479cc2d3ec3527212f6bbb2b2adb51f912dbb59.tar.bz2 gentoo-2-1479cc2d3ec3527212f6bbb2b2adb51f912dbb59.zip |
CVS snapshot for Jan 2004
Diffstat (limited to 'net-wireless')
4 files changed, 83 insertions, 3 deletions
diff --git a/net-wireless/madwifi-driver/ChangeLog b/net-wireless/madwifi-driver/ChangeLog index a0c66bb829c7..e490dbb68a32 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-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/ChangeLog,v 1.5 2003/12/20 01:50:05 sediener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/ChangeLog,v 1.6 2004/01/09 00:44:28 sediener Exp $ + +*madwifi-driver-0.1_pre20040108 (08 Jan 2004) + + 08 Jan 2004; Stephen Diener <sediener@gentoo.org> + madwifi-driver-0.1_pre20040108.ebuild: + monthly CVS snapshot for Jan *madwifi-driver-0.1_pre20031213-r1 (19 Dec 2003) diff --git a/net-wireless/madwifi-driver/Manifest b/net-wireless/madwifi-driver/Manifest index a2649ed2fd76..38f08eaa36bc 100644 --- a/net-wireless/madwifi-driver/Manifest +++ b/net-wireless/madwifi-driver/Manifest @@ -2,8 +2,8 @@ MD5 65d850941fb621369b1321167798cbd6 madwifi-driver-0.1_pre20031213-r1.ebuild 15 MD5 06746914d38bf276109f25c176b37c58 madwifi-driver-0.1_pre20031110.ebuild 1202 MD5 822453b9a567b6f115ae62b7da74986c madwifi-driver-0.1_pre20031213.ebuild 1202 MD5 d078f5860d158f1827f749764ac2bff7 madwifi-driver-0.1_pre20030702.ebuild 1295 -MD5 65d850941fb621369b1321167798cbd6 madwifi-driver-0.1_pre20040108.ebuild 1556 -MD5 09067b72aa39561b781fb4ad51ae0d39 ChangeLog 1135 +MD5 e15373dbf9273ff0d450a58555a27ad2 madwifi-driver-0.1_pre20040108.ebuild 1553 +MD5 b330ab8c007374b142d54588cb19f982 ChangeLog 1307 MD5 39a4faeaba4c44c4418b809c6d546384 madwifi-driver-0.1_pre20030802.ebuild 1296 MD5 19fd766bac8e110b4620363a1ace26dd metadata.xml 159 MD5 e00b943f3c94116d21cae2f156eddb3f files/digest-madwifi-driver-0.1_pre20031213-r1 83 diff --git a/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20040108 b/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20040108 new file mode 100644 index 000000000000..7608dfa41f11 --- /dev/null +++ b/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20040108 @@ -0,0 +1 @@ +MD5 08e311d2de0618cd2afafec1ed118bf6 madwifi-driver-0.1_pre20040108.tar.bz2 465247 diff --git a/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040108.ebuild b/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040108.ebuild new file mode 100644 index 000000000000..f0a4ae95fa6d --- /dev/null +++ b/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040108.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040108.ebuild,v 1.1 2004/01/09 00:44:28 sediener Exp $ + +DESCRIPTION="Wireless driver for Atheros chipset a/b/g cards" +HOMEPAGE="http://madwifi.sourceforge.net/" + +# Point to any required sources; these will be automatically downloaded by +# Portage. +SRC_URI="mirror://gentoo/$P.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~x86" +IUSE="" +DEPEND="" + +S=${WORKDIR} + +pkg_setup() { + + if [[ "${KV}" > "2.5" ]] ; then + cd /usr/src/linux + ./scripts/modpost ./vmlinux + fi + +} + +src_unpack() { + check_KV + unpack ${A} + + einfo "${KV}" + + cd ${S} + mv Makefile.inc ${T} + sed -e "s:\$(shell uname -r):${KV}:" \ + -e "s:\${DEPTH\}/../:/usr/src/:" \ + ${T}/Makefile.inc > Makefile.inc +} + +src_compile() { + make clean + make || die +} + +src_install() { + dodir /lib/modules/${KV}/net + insinto /lib/modules/${KV}/net + + # dealing with 2.6.0 kernel modules .ko naming + if [[ "${KV}" > "2.5" ]] ; then +# ewarn "Kernel Version 2.5 or higher" + doins ${S}/wlan/wlan.ko ${S}/ath_hal/ath_hal.ko ${S}/driver/ath_pci.ko + else +# ewarn "Kernel Version under 2.5" + doins ${S}/wlan/wlan.o ${S}/ath_hal/ath_hal.o ${S}/driver/ath_pci.o + fi + + dodoc README +} + +pkg_postinst() { + + depmod -a + + 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 like 'iface_ath0=\"dhcp\"'" + einfo "" +} |