diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-11-30 21:50:53 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-11-30 21:50:53 +0000 |
commit | b9ff9e58242daa783cc14232d417641a6ecbdc4d (patch) | |
tree | e83579df9a4ffe1ca4fa918d011a8471909d7ebc /net-wireless/ralink-rt61 | |
parent | Keyworded ~ppc for bug #156599 (diff) | |
download | gentoo-2-b9ff9e58242daa783cc14232d417641a6ecbdc4d.tar.gz gentoo-2-b9ff9e58242daa783cc14232d417641a6ecbdc4d.tar.bz2 gentoo-2-b9ff9e58242daa783cc14232d417641a6ecbdc4d.zip |
New ebuild thanks to Sebastian <sebastian_ml@gmx.net> in bug 151560
(Portage version: 2.1.2_rc2-r3)
Diffstat (limited to 'net-wireless/ralink-rt61')
-rw-r--r-- | net-wireless/ralink-rt61/ChangeLog | 11 | ||||
-rw-r--r-- | net-wireless/ralink-rt61/Manifest | 20 | ||||
-rw-r--r-- | net-wireless/ralink-rt61/files/digest-ralink-rt61-1.1.0.0 | 3 | ||||
-rw-r--r-- | net-wireless/ralink-rt61/files/rt61-wireless-ext-v21.diff | 13 | ||||
-rw-r--r-- | net-wireless/ralink-rt61/metadata.xml | 5 | ||||
-rw-r--r-- | net-wireless/ralink-rt61/ralink-rt61-1.1.0.0.ebuild | 53 |
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..69c23348847b --- /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 1236 RMD160 3247d9fbd13f7d7c049053524105db8f0a4f34e7 SHA1 f96303556fbe9d08fefe9ef2468ab23196f779b7 SHA256 771dd1653d5621b39ee0713236c63c17a95158cb55d1d737c0ade147c3de2632 +MD5 c9a4e4d5775a4635ae5e85e977f68986 ralink-rt61-1.1.0.0.ebuild 1236 +RMD160 3247d9fbd13f7d7c049053524105db8f0a4f34e7 ralink-rt61-1.1.0.0.ebuild 1236 +SHA256 771dd1653d5621b39ee0713236c63c17a95158cb55d1d737c0ade147c3de2632 ralink-rt61-1.1.0.0.ebuild 1236 +MISC ChangeLog 368 RMD160 d75958b503ab890d5f165725193c3310ac4804ce SHA1 0090b1400a60c6f1b1555d74ce3f2f60e30f5243 SHA256 c39be90038dc8303ccb53a2e4cbfa54abca68c07bcb459734e62833c7bc84e09 +MD5 8d44993e9d469a22df0d247c51f90f63 ChangeLog 368 +RMD160 d75958b503ab890d5f165725193c3310ac4804ce ChangeLog 368 +SHA256 c39be90038dc8303ccb53a2e4cbfa54abca68c07bcb459734e62833c7bc84e09 ChangeLog 368 +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 +} |