Portage is a package management system used by Gentoo Linux
# ChangeLog for app-emulation/kqemu
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/kqemu/ChangeLog,v 1.22 2008/03/24 05:06:43 lu_zero Exp $
24 Mar 2008; Luca Barbato
Dynamic device '/dev/kqemu' creation is now the default. modules conf isn't
necessary anymore
27 Jul 2007; Luca Barbato
+files/kqemu-1.3.0_pre11-sched_h.patch, kqemu-1.3.0_pre11.ebuild:
fix bug #185170, using the same patch as reported in DebianBug#434031,
thanks to Dominik Paulus
02 Jul 2007; Piotr Jaroszyński
kqemu-1.3.0_pre5.ebuild, kqemu-1.3.0_pre7.ebuild, kqemu-1.3.0_pre9.ebuild,
kqemu-1.3.0_pre11.ebuild:
(QA) RESTRICT clean up.
20 May 2007; Christian Faulhammer
kqemu-1.3.0_pre11.ebuild:
stable amd64, security bug 176674
08 May 2007; Markus Ullmann
Stable on x86 as dependency wrt security bug #176674
21 Feb 2007; Piotr Jaroszyński
Transition to Manifest2.
*kqemu-1.3.0_pre11 (07 Feb 2007)
07 Feb 2007; Luca Barbato
New version, eventually gpl
06 Feb 2007; Simon Stelling
stable on amd64; bug 159522
02 Jan 2007; Christian Faulhammer
kqemu-1.3.0_pre9.ebuild:
stable x86, bug #159522
*kqemu-1.3.0_pre9 (16 Aug 2006)
16 Aug 2006; Luca Barbato
New version
07 Jul 2006; Luca Barbato
fix kqemu udev rule, thanks to Michael Croes
pointed it on bug #139493
08 May 2006; Stefan Schweizer
kqemu-1.3.0_pre7.ebuild:
gcc 4.1 fixes thanks to Nicolas Boichat
07 May 2006; Luca Barbato
New version
27 Apr 2006; Marien Zwart
files/digest-kqemu-1.3.0_pre5, Manifest:
Fixing SHA256 digest for real, pass three...
27 Apr 2006; Marien Zwart
files/digest-kqemu-1.3.0_pre5, Manifest:
Fixing SHA256 digest, pass two.
19 Apr 2006; Luca Barbato
kqemu-1.3.0_pre5.ebuild:
Fix for enewgroup call in src_install, thanks to Erik Zeek
02 Apr 2006; Luca Barbato
+files/kqemu-1.3.0_pre5-fix_module_parm.patch, kqemu-1.3.0_pre5.ebuild:
fix for upcoming kernels, from Joshua Baergen
*kqemu-1.3.0_pre5 (29 Mar 2006)
29 Mar 2006; Luca Barbato
New kqemu, thanks to Sven
29 Mar 2006; Chris White
x86 stable for kqemu-0.7.2 bug #123972.
30 Dec 2005; Luca Barbato
Fix keywords
26 Dec 2005; Simon Stelling
stable on amd64
*kqemu-0.7.2 (23 Dec 2005)
23 Dec 2005; Luca Barbato
Separate ebuild, thanks to Alexey Maximov
AUX kqemu-1.3.0_pre11-sched_h.patch 329 RMD160 2199965106d45c2f7b9a39b9274c051f72d418e1 SHA1 4150f3ae845612a78de27d74b8f66cd0943268e7 SHA256 e40434e2bcd8be18dfa29fc4a8a59c29c5c3287d2d93000eb05e75c0d962ab2e
AUX kqemu-1.3.0_pre5-fix_module_parm.patch 686 RMD160 974dd24dfb1405043bc20ab218d42443e6a6cf3c SHA1 d05ed564696bdf0db9c587ee8364fd8033e9b750 SHA256 47166817cfcfa7dbf3293703f25b39ad6da9fb403754b929e949278f42529915
DIST kqemu-0.7.2.tar.gz 79314 RMD160 cdb154d51eb616d6ad9924da0175276a655edba7 SHA1 39dda2566a9c47bfc5e76c76cf9aa41500d708f3 SHA256 4158b2c67603f5256a78d0065d715bde068a457aa58bbfef12dda20fe7f7ad8b
DIST kqemu-1.3.0pre11.tar.gz 161478 RMD160 3d42d2e6f3ae94362c5a29c462f7fb839687a563 SHA1 780d48b99715e6b2671864ad5050f1c9506fcb71 SHA256 541aef5797e5c6c6a76e354c17c6513ca21fe3372ec79493a32f7e51ba785b0f
DIST kqemu-1.3.0pre5.tar.gz 189395 RMD160 cc54ac38791f543feb91285292ecf7ca333d9918 SHA1 2f607c7b1909b751e74b1ad3196f41127ebc43f7 SHA256 2f2983393a4e007741685ef4e889fc91fe7619a038fc43998d414e441f5813a7
DIST kqemu-1.3.0pre7.tar.gz 189920 RMD160 9f8e5dd7e1a901d939fc5e8b3be1a10e396f9ab3 SHA1 8d853bac016a1c78d7da22dea4b9a1619a1dadf3 SHA256 cf29505b3d07d5e31080aa677a4254f5770f273e9bd05ef2df956b87d248cead
DIST kqemu-1.3.0pre9.tar.gz 190070 RMD160 14828ad2c7e2635f85079d7b1f2c3bd4fd7769eb SHA1 3e1509a4a49154355860c6133d9f7c5b239290a7 SHA256 c2759d43bc8bee458b802479b47796b21593ee617f5c4d14cb1bf842d4f4efdc
DIST qemu-0.7.2.tar.gz 1341993 RMD160 1d2dcc8f43ff4b4b9aa045c64e38c9a10140b13e SHA1 4daeccb57448eacc444152f30b5d84dfcca89dfe SHA256 a4982e991ebca255d53f0738d203afb9355d9d16aa1a89835a080fa5d6ba4766
EBUILD kqemu-0.7.2.ebuild 2628 RMD160 d9fa0e8b83d92eedcf879714b21f70376bf46dbf SHA1 6e5a39e2c2d71078c3d94c1a8c3e21ce6dd2a411 SHA256 c20127d0063ef1bf1585c9f58f57ec1b85f443799525a884cbf844ec08632c06
EBUILD kqemu-1.3.0_pre11.ebuild 1771 RMD160 bf21b7d2fcfdbf638276a97b2325ee89d6918bc8 SHA1 7b851aa2a0dc07d4ed38a1a716f4b7b75b35dd71 SHA256 1bc39dce4ba371c7f88f39231838f2c3522655b9b5e9336d203e879de518f6de
EBUILD kqemu-1.3.0_pre5.ebuild 1749 RMD160 d057f5b53d79b223ecb8f08ab26ce4daf9724974 SHA1 f844b26e1dde62e5bd60e2de51e50c4ac4cf2d0d SHA256 21817506c76bd0148cf1b7382c190803d9b7b2be7759272027161835ea02be14
EBUILD kqemu-1.3.0_pre7.ebuild 1782 RMD160 1df2e6992fbaa898ab84270ffecef2cafb14fb9c SHA1 359903d2db64b2475188bdbf3ffe7de0a9bacc4f SHA256 ea40e108c536b508f625c9931deea33f2159fe52690bf9f442d36757304bfe51
EBUILD kqemu-1.3.0_pre9.ebuild 2034 RMD160 148accd1e8bf8f7ab040e6e97bdfa95091b9f300 SHA1 2605cb6444e8f4b10faf1cde4843e2b8555728ac SHA256 a9c0feed8020d4753d32fbe1d8140468439e273ec3c01bf20f23598a6bc9fb77
MISC ChangeLog 3419 RMD160 3c2bb4d069078c121596a17b8388680b3c15014b SHA1 5eb6854ea0c06e63f402c8b6ad3c6fd95de876ec SHA256 dd4ee061c4f72ea2917d681665bec1711b2605cef5998855bd17c01bb5e2c40c
MISC metadata.xml 223 RMD160 f054e67dff10c87ea1d0b5753124445be6bd4610 SHA1 fcf66d2b271369d296150dde06603d850623ed27 SHA256 64a96c3c9929aec46b50a63ae1fd8c46cef4a8423f448d6f6fff09e20510c98b
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/kqemu/kqemu-0.7.2.ebuild,v 1.7 2007/07/02 13:59:28 peper Exp $
inherit eutils flag-o-matic linux-mod toolchain-funcs
DESCRIPTION="Multi-platform & multi-targets cpu emulator and dynamic translator kernel fast execution module"
HOMEPAGE="http://fabrice.bellard.free.fr/qemu/"
SRC_URI="http://fabrice.bellard.free.fr/qemu/qemu-${PV}.tar.gz
http://fabrice.bellard.free.fr/qemu/${P}.tar.gz"
LICENSE="GPL-2 LGPL-2.1 KQEMU"
SLOT="0"
KEYWORDS="-* amd64 x86"
RESTRICT="strip"
IUSE="sdl"
S="${WORKDIR}/qemu-${PV}"
DEPEND="virtual/libc
>=app-emulation/qemu-softmmu-0.8.0"
pkg_setup() {
MODULE_NAMES="kqemu(misc:${S}/kqemu)"
linux-mod_pkg_setup
einfo "kqemu is binary module with a restricted license."
einfo "Please read carefully the KQEMU license"
einfo "and ${HOMEPAGE}qemu-accel.html"
einfo "if you would like to see it released under the GPL"
}
src_unpack() {
unpack ${A}
mv ${WORKDIR}/kqemu ${S}
cd ${S}/kqemu
sed -i 's:MODULE_PARM(\([^,]*\),"i");:module_param(\1, int, 0);:' kqemu-linux.c
sed -i -e 's:#ifndef PAGE_KERNEL_EXEC:#if 1:' ${S}/kqemu/kqemu-linux.c
# The class_simple interfaces were removed in 2.6.13-rc1, leaving only
# GPL symbols behind, which this module can't use. Until there's a fix
# from Fabrice, kqemu+udev no worky.
cd ${S}
# Ensure mprotect restrictions are relaxed for emulator binaries
[[ -x /sbin/paxctl ]] && \
sed -i 's/^VL_LDFLAGS=$/VL_LDFLAGS=-Wl,-z,execheap/' \
Makefile.target
# Prevent install of kernel module by qemu's makefile
sed -i 's/\(.\/install.sh\)/#\1/' Makefile
}
src_compile() {
#Let the application set its cflags
unset CFLAGS
# Switch off hardened tech
filter-flags -fpie -fstack-protector
myconf=""
if ! use sdl ; then
myconf="$myconf --disable-gfx-check"
fi
./configure \
--prefix=/usr \
--target-list="${TARGET_LIST}" \
--enable-slirp \
--kernel-path=${KV_DIR} \
--enable-kqemu \
${myconf} \
|| die "could not configure"
emake -C kqemu || die "make failed"
}
src_install() {
linux-mod_src_install
# udev rule
dodir /etc/udev/rules.d/
echo 'KERNEL="kqemu*", NAME="%k", GROUP="qemu", MODE="0660"' > ${D}/etc/udev/rules.d/48-qemu.rules
# Module doc
dodoc ${S}/kqemu/README
# module params
dodir /etc/modules.d
echo "options kqemu major=0" > ${D}/etc/modules.d/kqemu
}
pkg_postinst() {
linux-mod_pkg_postinst
enewgroup qemu
einfo "Make sure you have the kernel module loaded before running qemu"
einfo "and your user is in the qemu group"
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/kqemu/kqemu-1.3.0_pre11.ebuild,v 1.6 2008/03/24 05:06:43 lu_zero Exp $
inherit eutils flag-o-matic linux-mod toolchain-funcs
MY_PV=${PV/_/}
MY_P=${PN}-${MY_PV}
DESCRIPTION="Multi-platform & multi-targets cpu emulator and dynamic translator kernel fast execution module"
HOMEPAGE="http://fabrice.bellard.free.fr/qemu/"
SRC_URI="http://fabrice.bellard.free.fr/qemu/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* amd64 x86"
RESTRICT="strip"
IUSE=""
S="${WORKDIR}/$MY_P"
DEPEND=""
pkg_setup() {
MODULE_NAMES="kqemu(misc:${S})"
linux-mod_pkg_setup
}
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-sched_h.patch
sed -i 's:MODULE_PARM(\([^,]*\),"i");:module_param(\1, int, 0);:' kqemu-linux.c
}
src_compile() {
#Let the application set its cflags
unset CFLAGS
# Switch off hardened tech
filter-flags -fpie -fstack-protector
./configure --kernel-path="${KV_DIR}" \
|| die "could not configure"
make
}
src_install() {
linux-mod_src_install
# udev rule
dodir /etc/udev/rules.d/
echo 'KERNEL=="kqemu*", NAME="%k", GROUP="qemu", MODE="0660"' > ${D}/etc/udev/rules.d/48-qemu.rules
# Module doc
dodoc ${S}/README
dohtml ${S}/kqemu-doc.html
}
pkg_postinst() {
linux-mod_pkg_postinst
enewgroup qemu
elog "Make sure you have the kernel module loaded before running qemu"
elog "and your user is in the 'qemu' group"
case ${CHOST} in
*-darwin*) elog "Just run 'niutil -appendprop / /groups/qemu users
*-freebsd*|*-dragonfly*) elog "Just run 'pw groupmod qemu -m
*) elog "Just run 'gpasswd -a
esac
}
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/kqemu/kqemu-1.3.0_pre5.ebuild,v 1.4 2007/07/02 13:59:29 peper Exp $
inherit eutils flag-o-matic linux-mod toolchain-funcs
MY_PV=${PV/_/}
MY_P=${PN}-${MY_PV}
DESCRIPTION="Multi-platform & multi-targets cpu emulator and dynamic translator kernel fast execution module"
HOMEPAGE="http://fabrice.bellard.free.fr/qemu/"
SRC_URI="http://fabrice.bellard.free.fr/qemu/${MY_P}.tar.gz"
LICENSE="KQEMU"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
RESTRICT="strip"
IUSE=""
S="${WORKDIR}/$MY_P"
DEPEND=""
pkg_setup() {
MODULE_NAMES="kqemu(misc:${S})"
linux-mod_pkg_setup
einfo "kqemu is binary module with a restricted license."
einfo "Please read carefully the KQEMU license"
einfo "and ${HOMEPAGE}qemu-accel.html"
einfo "if you would like to see it released under the GPL"
}
src_unpack() {
unpack ${A}
cd ${S}
epatch "${FILESDIR}/${P}-fix_module_parm.patch"
}
src_compile() {
#Let the application set its cflags
unset CFLAGS
# Switch off hardened tech
filter-flags -fpie -fstack-protector
./configure --kernel-path="${KV_DIR}" \
|| die "could not configure"
make
}
src_install() {
linux-mod_src_install
# udev rule
dodir /etc/udev/rules.d/
echo 'KERNEL="kqemu*", NAME="%k", GROUP="qemu", MODE="0660"' > ${D}/etc/udev/rules.d/48-qemu.rules
# Module doc
dodoc ${S}/README
dohtml ${S}/kqemu-doc.html
# module params
dodir /etc/modules.d
echo "options kqemu major=0" > ${D}/etc/modules.d/kqemu
}
pkg_postinst() {
linux-mod_pkg_postinst
enewgroup qemu
einfo "Make sure you have the kernel module loaded before running qemu"
einfo "and your user is in the qemu group"
}
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/kqemu/kqemu-1.3.0_pre7.ebuild,v 1.4 2007/07/02 13:59:29 peper Exp $
inherit eutils flag-o-matic linux-mod toolchain-funcs
MY_PV=${PV/_/}
MY_P=${PN}-${MY_PV}
DESCRIPTION="Multi-platform & multi-targets cpu emulator and dynamic translator kernel fast execution module"
HOMEPAGE="http://fabrice.bellard.free.fr/qemu/"
SRC_URI="http://fabrice.bellard.free.fr/qemu/${MY_P}.tar.gz"
LICENSE="KQEMU"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
RESTRICT="strip"
IUSE=""
S="${WORKDIR}/$MY_P"
DEPEND=""
pkg_setup() {
MODULE_NAMES="kqemu(misc:${S})"
linux-mod_pkg_setup
einfo "kqemu is binary module with a restricted license."
einfo "Please read carefully the KQEMU license"
einfo "and ${HOMEPAGE}qemu-accel.html"
einfo "if you would like to see it released under the GPL"
}
src_unpack() {
unpack ${A}
cd ${S}
sed -i 's:MODULE_PARM(\([^,]*\),"i");:module_param(\1, int, 0);:' kqemu-linux.c
}
src_compile() {
#Let the application set its cflags
unset CFLAGS
# Switch off hardened tech
filter-flags -fpie -fstack-protector
./configure --kernel-path="${KV_DIR}" \
|| die "could not configure"
make
}
src_install() {
linux-mod_src_install
# udev rule
dodir /etc/udev/rules.d/
echo 'KERNEL=="kqemu*", NAME="%k", GROUP="qemu", MODE="0660"' > ${D}/etc/udev/rules.d/48-qemu.rules
# Module doc
dodoc ${S}/README
dohtml ${S}/kqemu-doc.html
# module params
dodir /etc/modules.d
echo "options kqemu major=0" > ${D}/etc/modules.d/kqemu
}
pkg_postinst() {
linux-mod_pkg_postinst
enewgroup qemu
einfo "Make sure you have the kernel module loaded before running qemu"
einfo "and your user is in the qemu group"
}
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/kqemu/kqemu-1.3.0_pre9.ebuild,v 1.4 2007/07/02 13:59:28 peper Exp $
inherit eutils flag-o-matic linux-mod toolchain-funcs
MY_PV=${PV/_/}
MY_P=${PN}-${MY_PV}
DESCRIPTION="Multi-platform & multi-targets cpu emulator and dynamic translator kernel fast execution module"
HOMEPAGE="http://fabrice.bellard.free.fr/qemu/"
SRC_URI="http://fabrice.bellard.free.fr/qemu/${MY_P}.tar.gz"
LICENSE="KQEMU"
SLOT="0"
KEYWORDS="-* amd64 x86"
RESTRICT="strip"
IUSE=""
S="${WORKDIR}/$MY_P"
DEPEND=""
pkg_setup() {
MODULE_NAMES="kqemu(misc:${S})"
linux-mod_pkg_setup
einfo "kqemu is binary module with a restricted license."
einfo "Please read carefully the KQEMU license"
einfo "and ${HOMEPAGE}qemu-accel.html"
einfo "if you would like to see it released under the GPL"
}
src_unpack() {
unpack ${A}
cd ${S}
sed -i 's:MODULE_PARM(\([^,]*\),"i");:module_param(\1, int, 0);:' kqemu-linux.c
}
src_compile() {
#Let the application set its cflags
unset CFLAGS
# Switch off hardened tech
filter-flags -fpie -fstack-protector
./configure --kernel-path="${KV_DIR}" \
|| die "could not configure"
make
}
src_install() {
linux-mod_src_install
# udev rule
dodir /etc/udev/rules.d/
echo 'KERNEL=="kqemu*", NAME="%k", GROUP="qemu", MODE="0660"' > ${D}/etc/udev/rules.d/48-qemu.rules
# Module doc
dodoc ${S}/README
dohtml ${S}/kqemu-doc.html
# module params
dodir /etc/modules.d
echo "options kqemu major=0" > ${D}/etc/modules.d/kqemu
}
pkg_postinst() {
linux-mod_pkg_postinst
enewgroup qemu
elog "Make sure you have the kernel module loaded before running qemu"
elog "and your user is in the 'qemu' group"
case ${CHOST} in
*-darwin*) elog "Just run 'niutil -appendprop / /groups/qemu users
*-freebsd*|*-dragonfly*) elog "Just run 'pw groupmod qemu -m
*) elog "Just run 'gpasswd -a
esac
}