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