Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/elfutils/
Date: Sat, 17 Jul 2021 11:22:35
Message-Id: 1626520947.a5ef05e808652da221c2440fa51e998bab439068.slyfox@gentoo
1 commit: a5ef05e808652da221c2440fa51e998bab439068
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 17 10:57:04 2021 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 17 11:22:27 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5ef05e8
7
8 dev-libs/elfutils: drop old
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-libs/elfutils/Manifest | 1 -
14 dev-libs/elfutils/elfutils-0.184.ebuild | 86 ---------------------------------
15 2 files changed, 87 deletions(-)
16
17 diff --git a/dev-libs/elfutils/Manifest b/dev-libs/elfutils/Manifest
18 index 60dacb408a2..346d253f96f 100644
19 --- a/dev-libs/elfutils/Manifest
20 +++ b/dev-libs/elfutils/Manifest
21 @@ -1,2 +1 @@
22 -DIST elfutils-0.184.tar.bz2 9185468 BLAKE2B 8e45aa603a039fb128b96a1ffee4a0137fd1808d7087a2ddc8682a9bec1d65a56e6e6ad1419ac5e9f4490cc258c8ac0ee3e49775aab278efb1889bdceaf842bf SHA512 5920c354edd6b28bb7e713d674bf6f2221e8ee91b90d582de39b1f45446aea1e7e3d4b6671024c391675b5e7530fe952c1320d730bb625c02d4c647ceb938bc8
23 DIST elfutils-0.185.tar.bz2 9187627 BLAKE2B 57cfa7e4060975c4bf6170dbd354687a19a92f7069c060db1ac2fa4da5a9d34e8bddd07c7ce376b5c28b5670ad5b8c1df795164cbcfb600a44cf1db60c20c4af SHA512 34de0de1355b11740e036e0fc64f2fc063587c8eb121b19216ee5548d3f0f268d8fc3995176c47190466b9d881007cfa11a9d01e9a50e38af6119492bf8bb47f
24
25 diff --git a/dev-libs/elfutils/elfutils-0.184.ebuild b/dev-libs/elfutils/elfutils-0.184.ebuild
26 deleted file mode 100644
27 index 38450aa6bc2..00000000000
28 --- a/dev-libs/elfutils/elfutils-0.184.ebuild
29 +++ /dev/null
30 @@ -1,86 +0,0 @@
31 -# Copyright 2003-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit flag-o-matic multilib-minimal
37 -
38 -DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
39 -HOMEPAGE="http://elfutils.org/"
40 -SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2"
41 -
42 -LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )"
43 -SLOT="0"
44 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
45 -IUSE="bzip2 lzma nls static-libs test +threads +utils valgrind zstd"
46 -
47 -RDEPEND=">=sys-libs/zlib-1.2.8-r1[static-libs?,${MULTILIB_USEDEP}]
48 - bzip2? ( >=app-arch/bzip2-1.0.6-r4[static-libs?,${MULTILIB_USEDEP}] )
49 - lzma? ( >=app-arch/xz-utils-5.0.5-r1[static-libs?,${MULTILIB_USEDEP}] )
50 - zstd? ( app-arch/zstd:=[static-libs?,${MULTILIB_USEDEP}] )
51 - !dev-libs/libelf
52 -"
53 -DEPEND="${RDEPEND}
54 - valgrind? ( dev-util/valgrind )
55 -"
56 -BDEPEND="nls? ( sys-devel/gettext )
57 - >=sys-devel/flex-2.5.4a
58 - sys-devel/m4
59 -"
60 -RESTRICT="!test? ( test )"
61 -
62 -PATCHES=(
63 - "${FILESDIR}"/${PN}-0.175-disable-biarch-test-PR24158.patch
64 - "${FILESDIR}"/${PN}-0.177-disable-large.patch
65 - "${FILESDIR}"/${PN}-0.180-PaX-support.patch
66 -)
67 -
68 -src_prepare() {
69 - default
70 -
71 - if ! use static-libs; then
72 - sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in || die
73 - fi
74 - # https://sourceware.org/PR23914
75 - sed -i 's:-Werror::' */Makefile.in || die
76 -}
77 -
78 -src_configure() {
79 - use test && append-flags -g #407135
80 -
81 - # Symbol aliases are implemented as asm statements.
82 - # Will require porting: https://gcc.gnu.org/PR48200
83 - filter-flags '-flto*'
84 -
85 - multilib-minimal_src_configure
86 -}
87 -
88 -multilib_src_configure() {
89 - ECONF_SOURCE="${S}" econf \
90 - $(use_enable nls) \
91 - $(use_enable threads thread-safety) \
92 - $(use_enable valgrind) \
93 - --disable-debuginfod \
94 - --disable-libdebuginfod \
95 - --program-prefix="eu-" \
96 - --with-zlib \
97 - $(use_with bzip2 bzlib) \
98 - $(use_with lzma) \
99 - $(use_with zstd)
100 -}
101 -
102 -multilib_src_test() {
103 - env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \
104 - LC_ALL="C" \
105 - emake check VERBOSE=1
106 -}
107 -
108 -multilib_src_install_all() {
109 - einstalldocs
110 - dodoc NOTES
111 - # These build quick, and are needed for most tests, so don't
112 - # disable their building when the USE flag is disabled.
113 - if ! use utils; then
114 - rm -rf "${ED}"/usr/bin || die
115 - fi
116 -}