Bug#433527: add kqemu modules
Package: linux-modules-extra-2.6
Severity: wishlist
Tags: patch
Attached patch adds kqemu modules.
Note: kqemu-source needed fixes to get this building, check its BTS entry.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
diff -Nur -x debian linux-modules-extra-2.6-2.6.21.old/defines linux-modules-extra-2.6-2.6.21/defines
--- linux-modules-extra-2.6-2.6.21.old/defines 2007-07-04 20:22:43.000000000 +0200
+++ linux-modules-extra-2.6-2.6.21/defines 2007-07-17 19:03:32.000000000 +0200
@@ -1,5 +1,6 @@
[base]
modules:
gspca
+ kqemu
squashfs
unionfs
diff -Nur -x debian linux-modules-extra-2.6-2.6.21.old/kqemu/copyright linux-modules-extra-2.6-2.6.21/kqemu/copyright
--- linux-modules-extra-2.6-2.6.21.old/kqemu/copyright 1970-01-01 01:00:00.000000000 +0100
+++ linux-modules-extra-2.6-2.6.21/kqemu/copyright 2007-07-17 19:03:32.000000000 +0200
@@ -0,0 +1,99 @@
+This package was debianized by Daniel Baumann <daniel@debian.org> on
+Fri, 17 Nov 2006 08:29:00 +0100.
+
+It was downloaded from <http://www.qemu.org/>.
+
+Upstream Author: Fabrice Bellard <fabrice@bellard.org>
+
+License (everything except kqemu-win32.c, kqemu.h, kqemu.inf):
+
+ Copyright (C) 2004-2007 Fabrice Bellard <fabrice@bellard.org>
+
+ 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; version 2 of the License.
+
+ 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in /usr/share/common-licenses/GPL file.
+
+License (kqemu-win32.c):
+
+ Copyright (C) 2005 Filip Navara
+
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License (kqemu.h):
+
+ Copyright (C) 2004-2005 Fabrice Bellard <fabrice@bellard.org>
+
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License (kqemu.inf):
+
+ Copyright (C) 2005 Filip Navara
+ Copyright (C) 2005 Damien Mascord
+
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+The Debian packaging is (C) 2006-2007, Daniel Baumann <daniel@debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff -Nur -x debian linux-modules-extra-2.6-2.6.21.old/kqemu/defines linux-modules-extra-2.6-2.6.21/kqemu/defines
--- linux-modules-extra-2.6-2.6.21.old/kqemu/defines 1970-01-01 01:00:00.000000000 +0100
+++ linux-modules-extra-2.6-2.6.21/kqemu/defines 2007-07-17 19:03:32.000000000 +0200
@@ -0,0 +1,7 @@
+[base]
+arches:
+ amd64
+ i386
+not-subarches: xen xen-vserver
+desc: QEMU Accelerator
+
diff -Nur -x debian linux-modules-extra-2.6-2.6.21.old/kqemu/rules linux-modules-extra-2.6-2.6.21/kqemu/rules
--- linux-modules-extra-2.6-2.6.21.old/kqemu/rules 1970-01-01 01:00:00.000000000 +0100
+++ linux-modules-extra-2.6-2.6.21/kqemu/rules 2007-07-17 19:21:34.000000000 +0200
@@ -0,0 +1,8 @@
+
+$(BUILD_STAMP):
+ cd $(CURDIR)/$(DIR) && ./configure
+ $(MAKE) -C $(HEADERS_DIR) M=$(CURDIR)/$(DIR) $(JOBS_ARG)
+ touch $@
+
+install:
+ $(MAKE) -C $(HEADERS_DIR) M=$(CURDIR)/$(DIR) modules_install INSTALL_MOD_PATH=$(PACKAGE_DIR) INSTALL_MOD_DIR=extra/$(MODULE)
Reply to: