diff -ur -N cvs-0.0.7.orig/build_deb.sh cvs-0.0.7/build_deb.sh --- cvs-0.0.7.orig/build_deb.sh 1970-01-01 01:00:00.000000000 +0100 +++ cvs-0.0.7/build_deb.sh 2003-04-21 13:01:40.000000000 +0200 @@ -0,0 +1,19 @@ +#! /bin/sh -e + +VERSION=`basename $PWD | cut -b 5-` +KVERSION=`uname -r` + +cd driver + +# Building control files +sed -e "s/@KVERSION@/$KVERSION/g" debian/control.in > debian/control +sed -e "s/@VERSION@/$VERSION/g" debian/changelog.in > debian/changelog + +if [ "x$1" = "xclean" ]; then + rm -fv ../orinoco-modules* + fakeroot debian/rules clean + rm -fv debian/{control,changelog} + exit 0 +fi + +dpkg-buildpackage -rfakeroot -us -uc -sd -b diff -ur -N cvs-0.0.7.orig/driver/Makefile cvs-0.0.7/driver/Makefile --- cvs-0.0.7.orig/driver/Makefile 2003-03-30 03:06:25.000000000 +0200 +++ cvs-0.0.7/driver/Makefile 2003-04-21 11:54:30.000000000 +0200 @@ -18,10 +18,10 @@ HDRS = hermes.h hermes_rid.h ieee802_11.h orinoco.h CONF = hermes.conf -MODULE_DIR_TOP = /lib/modules/$(KERNEL_VERSION) +MODULE_DIR_TOP = $(ROOT)/lib/modules/$(KERNEL_VERSION) MODULE_DIR_PCMCIA = $(MODULE_DIR_TOP)/pcmcia MODULE_DIR_WIRELESS = $(MODULE_DIR_TOP)/kernel/drivers/net/wireless -CONF_DIR = /etc/pcmcia +CONF_DIR = $(ROOT)/etc/pcmcia CPPFLAGS = -D__KERNEL__ -DPCMCIA_DEBUG=1 \ -DMODULE -DEXPORT_SYMTAB \ -I$(KERNEL_HEADERS) @@ -67,7 +67,7 @@ fi; \ done if [ -d $(CONF_DIR) ]; then install -m 644 -o 0 -g 0 $(CONF) $(CONF_DIR)/$(CONF); fi - depmod -a +# depmod -a uninstall: for f in $(MODULES); do \ diff -ur -N cvs-0.0.7.orig/driver/debian/README.Debian cvs-0.0.7/driver/debian/README.Debian --- cvs-0.0.7.orig/driver/debian/README.Debian 1970-01-01 01:00:00.000000000 +0100 +++ cvs-0.0.7/driver/debian/README.Debian 2003-04-21 13:04:40.000000000 +0200 @@ -0,0 +1,3 @@ +Please send bug reports at: + + mailto:orinoco-usb-devel@ranty.ddts.net diff -ur -N cvs-0.0.7.orig/driver/debian/changelog.in cvs-0.0.7/driver/debian/changelog.in --- cvs-0.0.7.orig/driver/debian/changelog.in 1970-01-01 01:00:00.000000000 +0100 +++ cvs-0.0.7/driver/debian/changelog.in 2003-04-21 12:07:55.000000000 +0200 @@ -0,0 +1,9 @@ +orinoco-modules (@VERSION@) unstable; urgency=low + + * Generic changelog file... + + -- Hugo Haas Mon, 21 Apr 2003 12:07:47 +0200 + +Local variables: +mode: debian-changelog +End: diff -ur -N cvs-0.0.7.orig/driver/debian/conffiles cvs-0.0.7/driver/debian/conffiles --- cvs-0.0.7.orig/driver/debian/conffiles 1970-01-01 01:00:00.000000000 +0100 +++ cvs-0.0.7/driver/debian/conffiles 2003-04-21 11:57:41.000000000 +0200 @@ -0,0 +1 @@ +/etc/pcmcia/hermes.conf diff -ur -N cvs-0.0.7.orig/driver/debian/control.in cvs-0.0.7/driver/debian/control.in --- cvs-0.0.7.orig/driver/debian/control.in 1970-01-01 01:00:00.000000000 +0100 +++ cvs-0.0.7/driver/debian/control.in 2003-04-21 13:03:43.000000000 +0200 @@ -0,0 +1,16 @@ +Source: orinoco-modules +Build-Depends: make, gcc, debhelper, fakeroot +Section: admin +Priority: optional +Maintainer: Hugo Haas +Standards-Version: 3.5.9.0 + +Package: orinoco-modules-@KVERSION@ +Architecture: i386 +Conflicts: orinoco-modules-@KVERSION@ +Provides: orinoco-modules-@KVERSION@ +Replaces: orinoco-modules-@KVERSION@ +Description: ORiNOCO PCMCIA and USB drivers + For more information, please see: + Linux driver effort for Lucent/Agere Orinoco USB devices + http://ranty.ddts.net/~ranty/orinoco/ diff -ur -N cvs-0.0.7.orig/driver/debian/copyright cvs-0.0.7/driver/debian/copyright --- cvs-0.0.7.orig/driver/debian/copyright 1970-01-01 01:00:00.000000000 +0100 +++ cvs-0.0.7/driver/debian/copyright 2003-04-21 12:15:25.000000000 +0200 @@ -0,0 +1,85 @@ +See: + http://ranty.ddts.net/~ranty/orinoco/ + +Copyright notices: + + * Copyright (C) 2000 David Gibson, Linuxcare Australia + * With some help from : + * Copyright (C) 2001 Jean Tourrilhes, HP Labs + * Copyright (C) 2001 Benjamin Herrenschmidt + * + * Based on dummy_cs.c 1.27 2000/06/12 21:27:25 + * + * Portions based on wvlan_cs.c 1.0.6, Copyright Andreas Neuhaus + * http://www.fasta.fh-dortmund.de/users/andy/wvlan/ + * + * The contents of this file are subject to the Mozilla Public License + * Version 1.1 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License + * at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" + * + * Software distributed under the License is distributed on an "AS IS" + * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See + * the License for the specific language governing rights and + * limitations under the License. + * + * The initial developer of the original code is David A. Hinds + * . Portions created by David + * A. Hinds are Copyright (C) 1999 David A. Hinds. All Rights + * Reserved. + * + * Alternatively, the contents of this file may be used under the + * terms of the GNU General Public License version 2 (the "GPL"), in + * which case the provisions of the GPL are applicable instead of the + * above. If you wish to allow the use of your version of this file + * only under the terms of the GPL and not to allow others to use your + * version of this file under the MPL, indicate your decision by + * deleting the provisions above and replace them with the notice and + * other provisions required by the GPL. If you do not delete the + * provisions above, a recipient may use your version of this file + * under either the MPL or the GPL. + +and: + + * Copyright (c) 2003 Manuel Estrada Sainz + * + * The contents of this file are subject to the Mozilla Public License + * Version 1.1 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License + * at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" + * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See + * the License for the specific language governing rights and + * limitations under the License. + * + * Alternatively, the contents of this file may be used under the + * terms of the GNU General Public License version 2 (the "GPL"), in + * which case the provisions of the GPL are applicable instead of the + * above. If you wish to allow the use of your version of this file + * only under the terms of the GPL and not to allow others to use your + * version of this file under the MPL, indicate your decision by + * deleting the provisions above and replace them with the notice and + * other provisions required by the GPL. If you do not delete the + * provisions above, a recipient may use your version of this file + * under either the MPL or the GPL. + * + * Initialy based on USB Skeleton driver - 0.7 + * + * Copyright (c) 2001 Greg Kroah-Hartman (greg@kroah.com) + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * NOTE: The original USB Skeleton driver is GPL, and my work is + * MPL/GPL which efectively means that all of it can just be used + * under the terms of the GPL. All contributions will fall on the + * MPL/GPL by default. Once all the GPL only code is gone it can all + * be release as MPL/GPL. + +The GPLv2 license is available on this system at: + /usr/share/common-licenses/GPL diff -ur -N cvs-0.0.7.orig/driver/debian/debian-series-build cvs-0.0.7/driver/debian/debian-series-build --- cvs-0.0.7.orig/driver/debian/debian-series-build 1970-01-01 01:00:00.000000000 +0100 +++ cvs-0.0.7/driver/debian/debian-series-build 2001-11-05 00:59:45.000000000 +0100 @@ -0,0 +1,13 @@ +#!/bin/sh +apt-get update +apt-get install `apt-cache search kernel-headers | grep 2\\.[24] | grep -v sparc | cut -d" " -f1` +for i in /usr/src/kernel-headers-2.* +do + echo '*****' + echo "building for $i" + echo "*****" + ./configure --with-force --with-kernel=/usr/src/linux + make clean + export CONF_OPTS="--with-force --with-kernel=$i" + make debian; +done diff -ur -N cvs-0.0.7.orig/driver/debian/dirs cvs-0.0.7/driver/debian/dirs --- cvs-0.0.7.orig/driver/debian/dirs 1970-01-01 01:00:00.000000000 +0100 +++ cvs-0.0.7/driver/debian/dirs 2003-04-21 12:26:01.000000000 +0200 @@ -0,0 +1 @@ +/etc/pcmcia diff -ur -N cvs-0.0.7.orig/driver/debian/modules cvs-0.0.7/driver/debian/modules --- cvs-0.0.7.orig/driver/debian/modules 1970-01-01 01:00:00.000000000 +0100 +++ cvs-0.0.7/driver/debian/modules 2003-04-21 13:12:03.000000000 +0200 @@ -0,0 +1,2 @@ +# Customize as you wish +#options orinoco_usb force_unsupported=1 diff -ur -N cvs-0.0.7.orig/driver/debian/rules cvs-0.0.7/driver/debian/rules --- cvs-0.0.7.orig/driver/debian/rules 1970-01-01 01:00:00.000000000 +0100 +++ cvs-0.0.7/driver/debian/rules 2003-04-21 12:27:51.000000000 +0200 @@ -0,0 +1,29 @@ +#!/usr/bin/make -f + +build: clean + make -f Makefile + touch build + +clean: + dh_testdir + dh_clean + rm -rf debian/tmp build + -$(MAKE) clean + +binary-indep: + +binary-arch: + dh_testdir + dh_testroot + dh_fixperms + dh_installdirs + make -f Makefile ROOT=`pwd`/debian/tmp install + dh_installdocs README.orinoco ../README + dh_installmodules + + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch