--- ndiswrapper-1.8.orig/debian/copyright +++ ndiswrapper-1.8/debian/copyright @@ -1,11 +1,29 @@ -This package was debianized by Giridhar Pemmasani on -Fri, 25 Jun 2004 13:22:37 -0400. +This package was debianized by Erik Rigtorp on +Mon, 23 Feb 2004 17:48:38 +0100. -It was downloaded from http://ndiswrapper.sourceforge.net +This package is currently maintained by Andres Salomon , +as of Oct. 2004. -Upstream Author(s): See http://ndiswrapper.sourceforge.net +It was downloaded from http://ndiswrapper.sourceforge.net/ -Copyright: +The upstream authors: +Pontus Fuchs - Original author. +Giridhar Pemmasani - Many general improvments. Eg. WEP, AP scanning. +Joseph Dunn - Inf file parser. -Licensed under the terms of GNU GPL. See /usr/share/common-licenses/GPL for -details. +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 +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + +On Debian systems, the full text of the GPL can be found in +/usr/share/common-licenses/GPL --- ndiswrapper-1.8.orig/debian/rules +++ ndiswrapper-1.8/debian/rules @@ -1,195 +1,24 @@ #!/usr/bin/make -f -# -*- makefile -*- -# Created by Giridhar Pemmasani for ndiswrapper +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/class/makefile.mk -# top-level targets: -# binary-modules creates ndiswrapper module -# binary-utils creates ndiswrapper utilities -# source creates ndiswrapper source (for both module and utils) -# clean removes files generated +DEB_MAKE_INVOKE = cd utils && make +NDW_VERS := $(shell dpkg-parsechangelog | sed -ne 's/^Version:[[:space:]]*\([^-]\+\)-.*/\1/p') -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -# This has to be exported to make some magic below work. -export DH_OPTIONS - -KVERS ?= $(shell uname -r) -KSRC ?= /lib/modules/$(KVERS)/build -kplevel := $(shell echo $(KVERS) | sed 's/[^\.]*\.\([^\.]*\)\..*/\1/') -MODDIR = .. - -NDISSRC = $(shell pwd) -MAINT = Giridhar Pemmasani -MAINTEMAIL = pgiri@users.sourceforge.net -DRIVERSRC = $(NDISSRC)/driver -UTILSSRC = $(NDISSRC)/utils - --include $(NDISSRC)/version - -kdist_image: - $(MAKE) $(MFLAGS) -f debian/rules binary-modules - $(MAKE) $(MFLAGS) -f debian/rules clean - -# the kdist_clean target is called by make-kpkg modules_clean. It is -# responsible for cleaning up any changes that have been made by the -# other kdist_commands (except for the .deb files created). -kdist_clean: clean-modules - $(MAKE) $(MFLAGS) -f debian/rules clean - -### end KERNEL SETUP - -common-prolog: - dh_testdir - dh_testroot - dh_installchangelogs ChangeLog - dh_installdocs - dh_installexamples -# dh_installmenu - dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_installinit -# dh_installcron -# dh_installinfo - -common-epilog: - dh_install - dh_link - dh_strip - dh_compress - dh_fixperms - dh_perl -# dh_python - dh_makeshlibs - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - -check-perms: - dh_testdir - dh_testroot - -build-modules-prep: - sed -e 's/#KVERS#/$(KVERS)/g' \ - -e 's/#DRIVER_VERSION#/$(DRIVER_VERSION)/g' \ - -e 's/#UTILS_VERSION#/$(UTILS_VERSION)/g' \ - -e 's/#DATE#/'"`date --rfc-822`"'/g' \ - -e 's/#MAINT#/$(MAINT) <$(MAINTEMAIL)>/g' \ - debian/changelog.modules > debian/changelog - sed -e 's/#KVERS#/$(KVERS)/' \ - -e 's/#DRIVER_VERSION#/$(DRIVER_VERSION)/' \ - -e 's/#UTILS_VERSION#/$(UTILS_VERSION)/' \ - debian/control.modules > debian/control - sed -e 's/#KVERS#/$(KVERS)/' debian/postinst.modules > debian/postinst - - if [ $(kplevel) == 4 ];then \ - module=ndiswrapper.o; \ - else \ - module=ndiswrapper.ko; \ - fi; \ - echo "driver/$$module /lib/modules/$(KVERS)/misc" \ - > debian/ndiswrapper-modules-$(KVERS).install - -build-modules: - dh_installdirs lib/modules/$(KVERS)/misc - $(MAKE) -C $(DRIVERSRC) - -binary-modules: build-modules-prep common-prolog build-modules common-epilog - dh_builddeb --destdir=$(MODDIR) - dh_clean - -rm -f debian/postinst debian/ndiswrapper-modules-$(KVERS).install - -clean-modules: build-modules-prep - echo "$(NDISSRC)" - -$(MAKE) -C $(DRIVERSRC) distclean - -rm -f debian/ndiswrapper-modules-$(KVERS).install debian/postinst - dh_clean - -build-utils-prep: - sed -e 's/-#KVERS#//g' \ - -e 's/#DRIVER_VERSION#/$(DRIVER_VERSION)/g' \ - -e 's/#UTILS_VERSION#/$(UTILS_VERSION)/g' \ - -e 's/#DATE#/'"`date --rfc-822`"'/g' \ - -e 's/#MAINT#/$(MAINT) <$(MAINTEMAIL)>/g' \ - debian/changelog.utils > debian/changelog - sed -e 's/#DRIVER_VERSION#/$(DRIVER_VERSION)/' \ - -e 's/#UTILS_VERSION#/$(UTILS_VERSION)/' \ - -e 's/#MAINT#/$(MAINT) <$(MAINTEMAIL)>/g' \ - debian/control.utils > debian/control - echo "utils/loadndisdriver /sbin" > debian/ndiswrapper-utils.install - echo "utils/ndiswrapper /usr/sbin" >> debian/ndiswrapper-utils.install - echo "utils/ndiswrapper-buginfo /usr/sbin" >> \ - debian/ndiswrapper-utils.install - cp debian/dirs.utils debian/dirs - -build-utils: - export DH_OPTIONS='-i' - dh_installman ndiswrapper.8 - $(MAKE) -C utils - -binary-utils: build-utils-prep common-prolog build-utils common-epilog - dh_builddeb --destdir=$(MODDIR) - dh_clean - -clean-utils: build-utils-prep - -$(MAKE) -C $(UTILSSRC) clean - -rm -f debian/ndiswrapper-utils.install - dh_clean - -build-source-prep: - sed -e 's/-#KVERS#//g' \ - -e 's/#DRIVER_VERSION#/$(DRIVER_VERSION)/g' \ - -e 's/#UTILS_VERSION#/$(UTILS_VERSION)/g' \ - -e 's/#DATE#/'"`date --rfc-822`"'/g' \ - -e 's/#MAINT#/$(MAINT) <$(MAINTEMAIL)>/g' \ - debian/changelog.modules > debian/changelog - sed -e 's/#DRIVER_VERSION#/$(DRIVER_VERSION)/' \ - -e 's/#UTILS_VERSION#/$(UTILS_VERSION)/' \ - -e 's/#MAINT#/$(MAINT) <$(MAINTEMAIL)>/g' \ - debian/control.source > debian/control - echo "ndiswrapper-source.tar.gz /usr/src" \ - > debian/ndiswrapper-source.install - -build-source: - dh_installdirs usr/src/modules/ndiswrapper +install/ndiswrapper-source:: mkdir -p modules/ndiswrapper/debian - mkdir -p modules/ndiswrapper/driver - mkdir -p modules/ndiswrapper/utils - $(MAKE) -C $(DRIVERSRC) distdir=../modules/ndiswrapper/driver dist - $(MAKE) -C $(UTILSSRC) distdir=../modules/ndiswrapper/utils dist - cp version ChangeLog ndiswrapper.8 modules/ndiswrapper - cp -a debian/rules debian/changelog.source \ - debian/rules debian/changelog.modules \ - debian/rules debian/changelog.utils \ - debian/control.modules debian/changelog debian/control.utils \ - debian/dirs.utils debian/postinst.modules \ - modules/ndiswrapper/debian - tar zcvf ndiswrapper-source.tar.gz modules - -rm -rf modules - -clean-source: - -rm -rf modules debian/ndiswrapper-source - -rm -f debian/ndiswrapper-source.install ndiswrapper-source.tar.gz - dh_clean - -source: build-source-prep common-prolog build-source common-epilog - dh_builddeb --destdir=$(MODDIR) - dh_clean - -clean: clean-modules clean-utils clean-source - dh_clean - -rm -f debian/changelog debian/control debian/dirs debian/postinst - -binary: - $(MAKE) -f debian/rules binary-utils - $(MAKE) -f debian/rules binary-modules - -.PHONY: binary binary-modules binary-utils build-utils build-utils-prep \ - common-epilog common-prolog clean-utils clean-modules check-perms \ - clean build-modules build-modules-prep source build-source-prep \ - build-source clean-source + cp -ra driver/* modules/ndiswrapper + cp INSTALL version modules/ndiswrapper + cp debian/changelog debian/compat debian/copyright modules/ndiswrapper/debian + cp debian/*.modules.in modules/ndiswrapper/debian + sed -i 's/@NDW_VERS@/$(NDW_VERS)/g' modules/ndiswrapper/debian/control.modules.in + install -m755 debian/rules.modules modules/ndiswrapper/debian/rules + tar jcf debian/ndiswrapper-source/usr/src/ndiswrapper-source.tar.bz2 modules + rm -rf modules + +clean:: + # Delete upstream files + rm -f debian/changelog.* debian/control.*[^n] debian/README.Debian + rm -f debian/dirs.utils debian/Makefile debian/postinst.modules --- ndiswrapper-1.8.orig/debian/control.modules.in +++ ndiswrapper-1.8/debian/control.modules.in @@ -0,0 +1,19 @@ +Source: ndiswrapper +Section: misc +Priority: optional +Maintainer: Andres Salomon +Build-Depends: debhelper (>> 4.1.0), bzip2 +Standards-Version: 3.6.1 + +Package: ndiswrapper-modules-_KVERS_ +Architecture: i386 amd64 +Depends: ndiswrapper-utils (>= @NDW_VERS@-1), ndiswrapper-utils (<= @NDW_VERS@-999) +Recommends: kernel-image-_KVERS_ +Provides: ndiswrapper-modules-@NDW_VERS@ +Description: Ndiswrapper linux kernel module + This package contains the ndiswrapper loadable kernel modules for the + kernel-image-_KVERS_ package. + . + If you compiled a custom kernel, you will most likely need to compile a + custom version of this module as well. The ndiswrapper-source + package has been provided for this purpose. --- ndiswrapper-1.8.orig/debian/changelog +++ ndiswrapper-1.8/debian/changelog @@ -0,0 +1,253 @@ +ndiswrapper (1.8-0ubuntu1) dapper; urgency=low + + * New upstream version. + + -- Matthias Klose Thu, 19 Jan 2006 13:03:08 +0000 + +ndiswrapper (1.5-1ubuntu1) dapper; urgency=low + + * Resynchronise with Debian. (Totally me!) + + -- Scott James Remnant Wed, 16 Nov 2005 23:39:48 +0000 + +ndiswrapper (1.1-4ubuntu2) breezy; urgency=low + + * debian/control: Update description to point out that the kernel source + package is not required with the standard Ubuntu kernel. + + -- Martin Pitt Fri, 30 Sep 2005 14:56:14 +0200 + +ndiswrapper (1.1-4ubuntu1) breezy; urgency=low + + * debian/ndiswrapper-utils.dirs + - add /etc/ndiswrapper (ubuntu #13809) + + -- Charles Majola Mon, 22 Aug 2005 13:51:35 +0200 + +ndiswrapper (1.5-1) unstable; urgency=low + + * New upstream release (closes: #337024). + + -- Andres Salomon Thu, 03 Nov 2005 05:15:30 +0000 + +ndiswrapper (1.4-1) unstable; urgency=low + + * New upstream release. + * Add clean rule to nuke upstream's debian cruft. + + -- Andres Salomon Sat, 08 Oct 2005 21:24:07 -0400 + +ndiswrapper (1.2+1.3rc1-1) unstable; urgency=low + + * New upstream release. + * Get rid of some bashisms in various scripts (closes: #307836). + + -- Andres Salomon Sun, 28 Aug 2005 04:52:13 -0400 + +ndiswrapper (1.1-4) unstable; urgency=low + + * Argh, missed a bit w/ amd64 support; it should build now. + + -- Andres Salomon Sun, 10 Apr 2005 15:32:12 -0400 + +ndiswrapper (1.1-3) unstable; urgency=low + + * Fix postinst in cases where an upgrade is being done, but + /etc/ndiswrapper/* is empty (or non-existant) (closes: #303992). + * Make ndiswrapper-modules' dep on -utils a little less strict. + + -- Andres Salomon Sun, 10 Apr 2005 08:05:17 -0400 + +ndiswrapper (1.1-2) unstable; urgency=low + + * Add amd64 support, by popular request (all 2 of you). + * Since there are now multiple architectures; make -source package + arch: all. + + -- Andres Salomon Fri, 08 Apr 2005 15:09:08 -0400 + +ndiswrapper (1.1-1) unstable; urgency=low + + * New upstream release; "Breaking Ian's machine" (closes: #300784). + * Add /usr/sbin/ndiswrapper-buginfo. + * Make generated ndiswrapper-modules package have a versioned depend + on ndiswrapper-utils.. Just in case. + * Add postinst to ndiswrapper-utils to deal w/ change in config file + names. Sigh. + * Change ndiswrapper-modules provide to be versioned, so that + ndiswrapper-utils can depend upon specific versions. + * Update maintainer address. + + -- Andres Salomon Sat, 26 Mar 2005 03:42:05 -0500 + +ndiswrapper (0.12+1.0rc2-1) unstable; urgency=low + + * New upstream release. + + -- Andres Salomon Sun, 09 Jan 2005 19:40:16 -0500 + +ndiswrapper (0.12+1.0rc1-1) unstable; urgency=low + + * New upstream release (closes: #286576). + * Further cleanups; remove modass override symlink, etc. + * Don't background depmod in postinst. + + -- Andres Salomon Wed, 29 Dec 2004 03:06:16 -0500 + +ndiswrapper (0.11-1) unstable; urgency=low + + * Initial upload; start w/ Erik Rigtorp's packaging. Thanks, Erik! + (closes: #234644). + * New upstream release. + * Convert build system to cdbs. + * Drop upstream's debian stuff. No need for the clutter. + * Upstream now provides an ndiswrapper(8) manpage; use that. + * Fix modass overrides, which was in the wrong package, I think + (documentation bug in module-assistant?) + + -- Andres Salomon Sun, 31 Oct 2004 18:31:40 -0500 + +ndiswrapper (0.10-1) unstable; urgency=low + + * New upstream release + + -- Erik Rigtorp Sun, 22 Aug 2004 21:19:29 +0200 + +ndiswrapper (0.9-1) unstable; urgency=low + + * New upstream release + + -- Erik Rigtorp Thu, 05 Aug 2004 17:37:36 +0200 + +ndiswrapper (1:0.8-1) unstable; urgency=low + + * New upstream release + + -- Erik Rigtorp Thu, 10 Jun 2004 21:53:52 +0200 + +ndiswrapper (0.8-rc2-1) unstable; urgency=low + + * New upstream release + + -- Erik Rigtorp Wed, 2 Jun 2004 02:54:34 +0200 + +ndiswrapper (0.8-rc1-1) unstable; urgency=low + + * New upstream release + * Fixed so that the driver source can be compiled manualy. + + -- Erik Rigtorp Sun, 30 May 2004 23:05:31 +0200 + +ndiswrapper (0.7-1) unstable; urgency=low + + * New upstream release + * Fix rules file to behave properly when make-kpkg is invoked with + --append-to-version. + + -- Erik Rigtorp Sun, 25 Apr 2004 18:03:45 +0200 + +ndiswrapper (0.6-2) unstable; urgency=low + + * Fixed a problem with the rules file, dpatch is no longer included when + rules is invoked from make-kpkg. + + -- Erik Rigtorp Wed, 17 Mar 2004 16:11:05 +0100 + +ndiswrapper (0.6-1) unstable; urgency=low + + * Non-maintainer upload + * New upstream release + * Removed paths.dpatch (unused) + + -- Torbjörn Svensson Wed, 17 Mar 2004 12:17:09 +0100 + +ndiswrapper (0.5-1) unstable; urgency=low + + * New upstream release + + -- Erik Rigtorp Wed, 10 Mar 2004 16:28:48 +0100 + +ndiswrapper (0.4+cvs.20040302-1) unstable; urgency=low + + * New upstream release + + -- Erik Rigtorp Tue, 2 Mar 2004 19:25:05 +0100 + +ndiswrapper (0.4+cvs.20040229-1) unstable; urgency=low + + * New upstream release + + -- Erik Rigtorp Sun, 29 Feb 2004 22:21:01 +0100 + +ndiswrapper (0.4+cvs.20040226-4) unstable; urgency=low + + * Fixed rules so that DRV_VERSION is defined from the file version + * Removed ndiswrapper from depends in ndiswrapper-source + * Added ndiswrapper to depends in ndiswrapper-modules + + -- Erik Rigtorp Sun, 29 Feb 2004 16:43:24 +0100 + +ndiswrapper (0.4+cvs.20040226-3) unstable; urgency=low + + * Non-maintainer upload + * Fixed .orig.tar.gz + * Changed ndiswrapper to depends in source + * Added ndiswrapper-source to suggest list in ndiswrapper + * Changed cleantarget to all in rules + + -- Torbjörn Svensson Fri, 27 Feb 2004 03:15:54 +0100 + +ndiswrapper (0.4+cvs.20040226-2) unstable; urgency=low + + * /usr/src/modules/ndiswrapper is now entared in ndiswrapper-source + * Fixed description in debian/patches/makefile.dpatch + + -- Erik Rigtorp Thu, 26 Feb 2004 23:57:18 +0100 + +ndiswrapper (0.4+cvs.20040226-1) unstable; urgency=low + + * Non-maintainer upload + * Updated to latest cvs + * Removed patch for paths again + * Added patch that removes depmod from driver/Makefile + + -- Torbjörn Svensson Thu, 26 Feb 2004 16:30:52 +0100 + +ndiswrapper (0.4+cvs.20040225-1) unstable; urgency=low + + * Non-maintainer upload + * Removed rules.old + * Updated to latest cvs + * Added dep on dpatch + * Added dpatch to rules + * Fixed a patch that changes /sbin to /usr/sbin in all files + + -- Torbjörn Svensson Wed, 25 Feb 2004 01:50:35 +0100 + +ndiswrapper (0.4+cvs.20040224-3) unstable; urgency=low + + * Non-maintainer upload + * Fixed a typo in the description. + * Removed ndiswrapper-source.rules + + -- Torbjörn Svensson Tue, 24 Feb 2004 23:27:21 +0100 + +ndiswrapper (0.4+cvs.20040224-2) unstable; urgency=low + + * Fixed perl dependencies + + -- Erik Rigtorp Mon, 23 Feb 2004 19:19:13 +0100 + +ndiswrapper (0.4+cvs.20040224-1) unstable; urgency=low + + * Non-maintainer upload + * Updated to CVS release. + + -- Torbjörn Svensson Tue, 24 Feb 2004 16:44:13 +0100 + +ndiswrapper (0.4-1) unstable; urgency=low + + * Initial Release. + + -- Erik Rigtorp Mon, 23 Feb 2004 19:19:13 +0100 + --- ndiswrapper-1.8.orig/debian/compat +++ ndiswrapper-1.8/debian/compat @@ -0,0 +1 @@ +4 --- ndiswrapper-1.8.orig/debian/loadndisdriver.8 +++ ndiswrapper-1.8/debian/loadndisdriver.8 @@ -0,0 +1,26 @@ +.TH LOADNDISDRIVER 8 "1 June 2004" +.SH NAME +loadndisdriver \- load ndis drivers +.SH SYNOPSIS +.B loadndisdriver +.RI [ option ] driver +.SH DESCRIPTION +This manual page documents briefly the +.B loadndisdriver +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +Instead, it has documentation in a text file; see below. +.PP +\fBloadndisdriver\fP is a support program for a kernel module. It loads +ndis drivers for the ndiswrapper kernel module. +.SH OPTIONS +A list of options is included below. +.TP +.B \-a +.PP +The programs are documented fully by +.IR /usr/share/doc/ndiswrapper/INSTALL +.SH AUTHOR +This manual page was written by Erik Rigtorp , +for the Debian project (but may be used by others). --- ndiswrapper-1.8.orig/debian/ndiswrapper-source.dirs +++ ndiswrapper-1.8/debian/ndiswrapper-source.dirs @@ -0,0 +1 @@ +/usr/src --- ndiswrapper-1.8.orig/debian/ndiswrapper-source.README.Debian +++ ndiswrapper-1.8/debian/ndiswrapper-source.README.Debian @@ -0,0 +1,21 @@ +ndiswrapper for Debian +---------------------- + +The ndiswrapper-source package can be used in several ways, + + - Using the make-kpkg(1) command provided by the kernel-package Debian + package. This will produce a corresponding ndiswrapper-modules package for + the Debian kernel-image package that you are using. This is "the Debian + way". See the "modules_image" section of the make-kpkg(1) man page. + + - Using module-assistant: "module-assistant auto-install ndiswrapper" + + - Manually building a debian package, "cd /usr/src/ndiswrapper/ && + ./debian/rules binary-module". + + - Changing to the /usr/src/modules/ndiswrapper/ directory and building as + the INSTALL file instructs using "make; make install". This will build + and install a module specific to the system you are building on and is + not under control of the packaging system. + + -- Erik Rigtorp , Mon, 31 May 2004 23:31:20 +0200 --- ndiswrapper-1.8.orig/debian/ndiswrapper-utils.dirs +++ ndiswrapper-1.8/debian/ndiswrapper-utils.dirs @@ -0,0 +1,3 @@ +/sbin +/usr/sbin +/etc/ndiswrapper --- ndiswrapper-1.8.orig/debian/ndiswrapper-utils.install +++ ndiswrapper-1.8/debian/ndiswrapper-utils.install @@ -0,0 +1,3 @@ +utils/loadndisdriver /sbin +utils/ndiswrapper /usr/sbin +utils/ndiswrapper-buginfo /usr/sbin --- ndiswrapper-1.8.orig/debian/ndiswrapper-utils.manpages +++ ndiswrapper-1.8/debian/ndiswrapper-utils.manpages @@ -0,0 +1,2 @@ +ndiswrapper.8 +debian/loadndisdriver.8 --- ndiswrapper-1.8.orig/debian/ndiswrapper-utils.postinst +++ ndiswrapper-1.8/debian/ndiswrapper-utils.postinst @@ -0,0 +1,25 @@ +#!/bin/sh + +set -e + +if [ "$1" = "configure" ] && [ ! -z "$2" ]; then + + # Newer versions of ndiswrapper (> 1.0rc3) expect conf files to have + # the bustype in the file name. So, for upgrades from older versions, + # assume a bustype of PCI ('5'), and make appropriate symlinks. + if dpkg --compare-versions "$2" lt "1.0-1"; then + confs=/etc/ndiswrapper/*/*.conf + if [ "$confs" != "$(echo $confs)" ]; then + for c in $confs; do + match=$(basename $c | grep -o ':[0-9]\+\.[0-9]\.conf' || true) + if [ -z "$match" ]; then + ln -sf "$(basename $c)" "${c%.conf}.5.conf" + fi + done + fi + fi +fi + +#DEBHELPER# + +exit 0 --- ndiswrapper-1.8.orig/debian/ndiswrapper-utils.README.Debian +++ ndiswrapper-1.8/debian/ndiswrapper-utils.README.Debian @@ -0,0 +1,17 @@ +ndiswrapper for Debian +---------------------- + +Please see ./README for a description of the ndiswrapper software. + +I use the following setup of ndiswrapper: + +Add this to your /etc/networking/interfaces:: + + iface wlan0 inet dhcp + pre-up modprobe ndiswrapper + post-down rmmod ndiswrapper + +If you have several wlan adapters in your computer you may need to change +wlan0 to something else. + + -- Erik Rigtorp , Mon, 24 Feb 2004 17:19:13 +0100 --- ndiswrapper-1.8.orig/debian/postinst.modules.in +++ ndiswrapper-1.8/debian/postinst.modules.in @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if [ "`uname -r`" = "_KVERS_" ]; then + /sbin/depmod -a +fi + +#DEBHELPER# + +exit 0 --- ndiswrapper-1.8.orig/debian/rules.modules +++ ndiswrapper-1.8/debian/rules.modules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f + +# module-assistant stuff +PACKAGE = ndiswrapper-modules +MA_DIR ?= /usr/share/modass +-include $(MA_DIR)/include/generic.make +-include $(MA_DIR)/include/common-rules.make + +kdist_clean: prep-deb-files + dh_clean + $(MAKE) clean + +kdist_config: prep-deb-files + +binary-modules: kdist_config + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs lib/modules/$(KVERS)/misc + + # build and install the module + $(MAKE) KPKG_EXTRAV_ARG=$(KPKG_EXTRAV_ARG) KSRC=$(KSRC) \ + KVER=$(KVERS) \ + INST_DIR=debian/ndiswrapper-modules-$(KVERS)/lib/modules/$(KVERS)/misc/ install + + dh_installdocs + dh_installchangelogs + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol -- -v$(VERSION) + dh_md5sums + dh_builddeb --destdir=$(DEB_DESTDIR) --- ndiswrapper-1.8.orig/debian/patches/001-skip_depmod.patch +++ ndiswrapper-1.8/debian/patches/001-skip_depmod.patch @@ -0,0 +1,36 @@ +Revision: ndiswrapper--dilinger--0--patch-1 +Archive: dilinger@voxel.net--2004-public +Creator: Andres Salomon +Date: Sun Nov 7 03:39:46 EST 2004 +Standard-date: 2004-11-07 08:39:46 GMT +Modified-files: driver/Makefile +New-patches: dilinger@voxel.net--2004-public/ndiswrapper--dilinger--0--patch-1 +Summary: prevent depmod from being run during build +Keywords: + + + +* computing changeset +A {arch}/ndiswrapper/ndiswrapper--dilinger/ndiswrapper--dilinger--0/dilinger@voxel.net--2004-public/patch-log/patch-1 +M driver/Makefile +* changeset report +* added files + + {arch}/ndiswrapper/ndiswrapper--dilinger/ndiswrapper--dilinger--0/dilinger@voxel.net--2004-public/patch-log/patch-1 + +* modified files + +--- orig/driver/Makefile ++++ mod/driver/Makefile +@@ -114,7 +114,7 @@ + install: prereq_check x86_64_stubs gen_exports default stack_check + mkdir -p $(INST_DIR) + install -m 0644 $(MODULE) $(INST_DIR) +- -/sbin/depmod -a ++ #/sbin/depmod -a + + dist: + @for file in $(DISTFILES); do \ + + + --- ndiswrapper-1.8.orig/debian/patches/002-version_path.patch +++ ndiswrapper-1.8/debian/patches/002-version_path.patch @@ -0,0 +1,28 @@ +Revision: ndiswrapper--dilinger--0--patch-2 +Archive: dilinger@voxel.net--2004-public +Creator: Andres Salomon +Date: Sun Nov 7 03:40:20 EST 2004 +Standard-date: 2004-11-07 08:40:20 GMT +Modified-files: driver/Makefile +New-patches: dilinger@voxel.net--2004-public/ndiswrapper--dilinger--0--patch-2 +Summary: fix path to version file +Keywords: + + + +* computing changeset +A {arch}/ndiswrapper/ndiswrapper--dilinger/ndiswrapper--dilinger--0/dilinger@voxel.net--2004-public/patch-log/patch-2 +M driver/Makefile +* changeset report +* added files + + {arch}/ndiswrapper/ndiswrapper--dilinger/ndiswrapper--dilinger--0/dilinger@voxel.net--2004-public/patch-log/patch-2 + +* modified files + +--- orig/driver/Makefile ++++ mod/driver/Makefile +@@ -1,2 +1,2 @@ +--include ../version ++-include version + --- ndiswrapper-1.8.orig/debian/control +++ ndiswrapper-1.8/debian/control @@ -0,0 +1,38 @@ +Source: ndiswrapper +Section: misc +Priority: optional +Maintainer: Andres Salomon +Standards-Version: 3.6.1 +Build-Depends: debhelper (>> 4.1.0), cdbs, bzip2 + +Package: ndiswrapper-utils +Architecture: i386 amd64 +Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, ndiswrapper-modules-1.8 +Suggests: ndiswrapper-source +Description: Userspace utilities for ndiswrapper + Some wireless LAN vendors refuse to release hardware specifications or + drivers for their products for operating systems other than Microsoft + Windows. NdisWrapper makes it possible to use such hardware with Linux by + means of a loadable kernel module that "wraps around" NDIS (Windows network + driver API) drivers. + . + This package contains the userspace tools. The default Ubuntu kernel + already provides the required modules. If you use a custom kernel, + you might also need the kernel module package. + +Package: ndiswrapper-source +Architecture: all +Depends: module-assistant, debhelper (>> 4.1.0), bzip2, gcc +Suggests: kernel-package +Description: Source for the ndiswrapper linux kernel module + Some wireless LAN vendors refuse to release hardware specifications or + drivers for their products for operating systems other than Microsoft + Windows. NdisWrapper makes it possible to use such hardware with Linux by + means of a loadable kernel module that "wraps around" NDIS (Windows network + driver API) drivers. + . + This package provides the source code for the NdisWrapper kernel module. + The default Ubuntu kernel already provides the required modules. You + might only need this package if you use a custom kernel. + . + Kernel source is required to compile this module.