summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Bamford <neddyseagoon@gentoo.org>2006-07-30 19:39:57 +0000
committerRoy Bamford <neddyseagoon@gentoo.org>2006-07-30 19:39:57 +0000
commit42516587d47288320dabcf2fa6c8e41a9edcbfa4 (patch)
tree3f33b9bcecbf7efe906ad85bf2e37fe4d34a6ce5
parentnet-analyzer/ifstatus: Added ~amd64, replaced dosbin with dobin, cosmetic cle... (diff)
downloadsunrise-42516587d47288320dabcf2fa6c8e41a9edcbfa4.tar.gz
sunrise-42516587d47288320dabcf2fa6c8e41a9edcbfa4.tar.bz2
sunrise-42516587d47288320dabcf2fa6c8e41a9edcbfa4.zip
net-wireless/rt73: New Ebuild for bug 142204 based on genstefs' RT61 ebuild
svn path=/sunrise/; revision=752
-rw-r--r--net-wireless/rt73/ChangeLog8
-rw-r--r--net-wireless/rt73/Manifest32
-rw-r--r--net-wireless/rt73/files/deviceID.patch10
-rw-r--r--net-wireless/rt73/files/digest-rt73-1.0.3.63
-rw-r--r--net-wireless/rt73/files/make4.patch11
-rw-r--r--net-wireless/rt73/files/make6.patch11
-rw-r--r--net-wireless/rt73/metadata.xml5
-rw-r--r--net-wireless/rt73/rt73-1.0.3.6.ebuild80
8 files changed, 160 insertions, 0 deletions
diff --git a/net-wireless/rt73/ChangeLog b/net-wireless/rt73/ChangeLog
new file mode 100644
index 000000000..8dbd210ad
--- /dev/null
+++ b/net-wireless/rt73/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-wireless/rt73
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt73/ChangeLog,v 1.1 2006/07/01 12:12:16 genstef Exp $
+
+*rt73-1.0.3.6 (29 Jul 2006)
+ New Ebuild - driver for RaLink RT73 WLAN USB Dongles by Roy Bamford <neddyseagoon@gentoo.org>
+ +rt73.ebuild:
+ Shamelessly modelled on the RT61 driver by Stefan Schweizer <genstef@gentoo.org>
diff --git a/net-wireless/rt73/Manifest b/net-wireless/rt73/Manifest
new file mode 100644
index 000000000..0f3522dd1
--- /dev/null
+++ b/net-wireless/rt73/Manifest
@@ -0,0 +1,32 @@
+AUX deviceID.patch 512 RMD160 c90005889a22e394886b404e8d24272cf3b82a28 SHA1 2b670da21606099b9a28d612272045180776ab5c SHA256 55befa0f7cf95a7cad9b6faa521644e09b500910f262ca5c9e59894f9bacc11f
+MD5 848410bce42179d98eddc559402be5f7 files/deviceID.patch 512
+RMD160 c90005889a22e394886b404e8d24272cf3b82a28 files/deviceID.patch 512
+SHA256 55befa0f7cf95a7cad9b6faa521644e09b500910f262ca5c9e59894f9bacc11f files/deviceID.patch 512
+AUX make4.patch 195 RMD160 52b3a387360cc803a035f521eb65d95f014556c4 SHA1 dfb98d28e0cc5c1bd0c40da7e046549becccd2a3 SHA256 ccb9fee3ff337ac4a5bd8cedf14b5f086745980975e31f87dfefe0bbfe24a629
+MD5 c9285b6e952510fe419c53a058566c11 files/make4.patch 195
+RMD160 52b3a387360cc803a035f521eb65d95f014556c4 files/make4.patch 195
+SHA256 ccb9fee3ff337ac4a5bd8cedf14b5f086745980975e31f87dfefe0bbfe24a629 files/make4.patch 195
+AUX make6.patch 270 RMD160 4d628cc85279174de019b28d555b0f1cdc26a8df SHA1 c18faeb77cde36f766a5482d9575584050297564 SHA256 b7dcd31d01319c06b3ce4397adb32682d2dad67c9e672e1f4fb14dab1709c5db
+MD5 f96c4ed669b805b5b88e5e3f069953bb files/make6.patch 270
+RMD160 4d628cc85279174de019b28d555b0f1cdc26a8df files/make6.patch 270
+SHA256 b7dcd31d01319c06b3ce4397adb32682d2dad67c9e672e1f4fb14dab1709c5db files/make6.patch 270
+DIST RT73_Linux_STA_Drv1.0.3.6.tar.gz 338250 RMD160 a917a0c67ab2efcbf4e33a3a3f3e19385621c4e8 SHA1 cfcf2b9cc8baf8467122f4ccfe2551bfdfac61d4 SHA256 5aa6f5d3f52ac14dfee489d2a63fef2f6ffbfdfcac482355672610c594e305dd
+EBUILD rt73-1.0.3.6.ebuild 2064 RMD160 c1ac8867c5e71d9810767cb67ae86ceb7179f273 SHA1 92d11f93de8f4e9484d19fd1e14d6d63491a24f5 SHA256 b7f7dc9cb9276c038fb3901c0812a0b89919b87024e43c1a25fe170d9b9f6b40
+MD5 36d6d329a8c1a2fa99ec2b09432805c9 rt73-1.0.3.6.ebuild 2064
+RMD160 c1ac8867c5e71d9810767cb67ae86ceb7179f273 rt73-1.0.3.6.ebuild 2064
+SHA256 b7f7dc9cb9276c038fb3901c0812a0b89919b87024e43c1a25fe170d9b9f6b40 rt73-1.0.3.6.ebuild 2064
+MISC ChangeLog 431 RMD160 976f9cbd3ddff49e16aebda6d389ede5ff34a8f7 SHA1 33c6b7f7ff2c1455c3083cc7e31426b27bd70d15 SHA256 1b4358ad213e43bdef3c7d627a401cccd8a447f7e1fd103464be0045d937ff69
+MD5 be34ad2be4a275b889b13766aca8bbf2 ChangeLog 431
+RMD160 976f9cbd3ddff49e16aebda6d389ede5ff34a8f7 ChangeLog 431
+SHA256 1b4358ad213e43bdef3c7d627a401cccd8a447f7e1fd103464be0045d937ff69 ChangeLog 431
+MISC metadata.xml 159 RMD160 54af1e9a61e5ed1b49b2bbbf3ef2278999c66b13 SHA1 bce3da4745192397c9a08bdbcf7e4914eac9b77b SHA256 ed3a0d440cfa5672284f4172ebde0ea6506c1a38e9a3ed9f14f3d2c093aac42f
+MD5 19fd766bac8e110b4620363a1ace26dd metadata.xml 159
+RMD160 54af1e9a61e5ed1b49b2bbbf3ef2278999c66b13 metadata.xml 159
+SHA256 ed3a0d440cfa5672284f4172ebde0ea6506c1a38e9a3ed9f14f3d2c093aac42f metadata.xml 159
+MISC rt73-1.0.3.6.ebuild~ 2173 RMD160 444ed943c511f0fb2ffddcf75e844a47751476bb SHA1 7a27fbd5ffbd2cb1a68c740962d614e856cd9a9b SHA256 93476b9e851e52190e4809403fd2b71fba8c19586f4d9d85d5582fedd06203db
+MD5 09bfe15ba07e97f47fb70963093bad40 rt73-1.0.3.6.ebuild~ 2173
+RMD160 444ed943c511f0fb2ffddcf75e844a47751476bb rt73-1.0.3.6.ebuild~ 2173
+SHA256 93476b9e851e52190e4809403fd2b71fba8c19586f4d9d85d5582fedd06203db rt73-1.0.3.6.ebuild~ 2173
+MD5 52dddc05ea7a2d4320932990c45aa08c files/digest-rt73-1.0.3.6 277
+RMD160 1a1e341d2a1067b09442568f442b77bda8252b62 files/digest-rt73-1.0.3.6 277
+SHA256 48c480a7fcb6643e0dc98c31f81636c262faa916b708619b3ac2b86a775217b7 files/digest-rt73-1.0.3.6 277
diff --git a/net-wireless/rt73/files/deviceID.patch b/net-wireless/rt73/files/deviceID.patch
new file mode 100644
index 000000000..c8b651ef2
--- /dev/null
+++ b/net-wireless/rt73/files/deviceID.patch
@@ -0,0 +1,10 @@
+--- rtmp_def.h.old 2006-07-11 17:31:22.000000000 +0100
++++ rtmp_def.h 2006-07-11 17:41:17.000000000 +0100
+@@ -820,6 +820,7 @@
+ {USB_DEVICE(0x0db0,0x6877)}, /* MSI */ \
+ {USB_DEVICE(0x0db0,0xa874)}, /* MSI */ \
+ {USB_DEVICE(0x0db0,0xa861)}, /* MSI */ \
++ {USB_DEVICE(0x050d,0x705a)}, /* Belkin Wireless G Ver 3000uk */ \
+ {USB_DEVICE(0x07b8,0xb21d)}, /* AboCom */ \
+ {USB_DEVICE(0x0769,0x31f3)}, /* Surecom */ \
+ {USB_DEVICE(0x1472,0x0009)}, /* Huawei-3Com */ \
diff --git a/net-wireless/rt73/files/digest-rt73-1.0.3.6 b/net-wireless/rt73/files/digest-rt73-1.0.3.6
new file mode 100644
index 000000000..6fe6e5706
--- /dev/null
+++ b/net-wireless/rt73/files/digest-rt73-1.0.3.6
@@ -0,0 +1,3 @@
+MD5 3f9239a1ff19b3afdf86e40c00c1db55 RT73_Linux_STA_Drv1.0.3.6.tar.gz 338250
+RMD160 a917a0c67ab2efcbf4e33a3a3f3e19385621c4e8 RT73_Linux_STA_Drv1.0.3.6.tar.gz 338250
+SHA256 5aa6f5d3f52ac14dfee489d2a63fef2f6ffbfdfcac482355672610c594e305dd RT73_Linux_STA_Drv1.0.3.6.tar.gz 338250
diff --git a/net-wireless/rt73/files/make4.patch b/net-wireless/rt73/files/make4.patch
new file mode 100644
index 000000000..f686c1aec
--- /dev/null
+++ b/net-wireless/rt73/files/make4.patch
@@ -0,0 +1,11 @@
+--- Makefile.4.old 2006-07-11 13:53:58.000000000 +0100
++++ Makefile.4 2006-07-11 13:54:43.000000000 +0100
+@@ -44,7 +44,7 @@
+ endif
+
+
+-all: $(OBJ)
++module: $(OBJ)
+ @touch config.mk
+
+ clean:
diff --git a/net-wireless/rt73/files/make6.patch b/net-wireless/rt73/files/make6.patch
new file mode 100644
index 000000000..1a2682948
--- /dev/null
+++ b/net-wireless/rt73/files/make6.patch
@@ -0,0 +1,11 @@
+--- Makefile.6.old 2006-07-11 13:53:52.000000000 +0100
++++ Makefile.6 2006-07-11 13:54:25.000000000 +0100
+@@ -34,7 +34,7 @@
+ MOD_CONF := /etc/modprobe.conf
+ endif
+
+-all:
++module:
+ make -C /lib/modules/$(shell uname -r)/build SUBDIRS=$(shell pwd) modules
+
+ clean:
diff --git a/net-wireless/rt73/metadata.xml b/net-wireless/rt73/metadata.xml
new file mode 100644
index 000000000..b27ff8eb4
--- /dev/null
+++ b/net-wireless/rt73/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>mobile</herd>
+</pkgmetadata>
diff --git a/net-wireless/rt73/rt73-1.0.3.6.ebuild b/net-wireless/rt73/rt73-1.0.3.6.ebuild
new file mode 100644
index 000000000..7684be4ea
--- /dev/null
+++ b/net-wireless/rt73/rt73-1.0.3.6.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt61/rt61-1.1.0_beta1.ebuild,v 1.1 2006/07/01 12:12:16 genstef Exp $
+
+inherit linux-mod
+
+DESCRIPTION="Driver for the RaLink RT73/2571 wireless chipsets"
+HOMEPAGE="http://www.ralink.com.tw"
+LICENSE="GPL"
+
+MY_P=RT73_Linux_STA_Drv${PV}
+
+SRC_URI="http://www.ralink.com.tw/drivers/Linux/RT73_Linux_STA_Drv${PV}.tar.gz"
+
+# May work on other little endien arches, e.g amd64 - known broken on big endian arches
+
+KEYWORDS="~x86"
+IUSE="debug"
+RDEPEND="net-wireless/wireless-tools"
+S="${WORKDIR}/${MY_P}"
+MODULE_NAMES="rt73(net:${S}/Module)"
+
+CONFIG_CHECK="NET_RADIO"
+ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
+
+MODULESD_RT73_ALIASES=('usbra? rt73')
+
+pkg_setup() {
+ linux-mod_pkg_setup
+ BUILD_PARAMS="KERNDIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
+
+}
+
+src_unpack (){
+ unpack ${A}
+ cd ${S}/Module
+# Portage expects to do make module, not make all
+# Only patch the makefile we are going to use
+# Makefile.4 Makefile for kernel 2.4 series
+ if kernel_is 2 4 ; then
+ epatch ${FILESDIR}/make4.patch
+ cp Makefile.4 Makefile
+ fi
+
+# Makefile.6 Makefile for kernel 2.6 series
+ if kernel_is 2 6 ; then
+ epatch ${FILESDIR}/make6.patch
+ cp Makefile.6 Makefile
+ fi
+ if ! [ -f Makefile ]; then
+ ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.X"
+ ewarn "this kernel version is not tested/supported"
+ die
+ fi
+
+# if you are really careful you can edit this patch to add your RT73 Device too
+ epatch ${FILESDIR}/deviceID.patch
+}
+
+
+src_compile() {
+ use debug && export debug="y"
+ linux-mod_src_compile
+}
+
+src_install() {
+ linux-mod_src_install
+ dodoc Module/README Module/iwpriv_usage.txt
+# The firmware Install
+ insinto /etc/Wireless/RT73STA
+ doins Module/rt73.bin Module/rt73sta.dat
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ einfo
+ einfo "Thanks to RaLink for releasing open drivers!"
+ einfo
+}