From: Luca Barbato Date: Sat, 10 Feb 2007 09:14:18 +0000 (+0000) Subject: New version X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c2a9f29d1ea766f2eae955b0647db3c759facdd6;p=gentoo.git New version Package-Manager: portage-2.1.2-r8 --- diff --git a/app-emulation/qemu-user/ChangeLog b/app-emulation/qemu-user/ChangeLog index 7f38a45f71fc..8660380ed6fe 100644 --- a/app-emulation/qemu-user/ChangeLog +++ b/app-emulation/qemu-user/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/qemu-user # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-user/ChangeLog,v 1.23 2007/02/06 14:48:39 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-user/ChangeLog,v 1.24 2007/02/10 09:14:18 lu_zero Exp $ + +*qemu-user-0.9.0 (10 Feb 2007) + + 10 Feb 2007; Luca Barbato +qemu-user-0.9.0.ebuild: + New version 06 Feb 2007; Simon Stelling qemu-user-0.8.2.ebuild: stable on amd64; bug 159522 diff --git a/app-emulation/qemu-user/Manifest b/app-emulation/qemu-user/Manifest index 469b2fea0827..2c4e6a45af83 100644 --- a/app-emulation/qemu-user/Manifest +++ b/app-emulation/qemu-user/Manifest @@ -22,6 +22,7 @@ DIST qemu-0.8.0.20060329.tar.bz2 1325034 RMD160 a6ec15e1b08dd6e2dd88d953bfa31e3d DIST qemu-0.8.0.tar.gz 1497965 RMD160 3fc6da938f75364d0805ca0ecf8cb84a4b546dc7 SHA1 f7bcf2f0eee9e5207cba265f3c47ae781244628e SHA256 de388539ce86971a2cbe8474fca8b6160898c95772e3e6e08a7794d48db32a61 DIST qemu-0.8.1.tar.gz 1623264 RMD160 04d163d4792bbea39fc0b1e52af124cdb7e907dc SHA1 72c943c24bed6aa066dcc3012b198c20f04aef30 SHA256 a1f83666f5c05eaee9bfc608a3a5034ad95d0fd3c99937bb399bf9235a6aa0c9 DIST qemu-0.8.2.tar.gz 1810909 RMD160 715c24997330352aa675cd7279731cec251f833a SHA1 d775239a545e7d0c5b677660a2122df590afde6d SHA256 2a20d811296c859d678bdd002222aa7ca7951a641327234f3af144e822d078f3 +DIST qemu-0.9.0.tar.gz 1901741 RMD160 4296542b6da18a6ac93d20787330d3c1c2ac0a19 SHA1 1e57e48a06eb8729913d92601000466eecef06cb SHA256 491facf9335654967ee53d8fb3540a274bfcbdcc225506bd38c4ee8e9ab405c1 EBUILD qemu-user-0.8.0.20060329.ebuild 2225 RMD160 8978da946624a0f4c4d93c330910216b7b6013f3 SHA1 08c12f50d9c6d7e0f18b93de0cc184e568442b2a SHA256 7444e0d0a4844989da716d8ca4032d6ee2b6aa40ffe3c49570f48480f262fd8e MD5 516b794b26c700c37b5659593410630e qemu-user-0.8.0.20060329.ebuild 2225 RMD160 8978da946624a0f4c4d93c330910216b7b6013f3 qemu-user-0.8.0.20060329.ebuild 2225 @@ -38,10 +39,14 @@ EBUILD qemu-user-0.8.2.ebuild 2369 RMD160 69125c7a54965e435c1f46a284278b832f67d7 MD5 2212c5014f98626c78f101c68d3a5a0b qemu-user-0.8.2.ebuild 2369 RMD160 69125c7a54965e435c1f46a284278b832f67d702 qemu-user-0.8.2.ebuild 2369 SHA256 beaf24efcf5230535c3d31536496a3903da9b97ec04b74bcf86e072b31dd2f3b qemu-user-0.8.2.ebuild 2369 -MISC ChangeLog 3435 RMD160 f00aa759fd09250db61dc972b4a0f6b9dd9527dd SHA1 621a3bf78e87ecc4a6c7e2193081da2e8ba90a7f SHA256 d765eacd785022032da2ea0f4cf29545eb22a0ecf65ef882701ee5548ac12200 -MD5 fe817bb6f0fc72216891b94916121df6 ChangeLog 3435 -RMD160 f00aa759fd09250db61dc972b4a0f6b9dd9527dd ChangeLog 3435 -SHA256 d765eacd785022032da2ea0f4cf29545eb22a0ecf65ef882701ee5548ac12200 ChangeLog 3435 +EBUILD qemu-user-0.9.0.ebuild 2312 RMD160 235808404fd2f03256b09f06c71ac37c79df6b1b SHA1 beacf96fd27c1234a24d736d87200fd143a76aec SHA256 21ef8543a708ac1290154c1046fe7218a72c1934d0b4aaf1992b3835b07c6af7 +MD5 dbeca60502b2d1d6e541e4a6fb553cd3 qemu-user-0.9.0.ebuild 2312 +RMD160 235808404fd2f03256b09f06c71ac37c79df6b1b qemu-user-0.9.0.ebuild 2312 +SHA256 21ef8543a708ac1290154c1046fe7218a72c1934d0b4aaf1992b3835b07c6af7 qemu-user-0.9.0.ebuild 2312 +MISC ChangeLog 3558 RMD160 946947ae4f4abe52ee77a3e7c95606a9a87fe35e SHA1 125e3e9dfc43d6c3f3caec65e8a21cc6b2ef5aac SHA256 9b14a7cb4e42adeaf4f3e2938378a4e8555a2796dfcd3433547b0cdd60a8f9f2 +MD5 9377f2063d6924a2b393b863567ab801 ChangeLog 3558 +RMD160 946947ae4f4abe52ee77a3e7c95606a9a87fe35e ChangeLog 3558 +SHA256 9b14a7cb4e42adeaf4f3e2938378a4e8555a2796dfcd3433547b0cdd60a8f9f2 ChangeLog 3558 MISC metadata.xml 223 RMD160 f054e67dff10c87ea1d0b5753124445be6bd4610 SHA1 fcf66d2b271369d296150dde06603d850623ed27 SHA256 64a96c3c9929aec46b50a63ae1fd8c46cef4a8423f448d6f6fff09e20510c98b MD5 898131aae735c3477ff2f9c6882f1178 metadata.xml 223 RMD160 f054e67dff10c87ea1d0b5753124445be6bd4610 metadata.xml 223 @@ -58,3 +63,6 @@ SHA256 29649538533fbbecced06b157fad1615c08308ae7ce3dbf1cd4fce8cb5b5d8c2 files/di MD5 e9b66fd821b0760086e3574d3a90398c files/digest-qemu-user-0.8.2 235 RMD160 1690afc2131b50cf62fe141bf5b621687fb107e3 files/digest-qemu-user-0.8.2 235 SHA256 f29c0addbe47b46f7c4ab7d2cb4965bac24abdaa456bc0815d5d07a407f7450b files/digest-qemu-user-0.8.2 235 +MD5 12025e3368dd7e9e6733b070be908e8e files/digest-qemu-user-0.9.0 235 +RMD160 eed187813ce9061522dda5880b31158450d6a8a6 files/digest-qemu-user-0.9.0 235 +SHA256 a4e31d23c1853b51c7fef0c61c6721243b5c949069578679b6b35d0d88fe90c5 files/digest-qemu-user-0.9.0 235 diff --git a/app-emulation/qemu-user/files/digest-qemu-user-0.9.0 b/app-emulation/qemu-user/files/digest-qemu-user-0.9.0 new file mode 100644 index 000000000000..2079a38f6c73 --- /dev/null +++ b/app-emulation/qemu-user/files/digest-qemu-user-0.9.0 @@ -0,0 +1,3 @@ +MD5 ab11a03ba30cf4a70641f0f170473d69 qemu-0.9.0.tar.gz 1901741 +RMD160 4296542b6da18a6ac93d20787330d3c1c2ac0a19 qemu-0.9.0.tar.gz 1901741 +SHA256 491facf9335654967ee53d8fb3540a274bfcbdcc225506bd38c4ee8e9ab405c1 qemu-0.9.0.tar.gz 1901741 diff --git a/app-emulation/qemu-user/qemu-user-0.9.0.ebuild b/app-emulation/qemu-user/qemu-user-0.9.0.ebuild new file mode 100644 index 000000000000..abdd1a7b7be4 --- /dev/null +++ b/app-emulation/qemu-user/qemu-user-0.9.0.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-user/qemu-user-0.9.0.ebuild,v 1.1 2007/02/10 09:14:18 lu_zero Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="Multi-platform & multi-targets cpu emulator and dynamic translator" +HOMEPAGE="http://fabrice.bellard.free.fr/qemu/" +SRC_URI="http://fabrice.bellard.free.fr/qemu/${P/-user/}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="-alpha ~amd64 ~ppc -sparc ~x86" +IUSE="" #qvm86 debug nptl qemu-fast nptlonly" +RESTRICT="nostrip test" + +DEPEND="virtual/libc + app-text/texi2html + !<=app-emulation/qemu-0.7.0" +RDEPEND="" + +S="${WORKDIR}/${P/-user/}" + +QA_TEXTRELS="usr/bin/qemu-armeb + usr/bin/qemu-i386 + usr/bin/qemu-mips + usr/bin/qemu-arm + usr/bin/qemu-ppc" + +#set_target_list() { +# TARGET_LIST="i386-user ppc-user mips-user" +# arm broken +# TARGET_LIST="arm-user armeb-user i386-user ppc-user mips-user" +# export TARGET_LIST +#} + +#pkg_setup() { +# if [ "$(gcc-major-version)" == "4" ]; then +# die "Qemu must build with GCC 3" +# fi +#} + +#RUNTIME_PATH="/emul/gnemul/" +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/qemu-0.7.0-ppc-linker.patch + + # Alter target makefiles to accept CFLAGS set via flag-o. + sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \ + Makefile Makefile.target tests/Makefile + # 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="--disable-gcc-check" +# set_target_list +# --interp-prefix=${RUNTIME_PATH}/qemu-%M + ./configure \ + --prefix=/usr \ + --enable-slirp \ + --kernel-path=${KV_DIR} \ + --enable-linux-user \ + --disable-system \ + ${myconf} \ + || die "could not configure" + + emake || die "make failed" +} + +src_install() { + make install \ + prefix=${D}/usr \ + bindir=${D}/usr/bin \ + datadir=${D}/usr/share/qemu \ + docdir=${D}/usr/share/doc/${P} \ + mandir=${D}/usr/share/man || die + + rm -fR ${D}/usr/share/{man,qemu} + rm -fR ${D}/usr/bin/qemu-img +}