summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Bainbridge <chrb@gentoo.org>2006-04-10 18:51:09 +0000
committerChris Bainbridge <chrb@gentoo.org>2006-04-10 18:51:09 +0000
commit3c8faebe9246c6737bf4013c3c20510fcdae2fd7 (patch)
treec0e65cdd6a60f42eaf2f8d2cc74965d0ca2d415e /app-emulation/xen-tools
parentStable on ppc and x86. (diff)
downloadhistorical-3c8faebe9246c6737bf4013c3c20510fcdae2fd7.tar.gz
historical-3c8faebe9246c6737bf4013c3c20510fcdae2fd7.tar.bz2
historical-3c8faebe9246c6737bf4013c3c20510fcdae2fd7.zip
Fix hardened flags for hvmloader and vmxassist, #129491
Package-Manager: portage-2.1_pre7-r5
Diffstat (limited to 'app-emulation/xen-tools')
-rw-r--r--app-emulation/xen-tools/ChangeLog5
-rw-r--r--app-emulation/xen-tools/Manifest12
-rw-r--r--app-emulation/xen-tools/xen-tools-3.0.2.ebuild9
3 files changed, 18 insertions, 8 deletions
diff --git a/app-emulation/xen-tools/ChangeLog b/app-emulation/xen-tools/ChangeLog
index 0d34c085785a..c0e787645b67 100644
--- a/app-emulation/xen-tools/ChangeLog
+++ b/app-emulation/xen-tools/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-emulation/xen-tools
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/ChangeLog,v 1.7 2006/04/10 13:52:48 chrb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/ChangeLog,v 1.8 2006/04/10 18:51:09 chrb Exp $
+
+ 10 Apr 2006; <chrb@gentoo.org> xen-tools-3.0.2.ebuild:
+ Fix hardened flags for hvmloader and vmxassist, #129491
10 Apr 2006; <chrb@gentoo.org> xen-tools-3.0.2.ebuild:
removed the hardened stripping flags - now that the hypervisor is split out,
diff --git a/app-emulation/xen-tools/Manifest b/app-emulation/xen-tools/Manifest
index eda342cc5084..bd33f1ab1988 100644
--- a/app-emulation/xen-tools/Manifest
+++ b/app-emulation/xen-tools/Manifest
@@ -1,6 +1,6 @@
-MD5 95edbd4d999376313c463412a215cc33 ChangeLog 1667
-RMD160 b722ca7cce8da67ecae625ce12bf8a8f8276c905 ChangeLog 1667
-SHA256 42a4bfefcada6e04708d830820df1fd6cc9de31b25eb1d5869e0f12c576d16f2 ChangeLog 1667
+MD5 a1901a9a79105dcbf2b73539a94e9b82 ChangeLog 1783
+RMD160 09740f841f9c28bb31fd373d48a4f0d533cc9975 ChangeLog 1783
+SHA256 3ec90954dfce042d6c867661cd44db686a335b7ecb0fcb242acad5fe963bfd31 ChangeLog 1783
MD5 f286994bc4b6be508d4a9e943b44794b files/digest-xen-tools-3.0.1 235
RMD160 77a42023b130ceef29f79a0c28742a7e8731eadf files/digest-xen-tools-3.0.1 235
SHA256 2bdbb205f6f9f9ed4a9a06093a63768214a9d14df48cf32e0f10c2cbfbfb8098 files/digest-xen-tools-3.0.1 235
@@ -31,6 +31,6 @@ SHA256 c2a5eeabbd6fa369faa3a23b98b96b525c728bc11480dc5a4b9425f3cd9c8c88 xen-tool
MD5 7bdb691d507e782cc8789d35661e1690 xen-tools-3.0.1_p9029.ebuild 3362
RMD160 8607db57f8b0192edb03c609a08a6b3d0d94d5db xen-tools-3.0.1_p9029.ebuild 3362
SHA256 e0537312563f6fa1a610ed2bb8e696bbf6deaaf95d34ec347a1904af5086e66c xen-tools-3.0.1_p9029.ebuild 3362
-MD5 26944e71fc894ea2924fb87f6af7de45 xen-tools-3.0.2.ebuild 3290
-RMD160 94bed1d054a8e40561174599f56e4520f4781078 xen-tools-3.0.2.ebuild 3290
-SHA256 e4bb637f7559752812ef73f23e4e1322cd007b05f8a29bafe7667a3062e3c875 xen-tools-3.0.2.ebuild 3290
+MD5 7600364cbdccf31569108f64630b3ca0 xen-tools-3.0.2.ebuild 3588
+RMD160 102253b833a9475adee51c50f77450e4cacbf867 xen-tools-3.0.2.ebuild 3588
+SHA256 b02985b83f84f0ec6d2600b9224618357a89429d70e04c1ddfb9f34d2dc93ba6 xen-tools-3.0.2.ebuild 3588
diff --git a/app-emulation/xen-tools/xen-tools-3.0.2.ebuild b/app-emulation/xen-tools/xen-tools-3.0.2.ebuild
index 372cfe3a850b..833cad948725 100644
--- a/app-emulation/xen-tools/xen-tools-3.0.2.ebuild
+++ b/app-emulation/xen-tools/xen-tools-3.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-3.0.2.ebuild,v 1.4 2006/04/10 13:52:48 chrb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-3.0.2.ebuild,v 1.5 2006/04/10 18:51:09 chrb Exp $
inherit mount-boot flag-o-matic eutils
@@ -52,6 +52,13 @@ src_unpack() {
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} \;
fi
+ # for some reason the xen gcc checks don't work on gentoo-hardened
+ if use hardened; then
+ HARDFLAGS="-nopie -fno-stack-protector -fno-stack-protector-all"
+ sed -e "s/CFLAGS :=/CFLAGS := ${HARDFLAGS}/" \
+ -i ${S}/tools/firmware/hvmloader/Makefile \
+ ${S}/tools/firmware/vmxassist/Makefile
+ fi
}
src_compile() {