summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2009-03-15 11:29:33 +0000
committerPeter Volkov <pva@gentoo.org>2009-03-15 11:29:33 +0000
commit8234af264fd6fd2695501f828235ef50bfe45baa (patch)
tree9f0727f815a965153868f094cb7b044ff8a35d90 /dev-libs/elfutils
parentMasked dev-libs/elfutils-0.140 on hardened since it depends on >=glibc-2.7. (diff)
downloadgentoo-2-8234af264fd6fd2695501f828235ef50bfe45baa.tar.gz
gentoo-2-8234af264fd6fd2695501f828235ef50bfe45baa.tar.bz2
gentoo-2-8234af264fd6fd2695501f828235ef50bfe45baa.zip
Version bump, bug #220577, thank Conrad Kostecki for report. Don't build tests if tests are disabled, bug #226349, and added flex into DEPEND, bug 221381, thank Diego E. 'Flameeyes' Pettenò for both reports. Added nls USE flag as requested in bug #225273 by Le retraité. New bzip2 and zlib USE flags.
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'dev-libs/elfutils')
-rw-r--r--dev-libs/elfutils/ChangeLog12
-rw-r--r--dev-libs/elfutils/elfutils-0.127.ebuild6
-rw-r--r--dev-libs/elfutils/elfutils-0.140.ebuild57
3 files changed, 71 insertions, 4 deletions
diff --git a/dev-libs/elfutils/ChangeLog b/dev-libs/elfutils/ChangeLog
index 672f9a6a1e83..88f93e398efd 100644
--- a/dev-libs/elfutils/ChangeLog
+++ b/dev-libs/elfutils/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for dev-libs/elfutils
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.123 2009/02/14 05:40:18 ken69267 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.124 2009/03/15 11:29:33 pva Exp $
+
+*elfutils-0.140 (15 Mar 2009)
+
+ 15 Mar 2009; Peter Volkov <pva@gentoo.org> elfutils-0.127.ebuild,
+ +elfutils-0.140.ebuild:
+ Version bump, bug #220577, thank Conrad Kostecki for report. Don't build
+ tests if tests are disabled, bug #226349, and added flex into DEPEND, bug
+ 221381, thank Diego E. 'Flameeyes' Pettenò for both reports. Added nls
+ USE flag as requested in bug #225273 by Le retraité. New bzip2 and zlib
+ USE flags.
14 Feb 2009; Kenneth Prugh <ken69267@gentoo.org> elfutils-0.131-r2.ebuild:
amd64 stable, bug #245861
diff --git a/dev-libs/elfutils/elfutils-0.127.ebuild b/dev-libs/elfutils/elfutils-0.127.ebuild
index a517c5dfe4be..1f8bbd38bc19 100644
--- a/dev-libs/elfutils/elfutils-0.127.ebuild
+++ b/dev-libs/elfutils/elfutils-0.127.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.127.ebuild,v 1.10 2007/11/20 10:25:10 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.127.ebuild,v 1.11 2009/03/15 11:29:33 pva Exp $
inherit eutils autotools
@@ -12,7 +12,7 @@ SRC_URI="ftp://sources.redhat.com/pub/systemtap/${PN}/${P}.tar.gz
LICENSE="OpenSoftware"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
IUSE=""
# This pkg does not actually seem to compile currently in a uClibc
diff --git a/dev-libs/elfutils/elfutils-0.140.ebuild b/dev-libs/elfutils/elfutils-0.140.ebuild
new file mode 100644
index 000000000000..12bf1aadefd2
--- /dev/null
+++ b/dev-libs/elfutils/elfutils-0.140.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.140.ebuild,v 1.1 2009/03/15 11:29:33 pva Exp $
+
+inherit eutils
+
+DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
+HOMEPAGE="http://people.redhat.com/drepper/"
+#SRC_URI="ftp://sources.redhat.com/pub/systemtap/${PN}/${P}.tar.gz"
+#SRC_URI="mirror://debian/pool/main/e/elfutils/elfutils_${PV}.orig.tar.gz"
+SRC_URI="https://fedorahosted.org/releases/e/l/elfutils/${P}.tar.bz2"
+
+LICENSE="OpenSoftware"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="bzip2 nls zlib test"
+
+# This pkg does not actually seem to compile currently in a uClibc
+# environment (xrealloc errs), but we need to ensure that glibc never
+# gets pulled in as a dep since this package does not respect virtual/libc
+RDEPEND="zlib? ( >=sys-libs/zlib-1.2.2.3 )
+ bzip2? ( app-arch/bzip2 )"
+DEPEND="${RDEPEND}
+ elibc_glibc? ( >=sys-libs/glibc-2.7 )
+ nls? ( sys-devel/gettext )
+ >=sys-devel/flex-2.5.4a
+ sys-devel/m4
+ >=sys-devel/binutils-2.15.90.0.1
+ >=sys-devel/gcc-4.1.2
+ !dev-libs/libelf"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-0.118-PaX-support.patch
+ find . -name Makefile.in -print0 | xargs -0 sed -i -e 's:-W\(error\|extra\)::g'
+ use test || sed -i -e 's: tests::' Makefile.in #226349
+}
+
+src_compile() {
+ econf \
+ $(use_enable nls) \
+ --program-prefix="eu-" \
+ $(use_with zlib) \
+ $(use_with bzip2 bzlib)
+ emake || die
+}
+
+src_test() {
+ env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \
+ make check || die "test failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog NEWS NOTES README THANKS TODO
+}