summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2009-03-07 14:31:12 +0000
committerLuca Barbato <lu_zero@gentoo.org>2009-03-07 14:31:12 +0000
commit3f8a864271498a3446577922602d60dab25b2a96 (patch)
treef07eaf4cc9257e544d5273ada2268f0ad4fb75df /app-emulation
parentamd64 stable, bug #261108 (diff)
downloadhistorical-3f8a864271498a3446577922602d60dab25b2a96.tar.gz
historical-3f8a864271498a3446577922602d60dab25b2a96.tar.bz2
historical-3f8a864271498a3446577922602d60dab25b2a96.zip
New version
Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/qemu-user/ChangeLog9
-rw-r--r--app-emulation/qemu-user/Manifest14
-rw-r--r--app-emulation/qemu-user/qemu-user-0.10.0.ebuild90
3 files changed, 100 insertions, 13 deletions
diff --git a/app-emulation/qemu-user/ChangeLog b/app-emulation/qemu-user/ChangeLog
index 7c128188cad7..b78ce8970ba9 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-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-user/ChangeLog,v 1.32 2008/02/01 20:24:13 lu_zero Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-user/ChangeLog,v 1.33 2009/03/07 14:31:12 lu_zero Exp $
+
+*qemu-user-0.10.0 (07 Mar 2009)
+
+ 07 Mar 2009; Luca Barbato <lu_zero@gentoo.org> +qemu-user-0.10.0.ebuild:
+ New version
01 Feb 2008; Luca Barbato <lu_zero@gentoo.org>
-files/qemu-user-0.7.0-errno.patch, -files/qemu-0.8.0-gcc4-hacks.patch,
diff --git a/app-emulation/qemu-user/Manifest b/app-emulation/qemu-user/Manifest
index cd5b98720f37..9609ccd5f5fc 100644
--- a/app-emulation/qemu-user/Manifest
+++ b/app-emulation/qemu-user/Manifest
@@ -1,17 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX qemu-0.7.0-ppc-linker.patch 11509 RMD160 d92e368e6adc2e6acdb97d92221781337d5322f7 SHA1 897be37b49b7908ea64972cd20ada0bb4def70cc SHA256 26d3832f1ff70d9d29f06cf8c6e1c1ac4ad353854c9b3b510875d2330ab6d2f9
+DIST qemu-0.10.0.tar.gz 3657649 RMD160 d9175b98d161d2eca0fa61471506e98f3d8f26af SHA1 87b6aa3b201dcdfd91d83c27b2d3e4495770c351 SHA256 3c5ecf320996ad243b7adc4798ad5dbfd58a6d5562cc0317a4cde7c7fb3edbb2
DIST qemu-0.9.0.tar.gz 1901741 RMD160 4296542b6da18a6ac93d20787330d3c1c2ac0a19 SHA1 1e57e48a06eb8729913d92601000466eecef06cb SHA256 491facf9335654967ee53d8fb3540a274bfcbdcc225506bd38c4ee8e9ab405c1
DIST qemu-0.9.1.tar.gz 2804104 RMD160 ee7bdb55a4540df2082d4bde9ebfd2f4e6f201a5 SHA1 630ea20b5989f0df00128de7f7be661c573ed041 SHA256 4756d0b4a4dc7dd88354bc6b37d381e4462dd328d0feef94803e90c0455835a5
+EBUILD qemu-user-0.10.0.ebuild 2442 RMD160 743e482beca4bd8c9322d536a18487c1a1509ee3 SHA1 09a931bf09f572822b31d53c1130fbbf4f6b5870 SHA256 9d3ca2a93680008cfda93886710067eb9a4d5e5446aeb58edf50e54161a83d8b
EBUILD qemu-user-0.9.0.ebuild 2397 RMD160 00d2ceadebd2235fbe901c4558b67bb88d6fed0e SHA1 0c380d094b8f05a9a638571d45b25f444d500694 SHA256 51c5da71f9433941e70eaefd16dc6f4c4fd6acace1dd7329fb1c8140080d4e8f
EBUILD qemu-user-0.9.1.ebuild 1852 RMD160 dab519db4303210f373093e94285ed2fd37dbf97 SHA1 c27c7f2e081666f12a487121505c86513dac0def SHA256 6e6cfa63467c7da349c24424e6b660075ab7b73c66441f0ee923d38792b0448f
-MISC ChangeLog 4727 RMD160 09a77e04634f1de148531b00b2bd8e2ac08ea75b SHA1 fb3e3cd99954ac0b2ef4268b0a993dab12ac57ad SHA256 e60398396eea790ed7a72532300fa1450df627afaa116a18902d0171710e9c9e
+MISC ChangeLog 4850 RMD160 5618f2337d20f44b0dc9b61a06d5a87ef2bea306 SHA1 33da8d5654006d38d85a3fa43830d6109e569a8f SHA256 84d2ed151fe3479c30fb283989de19dfa54345f44676d7ad4eb53f90f15aeb06
MISC metadata.xml 223 RMD160 f054e67dff10c87ea1d0b5753124445be6bd4610 SHA1 fcf66d2b271369d296150dde06603d850623ed27 SHA256 64a96c3c9929aec46b50a63ae1fd8c46cef4a8423f448d6f6fff09e20510c98b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
-
-iD8DBQFHpJ1VNQqtfCuFneMRAq4OAJ448J6YXflwFhYulcohAIeLm/FKJgCZAZbn
-k7e5gDhHLJSW1tDFI/CO6Cw=
-=dyuP
------END PGP SIGNATURE-----
diff --git a/app-emulation/qemu-user/qemu-user-0.10.0.ebuild b/app-emulation/qemu-user/qemu-user-0.10.0.ebuild
new file mode 100644
index 000000000000..2eecc64c23db
--- /dev/null
+++ b/app-emulation/qemu-user/qemu-user-0.10.0.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2009 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.10.0.ebuild,v 1.1 2009/03/07 14:31:12 lu_zero Exp $
+
+inherit eutils flag-o-matic
+
+MY_PN=${PN/-user/}
+MY_P=${P/-user/}
+
+SRC_URI="http://savannah.nongnu.org/download/${MY_PN}/${MY_P}.tar.gz"
+
+DESCRIPTION="Open source dynamic translator"
+HOMEPAGE="http://bellard.org/qemu/index.html"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~ppc64"
+IUSE=""
+RESTRICT="strip test binchecks"
+
+DEPEND="app-text/texi2html
+ !<=app-emulation/qemu-0.7.0"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ # prevent docs to get automatically installed
+ sed -i '/$(DESTDIR)$(docdir)/d' Makefile
+ # Alter target makefiles to accept CFLAGS set via flag-o
+ sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
+ Makefile Makefile.target
+ [[ -x /sbin/paxctl ]] && \
+ sed -i 's/^VL_LDFLAGS=$/VL_LDFLAGS=-Wl,-z,execheap/' \
+ Makefile.target
+ # avoid strip
+ sed -i 's/$(INSTALL) -m 755 -s/$(INSTALL) -m 755/' Makefile
+}
+
+src_compile() {
+ local mycc conf_opts
+
+ conf_opts="--enable-linux-user"
+ conf_opts="${conf_opts} --disable-darwin-user --disable-bsd-user"
+ conf_opts="${conf_opts} --disable-system"
+ conf_opts="${conf_opts} --disable-vnc-tls"
+ conf_opts="$conf_opts --disable-curses"
+ conf_opts="$conf_opts --disable-gfx-check --disable-sdl"
+ conf_opts="$conf_opts --disable-vde"
+ conf_opts="$conf_opts --disable-kqemu"
+# use fdt || conf_opts="--disable-fdt"
+
+ conf_opts="$conf_opts --prefix=/usr --disable-bluez --disable-kvm"
+
+ ./configure ${conf_opts} || die "econf failed"
+
+ mycc=$(cat qemu/config-host.mak | egrep "^CC=" | cut -d "=" -f 2)
+
+ filter-flags -fpie -fstack-protector
+
+ # If using gentoo's compiler set the SPEC to non-hardened
+ if [ ! -z ${GCC_SPECS} -a -f ${GCC_SPECS} ]; then
+ local myccver=$(${mycc} -dumpversion)
+ local gccver=$($(tc-getBUILD_CC) -dumpversion)
+
+ #Is this a SPEC for the right compiler version?
+ myspec="${GCC_SPECS/${gccver}/${myccver}}"
+ if [ "${myspec}" == "${GCC_SPECS}" ]; then
+ shopt -s extglob
+ GCC_SPECS="${GCC_SPECS/%hardened*specs/vanilla.specs}"
+ shopt -u extglob
+ else
+ unset GCC_SPECS
+ fi
+ fi
+
+ emake || die "emake qemu failed"
+
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ rm -fR "${D}/usr/share"
+ dohtml qemu-doc.html
+ dohtml qemu-tech.html
+}
+