summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-07-17 14:52:50 +0000
committerMike Frysinger <vapier@gentoo.org>2012-07-17 14:52:50 +0000
commit5da5006bcfa3704876d2040d228e88874ed692cd (patch)
treeb2e1eda6249c5ef430b60825e56b5dae7f1fec29 /dev-libs/elfutils
parentRemove eselect-opengl mask (diff)
downloadhistorical-5da5006bcfa3704876d2040d228e88874ed692cd.tar.gz
historical-5da5006bcfa3704876d2040d228e88874ed692cd.tar.bz2
historical-5da5006bcfa3704876d2040d228e88874ed692cd.zip
Add knobs for controlling install of utilities (so we can install just libraries), static libs, and thread support.
Package-Manager: portage-2.2.0_alpha116/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/elfutils')
-rw-r--r--dev-libs/elfutils/ChangeLog9
-rw-r--r--dev-libs/elfutils/Manifest25
-rw-r--r--dev-libs/elfutils/elfutils-0.154-r1.ebuild66
-rw-r--r--dev-libs/elfutils/metadata.xml4
4 files changed, 100 insertions, 4 deletions
diff --git a/dev-libs/elfutils/ChangeLog b/dev-libs/elfutils/ChangeLog
index f1518850e801..78a33c963eea 100644
--- a/dev-libs/elfutils/ChangeLog
+++ b/dev-libs/elfutils/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/elfutils
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.161 2012/06/23 22:41:22 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.162 2012/07/17 14:52:50 vapier Exp $
+
+*elfutils-0.154-r1 (17 Jul 2012)
+
+ 17 Jul 2012; Mike Frysinger <vapier@gentoo.org> +elfutils-0.154-r1.ebuild,
+ metadata.xml:
+ Add knobs for controlling install of utilities (so we can install just
+ libraries), static libs, and thread support.
*elfutils-0.154 (23 Jun 2012)
diff --git a/dev-libs/elfutils/Manifest b/dev-libs/elfutils/Manifest
index 9b3f954c1a1a..aaab12626c6c 100644
--- a/dev-libs/elfutils/Manifest
+++ b/dev-libs/elfutils/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX elfutils-0.118-PaX-support.patch 954 SHA256 e769e1168dc645ce99655f984f5c19a54d765210cacd098556b6b68743b877fa SHA512 d2b27b1715908ebc68c304a32b29e5bdebede5d4c9819b552617b3e3fd00f21570fa2346ec0e01b9b8028e9139eea629e0e70bee2f509ebfdacd31bbcd3bea0d WHIRLPOOL 47b537a5a01b9a1240b0e922eeef7e5e0e00b04cb474dbb0728849deba4a50c13e6a56b9b5476121771dab25a61641091deefd2cf94bb7cdcf4858f1b6222670
AUX elfutils-0.143-configure.patch 772 SHA256 af91d9c73612d82b3b47099c0dd8e5cfaac1aa6538185e2760ba5ab933ef9091 SHA512 988d9a85339848150023df4193c6fa45a9dc2e3609b16b575ef7e25c4b0eff8b7e1bd188ebc4a5c0ae9b1aeeb16a99ddf1441f53d4a5ec0c88041fee65491c01 WHIRLPOOL 98b0576f049706b6c21765dfe26985bc88f97b5f39ad2ab950944382c06650b25e2ebad47c155924c664c9b56ac822339c0056e3bb0e8156f4f9963946bbadd3
AUX elfutils-0.148-bashifications.patch 760 SHA256 e741d81d4136a1f9a720fcbb67ffbb389cf00f98e344a5102b6c89e77b150c18 SHA512 778899e982021266db3d109ca8eb9c6144e13d98d017fd4d43fbbcc118b2aaebb827dceafc5dc196b437509bbbc4a95d4b152fa493f3a94c2daaa9da2dc91f74 WHIRLPOOL 1f78c567d5460097d8ed0f5756208bb0ef74c41e8a41db16c85fa28d9bc858a71c4ccd5d2978c596d0b12ae57c9a094e8f9062f7b580db93772e38b92c5707ba
@@ -24,6 +27,24 @@ EBUILD elfutils-0.151.ebuild 1748 SHA256 af61869db9596a30a9985b27b68b568ed724730
EBUILD elfutils-0.152-r1.ebuild 2810 SHA256 546ce3e0841fbd8be5e4fed73c7240e5ff4d7e442e234c5e4bccc04c0d32da47 SHA512 d345f5efe1ee6630fdfe0ba8759f12fac2c06ec0954b5e704c0dd9ac794479449333c2168d66b81b982e029901c796424ae81834969534b59148fff35b4198c7 WHIRLPOOL c198eb6b96881dd9ea16376b8505e9b14774d0407fb8ae5f6fa3ea58864b422ce5f02e44e66f9d3ed6e0f9e202288d36c781afba540a38a13f4456150c760e17
EBUILD elfutils-0.152.ebuild 1748 SHA256 fad62bce2ca23b765c33e0c2e975d86f0e5632b9eca34f8692ad6addcf747957 SHA512 c221af822d791f57457da2d348a8803411a3736be642490cdd6c9150133eeb6da77e97ce4fc6cc94af7cff8d1344e01cf3bc7d446d0f5ccbfcf98bcb4407bcf8 WHIRLPOOL aa42c1428cba3e317c9bbaf9b1888a6531172117f6f06bc62bb851efec151aad4e54663361afd71d4a55f01479dbf630acdbe7fe40c9b818726525c80ac984cc
EBUILD elfutils-0.153.ebuild 2042 SHA256 a6ff9cfc5554efebb9109d895001681ec1472e6b338028a0de6160e0668b036c SHA512 3c296ce432d5b8a6d53941530ccc252c10bb2668a8436f5e85eef24173773c7a3a6cf737aaa2474ab937086eaf5ec49aa49a67b8de584c498273c8f7dedd75cc WHIRLPOOL db4e1bd7bec47c7cdc2e06637ad96541d6e35223034bfc1133fc1acac8e218e7a0367e1fd1ea1eab14d9d3df0a7f976256f71fb54470861638e8e6f0c17ab337
+EBUILD elfutils-0.154-r1.ebuild 2308 SHA256 a10660c1981e0047f213c9f1abd87bed04b1b9bf9284101da1a7125bdf7d2b05 SHA512 d57947f9e117f7c925906a332ada93eac7a5896ce492d2594f8dd8a8d1571440b5e9c987023506b3097784e8628772bdef0b80721d1e8c449a2ff9fe61798237 WHIRLPOOL 8e95863fdd6f1582e6bffa8a6734a1648e0f64f253218d75c86371e402b46db6cfec2edfea13bb1a06e39a41248565b7ed158b7e411d5118e7b5daba448dc045
EBUILD elfutils-0.154.ebuild 2042 SHA256 874bd6d9b6cdaf7a555ca4f82c86e4b9c4b0831419ff9ce413d3eac87b88c906 SHA512 724a092a36c59a20d491c06e653c0374dc713be93eaa005eee89b66832843925f655cba2e8e06d0ee41777b63d91475f4ede50c832c88bb62a4d3fe827a10485 WHIRLPOOL 2b10b1e26d18cd722c5ca3d0e596b5a97758599808139767e3718bdfda384de719c13ec563463e88b825a85c0e7a854d5bb6e97734f5f509f364291d990d5158
-MISC ChangeLog 21563 SHA256 d230e37abea337bc73bc83fc850ff799269aab139115a0c84fe697fb539accdd SHA512 13a74f12b8f7437c62c01c5f7723f9e88ae5e7eb99f71b832a2360bd5dad70b1c98e0d5c09019fa7e5f6469169b4ab9a92f372c88147412da28c516e28316682 WHIRLPOOL 2283a5d17e8bad27056566762885574d05252a83ffffb33c0fe791d4152b6c4546321e61859360d295425591d61b9cac305298f74b627295857ef9e9925b1d40
-MISC metadata.xml 281 SHA256 2418a06fe1c33bf09a8cad2a5b582a9a5b4c2d3315e74f67e3b10c4d76f53736 SHA512 746a5421fd12a2bdfe4e79cd0c0bf7366d73cbe99c73b9773900fea341dd86d5e9651d4b7314bf21086ea31d0e9d1f5f7c27346b633061333dcbcad29a83a5f9 WHIRLPOOL 722632d83179695d570f55199a7264feaa14540b03c33a09d8ec6807a00f1191cca2c3c3668906b640ab64dc65edf475118eaeddd953a6f19879b68b6f61772c
+MISC ChangeLog 21811 SHA256 7f54f8296fa8c1375dcb530d90dc296433338d24ae60812d0f8e3feb113f45bb SHA512 60265816e3bdfd4273e1fe63e8f1ee3a3b20247c8d1fa290223e179d55dfc26f5b2a0a35eb02a9218211a69eb0b0fdba411238e3deed980471f6c25d0c74be88 WHIRLPOOL 0d33412eef5ae9090bff8e059c6a8acaea37c09bb094977f85d817312d88ff7535245d1074fd45852b96c4bf7834dc7df0c0bb4a862d583b421e7c618170766b
+MISC metadata.xml 438 SHA256 33cbcbd727257fa6d03488d531c099d33f4c3e4db3cf3739d11d8d4cd8266b37 SHA512 e013123116aa3a3f00fa77cc3e9d18a5c1f481dd304ee6af6e77e3e5e44fb9e3f94ac542fc10fb0c59dea6699c15cce11b1513c061494919f1e821120fb162d9 WHIRLPOOL f07f16d5235c538cef44daca3210ad7374af35705b6562b9bb17b2a5532ba0ed6ea32d1d7f23e93c899e8868503f7a9f8994d2454ca144c45ae7e9317fb0cabd
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQIcBAEBAgAGBQJQBXxUAAoJELEHsLL7fEFWcwwP/0uMiKEdHnRm/6lxRHR5oVyx
+HADsn8wfKmPzBe3nvqHA2ZAjHdlQGzs+6ICOwET9GgtPy9T/rI/ULH908mlmpYF4
+mkB2MHRTnai/xNkSlOxekjeaTTa5X+f3q3bZEJQ5RCB88T7YqMSdjG4DyjH/IT7s
+SFo4e/H3TE8LFBCIDH40cL7DzSR1yV1WAMMkoF5mylxs+R18gxATClsCOO0yxbQH
+pKRLTczFA6AELfyrZks8IPUbVIMx0FgMlZ/ByA6EIFAwrPQ7f/dqdewK1MJ84i1X
+d5RPd8/FErcLTOZGyewfNl5vLJ0AF9Qu50YqeCybdh5yDIR7nFibP8EgFAQQoply
+vRvWeA27vilOXqiGjQ051/pKVr0hMYivWTk04A0w5ah6lBCYFSbxPzZxLWRrvpIT
+gQfwWoaubO6EeOfLsFhrIMW5HutU5h0SFJ0WQ7MDbyjC7L90HrXaKvyuIFkU5I3Y
++w8S8OaKE3OOQiQ6N3XEoSNfafyBOfICkOAR75XWnjsz8BmlSjERH/vH05Lim7p/
+L5sAz91eb312Qf6vnoKKHtRJLwJEcpuQCTv3sCe43PfOe80x6x5+nzEir6Z/YzUy
+ODTs6rDv6TrT1C3jnEbgCTte+TYWO+CWvAorg2x+wG2c8xRT/3dsKnzatcLm1CPG
+FR+/+jODg+FuMk30hfLD
+=3QOn
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/elfutils/elfutils-0.154-r1.ebuild b/dev-libs/elfutils/elfutils-0.154-r1.ebuild
new file mode 100644
index 000000000000..6b9ea9421c6a
--- /dev/null
+++ b/dev-libs/elfutils/elfutils-0.154-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.154-r1.ebuild,v 1.1 2012/07/17 14:52:50 vapier Exp $
+
+EAPI="4"
+
+inherit eutils flag-o-matic
+
+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/${PN}/${PV}/${P}.tar.bz2
+ https://fedorahosted.org/releases/e/l/${PN}/${PV}/${PN}-portability.patch -> ${P}-portability.patch
+ https://fedorahosted.org/releases/e/l/${PN}/${PV}/${PN}-robustify.patch -> ${P}-robustify.patch"
+
+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 static-libs test +threads +utils zlib"
+
+# 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 )
+ !dev-libs/libelf"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ >=sys-devel/flex-2.5.4a
+ sys-devel/m4"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.118-PaX-support.patch
+ epatch "${DISTDIR}"/${P}-{portability,robustify}.patch
+ sed -i -e 's:-Werror::g' $(find -name Makefile.in) || die
+ use test || sed -i -e 's: tests::' Makefile.in #226349
+ use static-libs || sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in
+ # some patches touch both configure and configure.ac
+ find -type f -exec touch -r configure {} +
+}
+
+src_configure() {
+ use test && append-flags -g #407135
+ econf \
+ --disable-werror \
+ $(use_enable nls) \
+ $(use_enable threads thread_safety) \
+ --program-prefix="eu-" \
+ $(use_with zlib) \
+ $(use_with bzip2 bzlib) \
+ $(use_with lzma)
+}
+
+src_test() {
+ env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \
+ LC_ALL="C" \
+ emake check || die
+}
+
+src_install() {
+ default
+ dodoc NOTES
+ # These build quick, and are needed for most tests, so don't
+ # disable their building when the USE flag is disabled.
+ use utils || rm -rf "${ED}"/usr/bin
+}
diff --git a/dev-libs/elfutils/metadata.xml b/dev-libs/elfutils/metadata.xml
index d45814ebca62..6d5bc382fd7a 100644
--- a/dev-libs/elfutils/metadata.xml
+++ b/dev-libs/elfutils/metadata.xml
@@ -3,6 +3,8 @@
<pkgmetadata>
<herd>toolchain</herd>
<use>
- <flag name="lzma">Support automatic decompression of LZMA-compressed files and kernel images.</flag>
+ <flag name="lzma">Support automatic decompression of LZMA-compressed files and kernel images</flag>
+ <flag name="threads">Build the libraries with thread safe support</flag>
+ <flag name="utils">Install command-line utilities (all the eu-* programs)</flag>
</use>
</pkgmetadata>