summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/elfutils/ChangeLog8
-rw-r--r--dev-libs/elfutils/Manifest11
-rw-r--r--dev-libs/elfutils/elfutils-0.150.ebuild60
-rw-r--r--dev-libs/elfutils/files/elfutils-0.150-bashifications.patch23
4 files changed, 97 insertions, 5 deletions
diff --git a/dev-libs/elfutils/ChangeLog b/dev-libs/elfutils/ChangeLog
index 948c672e5086..3bfab2d846ff 100644
--- a/dev-libs/elfutils/ChangeLog
+++ b/dev-libs/elfutils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/elfutils
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.142 2010/09/19 09:02:53 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.143 2010/12/11 06:41:09 dirtyepic Exp $
+
+*elfutils-0.150 (11 Dec 2010)
+
+ 11 Dec 2010; Ryan Hill <dirtyepic@gentoo.org> +elfutils-0.150.ebuild,
+ +files/elfutils-0.150-bashifications.patch:
+ Version bump.
*elfutils-0.149 (19 Sep 2010)
diff --git a/dev-libs/elfutils/Manifest b/dev-libs/elfutils/Manifest
index 80fa63cdcb68..78bba9177a24 100644
--- a/dev-libs/elfutils/Manifest
+++ b/dev-libs/elfutils/Manifest
@@ -4,18 +4,21 @@ Hash: SHA1
AUX elfutils-0.118-PaX-support.patch 954 RMD160 ed86dfec7b51b273721f3dd0c6e11bba935e6c1e SHA1 baaaa3686902c3f4ce9f81f7a83e2e66ba1575d2 SHA256 e769e1168dc645ce99655f984f5c19a54d765210cacd098556b6b68743b877fa
AUX elfutils-0.143-configure.patch 772 RMD160 fb36819de9363f6c5387de2bf2c09b17353188b0 SHA1 7157b05bb86de8c97c8d1f1a4ea419d7d476864d SHA256 af91d9c73612d82b3b47099c0dd8e5cfaac1aa6538185e2760ba5ab933ef9091
AUX elfutils-0.148-bashifications.patch 760 RMD160 15068fdbcf926c171ef22bb2ba9b4d48975db62e SHA1 2dfbd273f03541ae8aaf727ed8aba01656402d4e SHA256 e741d81d4136a1f9a720fcbb67ffbb389cf00f98e344a5102b6c89e77b150c18
+AUX elfutils-0.150-bashifications.patch 763 RMD160 43f344ebf2825dc1c96db4f687f2b9d87e9e2365 SHA1 60113358dba017a526054a4134317be0ab9a2fb0 SHA256 8a7f67e8adeb3ae1aeeb0b3302ed1cda10f852d3f6702d21dfb011761a2b7576
DIST elfutils-0.146.tar.bz2 1791373 RMD160 696d6a5ab1deea58eaa8e5fb25fbbdce0a2132d6 SHA1 697b86b5177ce80f6411f48de56e0be8fec3a356 SHA256 dacd9419cc9ef36463f22cd7d7204ee7490904000045a8cdcbf3569907ecf2c8
DIST elfutils-0.148.tar.bz2 1811640 RMD160 3b04720eda9b6055bca884339058c46f672c3ceb SHA1 509a0c5f2d7bae9cee35cce833ea36d6adb23d66 SHA256 8aebfa4a745db21cf5429c9541fe482729b62efc7e53e9110151b4169fe887da
DIST elfutils-0.149.tar.bz2 1821994 RMD160 7f70186bff463664454f818dd319e0594673ef6d SHA1 3bd4996cd5ef2cb80e4c73562e6ec152aed5a165 SHA256 b81f73db935cdb5c0ddfdb4fd36aa0597b691b9204c62e5ee6bcb8c8ffabc808
+DIST elfutils-0.150.tar.bz2 1822030 RMD160 7aefd12ff9884fa53ee65ad314d13d3ec67e50b2 SHA1 2814553e2b84cd7a388ad807c76245fae3bb4465 SHA256 f414c8f3cdc8b12dfa34b671d9897582be7f9b546436f29bc5a2a6b442011d45
EBUILD elfutils-0.146.ebuild 1977 RMD160 108e00c410c3acef809723ed0f75547d49acce68 SHA1 8e92e0de02af845d91245429f471ae478458ecd8 SHA256 5404014f5e1a30c657aa4591e381be11d66790804530a46eaee5093291feeebf
EBUILD elfutils-0.148.ebuild 1999 RMD160 cb01ac5fda4178c0c13736bb9fcbdd680c64b130 SHA1 e83ce4c7eb1942bab7aae06a40f6af131663c383 SHA256 6a191a6a9e874428a44fcfba3d4102f2aad4b03fe7d1a9a4eefe2add9d0883b0
EBUILD elfutils-0.149.ebuild 1857 RMD160 040bc6a047db2db88b6e3b47bb44e1463ea6a35e SHA1 de2af921734a1f557d32cd8254d8a7c7925d7876 SHA256 c6262d903e91892d0af369f0135d88b3dfdeaf87140c3cd044932378ccfd64be
-MISC ChangeLog 19005 RMD160 d658e6710daae05b433682d37875f7e479cd33b7 SHA1 3befefb051705c275f340b504ff7aeef2d7e2f49 SHA256 323b248062a0e6aee78314e380a4a1b42fbd46e79b16d17d7016e62067a37652
+EBUILD elfutils-0.150.ebuild 1872 RMD160 55e0a754a04920a6fe62dd687c8b5c21709f80fb SHA1 8eae0592616249bb14377d5c29b9aa5ad4079f9f SHA256 1e514184432a9dab14c95b0ae22e283d69e5889f11fc0bc4bd1e220dbdb40803
+MISC ChangeLog 19171 RMD160 50ac4b345aa75f60a0ac17b5e3a18f01decd676c SHA1 25c69484fb040d4878598b94c988776d834c1ba9 SHA256 4af26de14803d6225d80a2eb0bdb68f691dd7fc48d1a7a9325ab6cc8a0e9db76
MISC metadata.xml 281 RMD160 2e23c1850f32822e50d0905b2e36ba1e22c004b2 SHA1 8f2ea427f9a348676d948018d621bea51f0f8740 SHA256 2418a06fe1c33bf09a8cad2a5b582a9a5b4c2d3315e74f67e3b10c4d76f53736
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAkyV0tUACgkQiqiDRvmkBmKgUACfafkdhKcMi3bCcY4ueXlYVuxl
-ADgAoMyXZM+AtGg9SgX3/xeu82lkLOZg
-=J7E7
+iEYEARECAAYFAk0DHjkACgkQiqiDRvmkBmIp3ACcDa3970ghVVJKGX5PD0AiEOlt
+ELMAn1qCgu1T15mfAyX48WNGNUw4880h
+=Nl1l
-----END PGP SIGNATURE-----
diff --git a/dev-libs/elfutils/elfutils-0.150.ebuild b/dev-libs/elfutils/elfutils-0.150.ebuild
new file mode 100644
index 000000000000..60739c446064
--- /dev/null
+++ b/dev-libs/elfutils/elfutils-0.150.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.150.ebuild,v 1.1 2010/12/11 06:41:09 dirtyepic Exp $
+
+inherit eutils
+
+DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
+HOMEPAGE="https://fedorahosted.org/elfutils"
+SRC_URI="https://fedorahosted.org/releases/e/l/elfutils/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2-with-exceptions"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="bzip2 lzma nls zlib elibc_glibc"
+
+# 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 )
+ lzma? ( app-arch/xz-utils )"
+DEPEND="${RDEPEND}
+ elibc_glibc? ( !prefix? ( >=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
+ epatch "${FILESDIR}"/${PN}-0.150-bashifications.patch #287130
+ 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) \
+ $(use_with lzma)
+
+ emake || die
+}
+
+src_test() {
+ env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \
+ LC_ALL="C" \
+ emake -j1 check || die "test failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog NEWS NOTES README THANKS TODO
+}
diff --git a/dev-libs/elfutils/files/elfutils-0.150-bashifications.patch b/dev-libs/elfutils/files/elfutils-0.150-bashifications.patch
new file mode 100644
index 000000000000..a2f2b858574d
--- /dev/null
+++ b/dev-libs/elfutils/files/elfutils-0.150-bashifications.patch
@@ -0,0 +1,23 @@
+Remove bashifications
+https://bugs.gentoo.org/287130
+
+--- a/configure
++++ b/configure
+@@ -4880,7 +4880,7 @@ ac_config_files="$ac_config_files version.h:config/version.h.in"
+
+ # 1.234<whatever> -> 1234<whatever>
+ case "$PACKAGE_VERSION" in
+-[0-9].*) eu_version="${PACKAGE_VERSION/./}" ;;
++[0-9].*) eu_version=`echo "$PACKAGE_VERSION" | sed 's@\.@@'` ;;
+ *) as_fn_error $? "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;;
+ esac
+ case "$eu_version" in
+@@ -4909,7 +4909,7 @@ case "$eu_version" in
+ esac
+
+ # Round up to the next release API (x.y) version.
+-eu_version=$[($eu_version + 999) / 1000]
++eu_version=`expr \( $eu_version + 999 \) / 1000`
+
+ cat >confcache <<\_ACEOF
+ # This file is a shell script that caches the results of configure