r72 - / unstable unstable/rt73 unstable/rt73/trunk unstable/rt73/trunk/debian unstable/rt73/trunk/debian/conf unstable/rt73/trunk/debian/scripts
dexter at alioth.debian.org
dexter at alioth.debian.org
Fri Nov 2 14:49:44 UTC 2007
Author: dexter
Date: 2007-11-02 14:49:44 +0000 (Fri, 02 Nov 2007)
New Revision: 72
Added:
unstable/rt73/
unstable/rt73/branches/
unstable/rt73/tags/
unstable/rt73/trunk/
unstable/rt73/trunk/debian/
unstable/rt73/trunk/debian/NEWS
unstable/rt73/trunk/debian/README
unstable/rt73/trunk/debian/changelog
unstable/rt73/trunk/debian/conf/
unstable/rt73/trunk/debian/conf/rt73.modprobe
unstable/rt73/trunk/debian/modules.packages
unstable/rt73/trunk/debian/packages
unstable/rt73/trunk/debian/scripts/
unstable/rt73/trunk/debian/scripts/update-rt73-firmware.sh
unstable/rt73/trunk/rt73_1.0.3.6-cvs20071013.orig.tar.gz
Modified:
/
Log:
* import the latest unstable package
Property changes on:
___________________________________________________________________
Name: svk:merge
+ a768dc91-4809-499b-a2f1-8fca22b1f4b0:/local:74
Added: unstable/rt73/trunk/debian/NEWS
===================================================================
--- unstable/rt73/trunk/debian/NEWS (rev 0)
+++ unstable/rt73/trunk/debian/NEWS 2007-11-02 14:49:44 UTC (rev 72)
@@ -0,0 +1,11 @@
+rt73 (1:1.0.3.6-cvs20071013-1) unstable; urgency=low
+
+ * Switched upstream to http://rt2x00.serialmonkey.com/ enhanced legacy
+ driver.
+
+ - The upstream renamed interface from rausb* to wlan*.
+ - The driver does not read configuration file rt73sta.dat anymore.
+ - The firmware is stored in /etc/firmware and symlinked to /lib/firmware.
+
+ -- Piotr Roszatycki <dexter at debian.org> Wed, 24 Oct 2007 13:29:54 +0200
+
Added: unstable/rt73/trunk/debian/README
===================================================================
--- unstable/rt73/trunk/debian/README (rev 0)
+++ unstable/rt73/trunk/debian/README 2007-11-02 14:49:44 UTC (rev 72)
@@ -0,0 +1,47 @@
+rt73 for DEBIAN
+---------------
+
+MODULE-ASSISSTANT
+
+You can use module-assisstant to build the kernel module:
+
+ $ m-a build rt73
+
+
+OTHER DRIVERS
+
+The rt73-common file provides a /etc/modprobe.d/rt73 file which blacklists the
+other drivers from http://rt2x00.serialmonkeys.com site.
+
+The blacklisted drivers are: prism2_usb, rt2500usb, rt2570, rt73usb.
+
+
+USAGE
+
+The rt73.ko driver should be loaded automatically. After that, the interface
+have to be up:
+
+ # ifconfig wlan0 up
+ # iwlist wlan0 scan
+
+
+FIRMWARE
+
+The rt73.bin firmware file can be downloaded with update-rt73-firmware
+command. The firmware file will be placed in /etc/firmware directory and
+symlinked as /lib/firmware/rt73.bin.
+
+Be careful! The driver can hang up and generate kernel OOPS if the firmware
+can not be loaded!
+
+
+INTERFACE NAME
+
+This serialmonkeys.com driver uses interface wlan0. The original Ralink
+driver uses interface name rausb0. You can use /sbin/nameif tool to rename the
+interface names or better create udev rule:
+
+ KERNEL=="wlan*", SYSFS{address}=="00:de:ad:be:ef:00", NAME="wlan0"
+
+
+ -- Piotr Roszatycki <dexter at debian.org> Thu, 18 Oct 2007 22:18:23 +0200
Added: unstable/rt73/trunk/debian/changelog
===================================================================
--- unstable/rt73/trunk/debian/changelog (rev 0)
+++ unstable/rt73/trunk/debian/changelog 2007-11-02 14:49:44 UTC (rev 72)
@@ -0,0 +1,41 @@
+rt73 (1:1.0.3.6-cvs20071013-1) unstable; urgency=low
+
+ * Uploaded to unstable.
+ * Switched upstream to http://rt2x00.serialmonkey.com/ enhanced legacy
+ driver. Closes: #434341.
+ - Used original CVS snapshot without Debian patches.
+ - The upstream renamed interface from rausb* to wlan*.
+ - The driver does not read configuration file rt73sta.dat anymore.
+ - The firmware is stored in /etc/firmware and symlinked to /lib/firmware.
+ * Changed architecture to any. Closes: #441853.
+
+ -- Piotr Roszatycki <dexter at debian.org> Wed, 24 Oct 2007 13:29:54 +0200
+
+rt73 (1.0.4.0.dfsg1-1~experimental2) experimental; urgency=low
+
+ * Add architecture amd64.
+
+ -- Piotr Roszatycki <dexter at debian.org> Tue, 4 Sep 2007 17:41:04 +0200
+
+rt73 (1.0.4.0.dfsg1-1~experimental1) experimental; urgency=medium
+
+ * New upstream release:
+ - Does compile against the newest kernel. Closes: #424901.
+ * Fixed the update-rt73-firmware. Works with the new Ralink website.
+ Closes: #418116.
+ * Provided blacklist and alias for modprobe.
+ * Provided documentation for iwpriv options and rt73sta.dat configuration
+ file.
+
+ -- Piotr Roszatycki <dexter at debian.org> Fri, 13 Jul 2007 13:22:51 +0200
+
+rt73 (1.0.3.6.dfsg1-1~experimental1) experimental; urgency=low
+
+ * Initial release. Closes: #396648.
+ * Reuploaded after rejection.
+ * Removed WPA_Supplican and Module/Configure from upstream source.
+ * Reedited copyright file.
+ * Updated URLs.
+
+ -- Piotr Roszatycki <dexter at debian.org> Fri, 29 Dec 2006 14:39:28 +0100
+
Added: unstable/rt73/trunk/debian/conf/rt73.modprobe
===================================================================
--- unstable/rt73/trunk/debian/conf/rt73.modprobe (rev 0)
+++ unstable/rt73/trunk/debian/conf/rt73.modprobe 2007-11-02 14:49:44 UTC (rev 72)
@@ -0,0 +1,10 @@
+# RT73 driver
+
+# Do not load other drivers for the same device
+blacklist prism2_usb
+blacklist rt2500usb
+blacklist rt2570
+blacklist rt73usb
+
+# Alias for rausb0 interface
+alias wlan0 rt73
Added: unstable/rt73/trunk/debian/modules.packages
===================================================================
--- unstable/rt73/trunk/debian/modules.packages (rev 0)
+++ unstable/rt73/trunk/debian/modules.packages 2007-11-02 14:49:44 UTC (rev 72)
@@ -0,0 +1,73 @@
+# $Id: /svn/trunk/debian/dists/rt73/debian/modules.packages 2435 2007-10-30T12:03:10.654050Z dexter $
+
+# Uncomment if you need to compile on older system
+# %define with_debian_etch 1
+
+%define yada_version @YADA_VERSION@
+
+%define KSRC %{?$KSRC:%{$KSRC}}%{!?$KSRC:/usr/src/linux}
+%define KVERS %{?$KVERS:%{$KVERS}}%{!?$KVERS:%`sed -n -e '/UTS_RELEASE/s/^[^"]*"\([^"]*\)".*$/\1/p' %{KSRC}/include/linux/version.h 2>/dev/null || echo "UNKNOWN"`}
+%define KDREV %{?$KDREV:%{$KDREV}}%{!?$KDREV:UNKNOWN}
+
+# KSRC=%{KSRC}
+# KVERS=%{KVERS}
+# KDREV=%{KDREV}
+
+Source: rt73-source
+Section: net
+Priority: extra
+Maintainer: Piotr Roszatycki <dexter at debian.org>
+Standards-Version: 3.7.2
+Upstream-Source: <URL:http://rt2x00.serialmonkey.com/wiki/index.php?title=Downloads>
+%if %{with_debian_etch}
+Home-Page: <URL:http://rt2x00.serialmonkey.com/>
+%else
+Homepage: <URL:http://rt2x00.serialmonkey.com/>
+Vcs-Browser: http://svn.debian.org/wsvn/cvsdebuild/trunk/debian/dists/rt73/
+Vcs-Svn: svn://svn.debian.org/cvsdebuild/trunk/debian/dists/rt73/
+%endif
+Description: RT73(RT2571W) Wireless Lan Linux Driver - kernel module sources
+ This is a linux device driver for Ralink RT73 a/b/g WLAN Card.
+Copyright: GPL
+ RT2x00 SourceForge Project - http://rt2x00.serialmonkey.com
+ .
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ Licensed under the GNU GPL
+ Original code supplied under license from RaLink Inc, 2004.
+Build-Depends: module-assistant, bzip2
+Build-Depends: yada (>= %{yada_version})
+Build: sh
+ CC=${CC:-gcc}
+ make -C /lib/modules/%{KVERS}/build SUBDIRS=$(pwd) modules
+Clean: sh
+ make clean || true
+
+Package: rt73-module-%{KVERS}
+Architecture: any
+Depends: rt73-common
+%if %{KDREV}
+Recommends: linux-image-%{KVERS} (= %{KDREV})
+%else
+Recommends: linux-image-%{KVERS}
+%endif
+Provides: rt73-module
+Description: RT73(RT2571W) Wireless Lan Linux Driver - kernel module sources
+ This package provides kernel modules.
+Install: sh
+ if [ -f %{KSRC}/scripts/Makefile.modinst ]; then
+ MODEXT=ko
+ else
+ MODEXT=o
+ fi
+ .
+ yada install -lib -unstripped -into /lib/modules/%{KVERS}/kernel/drivers/net/wireless \
+ -as rt73.$MODEXT rt73.ko
+Postinst: sh
+ if [ "`uname -r`" = "%{KVERS}" ]; then
+ /sbin/depmod -a
+ fi
+Contains: unstripped kernel-modules
Added: unstable/rt73/trunk/debian/packages
===================================================================
--- unstable/rt73/trunk/debian/packages (rev 0)
+++ unstable/rt73/trunk/debian/packages 2007-11-02 14:49:44 UTC (rev 72)
@@ -0,0 +1,132 @@
+# $Id: /svn/trunk/debian/dists/rt73/debian/packages 2435 2007-10-30T12:03:10.654050Z dexter $
+
+# If the debian/rules or debian/control file is missing, rebuild the file:
+#
+# $ yada rebuild control
+# $ yada rebuild rules
+
+# Uncomment if you need to compile for etch
+# %define with_debian_etch 1
+
+%define is_yada_bundled %`test -x debian/yada && echo 1`
+
+%define yada_from_etch 0.52
+
+Source: rt73
+Section: contrib/net
+Priority: extra
+Maintainer: Piotr Roszatycki <dexter at debian.org>
+Standards-Version: 3.7.2
+Upstream-Source: <URL:http://rt2x00.serialmonkey.com/wiki/index.php?title=Downloads>
+%if %{with_debian_etch}
+Home-Page: <URL:http://rt2x00.serialmonkey.com/>
+%else
+Homepage: <URL:http://rt2x00.serialmonkey.com/>
+Vcs-Browser: http://svn.debian.org/wsvn/cvsdebuild/trunk/debian/dists/rt73/
+Vcs-Svn: svn://svn.debian.org/cvsdebuild/trunk/debian/dists/rt73/
+%endif
+Description: RT73(RT2571W) Wireless Lan Linux Driver - kernel module sources
+ This is a linux device driver for Ralink RT73 a/b/g WLAN Card.
+Copyright: GPL
+ RT2x00 SourceForge Project - http://rt2x00.serialmonkey.com
+ .
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ Licensed under the GNU GPL
+ Original code supplied under license from RaLink Inc, 2004.
+Build-Depends: bzip2
+%if %{is_yada_bundled}
+# Build-Depends: yada
+%else
+%if %{with_debian_etch}
+Build-Depends: yada (>= %{yada_from_etch})
+%else
+Build-Depends: yada
+%endif
+%endif
+Build: bash
+ rm -rf modules || true
+ mkdir -p modules/rt73
+ cp -a Module/* modules/rt73
+ chmod -x modules/rt73/*
+ mkdir -p modules/rt73/debian
+ sed 's/^rt73/rt73-source/' debian/changelog > modules/rt73/debian/changelog
+ cp -a debian/modules.packages modules/rt73/debian/packages
+%if %{is_yada_bundled}
+ sed -i 's/^\(Build-Depends: yada\)/# \1/' modules/rt73/debian/packages
+ cp -a debian/yada modules/rt73/debian
+%endif
+ sed -i 's/@YADA_VERSION@/%{YADA_VERSION}/g' modules/rt73/debian/packages
+%if %{with_debian_etch}
+ sed -i 's/^# \(%define with_debian_etch 1\)/\1/' modules/rt73/debian/packages
+%endif
+ pushd modules/rt73
+ %{YADA_COMMAND} rebuild
+ debian/rules clean
+ popd
+ tar jcf rt73.tar.bz2 modules
+ eval pod2man $(grep '^# pod2man ' debian/scripts/update-rt73-firmware.sh | sed 's/^# pod2man //') \
+ debian/scripts/update-rt73-firmware.sh \
+ > debian/scripts/update-rt73-firmware.8
+Clean: bash
+ rm -rf modules || true
+ rm -f rt73.tar.bz2 || true
+ rm -f debian/scripts/update-rt73-firmware.8
+
+Package: rt73-source
+Architecture: all
+Depends: module-assistant, bzip2
+%if %{with_debian_etch}
+Depends: yada (>= %{yada_from_etch})
+%else
+Depends: yada
+%endif
+Recommends: rt73-common
+Description: RT73(RT2571W) Wireless Lan Linux Driver - kernel module sources
+ This package contains source to be used with the kernel-package tools.
+Install: sh
+ yada install -src rt73.tar.bz2
+ yada symlink -into /usr/share/modass/overrides -as rt73 /usr/share/modass/packages/default.sh
+ yada install -doc -as NEWS.Debian -gzip debian/NEWS
+ yada install -doc -as changelog CHANGELOG
+
+Package: rt73-common
+Architecture: all
+Depends: wget, unzip, []
+Description: RT73(RT2571W) Wireless Lan Linux Driver - common files
+ This package contains the configuration file for the driver and
+ the update-rt73-firmware tool which downloads the firmware image file
+ from http://www.ralinktech.com/ralink/Home/Support/Linux.html page.
+Install: sh
+ yada install -dir /etc/firmware /lib/firmware
+ yada install -sbin -script -as update-rt73-firmware debian/scripts/update-rt73-firmware.sh
+ yada install -man debian/scripts/update-rt73-firmware.8
+ yada install -conf -ucf -into /etc/modprobe.d -as rt73 debian/conf/rt73.modprobe
+ yada symlink -into /lib/firmware /etc/firmware/rt73.bin
+ yada install -doc README Module/iwpriv_usage.txt
+ yada install -doc -as README.Debian debian/README
+ yada install -doc -as NEWS.Debian -gzip debian/NEWS
+ yada install -doc -as changelog CHANGELOG
+Postinst: sh
+ if [ "$1" = "configure" ]; then
+ if [ ! -f /lib/firmware/rt73.bin ] && [ ! -f /lib/firmware/`uname -r`/rt73.bin ]; then
+ echo "Warning: the rt73.ko driver is useless without rt73.bin firmware!"
+ echo "Please download the firmware with update-rt73-firmware command."
+ echo ""
+ fi
+ fi
+Postrm: sh
+ if [ "$1" = "purge" ]; then
+ if [ -h /lib/firmware/rt73.bin ]; then
+ rm -f /lib/firmware/rt73.bin || true
+ fi
+ rm -f /etc/firmware/rt73.bin || true
+ rmdir --ignore-fail-on-non-empty --parents /etc/firmware || true
+ fi
+
+# Debug:
+# with_debian_etch=%{with_debian_etch}
+# is_yada_bundled=%{is_yada_bundled}
Added: unstable/rt73/trunk/debian/scripts/update-rt73-firmware.sh
===================================================================
--- unstable/rt73/trunk/debian/scripts/update-rt73-firmware.sh (rev 0)
+++ unstable/rt73/trunk/debian/scripts/update-rt73-firmware.sh 2007-11-02 14:49:44 UTC (rev 72)
@@ -0,0 +1,115 @@
+#!/bin/sh
+
+# $Id: /svn/trunk/debian/dists/rt73/debian/scripts/update-rt73-firmware.sh 2424 2007-10-18T20:23:05.445223Z dexter $
+#
+# (c) 2006-2007 Piotr Roszatycki <dexter at debian.org> GPL
+
+
+set -e
+
+DIR=/etc/firmware
+FILE=rt73.bin
+URL=http://www.ralinktech.com/ralink/Home/Support/Linux.html
+
+
+error () {
+ echo "E: $1" 1>&2
+ echo "E: " 1>&2
+ echo "E: Please download firmware RT2501USB(RT2571W/RT2671) from" 1>&2
+ echo "E: $URL" 1>&2
+ echo "E: and unpack the $FILE file into $DIR." 1>&2
+ exit 1
+}
+
+
+TMPDIR=${TMPDIR:-/tmp}
+tmpdir="$TMPDIR/update-rt73-firmware-tmpdir"
+
+if [ -d "$DIR" ] && ! [ -w "$DIR" ]; then
+ error "Can't write to $DIR directory"
+fi
+
+if ! [ -d "$DIR" ]; then
+ mkdir -p "$DIR"
+fi
+
+rm -rf "$tmpdir"
+mkdir -p "$tmpdir"
+cd "$tmpdir" || error "Can't create temporary directory $tmpdir"
+
+:> wgetrc
+echo "noclobber = off" >> wgetrc
+echo "dir_prefix = ." >> wgetrc
+echo "dirstruct = off" >> wgetrc
+echo "verbose = on" >> wgetrc
+
+WGETRC=wgetrc wget -O"$tmpdir/index.html" $URL || error "Can't download index page"
+
+test -f index.html || error "Can't download index page"
+
+line=`sed 's/<a /\n&/g' "$tmpdir/index.html" | grep '/RT71W_Firmware_V.*\.zip"' || true`
+
+test -z "$line" && error "Can't find firmware location"
+
+url=`echo "$line" | sed 's,.*<a href="\([^"]*/RT71W_Firmware_V[^"]*\)".*,\1,' || true`
+
+test -z "$url" && error "Can't find firmware location"
+
+if [ "$url" = "${url#http://}" ]; then
+ url="http://www.ralinktech.com/$url"
+fi
+
+WGETRC=wgetrc wget -O"$tmpdir/rt73.zip" "$url" || error "Can't download firmware archive"
+
+unzip -o -d. -j rt73.zip "*/$FILE" || error "Can't unpack firmware file"
+
+chmod 644 $FILE
+
+test -f $FILE || error "Can't unpack firmware file"
+
+printf "\nCopying:\n"
+cp -va "$tmpdir/$FILE" "$DIR"
+
+rm -rf "$tmpdir"
+
+echo "N: Done" 2>&1
+
+exit 0
+
+cat << POD
+
+# pod2man --name=update-rt73-firmware --section=8 --release="Debian" --center=" " --date="13 Jul 2007"
+
+=head1 NAME
+
+update-rt73-firmware - Download the firmware for Ralink RT73 a/b/g WLAN Card
+
+=head1 SYNOPSIS
+
+B<update-rt73-firmware>
+
+=head1 DESCRIPTION
+
+This utility downloads the latest firmware for Ralink RT73 a/b/g WLAN Card
+and places it as F</etc/Wireless/RT73STA/rt73.bin> file. The utility uses
+B<wget>(1) and B<unzip>(1) for downloading and unpacking the firmware image.
+
+=head1 FILES
+
+=over 8
+
+=item F</etc/Wireless/RT73STA/rt73.bin>
+
+contains the firmware image
+
+=head1 BUGS
+
+The script will break if the Ralink website changes dramatically.
+
+=head1 SEE ALSO
+
+B<wget>(1), L<http://www.ralinktech.com/>
+
+=head1 AUTHORS
+
+(c) 2006-2007 Piotr Roszatycki E<lt>dexter at debian.orgE<gt>.
Property changes on: unstable/rt73/trunk/debian/scripts/update-rt73-firmware.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: unstable/rt73/trunk/rt73_1.0.3.6-cvs20071013.orig.tar.gz
===================================================================
(Binary files differ)
Property changes on: unstable/rt73/trunk/rt73_1.0.3.6-cvs20071013.orig.tar.gz
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
More information about the Pkg-ralink-commits
mailing list