diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2006-09-07 11:22:01 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2006-09-07 11:22:01 +0000 |
commit | 7d1b76e57a548430d3535d09cc2001049ddb3d1a (patch) | |
tree | 0a6bc8270d552a7110f311065d251bac1577b550 /dev-libs/dietlibc | |
parent | Version bump (diff) | |
download | gentoo-2-7d1b76e57a548430d3535d09cc2001049ddb3d1a.tar.gz gentoo-2-7d1b76e57a548430d3535d09cc2001049ddb3d1a.tar.bz2 gentoo-2-7d1b76e57a548430d3535d09cc2001049ddb3d1a.zip |
hopefully fix SSP/PIE/STACKGAP mess (also fixes #138468); fix executable stacks; fix CFLAGS handling
(Portage version: 2.1.1_pre4-r3)
Diffstat (limited to 'dev-libs/dietlibc')
-rw-r--r-- | dev-libs/dietlibc/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/dietlibc/dietlibc-0.30-r1.ebuild | 52 | ||||
-rw-r--r-- | dev-libs/dietlibc/files/digest-dietlibc-0.30-r1 | 6 |
3 files changed, 65 insertions, 1 deletions
diff --git a/dev-libs/dietlibc/ChangeLog b/dev-libs/dietlibc/ChangeLog index c43deb1b9c77..3012195517b5 100644 --- a/dev-libs/dietlibc/ChangeLog +++ b/dev-libs/dietlibc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/dietlibc # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.60 2006/09/04 05:48:28 tsunam Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.61 2006/09/07 11:22:01 hollow Exp $ + +*dietlibc-0.30-r1 (07 Sep 2006) + + 07 Sep 2006; Benedikt Böhm <hollow@gentoo.org> +dietlibc-0.30-r1.ebuild: + hopefully fix SSP/PIE/STACKGAP mess (also fixes #138468); fix executable + stacks; fix CFLAGS handling 04 Sep 2006; Joshua Jackson <tsunam@gentoo.org> dietlibc-0.30.ebuild: Stable x86; bug #140905 diff --git a/dev-libs/dietlibc/dietlibc-0.30-r1.ebuild b/dev-libs/dietlibc/dietlibc-0.30-r1.ebuild new file mode 100644 index 000000000000..532c4e5d3e92 --- /dev/null +++ b/dev-libs/dietlibc/dietlibc-0.30-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.30-r1.ebuild,v 1.1 2006/09/07 11:22:01 hollow Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="A minimal libc" +HOMEPAGE="http://www.fefe.de/dietlibc/" +SRC_URI="mirror://gentoo/${P}.tar.bz2 + http://dev.gentoo.org/~phreak/distfiles/${PN}-patches-${PVR}.tar.bz2 + http://dev.gentoo.org/~hollow/distfiles/${PN}-patches-${PVR}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug" + +DEPEND="" + +pkg_setup() { + # Replace sparc64 related C[XX]FLAGS (see bug #45716) + use sparc && replace-sparc64-flags + + # gcc-hppa suffers support for SSP, compilation will fail + # (do we still need this? SSP is disabled, see below) + use hppa && strip-unsupported-flags + + # fix (force) some CFLAGS whose inverse will not work with >=gcc-4 + append-flags -fomit-frame-pointer + append-flags -fno-exceptions + append-flags -fno-asynchronous-unwind-tables + + # we use dietlibs STACKGAP in favor of the broken SSP implementation + append-flags -fno-stack-protector + + # debug flags + use debug && append-flags -g +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${WORKDIR}"/patches/*.patch +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dobin "${D}"/usr/diet/bin/* || die "dobin failed" + doman "${D}"/usr/diet/man/*/* || die "doman failed" + rm -r "${D}"/usr/diet/{man,bin} + dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO PORTING +} diff --git a/dev-libs/dietlibc/files/digest-dietlibc-0.30-r1 b/dev-libs/dietlibc/files/digest-dietlibc-0.30-r1 new file mode 100644 index 000000000000..c60c24ea97f0 --- /dev/null +++ b/dev-libs/dietlibc/files/digest-dietlibc-0.30-r1 @@ -0,0 +1,6 @@ +MD5 2465d652fff6f1fad3da3b98e60e83c9 dietlibc-0.30.tar.bz2 567046 +RMD160 98d4e20e106f60835ed4a22d3013d9a34957f18a dietlibc-0.30.tar.bz2 567046 +SHA256 2c8733825d364d374f0179a403a57e4a382fbb9852431228ef19062a5de183b5 dietlibc-0.30.tar.bz2 567046 +MD5 11fe7ee3a6487721fb68f947c1401007 dietlibc-patches-0.30-r1.tar.bz2 31413 +RMD160 f35083e014898e2d14a8d2e6b02506c9e78416cb dietlibc-patches-0.30-r1.tar.bz2 31413 +SHA256 61f3c874cfe51bed00d125038e306793012414753ec4c2b8d71344193e1f2a74 dietlibc-patches-0.30-r1.tar.bz2 31413 |