From 89c24117fa0897f747fdf8a098d55bbdb927eaaf Mon Sep 17 00:00:00 2001 From: Stephen Klimaszewski Date: Sat, 10 Feb 2007 07:30:31 +0000 Subject: Add a cvs snapshot ebuild for rt2570. Closes bug #162128. Thanks to Paulo da Silva for reporting and making the snapshot. (Portage version: 2.1.2-r9) --- net-wireless/rt2570/ChangeLog | 11 ++++-- .../rt2570/files/digest-rt2570-1.1.0_beta1 | 4 +++ net-wireless/rt2570/files/digest-rt2570-20070209 | 3 ++ net-wireless/rt2570/rt2570-20070209.ebuild | 39 ++++++++++++++++++++++ 4 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 net-wireless/rt2570/files/digest-rt2570-20070209 create mode 100644 net-wireless/rt2570/rt2570-20070209.ebuild (limited to 'net-wireless') diff --git a/net-wireless/rt2570/ChangeLog b/net-wireless/rt2570/ChangeLog index 735f1f8696e5..bef1e977de35 100644 --- a/net-wireless/rt2570/ChangeLog +++ b/net-wireless/rt2570/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-wireless/rt2570 -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2570/ChangeLog,v 1.7 2006/08/16 21:55:11 steev Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2570/ChangeLog,v 1.8 2007/02/10 07:30:31 steev Exp $ + +*rt2570-20070209 (10 Feb 2007) + + 10 Feb 2007; Steev Klimaszewski + +rt2570-20070209.ebuild: + Add a cvs snapshot ebuild for rt2570. Closes bug #162128. Thanks to Paulo da + Silva for reporting and making the snapshot. *rt2570-1.1.0_beta2 (16 Aug 2006) diff --git a/net-wireless/rt2570/files/digest-rt2570-1.1.0_beta1 b/net-wireless/rt2570/files/digest-rt2570-1.1.0_beta1 index 6a80850e546d..919220b35fa7 100644 --- a/net-wireless/rt2570/files/digest-rt2570-1.1.0_beta1 +++ b/net-wireless/rt2570/files/digest-rt2570-1.1.0_beta1 @@ -1,2 +1,6 @@ MD5 b0eb7f071acc80dbff685f69a1ffd6e3 rt2570-1.1.0-b1.tar.gz 377676 +RMD160 c5f441fc95665bbe3d33a145fae7990711a4cea1 rt2570-1.1.0-b1.tar.gz 377676 +SHA256 8b73ee9178ad35606ff4a702ae5d3f8035fa7503f0348a39cba110fbf7414cc0 rt2570-1.1.0-b1.tar.gz 377676 MD5 f644868b3353b7e83baeefda55d69396 rt2570-cvs-update.patch.gz 19820 +RMD160 82d63a9a6ac3f478790e19b07e73a2f0304d10f1 rt2570-cvs-update.patch.gz 19820 +SHA256 4472eef8367f23a57967369aeec64703bf5f12b6fc00e49e9c95b81f98f04e23 rt2570-cvs-update.patch.gz 19820 diff --git a/net-wireless/rt2570/files/digest-rt2570-20070209 b/net-wireless/rt2570/files/digest-rt2570-20070209 new file mode 100644 index 000000000000..77a3c364f9bf --- /dev/null +++ b/net-wireless/rt2570/files/digest-rt2570-20070209 @@ -0,0 +1,3 @@ +MD5 048648d13f164e5308a37e7888938841 rt2570-20070209.tar.bz2 202401 +RMD160 c300afbe3c55cf81e93997c3b0c4e217fadc92b0 rt2570-20070209.tar.bz2 202401 +SHA256 beb12938adcf972904dee8ded02e74c758777dc3cd61dac4df8d2f4bf1c0fbcb rt2570-20070209.tar.bz2 202401 diff --git a/net-wireless/rt2570/rt2570-20070209.ebuild b/net-wireless/rt2570/rt2570-20070209.ebuild new file mode 100644 index 000000000000..ab12646bc717 --- /dev/null +++ b/net-wireless/rt2570/rt2570-20070209.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2570/rt2570-20070209.ebuild,v 1.1 2007/02/10 07:30:31 steev Exp $ + +inherit eutils linux-mod + +DESCRIPTION="Driver for the RaLink RT2570 USB wireless chipset" +HOMEPAGE="http://rt2x00.serialmonkey.com" +SRC_URI="http://gentoo.zerodev.it/snapshots/${P}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" +DEPEND="net-wireless/wireless-tools" + +pkg_setup() { + MODULE_NAMES="rt2570(net:${S}/Module)" + CONFIG_CHECK="NET_RADIO BROKEN_ON_SMP" + BROKEN_ON_SMP_ERROR="SMP Processors and Kernels are currently not supported" + linux-mod_pkg_setup + if use_m + then BUILD_PARAMS="-C ${KV_DIR} M=${S}/Module" + BUILD_TARGETS="modules" + else die "please use a kernel >=2.6.6" + fi +} + +src_install() { + linux-mod_src_install + + dodoc Module/TESTING Module/iwpriv_usage.txt THANKS FAQ CHANGELOG +} + +pkg_postinst() { + linux-mod_pkg_postinst + + elog "to set up the card you can use:" + elog "- iwconfig from wireless-tools" + elog "- iwpriv, like described in \"/usr/share/doc/${PF}/iwpriv_usage.txt.gz"\" +} -- cgit v1.2.3-65-gdbad