diff options
author | Roy Marples <uberlord@gentoo.org> | 2005-11-04 22:05:07 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2005-11-04 22:05:07 +0000 |
commit | 1236f4d67f655fec77930a06b51ea44dd2bb0438 (patch) | |
tree | 6c463d6105b58257d7c6938ebe8dd812f9fb3079 /net-wireless/rt2x00 | |
parent | stable on alpha wrt bug #109667 (diff) | |
download | gentoo-2-1236f4d67f655fec77930a06b51ea44dd2bb0438.tar.gz gentoo-2-1236f4d67f655fec77930a06b51ea44dd2bb0438.tar.bz2 gentoo-2-1236f4d67f655fec77930a06b51ea44dd2bb0438.zip |
Added cvs ebuild
Added warning to beta2 ebuild
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'net-wireless/rt2x00')
-rw-r--r-- | net-wireless/rt2x00/ChangeLog | 9 | ||||
-rw-r--r-- | net-wireless/rt2x00/Manifest | 6 | ||||
-rw-r--r-- | net-wireless/rt2x00/files/digest-rt2x00-9999 | 0 | ||||
-rw-r--r-- | net-wireless/rt2x00/rt2x00-2.0.0_beta2.ebuild | 15 | ||||
-rw-r--r-- | net-wireless/rt2x00/rt2x00-9999.ebuild | 97 |
5 files changed, 118 insertions, 9 deletions
diff --git a/net-wireless/rt2x00/ChangeLog b/net-wireless/rt2x00/ChangeLog index 48c31ffecd05..d98c62e33117 100644 --- a/net-wireless/rt2x00/ChangeLog +++ b/net-wireless/rt2x00/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-wireless/rt2x00 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2x00/ChangeLog,v 1.1 2005/11/03 20:32:36 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2x00/ChangeLog,v 1.2 2005/11/04 22:05:07 uberlord Exp $ + +*rt2x00-9999 (04 Nov 2005) + + 04 Nov 2005; Roy Marples <uberlord@gentoo.org> rt2x00-2.0.0_beta2.ebuild, + +rt2x00-9999.ebuild: + Added cvs ebuild + Added warning to beta2 ebuild *rt2x00-2.0.0_beta2 (03 Nov 2005) diff --git a/net-wireless/rt2x00/Manifest b/net-wireless/rt2x00/Manifest index 0b775545b453..c051f649c21d 100644 --- a/net-wireless/rt2x00/Manifest +++ b/net-wireless/rt2x00/Manifest @@ -1,4 +1,6 @@ -MD5 f56e7bc558c83e645d39a920e4d22c03 ChangeLog 360 -MD5 f0db8b2581709db00020a154a1d1ea71 rt2x00-2.0.0_beta2.ebuild 2385 +MD5 5f39951d9fbd904115e079049a548ae7 ChangeLog 539 +MD5 7cf337a000a3b6b0569478b5a0d9b33a rt2x00-2.0.0_beta2.ebuild 2547 +MD5 8d527a142521a64e79b98a175ce20b82 rt2x00-9999.ebuild 2724 MD5 d881dd1c4bfd4e45a852f320b5a973c7 metadata.xml 315 MD5 f84ccb94a3aa44174c09b91028354a40 files/digest-rt2x00-2.0.0_beta2 67 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-rt2x00-9999 0 diff --git a/net-wireless/rt2x00/files/digest-rt2x00-9999 b/net-wireless/rt2x00/files/digest-rt2x00-9999 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/net-wireless/rt2x00/files/digest-rt2x00-9999 diff --git a/net-wireless/rt2x00/rt2x00-2.0.0_beta2.ebuild b/net-wireless/rt2x00/rt2x00-2.0.0_beta2.ebuild index 5571375a8264..3256dd34c5cb 100644 --- a/net-wireless/rt2x00/rt2x00-2.0.0_beta2.ebuild +++ b/net-wireless/rt2x00/rt2x00-2.0.0_beta2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2x00/rt2x00-2.0.0_beta2.ebuild,v 1.1 2005/11/03 20:32:36 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2x00/rt2x00-2.0.0_beta2.ebuild,v 1.2 2005/11/04 22:05:07 uberlord Exp $ inherit linux-mod @@ -78,9 +78,12 @@ src_compile() { pkg_postinst() { linux-mod_pkg_postinst - einfo - einfo "to set up the card you can use:" - einfo "- iwconfig from wireless-tools" - einfo "- iwpriw as described in \"/usr/share/doc/${PF}/README.txt.gz"\" - einfo + ewarn + ewarn "This is a BETA driver. If you have any issues, test the cvs ebuild" + ewarn "as your issue may have already been fixed." + ewarn "Please report any bugs to the rt2x00 forums :-" + ewarn "http://rt2x00.serialmonkey.com/phpBB2/viewforum.php?f=5" + ewarn + ewarn "Any bugs reported to Gentoo will be marked INVALID" + ewarn } diff --git a/net-wireless/rt2x00/rt2x00-9999.ebuild b/net-wireless/rt2x00/rt2x00-9999.ebuild new file mode 100644 index 000000000000..5277e2e00173 --- /dev/null +++ b/net-wireless/rt2x00/rt2x00-9999.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2x00/rt2x00-9999.ebuild,v 1.1 2005/11/04 22:05:07 uberlord Exp $ + +inherit linux-mod cvs + +IEEE80211_VERSION="1.1.6" + +DESCRIPTION="Driver for the RaLink RT2x00 wireless chipsets" +HOMEPAGE="http://rt2x00.serialmonkey.com" +LICENSE="GPL-2" + +ECVS_SERVER="cvs.sourceforge.net:/cvsroot/rt2400" +ECVS_MODULE="experimental/rt2x00_beta" +ECVS_LOCALNAME="${P}" + +KEYWORDS="-*" +IUSE="debug" +DEPEND=" + >=net-wireless/ieee80211-${IEEE80211_VERSION} + sys-apps/sed +" +RDEPEND=" + >=net-wireless/ieee80211-${IEEE80211_VERSION} + net-wireless/wireless-tools +" + +MODULE_NAMES=" + rt2x00core(net/wireless:) rt2400pci(net/wireless:) + rt2500pci(net/wireless:) rt2500usb(net/wireless:) +" + +CONFIG_CHECK="NET_RADIO BROKEN_ON_SMP !PREEMPT !4KSTACKS" +ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." +ERROR_BROKEN_ON_SMP="${P} does not currently support SMP Processors and Kernels" +ERROR_PREEMPT="${P} does not currently support pre-emption" +ERROR_4KSTACKS="${P} does not currently support 4K Stacks" + +pkg_setup() { + kernel_is lt 2 6 13 && die "${P} requires at least kernel 2.6.13" + + linux-mod_pkg_setup + + if [[ ! -f /lib/modules/${KV_FULL}/net/ieee80211/ieee80211.${KV_OBJ} ]]; then + eerror + eerror "Looks like you forgot to remerge net-wireless/ieee80211 after" + eerror "upgrading your kernel." + eerror + eerror "Hint: use sys-kernel/module-rebuild for keeping track of which" + eerror "modules needs to be remerged after a kernel upgrade." + eerror + die "/lib/modules/${KV_FULL}/net/ieee80211/ieee80211.${KV_OBJ} not found" + fi + + BUILD_PARAMS="KERNDIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" + if use debug ; then + BUILD_TARGETS="rt2x00-debug" + else + BUILD_TARGETS="rt2x00-nodebug" + fi +} + +src_install() { + linux-mod_src_install + dodoc CHANGELOG COPYING README THANKS +} + +src_unpack() { + cvs_src_unpack + cd "${S}" + + # We need to remove the ieee80211 stack they supply and use the + # portage one instead + mv ieee80211/net/ieee80211_compat.h . + rm ieee80211 -rf + sed -i 's,^\(CFLAGS\|CPPFLAGS\) := .*,\1 := -include ieee80211_compat.h $(\1) -I/usr/include,g' Makefile +} + +src_compile() { + linux-mod_src_compile + + einfo + einfo "You may safely ignore any warnings from above compilation about" + einfo "undefined references to the ieee80211 subsystem." + einfo +} + +pkg_postinst() { + linux-mod_pkg_postinst + + ewarn + ewarn "This is a CVS ebuild - please report any bugs to the rt2x00 forums" + ewarn "http://rt2x00.serialmonkey.com/phpBB2/viewforum.php?f=5" + ewarn + ewarn "Any bugs reported to Gentoo will be marked INVALID" + ewarn +} |