diff -urN /tmp/cvs-0.1.0/build_deb.sh cvs-0.1.0/build_deb.sh --- /tmp/cvs-0.1.0/build_deb.sh 1970-01-01 01:00:00.000000000 +0100 +++ cvs-0.1.0/build_deb.sh 2003-05-05 07:40:10.000000000 +0200 @@ -0,0 +1,18 @@ +#! /bin/sh -e + +VERSION=`basename $PWD | cut -b 5-` +KVERSION=`uname -r` + +# Building control files +sed -e "s/@KVERSION@/$KVERSION/g" debian/control.in > debian/control +sed -e "s/@KVERSION@/$KVERSION/g" debian/conffiles.in > debian/conffiles +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,conffiles,changelog} + exit 0 +fi + +dpkg-buildpackage -rfakeroot -us -uc -sd -b diff -urN /tmp/cvs-0.1.0/debian/README.Debian cvs-0.1.0/debian/README.Debian --- /tmp/cvs-0.1.0/debian/README.Debian 1970-01-01 01:00:00.000000000 +0100 +++ cvs-0.1.0/debian/README.Debian 2003-05-05 07:40:10.000000000 +0200 @@ -0,0 +1,14 @@ +This package contains the firmware-in-kernel version of the driver. +I will make a better version using fwfs soon. + +For more information, please see: + + Linux driver effort for Lucent/Agere Orinoco USB devices + http://ranty.ddts.net/~ranty/orinoco/ + +Please send bug reports at: + + mailto:orinoco-usb-devel@ranty.ddts.net + +-- +Hugo Haas diff -urN /tmp/cvs-0.1.0/debian/changelog.in cvs-0.1.0/debian/changelog.in --- /tmp/cvs-0.1.0/debian/changelog.in 1970-01-01 01:00:00.000000000 +0100 +++ cvs-0.1.0/debian/changelog.in 2003-05-05 07:40:10.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 -urN /tmp/cvs-0.1.0/debian/conffiles.in cvs-0.1.0/debian/conffiles.in --- /tmp/cvs-0.1.0/debian/conffiles.in 1970-01-01 01:00:00.000000000 +0100 +++ cvs-0.1.0/debian/conffiles.in 2003-05-05 07:40:10.000000000 +0200 @@ -0,0 +1,2 @@ +/etc/pcmcia/hermes.conf +/etc/modutils/orinoco-modules-@KVERSION@ diff -urN /tmp/cvs-0.1.0/debian/control.in cvs-0.1.0/debian/control.in --- /tmp/cvs-0.1.0/debian/control.in 1970-01-01 01:00:00.000000000 +0100 +++ cvs-0.1.0/debian/control.in 2003-05-05 07:40:10.000000000 +0200 @@ -0,0 +1,16 @@ +Source: orinoco-modules +Build-Depends: make, gcc, debhelper, fakeroot, curl +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 -urN /tmp/cvs-0.1.0/debian/copyright cvs-0.1.0/debian/copyright --- /tmp/cvs-0.1.0/debian/copyright 1970-01-01 01:00:00.000000000 +0100 +++ cvs-0.1.0/debian/copyright 2003-05-05 07:40:10.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 -urN /tmp/cvs-0.1.0/debian/dirs cvs-0.1.0/debian/dirs --- /tmp/cvs-0.1.0/debian/dirs 1970-01-01 01:00:00.000000000 +0100 +++ cvs-0.1.0/debian/dirs 2003-05-05 07:40:10.000000000 +0200 @@ -0,0 +1 @@ +/etc/pcmcia diff -urN /tmp/cvs-0.1.0/debian/modules cvs-0.1.0/debian/modules --- /tmp/cvs-0.1.0/debian/modules 1970-01-01 01:00:00.000000000 +0100 +++ cvs-0.1.0/debian/modules 2003-05-05 07:40:10.000000000 +0200 @@ -0,0 +1,2 @@ +# Customize as you wish +#options orinoco_usb force_unsupported=1 diff -urN /tmp/cvs-0.1.0/debian/rules cvs-0.1.0/debian/rules --- /tmp/cvs-0.1.0/debian/rules 1970-01-01 01:00:00.000000000 +0100 +++ cvs-0.1.0/debian/rules 2003-05-05 07:40:10.000000000 +0200 @@ -0,0 +1,29 @@ +#!/usr/bin/make -f + +build: clean + make inkernel-firmware + touch build + +clean: + dh_testdir + dh_clean + rm -rf debian/tmp build + -$(MAKE) clean + +binary-indep: + +binary-arch: build + dh_testdir + dh_testroot + dh_fixperms + dh_installdirs + make ROOT=`pwd`/debian/tmp install -C driver + dh_installdocs driver/README.orinoco README + dh_installmodules + + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch diff -urN /tmp/cvs-0.1.0/driver/Makefile cvs-0.1.0/driver/Makefile --- /tmp/cvs-0.1.0/driver/Makefile 2003-04-30 13:24:29.000000000 +0200 +++ cvs-0.1.0/driver/Makefile 2003-05-05 07:41:17.000000000 +0200 @@ -4,11 +4,11 @@ # Leave it blank if you have PCMCIA support in the kernel. PCMCIA_CS = -CONF_DIR = /etc/pcmcia +CONF_DIR = $(ROOT)/etc/pcmcia ORINOCODIR = $(shell pwd) KERNEL_VERSION = $(shell uname -r) -KERNEL_SRC = /lib/modules/$(KERNEL_VERSION)/build +KERNEL_SRC = $(ROOT)/lib/modules/$(KERNEL_VERSION)/build # if Rules.make exists in the kernel tree, we assume 2.4 style modules # if it doesn't assume 2.5 style @@ -124,7 +124,7 @@ install -m 644 -o 0 -g 0 $$f $(MODULE_DIR_WIRELESS)/$$f; \ fi; \ done - depmod -a +# depmod -a %.o: %.c $(CC) -MD $(CFLAGS) $(CPPFLAGS) $(MFLAG) -c $<