diff options
author | Magnus Granberg <zorry@gentoo.org> | 2010-06-19 01:53:09 +0000 |
---|---|---|
committer | Magnus Granberg <zorry@gentoo.org> | 2010-06-19 01:53:09 +0000 |
commit | 384990a52669ffe8100a714cd6724ee3de3ac3c4 (patch) | |
tree | d1d6ae7167c995f6e026ab7ca49f314f86681fc9 /sys-devel | |
parent | [media-sound/amarok-2.3.1-r1] Synced some changes from the live ebuild in the... (diff) | |
download | historical-384990a52669ffe8100a714cd6724ee3de3ac3c4.tar.gz historical-384990a52669ffe8100a714cd6724ee3de3ac3c4.tar.bz2 historical-384990a52669ffe8100a714cd6724ee3de3ac3c4.zip |
bump for adding hardened support #318171
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gcc/ChangeLog | 9 | ||||
-rw-r--r-- | sys-devel/gcc/Manifest | 7 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-4.4.3-r3.ebuild | 88 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-4.4.4-r1.ebuild | 89 |
4 files changed, 191 insertions, 2 deletions
diff --git a/sys-devel/gcc/ChangeLog b/sys-devel/gcc/ChangeLog index 27631c3ef7eb..13ec1b1640fa 100644 --- a/sys-devel/gcc/ChangeLog +++ b/sys-devel/gcc/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-devel/gcc # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.760 2010/06/18 00:00:09 zorry Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.761 2010/06/19 01:53:09 zorry Exp $ + +*gcc-4.4.4-r1 (19 Jun 2010) +*gcc-4.4.3-r3 (19 Jun 2010) + + 19 Jun 2010; Magnus Granberg <zorry@gentoo.org> +gcc-4.4.3-r3.ebuild, + +gcc-4.4.4-r1.ebuild: + bump for adding hardened support #318171 17 Jun 2010; Magnus Granberg <zorry@gentoo.org> gcc-4.3.5.ebuild: fix typo in *_STABLE so we don't use hardened_gcc_check_unsupported diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index f6560fe7eacf..fdbf2a39f329 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -114,9 +114,12 @@ DIST gcc-4.4.2-patches-1.0.tar.bz2 11040 RMD160 008701ce22ef001049871824528d193f DIST gcc-4.4.2-uclibc-patches-1.0.tar.bz2 2290 RMD160 23e52f8bdfb99c9b2af594ebde039ff6f2bd9291 SHA1 03759cce56a7f81f0c4b47b0309bfa9c785d8ea4 SHA256 d380566d5aa3c91820013fc5745b101824940cd5f553a33723c704dc3a066144 DIST gcc-4.4.2.tar.bz2 62919816 RMD160 25014a64d148005868449dfebf91a734d6322227 SHA1 6cf7d9204ff3e1a09f4f12b1372cd4129ab7f080 SHA256 1126b6a7b585b3a178bfb7d559221779eb7eba12ce01bc9ca5896f6f9ee639de DIST gcc-4.4.3-patches-1.2.tar.bz2 12802 RMD160 4fed8dfde025fb397c29d11359c6583c40c8e217 SHA1 226ae5c9e177ac18b2a0f76c84233b33707f619b SHA256 d59016edf9c0d1f7158928ac5c29196af96ed34de17f9b0cefb5087faed3d6db +DIST gcc-4.4.3-piepatches-v0.4.5.tar.bz2 16946 RMD160 a0df02c15ab5436cb270f1b41227b5722dcfcc53 SHA1 355d1fa866e7bde03191d0416b3524696e0c98c6 SHA256 ac853b06d4189dfba1bf72c8565d9ebf893b83cb690377db947cf5a48c802dc4 +DIST gcc-4.4.3-specs-0.2.0.tar.bz2 2004 RMD160 0a013f95029a170eeea3cb6ccbfd65f64b66f465 SHA1 61bd3c13400772ec4d5d4fcee297e3d86adbd065 SHA256 f6c7cb99beead66dd4d06f7004c5731a9360330cbe878ce79792c618e008eed2 DIST gcc-4.4.3-uclibc-patches-1.0.tar.bz2 3014 RMD160 4646449073c54a43f1b72382ab3c611789e6cb59 SHA1 7bb2d5ae871f1bbed51198c274518d2c8bc06689 SHA256 4b44eb274f27cc8ffb0e61e90d829a7a87fd0b49df6f31e7cb3071cc96c00df1 DIST gcc-4.4.3.tar.bz2 62944934 RMD160 b51afac3cb77ee3dc09d29c2f85936482ed82ab2 SHA1 619766282734728539ce58a5c383cb371f1999c7 SHA256 97ed664694b02b4d58ac2cafe443d02a388f9cb3645e7778843b5086a5fec040 DIST gcc-4.4.4-patches-1.0.tar.bz2 16573 RMD160 b36bb4074b25a09efda5466d296c0b3a5327bbcc SHA1 7cb7d9b2f8a6a46992e83aad4b967b150d01fbf2 SHA256 0fc84cba653ebb2638b1b6668e80fdf8d835e47fbe6a44fa53905706f3a83164 +DIST gcc-4.4.4-piepatches-v0.4.5.tar.bz2 16987 RMD160 8fda3d41b47b7c5679e2935e0380f8582b6b7591 SHA1 971203b908eb32875163386ca97e6ff94291323f SHA256 78fa1ecf4cd9abe45a68cdfad4cbd1ad92acde0c4e7ca4dd8403f7e5bd41c0cd DIST gcc-4.4.4-uclibc-patches-1.0.tar.bz2 3014 RMD160 f849627745442bd3885dc7892aac0b22a5b6397c SHA1 6807f546676ac608100eb0de5b67e42af90b6d4c SHA256 40bfd13b132567dca198d815a602d2cfb49046a22425450eb3db67ed280feaea DIST gcc-4.4.4.tar.bz2 63018867 RMD160 b41f26be28cc1ef643135230dfa94876d8a02dd6 SHA1 45d1e7242a08cbb7a343ed2bf640a5afd0ebe098 SHA256 e1c13696b45752ad3f652304fab5120a43a8a5c0f438d3bda78cf16b620c0c58 DIST gcc-4.5.0-patches-1.1.tar.bz2 6938 RMD160 b4f18fad10f44c44d1ca184254298261c2521caa SHA1 a80f0e65ae0d8045ba93a71f6082889b09347157 SHA256 fb83b1ff1634f78f6e14e16775e0f67e1e1c5ede114af83c1baf9640b477147a @@ -142,7 +145,9 @@ EBUILD gcc-4.3.5.ebuild 2262 RMD160 de7cb336167680582bea9c7c7691edfaa808ea1f SHA EBUILD gcc-4.4.1.ebuild 2360 RMD160 8ffd86aa6425a5ea656eb01bafc98a7461f6a6e9 SHA1 63b2ee296095933741b415afc8477f5c9c55ab7e SHA256 9a92aef55532dcf79669b7be80670d11f75409589a31bc781297f31da54ae55e EBUILD gcc-4.4.2.ebuild 2359 RMD160 dd8b88dc346c1d07c08979e3f085a249d75b1e97 SHA1 3effd9b00e040b3d8062b075923a8a3834a92dbe SHA256 68293c4c4e01b5ed9688746f3bd23f12fb35df71a63901f54409b6d5be0cbceb EBUILD gcc-4.4.3-r2.ebuild 2561 RMD160 a52825b6bd738b02d8012aa7e38715d530b8ed5c SHA1 e57448e2f18da18f90bd1d6578e8f6704fea052c SHA256 3ed5da409ff62d38423a34368b9da71b64faa89559c93699a5f8d402657b1302 +EBUILD gcc-4.4.3-r3.ebuild 2438 RMD160 a8785e2e182397b008466174a283c8bba7f17104 SHA1 50fa815f4489a02e48135ae0f2487bbd57f3d489 SHA256 aa5e2bdf005e472836a11bed0ee36053dd0561d6fd7dabc8e998262992e2e108 +EBUILD gcc-4.4.4-r1.ebuild 2454 RMD160 e9f03c0a29ad26807a3633a75c4e61fee050ee76 SHA1 f9d03995b67f0e752ccc6c62141d60715f3852c6 SHA256 b3ef44118b83e983515866b0e2bfdcf073b4986109f728bd4057fb9a3d6717d7 EBUILD gcc-4.4.4.ebuild 2563 RMD160 a7c16385bb9250d749c2a883ac7df9339df58eaf SHA1 c8db32b5fdc1cbd7caba91140a5f85667a29edf2 SHA256 edb0c15e81e3fc66fb1b3de0927858e08f0e7809982004df86a0088a4031ca52 EBUILD gcc-4.5.0.ebuild 2351 RMD160 fb98c3d60a732dad8d716066ac8213ee453f53d2 SHA1 393d774fa8bf446d1a146e2fd2144b2f7b5dd037 SHA256 4a604a9045f8b0eed281f19c626ff74704da879ab5dbcd004122498251a6b95c -MISC ChangeLog 134153 RMD160 f48e237a3913bacd3c1c26b88d5b58b8ea6f6894 SHA1 c76a3f26a77668158b3a2b24abd64597a919505e SHA256 b12e785a0ae074e6377e9893dd1d3ead85ba970aef124f4806ef5969196b29ad +MISC ChangeLog 134350 RMD160 e9149bed1f0bbe1b5766630610963eaa2a71f6dd SHA1 600aad62d247bd3b378dede1c8b9fb5163b18d8d SHA256 d58f4e1f948e1b13c1cb05aa4ff4b352a32b6da7e9ad85b039a23e650029b15e MISC metadata.xml 1678 RMD160 7d8df302684ecf0e23caf763d3fcee267d40866b SHA1 f9a035b4a7bf8a6fbf9e1627f777b86f30813517 SHA256 3e67d554a8e3135943623ab276d6871582fda0cdb556d31531b369d8c0b277d7 diff --git a/sys-devel/gcc/gcc-4.4.3-r3.ebuild b/sys-devel/gcc/gcc-4.4.3-r3.ebuild new file mode 100644 index 000000000000..83cb45e84769 --- /dev/null +++ b/sys-devel/gcc/gcc-4.4.3-r3.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.4.3-r3.ebuild,v 1.1 2010/06/19 01:53:09 zorry Exp $ + +PATCH_VER="1.2" +UCLIBC_VER="1.0" + +ETYPE="gcc-compiler" + +# Hardened gcc 4 stuff +PIE_VER="0.4.5" +SPECS_VER="0.2.0" +# arch/libc configurations known to be stable with {PIE,SSP}-by-default +PIE_GLIBC_STABLE="x86 amd64 ppc ppc64 arm ia64" +PIE_UCLIBC_STABLE="x86 amd64 arm ppc ppc64" +SSP_STABLE="amd64 x86 amd64 ppc ppc64 arm" +# uclibc need tls and nptl support for SSP support +SSP_UCLIBC_STABLE="" +#end Hardened stuff + +inherit toolchain + +DESCRIPTION="The GNU Compiler Collection. Includes C/C++, java compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds checking" + +LICENSE="GPL-3 LGPL-3 || ( GPL-3 libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.2" +KEYWORDS="~alpha ~amd64 ~arm -hppa ~ia64 ~mips ~ppc ~ppc64 ~sh -sparc ~x86 ~x86-fbsd" + +RDEPEND=">=sys-libs/zlib-1.1.4 + >=sys-devel/gcc-config-1.4 + virtual/libiconv + >=dev-libs/gmp-4.2.1 + >=dev-libs/mpfr-2.3.2 + graphite? ( + >=dev-libs/ppl-0.10 + >=dev-libs/cloog-ppl-0.15.4 + ) + !build? ( + gcj? ( + gtk? ( + x11-libs/libXt + x11-libs/libX11 + x11-libs/libXtst + x11-proto/xproto + x11-proto/xextproto + >=x11-libs/gtk+-2.2 + x11-libs/pango + ) + >=media-libs/libart_lgpl-2.1 + app-arch/zip + app-arch/unzip + ) + >=sys-libs/ncurses-5.2-r2 + nls? ( sys-devel/gettext ) + )" +DEPEND="${RDEPEND} + test? ( >=dev-util/dejagnu-1.4.4 >=sys-devel/autogen-5.5.4 ) + >=sys-apps/texinfo-4.8 + >=sys-devel/bison-1.875 + elibc_glibc? ( >=sys-libs/glibc-2.8 ) + amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) ) + ppc? ( >=${CATEGORY}/binutils-2.17 ) + ppc64? ( >=${CATEGORY}/binutils-2.17 ) + >=${CATEGORY}/binutils-2.15.94" +PDEPEND=">=sys-devel/gcc-config-1.4" +if [[ ${CATEGORY} != cross-* ]] ; then + PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )" +fi + +src_unpack() { + gcc_src_unpack + + use vanilla && return 0 + + sed -i 's/use_fixproto=yes/:/' gcc/config.gcc #PR33200 + + [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch + + [[ ${CTARGET} == *-softfloat-* ]] && epatch "${FILESDIR}"/4.4.0/gcc-4.4.0-softfloat.patch +} + +pkg_setup() { + gcc_pkg_setup + + if use graphite ; then + ewarn "Graphite support is still experimental and unstable." + ewarn "Any bugs resulting from the use of Graphite will not be fixed." + fi +} diff --git a/sys-devel/gcc/gcc-4.4.4-r1.ebuild b/sys-devel/gcc/gcc-4.4.4-r1.ebuild new file mode 100644 index 000000000000..6410d3f2a507 --- /dev/null +++ b/sys-devel/gcc/gcc-4.4.4-r1.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.4.4-r1.ebuild,v 1.1 2010/06/19 01:53:09 zorry Exp $ + +PATCH_VER="1.0" +UCLIBC_VER="1.0" + +ETYPE="gcc-compiler" + +# Hardened gcc 4 stuff +PIE_VER="0.4.5" +SPECS_VER="0.2.0" +SPECS_GCC_VER="4.4.3" +# arch/libc configurations known to be stable with {PIE,SSP}-by-default +PIE_GLIBC_STABLE="x86 amd64 ppc ppc64 arm ia64" +PIE_UCLIBC_STABLE="x86 arm amd64 ppc ppc64" +SSP_STABLE="amd64 x86 ppc ppc64 arm" +# uclibc need tls and nptl support for SSP support +SSP_UCLIBC_STABLE="" +#end Hardened stuff + +inherit toolchain + +DESCRIPTION="The GNU Compiler Collection. Includes C/C++, java compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds checking" + +LICENSE="GPL-3 LGPL-3 || ( GPL-3 libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.2" +KEYWORDS="~alpha ~amd64 ~arm -hppa ~ia64 ~mips ~ppc ~ppc64 ~sh -sparc ~x86 ~x86-fbsd" + +RDEPEND=">=sys-libs/zlib-1.1.4 + >=sys-devel/gcc-config-1.4 + virtual/libiconv + >=dev-libs/gmp-4.2.1 + >=dev-libs/mpfr-2.3.2 + graphite? ( + >=dev-libs/ppl-0.10 + >=dev-libs/cloog-ppl-0.15.4 + ) + !build? ( + gcj? ( + gtk? ( + x11-libs/libXt + x11-libs/libX11 + x11-libs/libXtst + x11-proto/xproto + x11-proto/xextproto + >=x11-libs/gtk+-2.2 + x11-libs/pango + ) + >=media-libs/libart_lgpl-2.1 + app-arch/zip + app-arch/unzip + ) + >=sys-libs/ncurses-5.2-r2 + nls? ( sys-devel/gettext ) + )" +DEPEND="${RDEPEND} + test? ( >=dev-util/dejagnu-1.4.4 >=sys-devel/autogen-5.5.4 ) + >=sys-apps/texinfo-4.8 + >=sys-devel/bison-1.875 + elibc_glibc? ( >=sys-libs/glibc-2.8 ) + amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) ) + ppc? ( >=${CATEGORY}/binutils-2.17 ) + ppc64? ( >=${CATEGORY}/binutils-2.17 ) + >=${CATEGORY}/binutils-2.15.94" +PDEPEND=">=sys-devel/gcc-config-1.4" +if [[ ${CATEGORY} != cross-* ]] ; then + PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )" +fi + +src_unpack() { + gcc_src_unpack + + use vanilla && return 0 + + sed -i 's/use_fixproto=yes/:/' gcc/config.gcc #PR33200 + + [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch + + [[ ${CTARGET} == *-softfloat-* ]] && epatch "${FILESDIR}"/4.4.0/gcc-4.4.0-softfloat.patch +} + +pkg_setup() { + gcc_pkg_setup + + if use graphite ; then + ewarn "Graphite support is still experimental and unstable." + ewarn "Any bugs resulting from the use of Graphite will not be fixed." + fi +} |