]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Readd old qemu version with kqemu support.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 21 Feb 2010 18:24:07 +0000 (19:24 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 29 Mar 2010 22:40:50 +0000 (00:40 +0200)
config/rootfiles/packages/qemu-kqemu [new file with mode: 0644]
doc/packages-list.txt
lfs/qemu-kqemu [new file with mode: 0644]
make.sh

diff --git a/config/rootfiles/packages/qemu-kqemu b/config/rootfiles/packages/qemu-kqemu
new file mode 100644 (file)
index 0000000..f70d328
--- /dev/null
@@ -0,0 +1 @@
+usr/bin/qemu-kqemu
index 3d8ff078f0fbe7d6ddbeb239e5cb4f5031493bb5..af5e184ba327ca8c76fe7f417f4458e650ce4c9a 100644 (file)
@@ -67,6 +67,8 @@
 * clamav-0.95.3
 * cmake-2.4.8
 * collectd-4.9.1
+* compat-wireless-2.6.32.2-kmod-2.6.27.42-ipfire
+* compat-wireless-2.6.32.2-kmod-2.6.27.42-ipfire-xen
 * coreutils-5.96
 * cpio-2.6
 * cpufrequtils-007
 * pptp-1.7.2
 * procps-3.2.6
 * psmisc-22.2
+* qemu-0.11.0-kqemu
 * qemu-0.12.2
 * readline-5.1
 * reiser4progs-1.0.5
diff --git a/lfs/qemu-kqemu b/lfs/qemu-kqemu
new file mode 100644 (file)
index 0000000..99b3fe1
--- /dev/null
@@ -0,0 +1,85 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2009  Michael Tremer & Christian Schmidt                      #
+#                                                                             #
+# 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 3 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, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER        = 0.11.0
+
+THISAPP    = qemu-$(VER)
+DL_FILE    = $(THISAPP).tar.gz
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)-kqemu
+PROG       = qemu-kqemu
+PAK_VER    = 1
+
+DEPS       = "sdl qemu"
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = 4da6a3e926a0260902f0dee342a59c23
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+dist: 
+       @$(PAK)
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+       @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+       @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+       @$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+       @$(PREBUILD)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && ./configure --prefix=/usr \
+               --target-list="i386-softmmu"
+       cd $(DIR_APP) && make $(MAKETUNING)
+       cd $(DIR_APP) && cp i386-softmmu/qemu /usr/bin/qemu-kqemu
+       @rm -rf $(DIR_APP)
+       @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 14c1b2c8a1122f292d67afa607fbafaa22b7ab93..ebe3b046e74b69d257829c9b6eb6b143feb32b68 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -563,6 +563,7 @@ buildipfire() {
   ipfiremake fbset
   ipfiremake sdl
   ipfiremake qemu
+  ipfiremake qemu-kqemu
   ipfiremake sane
   ipfiremake netpbm
   ipfiremake phpSANE