r5 - in unstable/rt2400: . debian debian/patches
Aurelien Jarno
aurel32 at alioth.debian.org
Mon Mar 5 23:49:16 CET 2007
Author: aurel32
Date: 2007-03-05 22:49:16 +0000 (Mon, 05 Mar 2007)
New Revision: 5
Added:
unstable/rt2400/debian/
unstable/rt2400/debian/README.Debian.modules.in
unstable/rt2400/debian/RaConfig2400.1
unstable/rt2400/debian/RaConfig2400.xpm
unstable/rt2400/debian/changelog
unstable/rt2400/debian/compat
unstable/rt2400/debian/control
unstable/rt2400/debian/control.modules.in
unstable/rt2400/debian/copyright
unstable/rt2400/debian/docs.modules.in
unstable/rt2400/debian/patches/
unstable/rt2400/debian/patches/000_if_name.diff
unstable/rt2400/debian/patches/series
unstable/rt2400/debian/rt2400-source.README.Debian
unstable/rt2400/debian/rt2400-source.dirs
unstable/rt2400/debian/rt2400-source.docs
unstable/rt2400/debian/rt2400.dirs
unstable/rt2400/debian/rt2400.docs
unstable/rt2400/debian/rt2400.manpages
unstable/rt2400/debian/rt2400.menu
unstable/rt2400/debian/rules
Log:
Initial import of rt2400.
Property changes on: unstable/rt2400/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: unstable/rt2400/debian/README.Debian.modules.in
===================================================================
--- unstable/rt2400/debian/README.Debian.modules.in 2007-03-05 16:28:41 UTC (rev 4)
+++ unstable/rt2400/debian/README.Debian.modules.in 2007-03-05 22:49:16 UTC (rev 5)
@@ -0,0 +1,42 @@
+README.Debian for rt2400-modules
+Aurelien Jarno <aurel32 at debian.org>
+$Id: rt2400-modules.README.Debian,v 1.0 2005/08/31 22:53:42 aurel32 Exp $
+
+1. Interface name
+=================
+
+The name of the interface has been changed in the Debian package from
+ra%d to eth%d to be conform with the naming scheme of the interfaces in
+Debian. Note that the successor of rt2400, namely rt2x00, will also use
+this name.
+
+If you want to change the name of the interface, use the ifname option.
+For example, to change the name back to ra%d, you will have to run:
+
+ modprobe ifname=ra%d
+
+This option could be made permanent by putting it in a file that have to
+be located in /etc/modprobe.d for 2.6 kernels and in /etc/modutils.d for
+2.4 kernels. For example, to change the name back to ra%d, you will have
+to use the following line
+
+ options rt2400 ifname=ra%d
+
+
+2. Configuration
+================
+
+To configure your wireless network interface, you can use iwconfig from
+the wireless-tools package. It is possible to include the configuration
+into /etc/network/interfaces such as in the following example:
+
+auto eth1
+iface eth1 inet dhcp
+ wireless-mode managed
+ wireless-channel 6
+ wireless-essid my_wifi_network
+ wireless-rate 54M
+
+Please look at the documentation of the wireless-tools package for more
+information.
+
Added: unstable/rt2400/debian/RaConfig2400.1
===================================================================
--- unstable/rt2400/debian/RaConfig2400.1 2007-03-05 16:28:41 UTC (rev 4)
+++ unstable/rt2400/debian/RaConfig2400.1 2007-03-05 22:49:16 UTC (rev 5)
@@ -0,0 +1,35 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH RACONFIG2400 1 "May 17, 2005"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+RaConfig2400 \- A configuration tool for wireless RT2400 network cards
+.SH SYNOPSIS
+.B RaConfig2400
+.SH DESCRIPTION
+.B RaConfig2400
+is a simple X11 utility to configure your RT2400 wireless
+network card. It must be used with the corresponding RT2400 driver.
+.SH OPTIONS
+This software does not have any options.
+.SH SEE ALSO
+iwconfig(8).
+.SH AUTHOR
+.B RaConfig2400
+was written by Ralink Tech Inc.
+.br
+This manual page was written by Aurelien Jarno <aurel32 at debian.org>,
+for the Debian GNU/Linux system (but may be used by others).
Added: unstable/rt2400/debian/RaConfig2400.xpm
===================================================================
--- unstable/rt2400/debian/RaConfig2400.xpm 2007-03-05 16:28:41 UTC (rev 4)
+++ unstable/rt2400/debian/RaConfig2400.xpm 2007-03-05 22:49:16 UTC (rev 5)
@@ -0,0 +1,43 @@
+/* XPM */
+static char *pixmap[] = {
+/* width height ncols cpp */
+"32 32 5 2",
+ /* Colors */
+ "00 c #000000",
+ "01 c #000080",
+ "02 c #FF0000",
+ "03 c #00FFFF",
+ ".. s None c None",
+ "................................................................",
+ "............................030303030303030303..................",
+ "........................03030303030303030303030303..............",
+ "........................0303030303030303030303030303............",
+ "..............................................03030303..........",
+ "................................................030303..........",
+ "................................................030303..........",
+ "................................0303030303030303030303..........",
+ "............................03030303030303030303030303..........",
+ "........................030303030303030303030303030303..........",
+ "..01010101010101010101010303030301..............030303..........",
+ "......010101010101....0303030301010101..........030303..........",
+ "........0101010101....030303..0101010101......03030303..........",
+ "........0101010101....03030303..0101010101030303030303..........",
+ "........0101010101......03030303010101010103030303030303........",
+ "........0101010101........03030301010101010303..03030303030303..",
+ "........0101010101............030101010101......................",
+ "........0101010101..............01010101........................",
+ "........0101010101............0101010101........................",
+ "........0101010101..........01010101..............02............",
+ "........010101010101010101010101..................0202..........",
+ "........0101010101..010101010101..................0202..........",
+ "........0101010101....010101010101................0202..........",
+ "........0101010101......010101010101..............0202..........",
+ "........0101010101........010101010101....0202020202020202020202",
+ "........0101010101..........0101010101010202020202020202020202..",
+ "........0101010101............010101010101........0202..........",
+ "........0101010101..............010101010101......0202..........",
+ "........0101010101................010101010101....0202..........",
+ "......01010101010101................010101010101..0202..........",
+ "..0101010101010101010101............010101010101010102..........",
+ "................................................................",
+};
Added: unstable/rt2400/debian/changelog
===================================================================
--- unstable/rt2400/debian/changelog 2007-03-05 16:28:41 UTC (rev 4)
+++ unstable/rt2400/debian/changelog 2007-03-05 22:49:16 UTC (rev 5)
@@ -0,0 +1,189 @@
+rt2400 (1.2.2+cvs20070219-2) unstable; urgency=low
+
+ * Switch maintainer to "Debian Ralink packages maintainers".
+ * Move Ben Hutchings to uploaders, and add Romain Beauxis to uploaders.
+ * Use quilt for patch management.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Mon, 5 Mar 2007 23:34:53 +0100
+
+rt2400 (1.2.2+cvs20070219-1) unstable; urgency=low
+
+ * Switch Maintainer and Uploader.
+ * New CVS snaphost.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Tue, 20 Feb 2007 00:51:27 +0100
+
+rt2400 (1.2.2+cvs20061231-2) unstable; urgency=low
+
+ * Use bzip2 instead of gzip to compress the sources.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Wed, 3 Jan 2007 20:53:59 +0100
+
+rt2400 (1.2.2+cvs20061231-1) unstable; urgency=low
+
+ * New CVS version.
+ - Fix SSID handling with kernels >= 2.6.19 (closes: bug#405009).
+
+ -- Aurelien Jarno <aurel32 at debian.org> Sun, 31 Dec 2006 18:29:13 +0100
+
+rt2400 (1.2.2+cvs20061210-1) unstable; urgency=low
+
+ * New CVS version.
+ - Fix build with kernels >= 2.6.19 (closes: bug#401209).
+
+ -- Aurelien Jarno <aurel32 at debian.org> Sun, 10 Dec 2006 15:05:08 +0100
+
+rt2400 (1.2.2+cvs20060620-4) unstable; urgency=low
+
+ * debian/rules: fix a bashims (closes: bug#385205).
+
+ -- Aurelien Jarno <aurel32 at debian.org> Wed, 30 Aug 2006 14:49:18 +0200
+
+rt2400 (1.2.2+cvs20060620-3) unstable; urgency=low
+
+ * Fixed a typo in the description.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Tue, 1 Aug 2006 16:23:05 +0200
+
+rt2400 (1.2.2+cvs20060620-2) unstable; urgency=low
+
+ * Fix build with kernels >= 2.6.17 (closes: bug#379085).
+
+ -- Aurelien Jarno <aurel32 at debian.org> Fri, 21 Jul 2006 12:10:52 +0200
+
+rt2400 (1.2.2+cvs20060620-1) unstable; urgency=low
+
+ * New CVS version.
+ * Bumped Standards-Version to 3.7.2 (no changes).
+ * rt2400: stop recommending rt2400-module (closes: bug#376904).
+
+ -- Aurelien Jarno <aurel32 at debian.org> Tue, 11 Jul 2006 10:39:56 +0200
+
+rt2400 (1.2.2+cvs20060417-4) unstable; urgency=low
+
+ * Rename rt2400-_KVERS_ into rt2400-modules-_KVERS_.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Sat, 22 Apr 2006 20:17:52 +0200
+
+rt2400 (1.2.2+cvs20060417-3) unstable; urgency=low
+
+ * Added Ben Hutchings <ben at decadentplace.org.uk> to the Uploaders: field.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Thu, 20 Apr 2006 16:22:32 +0200
+
+rt2400 (1.2.2+cvs20060417-2) unstable; urgency=low
+
+ * Fix a typo in README.Debian.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Thu, 20 Apr 2006 03:31:20 +0200
+
+rt2400 (1.2.2+cvs20060417-1) unstable; urgency=low
+
+ * New CVS version.
+ * Put a link to /usr/share/doc/rt2400-source/README.Debian into the
+ root of rt2400.tar.gz, as users are unable to look in /usr/share/doc/
+ by themselves.
+ * Add a menu item for RaConfig2400.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Mon, 17 Apr 2006 16:20:47 +0200
+
+rt2400 (1.2.2+cvs20051217-2) unstable; urgency=low
+
+ * I have received reports that the rt2400 driver is also working with an
+ SMP kernel, so disable the error message when compiling on such a kernel.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Mon, 19 Dec 2005 21:36:39 +0100
+
+rt2400 (1.2.2+cvs20051217-1) unstable; urgency=low
+
+ * New CVS version.
+ * Only suggests gcc-3.3 and fails if it is not installed when building
+ the module against a 2.4 kernel.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Sun, 18 Dec 2005 00:12:48 +0100
+
+rt2400 (1.2.2+cvs20050730-6) unstable; urgency=low
+
+ * Really upload to unstable.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Wed, 2 Nov 2005 11:19:34 +0100
+
+rt2400 (1.2.2+cvs20050730-5) experimental; urgency=low
+
+ * Upload to unstable.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Tue, 1 Nov 2005 16:13:56 +0100
+
+rt2400 (1.2.2+cvs20050730-4) experimental; urgency=low
+
+ * Upload to experimental as unstable is semi-frozen.
+ * Refuse to build the module on an SMP kernel.
+ * Only recommends linux-image-2.6.xx.
+ * Clarified the description of rt2400.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Mon, 31 Oct 2005 20:17:52 +0100
+
+rt2400 (1.2.2+cvs20050730-3) unstable; urgency=low
+
+ * It's seems RT2400STA.dat is only used by the configuration tool.
+ Move this file in this package, and delete the rt2400-base package
+ (closes: bug#325897)
+ * Changed the name of the interface directly in the sources to be
+ able to get rid of rt2400-base.
+ * Added a README.Debian in the module package to explain how to
+ change the name of the interface.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Fri, 16 Sep 2005 11:14:31 +0200
+
+rt2400 (1.2.2+cvs20050730-2) unstable; urgency=low
+
+ * C++ transition: build-depends on libqt3-mt-dev (>= 3.3.4-4)
+ (closes: bug#320507).
+
+ -- Aurelien Jarno <aurel32 at debian.org> Fri, 12 Aug 2005 00:03:00 +0200
+
+rt2400 (1.2.2+cvs20050730-1) unstable; urgency=low
+
+ * New CVS version corresponding to 1.2.2-b3.
+ * Fixed a bug in debian rules that was making the module unbuildable.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Fri, 5 Aug 2005 19:21:16 +0200
+
+rt2400 (1.2.2+cvs20050710-2) unstable; urgency=low
+
+ * Make the modules also depending on the kernel images which are using
+ the new kernel naming scheme.
+ * Only build modules with gcc-3.3 with 2.4 kernels.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Mon, 1 Aug 2005 01:57:33 +0200
+
+rt2400 (1.2.2+cvs20050710-1) unstable; urgency=low
+
+ * Upload from Debconf 5.
+ * New CVS version.
+ * Build modules ith gcc-3.3.
+ * Bumped Standards-Version to 3.6.2 (no changes).
+
+ -- Aurelien Jarno <aurel32 at debian.org> Mon, 11 Jul 2005 10:44:27 +0300
+
+rt2400 (1.2.2+cvs20050618-1) unstable; urgency=low
+
+ * New CVS version.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Sat, 18 Jun 2005 20:33:19 +0200
+
+rt2400 (1.2.2+cvs20050530-2) unstable; urgency=low
+
+ * Don't try to include README in the module package (closes: bug#312001).
+
+ -- Aurelien Jarno <aurel32 at debian.org> Sat, 4 Jun 2005 20:41:45 +0200
+
+rt2400 (1.2.2+cvs20050530-1) unstable; urgency=low
+
+ * Initial Release (closes: bug#285757).
+
+ -- Aurelien Jarno <aurel32 at debian.org> Tue, 31 May 2005 07:23:11 +0200
+
+Local variables:
+mode: debian-changelog
+End:
Added: unstable/rt2400/debian/compat
===================================================================
--- unstable/rt2400/debian/compat 2007-03-05 16:28:41 UTC (rev 4)
+++ unstable/rt2400/debian/compat 2007-03-05 22:49:16 UTC (rev 5)
@@ -0,0 +1 @@
+4
Added: unstable/rt2400/debian/control
===================================================================
--- unstable/rt2400/debian/control 2007-03-05 16:28:41 UTC (rev 4)
+++ unstable/rt2400/debian/control 2007-03-05 22:49:16 UTC (rev 5)
@@ -0,0 +1,35 @@
+Source: rt2400
+Section: net
+Priority: extra
+Build-Depends: debhelper (>= 4.0), libqt3-mt-dev (>= 3.3.4-4), bzip2, quilt
+Maintainer: Debian Ralink packages maintainers <pkg-ralink-maintainers at lists.alioth.debian.org>
+Uploaders: Aurelien Jarno <aurel32 at debian.org>, Ben Hutchings <ben at decadentplace.org.uk>, Romain Beauxis <toots at rastageeks.org>
+Standards-Version: 3.7.2
+
+Package: rt2400-source
+Architecture: all
+Depends: debhelper (>= 4.0), module-assistant
+Suggests: gcc-3.3
+Description: RT2400 wireless network drivers source
+ This package provides the source code of the Linux drivers for wireless
+ network cards using Ralink RT2400.
+ .
+ In order to compile the kernel modules you need the kernel sources (or
+ the kernel-headers for the kernel-image packages from Debian). For
+ compile instructions look into /usr/share/doc/rt2400-source/README.Debian
+ or simply use the module-assistant utility.
+ .
+ Homepage: http://rt2x00.serialmonkey.com/
+
+Package: rt2400
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: rt2400-base
+Recommends: wireless-tools
+Description: configuration tool for wireless RT2400 network cards
+ This package provides an X11 application to configure the RT2400 wireless
+ network card. It must be used with the corresponding RT2400 driver.
+ .
+ This package is useless without the appropriate rt2400-modules-x.yy.zz package
+ for the kernel you are running, except if you have built it by hand. You can
+ create such a package from rt2400-source.
Added: unstable/rt2400/debian/control.modules.in
===================================================================
--- unstable/rt2400/debian/control.modules.in 2007-03-05 16:28:41 UTC (rev 4)
+++ unstable/rt2400/debian/control.modules.in 2007-03-05 22:49:16 UTC (rev 5)
@@ -0,0 +1,21 @@
+Source: rt2400
+Section: net
+Priority: extra
+Build-Depends: debhelper (>= 4.0.0)
+Maintainer: Aurelien Jarno <aurel32 at debian.org>
+Standards-Version: 3.7.2
+
+Package: rt2400-modules-_KVERS_
+Architecture: any
+Recommends: linux-image-_KVERS_ | kernel-image-_KVERS_, wireless-tools
+Conflicts: rt2400-_KVERS_
+Suggests: rt2400
+Description: RT2400 wireless network drivers
+ This package contains the set of loadable kernel modules for wireless
+ network cards using Ralink RT2400 chips.
+ .
+ The modules were compiled to be compatible with the kernel in the
+ _KVERS_ package.
+ .
+ Homepage: http://rt2x00.serialmonkey.com
+
Added: unstable/rt2400/debian/copyright
===================================================================
--- unstable/rt2400/debian/copyright 2007-03-05 16:28:41 UTC (rev 4)
+++ unstable/rt2400/debian/copyright 2007-03-05 22:49:16 UTC (rev 5)
@@ -0,0 +1,31 @@
+This package was debianized by Aurelien Jarno <aurel32 at debian.org> on
+Tue, 31 May 2005 07:13:37 +0200.
+
+It was downloaded from http://rt2x00.serialmonkey.com/
+
+Copyright
+
+ This package is copyright Ivo van Doorn <ivd at euronet.nl>, Luis Correia
+ <lfcorreia at users.sf.net>, Mark Wallis <mwallis at serialmonkey.com> and
+ others. See THANKS for more detail.
+
+License:
+
+ 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.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License with
+ the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL;
+ if not, write to the Free Software Foundation, Inc., 51 Franklin St,
+ Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General Public
+License, version 2, can be found in /usr/share/common-licenses/GPL-2.
+
Added: unstable/rt2400/debian/docs.modules.in
===================================================================
--- unstable/rt2400/debian/docs.modules.in 2007-03-05 16:28:41 UTC (rev 4)
+++ unstable/rt2400/debian/docs.modules.in 2007-03-05 22:49:16 UTC (rev 5)
@@ -0,0 +1,2 @@
+FAQ
+THANKS
Added: unstable/rt2400/debian/patches/000_if_name.diff
===================================================================
--- unstable/rt2400/debian/patches/000_if_name.diff 2007-03-05 16:28:41 UTC (rev 4)
+++ unstable/rt2400/debian/patches/000_if_name.diff 2007-03-05 22:49:16 UTC (rev 5)
@@ -0,0 +1,40 @@
+--- Utility/raconfig.cpp
++++ Utility/raconfig.cpp
+@@ -135,7 +135,7 @@
+
+ for (i=0; i<8; i++)
+ {
+- sprintf(name, "ra%d", i);
++ sprintf(name, "eth%d", i);
+ if(Check_DeviceName(socket_id, name, "RT2400PCI"))
+ {
+ count++;
+--- Module/rtmp_main.c
++++ Module/rtmp_main.c
+@@ -64,7 +64,7 @@
+ #endif
+
+ MODULE_PARM_DESC(debug, "Enable level: accepted values: 1 to switch debug on, 0 to switch debug off.");
+-MODULE_PARM_DESC(ifname, "Network device name (default ra%d)");
++MODULE_PARM_DESC(ifname, "Network device name (default eth%d)");
+ #else
+ int debug = 0; /* Default is off. */
+ module_param(debug, int, 0);
+@@ -72,7 +72,7 @@
+
+ static char *ifname = NULL;
+ module_param(ifname, charp, 0);
+-MODULE_PARM_DESC(ifname, "Network device name (default ra%d)");
++MODULE_PARM_DESC(ifname, "Network device name (default eth%d)");
+ #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0) */
+
+ // The driver version information
+@@ -265,7 +265,7 @@
+ // register_netdev() will call dev_alloc_name() for us
+ // TODO: remove the following line to keep the default "eth%d" (see above)
+ if (ifname == NULL)
+- strcpy(net_dev->name, "ra%d");
++ strcpy(net_dev->name, "eth%d");
+ else
+ strncpy(net_dev->name, ifname, IFNAMSIZ);
+
Added: unstable/rt2400/debian/patches/series
===================================================================
--- unstable/rt2400/debian/patches/series 2007-03-05 16:28:41 UTC (rev 4)
+++ unstable/rt2400/debian/patches/series 2007-03-05 22:49:16 UTC (rev 5)
@@ -0,0 +1 @@
+000_if_name.diff -p0
Added: unstable/rt2400/debian/rt2400-source.README.Debian
===================================================================
--- unstable/rt2400/debian/rt2400-source.README.Debian 2007-03-05 16:28:41 UTC (rev 4)
+++ unstable/rt2400/debian/rt2400-source.README.Debian 2007-03-05 22:49:16 UTC (rev 5)
@@ -0,0 +1,66 @@
+README.Debian for rt2400-source
+Aurelien Jarno <aurel32 at debian.org>
+$Id: rt2400-source.README.Debian,v 1.0 2005/05/17 01:38:42 aurel32 Exp $
+
+1. Building rt2400 kernel modules
+=================================
+
+This package is a source package that can be used to build modules that
+work with your custom built linux kernel. The source files are located
+in /usr/src/rt2400.tar.bz2; unpacking that file in /usr/src will produce
+a build tree in /usr/src/modules/rt2400/. (The tar file can also be
+unpacked elsewhere)
+
+- The Debian way (with module-assistant): install the "module-assistant"
+ package and the kernel-headers-* package corresponding to the kernel
+ version you want to use, then run the following commands:
+
+ # module-assistant prepare # May not be needed
+ # module-assistant get rt2400
+ # module-assistant build rt2400
+
+ You should now have an rt2400-modules-<version>.deb file in /usr/src,
+ which you can install with dpkg -i to get the modules installed.
+
+- The "by hand" way: if you prefer handling your kernel by hand, then
+ you're supposed to know what to do with rt2400-source and I won't
+ bother you any longer.
+
+There also used to be a third way, using kernel-package. It's been
+removed (module-assistant becoming the standard way to build modules
+/in Debian). For reference, here's the text that used to be above
+(will probably be removed in some future version):
+,----
+| You probably want to use kernel-package for building these modules.
+| Install it and read /usr/share/kernel-package/README.modules. Having
+| built a kernel with kernel-package, it should suffice to be in the top
+| directory of your kernel source tree and run:
+|
+| make-kpkg modules-image
+|
+| If you are using a prebuilt Debian kernel, the process is almost the
+| same. Enter in the directory containing the kernel headers
+| corresponding to your kernel and run make-kpkg:
+|
+| cd /usr/src/kernel-headers-2.4.26-1-686
+| make-kpkg modules-image
+`----
+
+
+2. Configuration
+================
+
+To configure your wireless network interface, you can use iwconfig from
+the wireless-tools package. It is possible to include the configuration
+into /etc/network/interfaces such as in the following example:
+
+auto eth1
+iface eth1 inet dhcp
+ wireless-mode managed
+ wireless-channel 6
+ wireless-essid my_wifi_network
+ wireless-rate 54M
+
+Please look at the documentation of the wireless-tools package for more
+information.
+
Added: unstable/rt2400/debian/rt2400-source.dirs
===================================================================
--- unstable/rt2400/debian/rt2400-source.dirs 2007-03-05 16:28:41 UTC (rev 4)
+++ unstable/rt2400/debian/rt2400-source.dirs 2007-03-05 22:49:16 UTC (rev 5)
@@ -0,0 +1,2 @@
+usr/src/modules
+usr/share/modass/overrides
Added: unstable/rt2400/debian/rt2400-source.docs
===================================================================
--- unstable/rt2400/debian/rt2400-source.docs 2007-03-05 16:28:41 UTC (rev 4)
+++ unstable/rt2400/debian/rt2400-source.docs 2007-03-05 22:49:16 UTC (rev 5)
@@ -0,0 +1,2 @@
+FAQ
+THANKS
Added: unstable/rt2400/debian/rt2400.dirs
===================================================================
--- unstable/rt2400/debian/rt2400.dirs 2007-03-05 16:28:41 UTC (rev 4)
+++ unstable/rt2400/debian/rt2400.dirs 2007-03-05 22:49:16 UTC (rev 5)
@@ -0,0 +1,3 @@
+/etc/Ralink/RT2400
+usr/bin
+usr/share/pixmaps
Added: unstable/rt2400/debian/rt2400.docs
===================================================================
--- unstable/rt2400/debian/rt2400.docs 2007-03-05 16:28:41 UTC (rev 4)
+++ unstable/rt2400/debian/rt2400.docs 2007-03-05 22:49:16 UTC (rev 5)
@@ -0,0 +1,2 @@
+FAQ
+THANKS
Added: unstable/rt2400/debian/rt2400.manpages
===================================================================
--- unstable/rt2400/debian/rt2400.manpages 2007-03-05 16:28:41 UTC (rev 4)
+++ unstable/rt2400/debian/rt2400.manpages 2007-03-05 22:49:16 UTC (rev 5)
@@ -0,0 +1 @@
+debian/RaConfig2400.1
Added: unstable/rt2400/debian/rt2400.menu
===================================================================
--- unstable/rt2400/debian/rt2400.menu 2007-03-05 16:28:41 UTC (rev 4)
+++ unstable/rt2400/debian/rt2400.menu 2007-03-05 22:49:16 UTC (rev 5)
@@ -0,0 +1,7 @@
+?package(rt2400):\
+ needs="X11" \
+ section="Apps/System" \
+ title="RT2400 configuration utility" \
+ command="su-to-root -X -c /usr/bin/RaConfig2400" \
+ icon="/usr/share/pixmaps/RaConfig2400.xpm"
+
Added: unstable/rt2400/debian/rules
===================================================================
--- unstable/rt2400/debian/rules 2007-03-05 16:28:41 UTC (rev 4)
+++ unstable/rt2400/debian/rules 2007-03-05 22:49:16 UTC (rev 5)
@@ -0,0 +1,215 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 by Joey Hess.
+#
+# This version is for a hypothetical package that builds an
+# architecture-dependant package, as well as an architecture-independent
+# package.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# prefix of the target package name
+PACKAGE=rt2400-modules
+# modifieable for experiments or debugging m-a
+MA_DIR ?= /usr/share/modass
+# load generic variable handling
+-include $(MA_DIR)/include/generic.make
+# load default rules
+-include $(MA_DIR)/include/common-rules.make
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+clean:
+ dh_testdir
+ dh_testroot
+ -$(MAKE) -C Module clean
+ -$(MAKE) -C Utility clean
+ -rm Utility/Makefile
+ -rm Utility/RaConfig2400
+ QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
+ dh_clean
+ rm -rf debian/build
+ rm -f *-stamp
+
+patch: patch-stamp
+patch-stamp:
+ QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
+
+build-arch: build-arch-stamp
+build-arch-stamp: patch-stamp
+ dh_testdir
+ cd Utility/ \
+ && qmake -o Makefile raconfig2400.pro \
+ && $(MAKE)
+
+ touch build-arch-stamp
+
+install-arch: build-arch install-arch-stamp
+install-arch-stamp:
+ dh_testdir
+ dh_testroot
+ dh_clean -k -a
+ dh_installdirs -a
+
+ install -m 755 -o root -g root $(CURDIR)/Utility/RaConfig2400 $(CURDIR)/debian/rt2400/usr/bin
+ install -m 644 -o root -g root $(CURDIR)/debian/RaConfig2400.xpm $(CURDIR)/debian/rt2400/usr/share/pixmaps
+
+ touch install-arch-stamp
+
+build-indep: build-indep-stamp
+build-indep-stamp: patch-stamp
+ dh_testdir
+
+ # Copy most of the source tree into the temp directory and clean it
+ cd $(CURDIR)/Module \
+ && find . -path ./debian/\* -type d -prune -o -print \
+ | egrep -v 'RPM|CVS|debian' \
+ | cpio -admp $(CURDIR)/debian/build/usr/src/modules/rt2400
+ cp -f $(CURDIR)/FAQ $(CURDIR)/debian/build/usr/src/modules/rt2400
+ cp -f $(CURDIR)/THANKS $(CURDIR)/debian/build/usr/src/modules/rt2400
+ cp -f $(CURDIR)/CHANGELOG $(CURDIR)/debian/build/usr/src/modules/rt2400
+ ln -s /usr/share/doc/rt2400-source/README.Debian $(CURDIR)/debian/build/usr/src/modules/rt2400/INSTALL.Debian
+
+ mkdir $(CURDIR)/debian/build/usr/src/modules/rt2400/debian
+ cp -f $(CURDIR)/debian/*.modules.in $(CURDIR)/debian/build/usr/src/modules/rt2400/debian
+ cp -f $(CURDIR)/debian/changelog $(CURDIR)/debian/build/usr/src/modules/rt2400/debian
+ cp -f $(CURDIR)/debian/compat $(CURDIR)/debian/build/usr/src/modules/rt2400/debian
+ cp -f $(CURDIR)/debian/copyright $(CURDIR)/debian/build/usr/src/modules/rt2400/debian
+ cp -f $(CURDIR)/debian/rt2400-source.docs $(CURDIR)/debian/build/usr/src/modules/rt2400/debian/docs
+ cp -f $(CURDIR)/debian/rules $(CURDIR)/debian/build/usr/src/modules/rt2400/debian
+
+ cd $(CURDIR)/debian/build/usr/src/modules/rt2400 \
+ && make clean
+
+ touch build-indep-stamp
+
+install-indep: build-indep install-indep-stamp
+install-indep-stamp:
+ dh_testdir
+ dh_testroot
+ dh_clean -i -k
+ dh_installdirs -i
+
+ # Pack this up into a tarball
+ chown -R root.src debian/build/usr/src/modules
+ mkdir -p debian/rt2400-source/usr/src
+ cd debian/build/usr/src \
+ && tar cf - modules | bzip2 -9 > $(CURDIR)/debian/rt2400-source/usr/src/rt2400.tar.bz2
+ ln -s ../packages/default.sh \
+ debian/rt2400-source/usr/share/modass/overrides/rt2400-source
+
+ touch install-indep-stamp
+
+# Build architecture-independent files here.
+binary-indep: build-indep install-indep
+ dh_testdir -i
+ dh_testroot -i
+# dh_installdebconf -i
+ dh_installdocs -i
+# dh_installexamples -i
+# dh_installmenu -i
+# dh_installlogrotate -i
+# dh_installemacsen -i
+# dh_installpam -i
+# dh_installmime -i
+# dh_installinit -i
+# dh_installcron -i
+ dh_installman -i
+# dh_installinfo -i
+ dh_installmodules -i
+ dh_installchangelogs -i CHANGELOG
+ dh_strip -i
+ dh_link -i
+ dh_compress -i
+ dh_fixperms -i
+ dh_installdeb -i
+ dh_shlibdeps -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build-arch install-arch
+ dh_testdir -a
+ dh_testroot -a
+# dh_installdebconf -a
+ dh_installdocs -a
+# dh_installexamples -a
+ dh_installmenu -a
+# dh_installlogrotate -a
+# dh_installemacsen -a
+# dh_installpam -a
+# dh_installmime -a
+# dh_installinit -a
+# dh_installcron -a
+ dh_installman -a
+# dh_installinfo -a
+ dh_installmodules -a
+ dh_installchangelogs -a CHANGELOG
+ dh_strip -a
+ dh_link -a
+ dh_compress -a
+ dh_fixperms -a
+ dh_installdeb -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
+
+PATCHLEVEL := $(shell echo $(KVERS) | cut -d. -f2)
+
+.PHONY: kdist_config
+kdist_config: prep-deb-files
+
+.PHONY: binary_modules binary-modules
+binary-modules: binary_modules
+binary_modules: kdist_config
+
+ # Install module
+ dh_installdirs lib/modules/$(KVERS)/kernel/drivers/net/wireless
+
+ # Build modules
+ifeq ($(PATCHLEVEL), 4)
+ @if ! [ -x "/usr/bin/gcc-3.3" ] ; then \
+ echo "gcc-3.3 does not appear to be installed on your. It is necessary to be" ; \
+ echo "able to build the module on a 2.4 kernel. Please install it by running:" ; \
+ echo " apt-get install gcc-3.3" ; \
+ false ; \
+ fi
+
+ $(MAKE) KERNDIR=$(KSRC) PATCHLEVEL=$(PATCHLEVEL) CC=gcc-3.3
+ install -m 0644 rt2400.o $(CURDIR)/debian/rt2400-modules-$(KVERS)/lib/modules/$(KVERS)/kernel/drivers/net/wireless
+endif
+ifeq ($(PATCHLEVEL), 6)
+ $(MAKE) KERNDIR=$(KSRC) PATCHLEVEL=$(PATCHLEVEL)
+ install -m 0644 rt2400.ko $(CURDIR)/debian/rt2400-modules-$(KVERS)/lib/modules/$(KVERS)/kernel/drivers/net/wireless
+endif
+
+ dh_testdir
+ dh_testroot
+ dh_installdocs
+ dh_installmodules
+ dh_installchangelogs CHANGELOG
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol -- -v$(VERSION)
+ dh_md5sums
+ dh_builddeb --destdir=$(DEB_DESTDIR)
+
+.PHONY: kdist_clean
+kdist_clean:
+ touch config.mk \
+ && $(MAKE) clean
+ -dh_clean
Property changes on: unstable/rt2400/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-ralink-commits
mailing list