mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Readd old qemu version with kqemu support.
This commit is contained in:
1
config/rootfiles/packages/qemu-kqemu
Normal file
1
config/rootfiles/packages/qemu-kqemu
Normal file
@@ -0,0 +1 @@
|
|||||||
|
usr/bin/qemu-kqemu
|
||||||
@@ -67,6 +67,8 @@
|
|||||||
* clamav-0.95.3
|
* clamav-0.95.3
|
||||||
* cmake-2.4.8
|
* cmake-2.4.8
|
||||||
* collectd-4.9.1
|
* 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
|
* coreutils-5.96
|
||||||
* cpio-2.6
|
* cpio-2.6
|
||||||
* cpufrequtils-007
|
* cpufrequtils-007
|
||||||
@@ -270,6 +272,7 @@
|
|||||||
* pptp-1.7.2
|
* pptp-1.7.2
|
||||||
* procps-3.2.6
|
* procps-3.2.6
|
||||||
* psmisc-22.2
|
* psmisc-22.2
|
||||||
|
* qemu-0.11.0-kqemu
|
||||||
* qemu-0.12.2
|
* qemu-0.12.2
|
||||||
* readline-5.1
|
* readline-5.1
|
||||||
* reiser4progs-1.0.5
|
* reiser4progs-1.0.5
|
||||||
|
|||||||
85
lfs/qemu-kqemu
Normal file
85
lfs/qemu-kqemu
Normal file
@@ -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)
|
||||||
Reference in New Issue
Block a user