summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-08-29 19:32:07 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-08-29 19:32:07 +0000
commitc328ebdb0db32b1246e2d5e1729ba999646de6d0 (patch)
treed214cfa54231187fe05a298dfb07b6449acea388 /net-wireless
parentSlotmove for emacs-cvs unicode-2 branch. (diff)
downloadgentoo-2-c328ebdb0db32b1246e2d5e1729ba999646de6d0.tar.gz
gentoo-2-c328ebdb0db32b1246e2d5e1729ba999646de6d0.tar.bz2
gentoo-2-c328ebdb0db32b1246e2d5e1729ba999646de6d0.zip
Version bump thanks Mark Kowarsky <mark_alec@gentoo.org> in bug 187497
(Portage version: 2.1.3.7)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/ralink-rt61/ChangeLog9
-rw-r--r--net-wireless/ralink-rt61/files/digest-ralink-rt61-1.1.1.03
-rw-r--r--net-wireless/ralink-rt61/files/rtmp_main.diff12
-rw-r--r--net-wireless/ralink-rt61/ralink-rt61-1.1.0.0.ebuild6
-rw-r--r--net-wireless/ralink-rt61/ralink-rt61-1.1.1.0.ebuild55
5 files changed, 81 insertions, 4 deletions
diff --git a/net-wireless/ralink-rt61/ChangeLog b/net-wireless/ralink-rt61/ChangeLog
index 36a4fdb02a9c..1a319717baa2 100644
--- a/net-wireless/ralink-rt61/ChangeLog
+++ b/net-wireless/ralink-rt61/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-wireless/ralink-rt61
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ralink-rt61/ChangeLog,v 1.4 2007/06/07 14:03:32 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ralink-rt61/ChangeLog,v 1.5 2007/08/29 19:32:07 genstef Exp $
+
+*ralink-rt61-1.1.1.0 (29 Aug 2007)
+*ralink-rt61-1.1.0.0.ebuild (29 Aug 2007)
+
+ 29 Aug 2007; Stefan Schweizer <genstef@gentoo.org> +files/rtmp_main.diff,
+ ralink-rt61-1.1.0.0.ebuild, +ralink-rt61-1.1.1.0.ebuild:
+ Version bump thanks Mark Kowarsky <mark_alec@gentoo.org> in bug 187497
07 Jun 2007; Christian Faulhammer <opfer@gentoo.org>
ralink-rt61-1.1.0.0.ebuild:
diff --git a/net-wireless/ralink-rt61/files/digest-ralink-rt61-1.1.1.0 b/net-wireless/ralink-rt61/files/digest-ralink-rt61-1.1.1.0
new file mode 100644
index 000000000000..a09aafa303d9
--- /dev/null
+++ b/net-wireless/ralink-rt61/files/digest-ralink-rt61-1.1.1.0
@@ -0,0 +1,3 @@
+MD5 a268974e2202a0520bd7ace46161179a IS_Linux_STA_6x_D_1.1.1.0.tar.gz 397766
+RMD160 581c1ec77df0e280f0eabda10d6433ae8f12207a IS_Linux_STA_6x_D_1.1.1.0.tar.gz 397766
+SHA256 8f06681d77aedb9f0f5141628e5fe68a865366cbe50a1434329f92e2ff9aaeb5 IS_Linux_STA_6x_D_1.1.1.0.tar.gz 397766
diff --git a/net-wireless/ralink-rt61/files/rtmp_main.diff b/net-wireless/ralink-rt61/files/rtmp_main.diff
new file mode 100644
index 000000000000..e0445d401f19
--- /dev/null
+++ b/net-wireless/ralink-rt61/files/rtmp_main.diff
@@ -0,0 +1,12 @@
+diff -Nur IS_Linux_STA_6x_D_1.1.1.0/Module/rtmp_main.c IS_Linux_STA_6x_D_1.1.1.0/Module/rtmp_main.c
+--- IS_Linux_STA_6x_D_1.1.1.0/Module/rtmp_main.c 2007-08-16 21:29:20.000000000 +1000
++++ IS_Linux_STA_6x_D_1.1.1.0/Module/rtmp_main.c 2007-07-27 12:34:54.000000000 +1000
+@@ -888,7 +888,7 @@
+ //
+ static INT __init rt61_init_module(VOID)
+ {
+- return pci_module_init(&rt61_driver);
++ return pci_register_driver(&rt61_driver);
+ }
+
+ //
diff --git a/net-wireless/ralink-rt61/ralink-rt61-1.1.0.0.ebuild b/net-wireless/ralink-rt61/ralink-rt61-1.1.0.0.ebuild
index 012a7ae1b510..512a4f8dbbb3 100644
--- a/net-wireless/ralink-rt61/ralink-rt61-1.1.0.0.ebuild
+++ b/net-wireless/ralink-rt61/ralink-rt61-1.1.0.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ralink-rt61/ralink-rt61-1.1.0.0.ebuild,v 1.4 2007/06/07 14:03:32 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ralink-rt61/ralink-rt61-1.1.0.0.ebuild,v 1.5 2007/08/29 19:32:07 genstef Exp $
inherit eutils linux-mod
@@ -26,8 +26,8 @@ MODULE_NAMES="rt61(net:${S}/Module)"
BUILD_TARGETS=" "
MODULESD_RT61_ALIASES=('ra? rt61')
-CONFIG_CHECK="NET_RADIO"
-ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
+CONFIG_CHECK="WIRELESS_EXT"
+ERROR_WIRELESS_EXT="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_WIRELESS_EXT)."
src_compile() {
epatch ${FILESDIR}/rt61-wireless-ext-v21.diff
diff --git a/net-wireless/ralink-rt61/ralink-rt61-1.1.1.0.ebuild b/net-wireless/ralink-rt61/ralink-rt61-1.1.1.0.ebuild
new file mode 100644
index 000000000000..00ce16d6fdee
--- /dev/null
+++ b/net-wireless/ralink-rt61/ralink-rt61-1.1.1.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ralink-rt61/ralink-rt61-1.1.1.0.ebuild,v 1.1 2007/08/29 19:32:07 genstef Exp $
+
+inherit eutils linux-mod
+
+DESCRIPTION="Driver for the RaLink RT61 wireless chipset"
+HOMEPAGE="http://www.ralinktech.com/"
+LICENSE="GPL-2"
+
+MY_P=${P/${PN}-/IS_Linux_STA_6x_D_}
+
+SRC_URI="http://www.ralinktech.com.tw/data/${MY_P}.tar.gz"
+
+KEYWORDS="-* amd64 x86"
+IUSE=""
+SLOT="0"
+
+DEPEND=""
+RDEPEND="net-wireless/wireless-tools
+ !net-wireless/rt61"
+
+S="${WORKDIR}/${MY_P}"
+
+MODULE_NAMES="rt61(net:${S}/Module)"
+BUILD_TARGETS=" "
+MODULESD_RT61_ALIASES=('ra? rt61')
+
+CONFIG_CHECK="WIRELESS_EXT"
+ERROR_WIRELESS_EXT="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_WIRELESS_EXT)."
+
+src_compile() {
+ epatch ${FILESDIR}/rtmp_main.diff
+ if kernel_is 2 6; then
+ cp Module/Makefile.6 Module/Makefile
+ elif kernel_is 2 4; then
+ cp Module/Makefile.4 Module/Makefile
+ else
+ die "Your kernel version is not supported!"
+ fi
+
+ linux-mod_src_compile
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc Module/{ReleaseNote,STA_iwpriv_ATE_usage.txt,README,iwpriv_usage.txt}
+
+ insinto /etc/Wireless/RT61STA
+ insopts -m 0600
+ doins Module/rt61sta.dat
+ insopts -m 0644
+ doins Module/{rt2561,rt2561s,rt2661}.bin
+}