--- madwifi-0.9.2+r1784.20061027.orig/debian/changelog
+++ madwifi-0.9.2+r1784.20061027/debian/changelog
@@ -0,0 +1,484 @@
+madwifi (1:0.9.2+r1784.20061027-1) unstable; urgency=low
+
+  * New upstream SVN snapshot.
+    - new binary HAL version 0.9.18.0 with support for more chipsets
+  * Change of uploaders email address.
+  * Fix madwifi-ng-tools typo. [debian/control]
+  * Remove mention of files relicensed upstream in 'Problematic' section of
+    copyright. [debian/copyright]
+
+ -- Kel Modderman <kelmo@kanotixguide.org>  Mon, 30 Oct 2006 14:07:36 +1000
+
+madwifi (1:0.9.2+r1710.20060914-1) unstable; urgency=low
+
+  * New upstream SVN snapshot.
+    - HAL version 0.9.18.0
+    - support for pci-e chipsets
+  * Add epoch to alow better representation of upstream source version.
+  * Purge madwifi-tools from non-free source package. [debian/madwifi-tools.*,
+    debian/rules, debian/control]
+  * Fix copyright => _everything_ in /hal directory is subject to the legally
+    "immutable" license. [debian/copyright]
+  * Remove slh from uploaders at his request. He has no relationship with this
+    package whatsoever any more. [debian/control*]
+  * Remove dummy SNAPSHOT file hack in favour of a planned version schema +
+    get-orig-source target, useful for grabbing snapshot tarballs. Please do
+    not use an SVN export to build future orig.tar.gz's for this package.
+    [debian/rules]
+
+ -- Kel Modderman <kelmo@kanotixguide.org>  Sun,  1 Oct 2006 23:00:02 +1000
+
+madwifi (0.svnr1697.0.9.2-1) unstable; urgency=low
+
+  * New upstream release.
+    - compiles against current 2.6.18 tree
+  * Add some shell code to make a dummy SNAPSHOT file for the case when we
+    decide to base this package on an svn export or snapshot (it is almost
+    always the case!). [debian/rules]
+  * Also remove $(CC) override in build/madwifi-tools. [debian/rules]
+  * Add upstream URL to long description of each binary package.
+    [debian/control]
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Sat,  5 Aug 2006 12:09:19 +1000
+
+madwifi (0.svnr1680.0.9.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Exclude .svn stuff from orig.tar.gz and resulting module tarball.
+    [debian/rules] (Closes: #374401)
+  * Add some further links to documentation section of madwifi-source
+    README.Debian.
+  * Remove $(CC) and $(LD) overrides, madwifi upstream is now behaving in that
+    regard. [debian/rules.modules]
+  * Disable dpatch system and remove dependency. [debian/control, debian/rules]
+  * Build depend on debhelper >= 5.0.37, so that dh_installmodules always
+    creates correct postinst and postrm scripts. [debian/control*]
+  * madwifi-tools do not depend on ifupdown to function properly, therefore it
+    should only be recommended. [debian/control]
+  * madwifi-source suggests madwifi-tools, madwifi-source and madwifi-tools
+    suggest madwifi-doc. [debian/control]
+  * Add a note to madwifi-source.README.debian about possible upgrade
+    conflicts with the unofficial packages from http://debian.marlow.dk/.
+    (Closes: #375962)
+  * Remove dh_installdebconf from rules.modules, it is unused.
+    [debian/rules.modules]
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Sat,  8 Jul 2006 20:53:14 +1000
+
+madwifi (0.svnr1644.0.9.0-2) unstable; urgency=low
+
+  [ Kel Modderman ]
+  * Modules only depend on equal to or greater than source version of
+    madwifi-tools, to avoid upgrade path problems.
+
+  [ Loic Minier ]
+  * Drop the version in the Depends altogether.
+
+ -- Loic Minier <lool@dooz.org>  Fri, 16 Jun 2006 10:41:45 +0200
+
+madwifi (0.svnr1644.0.9.0-1) unstable; urgency=medium
+
+  [ Kel Modderman ]
+  * New upstream SVN snapshot.
+    - new HAL (0.9.17.2)
+    - enhanced Makefile/kbuild build system
+  * s/MODULEPATH/KMODPATH/ in debian/rules.modules.
+  * Global renaming of madwifi-ng => madwifi. The old madwifi codebase has
+    been deprecated upstream, we should not confuse our own users.This also
+    eliminates a large source of upgrade difficulties. [debian/*]
+  * Update copyright file to include details of new HAL binaries and BSD
+    licensed files. [debian/copyright]
+  * Use debhelper compat level of 5 (dh_installmodules requires the most recent
+    debhelper to function correctly). [debian/control*]
+  * Include official upstream release version number in our debian revision.
+  * Adjust watch file for new debian revision number scheme.
+
+  [ Loic Minier ]
+  * Don't prune .svn dirs in this upload as it breaks the upstream build
+    system for SVN snapshot; upstream ticket #694.
+
+ -- Loic Minier <lool@dooz.org>  Wed, 14 Jun 2006 11:28:03 +0200
+
+madwifi (0.svnr1587.20060521-1) experimental; urgency=low
+
+  * New upstream SVN snapshot.
+  * Add workaround patches to current upstream scanning problems:
+    - active scanning patch from #275.
+    - setmode delay patch from #228.
+  * Allow patches subdir of madwifi upstream to be in debian tarball. It is
+    working now. [debian/rules]
+  * Remove Conflicts: fields from control files.
+    [debian/control, debian/control.modules.in]
+  * Remove madwifi-ng-dev, it is not satisfying any build dependency.
+    [debian/control, debian/madwifi-ng-dev.*]
+  * Introduce madwifi-ng-doc, it will contain the users-guide documentation.
+    [debian/control, debian/madwifi-ng-doc.docs]
+  * Make wlanconfig verbose when asked for. [debian/ifupdown/pre-up]
+  * Exclude upstream THANKS file from automatic installation with each
+    package. It can be found in the source tarball.
+  * Upstream dependency on sharutils to decode the HAL binaries removed.
+    [debian/control*]
+  * Bump standards-version to 3.7.2.
+  * Add debian/NEWS to describe the homepage for pkg-madwifi.
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Sun, 14 May 2006 17:24:44 +1000
+
+madwifi (0.svnr1500.20060412-1) experimental; urgency=low
+
+  * Rename source package to madwifi.
+  * New upstream release.
+    - wext ioctl's
+  * Drop active scanning dpatch.
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Wed, 12 Apr 2006 22:58:02 +1000
+
+madwifi-ng (0.svnr1497.20060407-2) unstable; urgency=low
+
+  * Drop build-essential dependency of module source package. [debian/control]
+  * Minor tweak to module source tarball generation. [debian/rules]
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Fri,  7 Apr 2006 18:44:11 +1000
+
+madwifi-ng (0.svnr1497.20060407-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Fri,  7 Apr 2006 00:17:02 +1000
+
+madwifi-ng (0.svnr1491.20060403-1) unstable; urgency=low
+
+  * New upstream release 
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Mon,  3 Apr 2006 21:41:35 +1000
+
+madwifi-ng (0.svnr1486.20060328-2) unstable; urgency=low
+
+  * Fix madwifi-dev include layout, thanks to Pascal for picking up on the
+    problem so quickly. [debian/madwifi-ng-dev.dirs, debian/rules]
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Wed, 29 Mar 2006 17:54:40 +1000
+
+madwifi-ng (0.svnr1486.20060328-1) unstable; urgency=low
+
+  * New upstream release.
+    - fix build on mips arch's
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Tue, 28 Mar 2006 19:58:14 +1000
+
+madwifi-ng (0.svnr1485.20060325-2) unstable; urgency=low
+
+  * Reinstate copyright headers in Matt Brown's ifupdown scripts.
+  * Clean up debian/rules so that targets are more obvious.
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Sun, 26 Mar 2006 18:41:24 +1000
+
+madwifi-ng (0.svnr1485.20060325-1) unstable; urgency=low
+
+  * New upstream release.
+  * Use upstream TARGET determination. Remove debian specific ARCH_TARGET code
+    from debian/rules/modules.
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Sat, 25 Mar 2006 18:26:34 +1000
+
+madwifi-ng (0.svnr1475.20060317-2) unstable; urgency=low
+
+  * Use dh_installmodules to handle modules post{inst,rm} 
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Tue, 21 Mar 2006 00:00:11 +1000
+
+madwifi-ng (0.svnr1475.20060317-1) unstable; urgency=low
+
+  * New upstream release.
+  * Make binary modules package Depend on linux-image | kernel-image
+    [debian/control.modules.in]
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Sat, 18 Mar 2006 19:19:55 +1000
+
+madwifi-ng (0.svnr1472.20060310-1) unstable; urgency=low
+
+  * New upstream release
+  * Drop tools update and nodetable dpatches, they were applied upstream
+  * Add MADWIFI_OPTIONS to preup script, allowing one to append an option to
+    wlaconfig at VAP creation time [debian/ifupdown/preup]
+  * Do not exclude the users-guide.pdf from compression [debian/rules]
+  * Include the users guide in madwifi-ng-source
+    [debian/madwifi-ng-source.docs] 
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Sat, 11 Mar 2006 08:14:45 +1000
+
+madwifi-ng (0.svnr1463.20060307-1) unstable; urgency=low
+
+  * New upstream release
+  * Add patch for possible memory leak in ad-hoc mode.
+    [debain/patches/03_nodetable.dpatch]
+  * Remove bogus target from module source debian/rules.
+    [debian/rules.modules] 
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Tue,  7 Mar 2006 21:28:36 +1000
+
+madwifi-ng (0.svnr1460.20060304-1) unstable; urgency=low
+
+  * New upstream release
+  * Add wireless-tools to Recommends field of madwifi-ng-modules and
+    madwifi-ng-tools. [debian/control*]
+  * Rename ifupdown scripts, remove implicit copyright and tweaked mode
+    handling. [debian/ifupdown/*]
+  * Remove vpncrash dpatch - fixed upstream.
+  * Remove conditional dependency on m-a or k-p, Recommend kernel-package
+    [debain/control]
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Sun,  5 Mar 2006 23:11:52 +1000
+
+madwifi-ng (0.svnr1457.20060228-1) unstable; urgency=low
+
+  * New upstream release
+  * Correct typo in debian/rules
+  * Add uupdate to debian/watch
+  * Conditional dependency on module-assistant OR kernel package for
+    madwifi-ng-source
+  * Add 02_tools_update.dpatch and 03_vpncrash.dpatch pending upstream
+    inclusion.
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Wed,  1 Mar 2006 21:50:00 +1000
+
+madwifi-ng (0.svnr1453.20060220-1) unstable; urgency=low
+
+  * New upstream release
+  * Drop RSN fix applied upstream
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Mon, 20 Feb 2006 23:16:25 +1000
+
+madwifi-ng (0.svnr1452.20060217-2) unstable; urgency=low
+
+  * Fix active-scanning patch to compile against kernels with WE < 18.
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Mon, 20 Feb 2006 21:24:29 +1000
+
+madwifi-ng (0.svnr1452.20060217-1) unstable; urgency=low
+
+  * New debian version scheme.
+  * Add watch file to assist in tracking new upstream snapshots.
+  * Add patch from http://madwifi.org/ticket/241 to fix RSN when using
+    hostapd. 
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Sun, 19 Feb 2006 22:51:58 +1000
+
+madwifi-ng (0.9.0+svn1452-1) unstable; urgency=low
+
+  * New upstream release
+  * Remove Recommends on madwifi-ng-base for madwifi-ng-tools.
+    [debian/control]
+  * Add active-scanning-option dpatch but do not apply by default (ftbfs on
+    Sarge's kernel)
+  * Drop setmode-delay patch, I do not think it is 100% correct, even though
+    it causes an obscure bug to go away.
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Fri, 17 Feb 2006 22:14:50 +1000
+
+madwifi-ng (0.9.0+svn1451-1) unstable; urgency=low
+
+  * New upstream release
+    - new HAL (0.9.16.6)
+  * Rework installation of madwifi-ng-tools
+    - use upstream tools/Makefile install: target to install binaries and
+      manpages [debian/rules, debian/madwifi-ng-tools.manpages,
+      debian/madwifi-ng-tools.dirs]
+    - set $(CC) (/etc/alternatives/cc) as compiler [debian/rules]
+  * Clean madwifi-ng-source tarball of precompiled binaries [debian/rules]
+  * Update documentation for madwifi-ng-tools
+    [debian/madwifi-ng-tools.README.debian]
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Sat, 11 Feb 2006 22:40:24 +1000
+
+madwifi-ng (0.9.0+svn1446-1) unstable; urgency=low
+
+  * New upstream release
+    - Fixed: modules: target of Makefile was not directly dependent on 
+      svnversion.h, which caused madwifi-ng-source to fail compilation.
+      Shame on me for not thoroughly testing this before release, and a big
+      thanks to Punky Tse for picking up on it.
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Wed,  8 Feb 2006 20:13:47 +1000
+
+madwifi-ng (0.9.0+svn1443-1) unstable; urgency=low
+
+  * New upstream release.
+    - comprehensive code style cleanup
+  * Remove all patches applied upstream.
+  * Remove patches that have been found to be problematic:-
+    - 01_fix-chanmode-auto.dpatch does not provide a correct solution, even
+      though it prevents a kernel panic
+    - 06_active-scan.dpatch fails to compile against kernels with WE versions
+      less than 17 (module FTBFS on default Sarge kernel). This patch is
+      currently being improved
+  * Update setmode-delay patch with a revised solution.
+    [debian/patches/01_setmode-delay-with-timeout2.dpatch]
+  * wlanconfig is installed to /usr/sbin now with the other tools.
+    [debian/rules, debian/ifupdown/*]
+  * Remove provides field in debian/control.modules.in
+  * Tweak madwifi-dev control description. [debian/control]
+  * Move countrycode text into madwifi-source.README.debian.
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Tue,  7 Feb 2006 17:51:44 +1000
+
+madwifi-ng (0.9.0+svn1416-1) unstable; urgency=low
+
+  * New upstream release.
+  * Replace device renaming patch with a revised version.
+    [debian/patches/02_device-renaming.dpatch]
+  * Add patch to fix mac changing bug [debian/patches/08_changemac.dpatch] 
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Fri, 27 Jan 2006 21:21:04 +1000
+
+madwifi-ng (0.9.0+svn1408-1) unstable; urgency=low
+
+  * New upstream release.
+  * Drop patches applied upstream.
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Mon, 23 Jan 2006 18:03:07 +1000
+
+madwifi-ng (0.9.0+svn1405-2) unstable; urgency=low
+
+  * Fix Maintainer and Uploader field of modules control file.
+    [debian/control.modules.in]
+  * Update 80_autocreate.dpatch with a small bugfix.
+  * Add print-module-status.dpatch pending upstream inclusion.
+  * Quote all shell var's in ifupdown scripts and remove dependency on iproute
+    by checking /proc/net/wireless for pre-existing VAP's.
+    [debian/ifupdown/*, debian/control]
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Sun, 22 Jan 2006 18:57:34 +1000
+
+madwifi-ng (0.9.0+svn1405-1) unstable; urgency=low
+
+  * New upstream release.
+  * Drop patches applied upstream.
+  * Add pending upstream patches.
+    - allow autocreation of a sta VAP or each device
+  * Remove madwifi-base, sta device is now created by default.
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Sat, 21 Jan 2006 00:34:03 +1000
+
+madwifi-ng (0.9.0+svn1401-3) unstable; urgency=low
+
+  * Sync control file with Kanotix package. This was left terribly broken for
+    far too long. [debian/control]
+  * Add udev version depends to madwifi-base. [debian/control]
+  * Add patch to fix iupstream ARCH detection script.
+    [debian/patches/07_fix-get_arch_target.sh.dpatch]
+  * Add active scanning workaround patch.
+    [debian/patches/08_active-scan.dpatch]
+  * Quote variables in udev script. [debian/udev/madwifi.sh]
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Wed, 18 Jan 2006 19:23:19 +1000
+
+madwifi-ng (0.9.0+svn1401-2) unstable; urgency=low
+
+  * Fix Recommends field of modules binary. [debian/control.modules.in]
+  * Replace and provide madwifi-modules-_KVERS_. 
+  [debian/control.modules.in]
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Wed, 18 Jan 2006 05:06:26 +1000
+
+madwifi-ng (0.9.0+svn1401-1) unstable; urgency=low
+
+  * New upstream release.
+  * Sync patchset with new upstream. [debian/patches/*]
+  * Add Stefan Lippers-Hollmann to Uploaders, as he is responsible for
+    managing the Kanotix repository that will be the temporary home for this
+    package. [debian/control]
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Wed, 18 Jan 2006 04:53:03 +1000
+
+madwifi-ng (0.9.0+svn1397-1) unstable; urgency=low
+
+  * New upstream release.
+    - fixes instability with amd64 and ipsec
+  * Bugfix ifupdown scripts, missing quotes. Thanks Evan Jones.
+    [debian/ifupdown/*]
+  * Updates dpatches. Remove patches applied upstream and add all patches
+    pending upstream inclusion. All patch descriptions provide url to the
+    associated madwifi.org ticket.
+  * Recommend madwifi-ng-base in module conrtol file. [debian/control.modules.in]
+  * Remove section describing wireless usage from
+    madwifi-ng-source.README.debian, this should be described in greater
+    detail in madwifi-ng-tools.README.debian, along with associated changes
+    with respect to the usage of the ifupdown scripts to automate VAP
+    management.
+  * Add brief description to udev program configuration file.
+    [debian/udev/madwifi]
+  * Add note about the purpose of the udev program to
+    madwifi-ng-base.README.debian.
+  * Alter ARCH_TARGET handling to suit new architecture determination in 
+    upstream Makefiles. dpkg-architecture is more reliable than depending on the
+    upstream arch determinination. [debian/rules.modules]
+  * Fix "make", and "make install targets" for the module source. These
+    targets are seperated by a patch included that is pending upstream
+    inclusion. [debian/rules.modules]
+  * Remove upstream install.log in clean target of module source.
+    [debian/rules.modules]
+  * Update madwifi-tools.README.debian with countrycode information, and add
+    section templates for further expansion of documentaion.
+  * Fix typo in madwifi-ng-source.README.debian.
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Sun, 15 Jan 2006 22:37:18 +1000
+
+madwifi-ng (0.9.0+svn1365-2) unstable; urgency=low
+
+  * Move ifupdown scripts to madwifi-ng-tools. [debian/rules,
+    debian/madwifi-ng-tools.dirs, debain/control]
+  * Tweak udev program.
+    - hardcode ath as interface alias prefix
+    - remove option to specify an alternative interface alias
+  * Small tweak to ifupdown scripts. [debian/ifupdown/*]
+  * Exclude THANKS from all packages. [debian/rules]
+  * Don't compress users-guide.pdf. [debain/rules]
+  * Disable 05_wifi-rename.dpatch.
+  * Update 06_unit-noappend.dpatch.
+  * Update debian/control* files with names of current team members.
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Sat, 24 Dec 2005 13:48:16 +1000
+
+madwifi-ng (0.9.0+svn1365-1) unstable; urgency=low
+
+  [Kel Modderman]
+  * Update Maintainer and Uploaders fields to reflect current team members.
+    [debian/control*]
+  * Introduce madwifi-base to contain configuration and support scripts for
+    the new madwifi codebase.
+    - ifupdown scripts (thanks to Matt Brown)
+    - experimental udev rule, program and default configuration file
+  * Move wlanconfig to /sbin to avoid racy conditions in some situations with
+    the udev program. [debian/madwifi-tools.dirs,debian/rules]
+  * Use additional patches that are pending upstream.
+  * Exclude README and THANKS files from madwifi-ng-{dev,base}. [debian/rules]
+  * Modify install target for madwifi-ng-tools. [debian/rules]
+  * Add madwifi-ng-dev.README.deian to explain purpose of the package. This was
+    previously contained within madwifi-ng-source.README.debian.
+  * Adjust debian/rules.modules
+    - Untested support for arm
+    - no longer require the TOOLPREFIX hack
+    - use new upstream install-modules target
+  * Add madwifi-ng-tools.manpages, we do not use upstreams Makefile to install
+    these anymore.
+  * Sync copyright file with that of existing madwifi package.
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Thu, 22 Dec 2005 22:27:27 +1000
+
+madwifi-ng (0.9.0+svn1234-1) unstable; urgency=low
+
+  [Kel Modderman]
+  * Remove madwifi-ng meta package. [debian/control]
+  * Make madwifi-dev depend on madwifi-source of same source-version.
+    [debian/control]
+  * Remove references to README_FIRST in debian/*.docs files as
+    it was removed upstream.
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Mon, 31 Oct 2005 22:46:44 +1000
+
+madwifi-ng (0.9.0+svn1216-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Fri, 28 Oct 2005 22:36:47 +1000
+
--- madwifi-0.9.2+r1784.20061027.orig/debian/control
+++ madwifi-0.9.2+r1784.20061027/debian/control
@@ -0,0 +1,28 @@
+Source: madwifi
+Section: non-free/net
+Priority: optional
+Maintainer: Debian madwifi team <pkg-madwifi-maintainers@lists.alioth.debian.org>
+Uploaders: Loic Minier <lool@dooz.org>, Kel Modderman <kelmo@kanotixguide.org>, Matt Brown <mattb@debian.org>, Alex Wallis <awol@otaku42.de>
+Build-Depends: cdbs, debhelper (>= 5.0.34), bzip2, dpatch
+Standards-Version: 3.7.2
+
+Package: madwifi-source
+Architecture: all
+Depends: module-assistant, debhelper (>= 5.0.34), bzip2
+Suggests: kernel-package, madwifi-tools, madwifi-doc
+Description: source for the Multiband Atheros Driver for WiFi
+ This package provides the source code for the madwifi kernel modules.
+ The madwifi-tools package is also required in order to make use of these
+ modules. Kernel source or headers are required to compile these modules.
+ .
+ http://madwifi.org/
+
+Package: madwifi-doc
+Section: non-free/doc
+Replaces: madwifi-ng-doc
+Architecture: all
+Description: documentation for the Multiband Atheros Driver for WiFi
+ This package provides the users-guide for the madwifi kernel modules and
+ userspace tools. It is in pdf format.
+ .
+ http://madwifi.org/
--- madwifi-0.9.2+r1784.20061027.orig/debian/compat
+++ madwifi-0.9.2+r1784.20061027/debian/compat
@@ -0,0 +1 @@
+5
--- madwifi-0.9.2+r1784.20061027.orig/debian/patches/00list
+++ madwifi-0.9.2+r1784.20061027/debian/patches/00list
@@ -0,0 +1 @@
+
--- madwifi-0.9.2+r1784.20061027.orig/debian/copyright
+++ madwifi-0.9.2+r1784.20061027/debian/copyright
@@ -0,0 +1,146 @@
+This package was debianized by Kel Modderman <kelrin@tpg.com.au> on
+Wed, 26 Oct 2005 21:07:13 +1000.
+
+It was downloaded from <http://madwifi.org/>.
+
+Most files are distributed under a dual license, the first being GPL v2, the
+second being BSD alike.
+
+On Debian GNU/Linux systems, the text of the GPL license can be found in
+/usr/share/common-licenses/GPL and the text of the BSD license in the same
+directory.
+
+
+Files licensed under either BSD or BSD / GPL:
+============================================
+
+net80211/ieee80211_linux.c, net80211/ieee80211_linux.h and
+net80211/if_media.c are under BSD-style license only (non-GPL).
+
+net80211/ieee80211_radiotap.h is Copyright (c) 2003, 2004 David Young and is
+licensed under BSD license.
+
+net80211/if_media.h is Copyright (c) 1997 Jonathan Stone and Jason R. Thorpe.
+and is licensed under BSD license.
+
+net80211/rc4.c and net80211/rc4.h are Copyright (c) 1996-2000 Whistle
+Communications, Inc. and are licensed under a BSD-style license.
+
+include/sys/queue.h is Copyright (c) 1991, 1993 The Regents of the University
+of California and is licensed under BSD license.
+
+Problematic files:
+=================
+
+The following files constituing the "Hardware Abstraction Layer" are licensed
+under a license permitting distribution without modification, and are available
+in binary form only:
+
+hal/ah_desc.h
+hal/ah_devid.h
+hal/ah.h
+hal/ah_soc.h
+hal/version.h
+hal/public/ap51.hal.o.uu
+hal/public/mips1-le-elf.hal.o.uu
+hal/public/powerpc-le-eabi.hal.o.uu
+hal/public/powerpc-be-eabi.hal.o.uu
+hal/public/ap43.hal.o.uu
+hal/public/xscale-le-elf.hal.o.uu
+hal/public/mips-be-elf.hal.o.uu
+hal/public/ap61.hal.o.uu
+hal/public/mipsisa32-le-elf.hal.o.uu
+hal/public/armv4-be-elf.hal.o.uu
+hal/public/ap30.hal.o.uu
+hal/public/arm9-le-thumb-elf.hal.o.uu
+hal/public/mipsisa32-be-elf.hal.o.uu
+hal/public/powerpc-be-elf.hal.o.uu
+hal/public/mips1-be-elf.hal.o.uu
+hal/public/i386-elf.hal.o.uu
+hal/public/sh4-le-elf.hal.o.uu
+hal/public/x86_64-elf.hal.o.uu
+hal/public/xscale-be-elf.hal.o.uu
+hal/public/armv4-le-elf.hal.o.uu
+hal/public/alpha-elf.hal.o.uu
+hal/public/sparc64-be-elf.hal.o.uu
+hal/public/mips-le-elf.hal.o.uu
+hal/public/sparc-be-elf.hal.o.uu
+
+The following copyright governs the distribution of the binary HAL part
+of madwifi:
+
+ Copyright (c) 2002-2005 Sam Leffler, Errno Consulting, Atheros
+ Communications, Inc.  All rights reserved.
+
+ Redistribution and use in source and binary forms are permitted
+ provided that the following conditions are met:
+ 1. The materials contained herein are unmodified and are used
+    unmodified.
+ 2. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following NO
+    ''WARRANTY'' disclaimer below (''Disclaimer''), without
+    modification.
+ 3. Redistributions in binary form must reproduce at minimum a
+    disclaimer similar to the Disclaimer below and any redistribution
+    must be conditioned upon including a substantially similar
+    Disclaimer requirement for further binary redistribution.
+ 4. Neither the names of the above-listed copyright holders nor the
+    names of any contributors may be used to endorse or promote
+    product derived from this software without specific prior written
+    permission.
+
+ NO WARRANTY
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT,
+ MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE
+ FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGES.
+
+
+Other files:
+===========
+
+All other files contained in this distribution are covered by the following
+dual GPL/BSD license:
+
+ Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer,
+    without modification.
+ 2. Redistributions in binary form must reproduce at minimum a disclaimer
+    similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any
+    redistribution must be conditioned upon including a substantially
+    similar Disclaimer requirement for further binary redistribution.
+ 3. Neither the names of the above-listed copyright holders nor the names
+    of any contributors may be used to endorse or promote products derived
+    from this software without specific prior written permission.
+
+ Alternatively, this software may be distributed under the terms of the
+ GNU General Public License ("GPL") version 2 as published by the Free
+ Software Foundation.
+
+ NO WARRANTY
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY
+ AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
+ THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
+ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
+ IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGES.
+
--- madwifi-0.9.2+r1784.20061027.orig/debian/rules
+++ madwifi-0.9.2+r1784.20061027/debian/rules
@@ -0,0 +1,62 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
+
+DEB_INSTALL_DOCS_ALL := -XTHANKS
+
+# Please use one of the following version scheme/URL combinations, and
+# use 'debian/rules get-orig-source' to obtain the orig.tar.gz
+#
+# Upstream Major Release
+# Version:	1:0.9.2-1
+# URL:		sf.net/madwifi
+# or
+# Upstream SVN snapshot
+# Version:	1:0.9.2+r1711.20060914-1
+# URL:		snapshots.madwifi.org/madwifi-ng
+#
+DEBVERS := $(shell dpkg-parsechangelog | sed -n 's/^Version: .*:\(.*\)-.*/\1/p')
+UPSVERS := $(shell echo $(DEBVERS) | cut -d'+' -f1)
+SNAPVERS := $(shell echo $(DEBVERS) | sed -n 's/.*+\(.*\)/\1/p')
+ifneq "$(SNAPVERS)" ""
+SVNVERS := $(shell echo $(SNAPVERS) | sed -n 's/\./-/p')
+UPSTAR := madwifi-ng-$(SVNVERS).tar.gz
+UPSURL := http://snapshots.madwifi.org/madwifi-ng/$(UPSTAR)
+else
+UPSTAR := madwifi-$(UPSVERS).tar.gz
+UPSURL := http://optusnet.dl.sourceforge.net/sourceforge/madwifi/$(UPSTAR)
+endif
+ORIGTAR := madwifi_$(DEBVERS).orig.tar.gz
+
+install/madwifi-source::
+	# Enforce executable bit on debian/rules, and create directory 
+	# structure for modules source
+	install -D -m 0755 debian/rules.modules \
+		debian/tmp/modules/madwifi/debian/rules
+	
+	# Prepare the other debian stuff
+	for f in *.modules.in control compat copyright changelog; do \
+		install -m 0644 debian/$$f \
+			debian/tmp/modules/madwifi/debian/; \
+	done
+	
+	# Prepare upstream source
+	find . -path ./debian/\* -type d -prune -o -printf "%P\n" | \
+		egrep -v 'debian|contrib|regression|.svn' | \
+		cpio -admp debian/tmp/modules/madwifi/
+	
+	# Prepare the debian source tarball
+	tar jcf debian/madwifi-source/usr/src/madwifi.tar.bz2 \
+		-C debian/tmp modules
+
+get-orig-source:
+	@dh_testdir
+	@echo -e "Deb version:\t$(DEBVERS)"
+	@echo -e "Upstream MV:\t$(UPSVERS)"
+ifneq "$(SNAPVERS)" ""
+	@echo -e "SVN version:\t$(SVNVERS)"
+endif
+	@echo -e "Tarball URL:\t$(UPSURL)"
+	@test -d ../tarballs || mkdir -p ../tarballs
+	@wget -Nc -T10 -O ../tarballs/$(ORIGTAR) $(UPSURL)
--- madwifi-0.9.2+r1784.20061027.orig/debian/watch
+++ madwifi-0.9.2+r1784.20061027/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/madwifi/madwifi-(.*)\.tar\.gz debian uupdate
--- madwifi-0.9.2+r1784.20061027.orig/debian/madwifi-doc.docs
+++ madwifi-0.9.2+r1784.20061027/debian/madwifi-doc.docs
@@ -0,0 +1 @@
+docs/users-guide.pdf
--- madwifi-0.9.2+r1784.20061027.orig/debian/madwifi-source.README.debian
+++ madwifi-0.9.2+r1784.20061027/debian/madwifi-source.README.debian
@@ -0,0 +1,76 @@
+madwifi for Debian
+==================
+
+This package provides the madwifi source code and binaries that can be used to
+build modules that work with your custom built linux kernel. The source files 
+are located in /usr/src/madwifi.tar.gz; unpacking that file in /usr/src will
+produce a build tree in /usr/src/modules/madwifi/ (The tar file can also be 
+unpacked elsewhere).
+
+For users of the madwifi debian packages from http://debian.marlow.dk/, there
+is no guarentee that the upgrade process will be smooth. Please purge all
+pre-existing madwifi packages from your system before attempting to build and
+install your own modules with madwifi-source.
+
+CONTENTS
+--------
+1. Building madwifi kernel modules (module-assistant)
+2. Building madwifi kernel modules (kernel-package)
+3. Documentation
+
+
+1. Building madwifi kernel modules (module-assistant)
+=====================================================
+
+Please install the module-assistant package and issue the following commands:-
+
+  $ m-a prepare
+  $ m-a a-i madwifi
+
+The above commands will prepare, compile, package and install a set of madwifi
+modules for your kernel.
+
+m-a is short for module-assistant, and a-i is short for auto-install. Please
+see the module-assistant documentation for further details.
+
+NOTE: If you experience difficulty with module-assistant, please follow the 
+procedure outlined in section #2.
+
+
+2. Building madwifi kernel modules (kernel-package)
+===================================================
+
+If necessary, prepare the kernel source tree for the target kernel. If you are 
+using a self compiled kernel than you have an easy task! 
+
+  $ cd /usr/src 
+  $ tar jxvf madwifi.tar.bz2
+  $ cd linux-$KVERS
+  $ make-kpkg --added-modules madwifi modules
+
+Where $KVERS is the exact version string of the kernel you want to build madwifi
+for. A madwifi-modules package will be built against the kernel source version
+specified. Look at the output for where the madwifi-modules package is located. 
+Then use dpkg to install the package by hand, eg:-
+
+  $ dpkg -i /usr/src/madwifi-modules-$KVERS.deb
+
+
+3. Documentation
+================
+
+The 'madwifi-doc' package contains the madwifi users-guide, a comprhensive
+document containing all infomation pertaining to the administration of the
+madwifi kernel modules and userspace tools.
+
+The madwifi-doc packages installs the document to:-
+
+	/usr/share/doc/madwifi-doc/users-guide.pdf.gz
+
+The madwifi developers maintain an excellent resource:
+
+	http://madwifi.org/
+
+The Hardware Compatibility List (HCL) may be of particular interest:
+
+	http://madwifi.org/wiki/Compatibility
--- madwifi-0.9.2+r1784.20061027.orig/debian/control.modules.in
+++ madwifi-0.9.2+r1784.20061027/debian/control.modules.in
@@ -0,0 +1,24 @@
+Source: madwifi
+Section: non-free/net
+Priority: optional
+Maintainer: Debian madwifi team <pkg-madwifi-maintainers@lists.alioth.debian.org>
+Uploaders: Loic Minier <lool@dooz.org>, Kel Modderman <kelmo@kanotixguide.org>, Matt Brown <mattb@debian.org>, Alex Wallis <awol@otaku42.de>
+Build-Depends: debhelper (>= 5.0.37), bzip2
+Standards-Version: 3.7.2
+
+Package: madwifi-modules-_KVERS_
+Architecture: any
+Depends: madwifi-tools, linux-image-_KVERS_ | kernel-image-_KVERS_
+Recommends: wireless-tools
+Replaces: madwifi-ng-modules-_KVERS_
+Provides: madwifi-modules-_KVERS_
+Description: modules for the Multiband Atheros Driver for WiFi (kernel _KVERS_)
+ This package contains the set of loadable kernel modules for Atheros
+ based WiFi chipsets.
+ .
+ This package contains the compiled kernel modules for _KVERS_
+ .
+ If you have compiled your own kernel, you will most likely need to build
+ your own madwifi-modules. The madwifi-source package has been
+ provided for use with the Debian's module-assistant or kernel-package
+ utilities to produce a version of madwifi-ng-module for your kernel.
--- madwifi-0.9.2+r1784.20061027.orig/debian/madwifi-source.links
+++ madwifi-0.9.2+r1784.20061027/debian/madwifi-source.links
@@ -0,0 +1 @@
+usr/share/modass/packages/default.sh 	usr/share/modass/overrides/madwifi-source
--- madwifi-0.9.2+r1784.20061027.orig/debian/rules.modules
+++ madwifi-0.9.2+r1784.20061027/debian/rules.modules
@@ -0,0 +1,49 @@
+#!/usr/bin/make -f
+
+PACKAGE := madwifi-modules
+MA_DIR ?= /usr/share/modass
+-include $(MA_DIR)/include/generic.make
+-include $(MA_DIR)/include/common-rules.make
+
+# set ATH_RATE, rate module to link the module with 
+# possible values for ATH_RATE are:-
+# ath_rate/sample (default), ath_rate/onoe, ath_rate/amrr
+ifeq ($(ATH_RATE),)
+	ATH_RATE := ath_rate/sample
+endif
+
+.PHONY: kdist_config
+kdist_config: prep-deb-files
+
+.PHONY: binary-modules
+binary-modules: kdist_config
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	
+	# Build modules
+	$(MAKE) -C $(CURDIR) modules \
+	KERNELPATH=$(KSRC) KERNELRELEASE=$(KVERS) KERNELCONF=$(KSRC)/.config ATH_RATE=$(ATH_RATE)
+	
+	# Install modules
+	$(MAKE) -C $(CURDIR) install-modules \
+	KERNELPATH=$(KSRC) KERNELRELEASE=$(KVERS) KERNELCONF=$(KSRC)/.config ATH_RATE=$(ATH_RATE) \
+	DESTDIR=$(CURDIR)/debian/$(PKGNAME) KMODPATH=/lib/modules/$(KVERS)/kernel/drivers/net
+
+	dh_installdocs
+	dh_installchangelogs
+	dh_compress
+	dh_fixperms
+	dh_installmodules
+	dh_installdeb
+	dh_gencontrol -- -v$(VERSION)
+	dh_md5sums
+	dh_builddeb --destdir=$(DEB_DESTDIR)
+
+.PHONY: kdist_clean
+kdist_clean:
+	dh_testdir
+	dh_testroot
+	dh_clean
+	$(MAKE) -C $(CURDIR) clean \
+	KERNELPATH=$(KSRC) KERNELRELEASE=$(KVERS) KERNELCONF=$(KSRC)/.config ATH_RATE=$(ATH_RATE)
--- madwifi-0.9.2+r1784.20061027.orig/debian/madwifi-source.docs
+++ madwifi-0.9.2+r1784.20061027/debian/madwifi-source.docs
@@ -0,0 +1 @@
+README
--- madwifi-0.9.2+r1784.20061027.orig/debian/NEWS
+++ madwifi-0.9.2+r1784.20061027/debian/NEWS
@@ -0,0 +1,11 @@
+madwifi (0.svnr1551.20060514-1) experimental; urgency=low
+
+  The homepage of the pkg-madwifi maintainers is hosted on madwifi.org's
+  wiki. The following link will redirect to the Debian UserDocs for madwifi:
+    
+    http://pkg-madwifi.alioth.debian.org/
+
+  Please visit the wiki, and feel free to change/edit/enhance the pages with
+  information that could assist other debian users.    
+
+ -- Kel Modderman <kelrin@tpg.com.au>  Sun, 14 May 2006 17:15:15 +1000
--- madwifi-0.9.2+r1784.20061027.orig/debian/madwifi-source.dirs
+++ madwifi-0.9.2+r1784.20061027/debian/madwifi-source.dirs
@@ -0,0 +1 @@
+usr/src/
