From af6f806ba175fa58e3db2b27010cb9ba121fc34c Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sun, 21 Feb 2010 19:24:07 +0100 Subject: [PATCH 1/1] Readd old qemu version with kqemu support. --- config/rootfiles/packages/qemu-kqemu | 1 + doc/packages-list.txt | 3 + lfs/qemu-kqemu | 85 ++++++++++++++++++++++++++++ make.sh | 1 + 4 files changed, 90 insertions(+) create mode 100644 config/rootfiles/packages/qemu-kqemu create mode 100644 lfs/qemu-kqemu diff --git a/config/rootfiles/packages/qemu-kqemu b/config/rootfiles/packages/qemu-kqemu new file mode 100644 index 0000000000..f70d3289f8 --- /dev/null +++ b/config/rootfiles/packages/qemu-kqemu @@ -0,0 +1 @@ +usr/bin/qemu-kqemu diff --git a/doc/packages-list.txt b/doc/packages-list.txt index 3d8ff078f0..af5e184ba3 100644 --- a/doc/packages-list.txt +++ b/doc/packages-list.txt @@ -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 @@ -270,6 +272,7 @@ * 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 index 0000000000..99b3fe173c --- /dev/null +++ b/lfs/qemu-kqemu @@ -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 . # +# # +############################################################################### + +############################################################################### +# 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 14c1b2c8a1..ebe3b046e7 100755 --- 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 -- 2.39.2