summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-11-30 21:50:53 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-11-30 21:50:53 +0000
commita250a52be719448cdd0ddfa59840aafbbdfc5595 (patch)
treeab21beaf6e0699cafcfd8eb65cf71d1ef09a5eb8 /net-wireless
parentKeyworded ~ppc for bug #156599 (diff)
downloadhistorical-a250a52be719448cdd0ddfa59840aafbbdfc5595.tar.gz
historical-a250a52be719448cdd0ddfa59840aafbbdfc5595.tar.bz2
historical-a250a52be719448cdd0ddfa59840aafbbdfc5595.zip
New ebuild thanks to Sebastian <sebastian_ml@gmx.net> in bug 151560
Package-Manager: portage-2.1.2_rc2-r3
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/ralink-rt61/ChangeLog11
-rw-r--r--net-wireless/ralink-rt61/Manifest20
-rw-r--r--net-wireless/ralink-rt61/files/digest-ralink-rt61-1.1.0.03
-rw-r--r--net-wireless/ralink-rt61/files/rt61-wireless-ext-v21.diff13
-rw-r--r--net-wireless/ralink-rt61/metadata.xml5
-rw-r--r--net-wireless/ralink-rt61/ralink-rt61-1.1.0.0.ebuild53
6 files changed, 105 insertions, 0 deletions
diff --git a/net-wireless/ralink-rt61/ChangeLog b/net-wireless/ralink-rt61/ChangeLog
new file mode 100644
index 000000000000..9230234ed63d
--- /dev/null
+++ b/net-wireless/ralink-rt61/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-wireless/ralink-rt61
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ralink-rt61/ChangeLog,v 1.1 2006/11/30 21:50:53 genstef Exp $
+
+*ralink-rt61-1.1.0.0 (30 Nov 2006)
+
+ 30 Nov 2006; Stefan Schweizer <genstef@gentoo.org>
+ +files/rt61-wireless-ext-v21.diff, +metadata.xml,
+ +ralink-rt61-1.1.0.0.ebuild:
+ New ebuild thanks to Sebastian <sebastian_ml@gmx.net> in bug 151560
+
diff --git a/net-wireless/ralink-rt61/Manifest b/net-wireless/ralink-rt61/Manifest
new file mode 100644
index 000000000000..d5aaf6052aeb
--- /dev/null
+++ b/net-wireless/ralink-rt61/Manifest
@@ -0,0 +1,20 @@
+AUX rt61-wireless-ext-v21.diff 564 RMD160 7d517675f9a0c0bef65353d12ccdb18a036a3984 SHA1 6e6fe754884dd6086ee28031f0451d2d65c92852 SHA256 84310cf0a10fe3aa40934f23a988a3189b37af75dd4c1ce4afd702001143008d
+MD5 490cec9ff19f09f41e43a47c8a05b6f0 files/rt61-wireless-ext-v21.diff 564
+RMD160 7d517675f9a0c0bef65353d12ccdb18a036a3984 files/rt61-wireless-ext-v21.diff 564
+SHA256 84310cf0a10fe3aa40934f23a988a3189b37af75dd4c1ce4afd702001143008d files/rt61-wireless-ext-v21.diff 564
+DIST RT61_Linux_STA_Drv1.1.0.0.tar.gz 374892 RMD160 49419a851adefe0821be62549b91218126b02055 SHA1 b8ecd10245a4c8161422951e336b3eaaf16a52c0 SHA256 f427c2c6de4b294dc930c9eefeb743b93b90c8d89eed026ba2aacd7cce6e8c98
+EBUILD ralink-rt61-1.1.0.0.ebuild 1350 RMD160 584195b44f9901b0eb0e65dea6ba230dea3c4b3b SHA1 a783cebae6aa9d6c4a33d714aee5462a826256fb SHA256 c0d7866e2b092089b7d0dc91d4bbe82459ddd0def6f53e94b1d10ebf3e94c298
+MD5 b61a9ecfc70c0e6238f173635e70dc1e ralink-rt61-1.1.0.0.ebuild 1350
+RMD160 584195b44f9901b0eb0e65dea6ba230dea3c4b3b ralink-rt61-1.1.0.0.ebuild 1350
+SHA256 c0d7866e2b092089b7d0dc91d4bbe82459ddd0def6f53e94b1d10ebf3e94c298 ralink-rt61-1.1.0.0.ebuild 1350
+MISC ChangeLog 465 RMD160 083ae68a2687ea09694f1f7a6312985a8dac65e3 SHA1 7aa35b86be642c5e1db4aba09adcef283792d5ab SHA256 a4e58fde871f939a706dd0030f5444aacbb70578b7f247354ca59934bc69f973
+MD5 259fbdc6a11e0d71004f70c15717cbe7 ChangeLog 465
+RMD160 083ae68a2687ea09694f1f7a6312985a8dac65e3 ChangeLog 465
+SHA256 a4e58fde871f939a706dd0030f5444aacbb70578b7f247354ca59934bc69f973 ChangeLog 465
+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
+MD5 d573d3f6987e7ea21a3225366ba14df9 files/digest-ralink-rt61-1.1.0.0 277
+RMD160 69da93b18eb30ec3720717ddd51b533d57ebf616 files/digest-ralink-rt61-1.1.0.0 277
+SHA256 74ca8186d6a39f9db9d40d0d88a263b2e392ae067de9973c8e4e49f6b3db7c04 files/digest-ralink-rt61-1.1.0.0 277
diff --git a/net-wireless/ralink-rt61/files/digest-ralink-rt61-1.1.0.0 b/net-wireless/ralink-rt61/files/digest-ralink-rt61-1.1.0.0
new file mode 100644
index 000000000000..b40d0593d0db
--- /dev/null
+++ b/net-wireless/ralink-rt61/files/digest-ralink-rt61-1.1.0.0
@@ -0,0 +1,3 @@
+MD5 cc375eba143c70be19718247fa8c18ba RT61_Linux_STA_Drv1.1.0.0.tar.gz 374892
+RMD160 49419a851adefe0821be62549b91218126b02055 RT61_Linux_STA_Drv1.1.0.0.tar.gz 374892
+SHA256 f427c2c6de4b294dc930c9eefeb743b93b90c8d89eed026ba2aacd7cce6e8c98 RT61_Linux_STA_Drv1.1.0.0.tar.gz 374892
diff --git a/net-wireless/ralink-rt61/files/rt61-wireless-ext-v21.diff b/net-wireless/ralink-rt61/files/rt61-wireless-ext-v21.diff
new file mode 100644
index 000000000000..fb4e0e7a041e
--- /dev/null
+++ b/net-wireless/ralink-rt61/files/rt61-wireless-ext-v21.diff
@@ -0,0 +1,13 @@
+diff -Nur RT61_Linux_STA_Drv1.1.0.0.old/Module/rtmp_main.c RT61_Linux_STA_Drv1.1.0.0/Module/rtmp_main.c
+--- RT61_Linux_STA_Drv1.1.0.0.old/Module/rtmp_main.c 2006-11-22 03:19:57.000000000 +0100
++++ RT61_Linux_STA_Drv1.1.0.0/Module/rtmp_main.c 2006-11-30 20:56:15.000000000 +0100
+@@ -194,7 +194,9 @@
+ net_dev->get_stats = RT61_get_ether_stats;
+
+ #if WIRELESS_EXT >= 12
++#if WIRELESS_EXT < 17
+ net_dev->get_wireless_stats = RT61_get_wireless_stats;
++#endif
+ net_dev->wireless_handlers = (struct iw_handler_def *) &rt61_iw_handler_def;
+ #endif
+
diff --git a/net-wireless/ralink-rt61/metadata.xml b/net-wireless/ralink-rt61/metadata.xml
new file mode 100644
index 000000000000..b27ff8eb4ed6
--- /dev/null
+++ b/net-wireless/ralink-rt61/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/ralink-rt61/ralink-rt61-1.1.0.0.ebuild b/net-wireless/ralink-rt61/ralink-rt61-1.1.0.0.ebuild
new file mode 100644
index 000000000000..74dfafda9bf9
--- /dev/null
+++ b/net-wireless/ralink-rt61/ralink-rt61-1.1.0.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2006 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.1 2006/11/30 21:50:53 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}-/RT61_Linux_STA_Drv}
+
+SRC_URI="http://www.ralinktech.com/drivers/Linux/${MY_P}.tar.gz"
+
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+SLOT="0"
+
+RDEPEND="net-wireless/wireless-tools"
+
+S="${WORKDIR}/${MY_P}"
+
+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)."
+
+src_compile() {
+ epatch ${FILESDIR}/rt61-wireless-ext-v21.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
+}