From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RnDPq-0004S3-1n for garchives@archives.gentoo.org; Tue, 17 Jan 2012 18:05:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76B10E0B20; Tue, 17 Jan 2012 18:05:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 4A246E0B20 for ; Tue, 17 Jan 2012 18:05:42 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CD3256443E for ; Tue, 17 Jan 2012 18:05:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 2120980042 for ; Tue, 17 Jan 2012 18:05:41 +0000 (UTC) From: "Magnus Granberg" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Magnus Granberg" Message-ID: <8978819d92a7b39d05ee6d09435ccc35295e52b0.zorry@gentoo> Subject: [gentoo-commits] proj/hardened-dev:master commit in: sys-devel/gcc/ X-VCS-Repository: proj/hardened-dev X-VCS-Files: sys-devel/gcc/gcc-4.7.0_alpha20120114.ebuild X-VCS-Directories: sys-devel/gcc/ X-VCS-Committer: zorry X-VCS-Committer-Name: Magnus Granberg X-VCS-Revision: 8978819d92a7b39d05ee6d09435ccc35295e52b0 Date: Tue, 17 Jan 2012 18:05:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: b29918aa-87a3-4625-891f-6af6a79a55a2 X-Archives-Hash: bc8ed184be13f89d26c49476f671cd41 commit: 8978819d92a7b39d05ee6d09435ccc35295e52b0 Author: Magnus Granberg gentoo org> AuthorDate: Tue Jan 17 18:04:41 2012 +0000 Commit: Magnus Granberg gentoo org> CommitDate: Tue Jan 17 18:04:41 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/hardened-dev.= git;a=3Dcommit;h=3D8978819d sys-devel/gcc/gcc-4.7.0 20120114 hardened --- sys-devel/gcc/gcc-4.7.0_alpha20120114.ebuild | 58 ++++++++++++++++++++= ++++++ 1 files changed, 58 insertions(+), 0 deletions(-) diff --git a/sys-devel/gcc/gcc-4.7.0_alpha20120114.ebuild b/sys-devel/gcc= /gcc-4.7.0_alpha20120114.ebuild new file mode 100644 index 0000000..147e186 --- /dev/null +++ b/sys-devel/gcc/gcc-4.7.0_alpha20120114.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.7.0.ebuild,v 1.0 = 2012/01/17 19:02:25 zorry Exp $ + +PATCH_VER=3D"1.0" +#UCLIBC_VER=3D"1.0" + +# Hardened gcc 4 stuff +PIE_VER=3D"0.5.1" +SPECS_VER=3D"0.2.0" +SPECS_GCC_VER=3D"4.4.3" +# arch/libc configurations known to be stable with {PIE,SSP}-by-default +PIE_GLIBC_STABLE=3D"x86 amd64 ppc ppc64 arm ia64" +PIE_UCLIBC_STABLE=3D"x86 arm amd64 ppc ppc64" +SSP_STABLE=3D"amd64 x86 ppc ppc64 arm" +# uclibc need tls and nptl support for SSP support +SSP_UCLIBC_STABLE=3D"" +#end Hardened stuff + +inherit toolchain + +DESCRIPTION=3D"The GNU Compiler Collection" + +LICENSE=3D"GPL-3 LGPL-3 || ( GPL-3 libgcc libstdc++ gcc-runtime-library-= exception-3.1 ) FDL-1.2" +KEYWORDS=3D"" + +RDEPEND=3D"" +DEPEND=3D"${RDEPEND} + elibc_glibc? ( >=3Dsys-libs/glibc-2.12 ) + amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) ) + >=3D${CATEGORY}/binutils-2.18" +PDEPEND=3D"go? ( >=3Dsys-devel/gcc-config-1.5 )" + +if [[ ${CATEGORY} !=3D cross-* ]] ; then + PDEPEND=3D"${PDEPEND} elibc_glibc? ( >=3Dsys-libs/glibc-2.12 )" +fi + +src_unpack() { + if has_version '