Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/strace/
Date: Mon, 01 Jan 2018 21:39:38
Message-Id: 1514842242.a2612ca3396dd27bef67877af0751e56da2dc53c.whissi@gentoo
1 commit: a2612ca3396dd27bef67877af0751e56da2dc53c
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 1 21:30:42 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 1 21:30:42 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2612ca3
7
8 dev-util/strace: Cleanup old.
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 dev-util/strace/Manifest | 1 -
13 dev-util/strace/strace-4.19.ebuild | 73 --------------------------------------
14 2 files changed, 74 deletions(-)
15
16 diff --git a/dev-util/strace/Manifest b/dev-util/strace/Manifest
17 index eb8caeadbd7..80918095f95 100644
18 --- a/dev-util/strace/Manifest
19 +++ b/dev-util/strace/Manifest
20 @@ -1,3 +1,2 @@
21 DIST strace-4.16.tar.xz 966668 BLAKE2B b3c593b2fc17d540ca04a05886fc0d37b3445a4e88f5e93035bc9dbeb6fe21678b9018f052ba8e356a51d0a5013ec8863a50f8fcd5dcfd1d8b9ac4a6363f2d71 SHA512 d1a7b782cb8196eb95b431b66f9b0eff7886869a7e3a4618d985f73b2eed7590ba73150b9c33e55ee5c65fc8f863588b64c5611dca7b5d7a4183110eaf4451d5
22 -DIST strace-4.19.tar.xz 1113124 BLAKE2B 7018df9a1efd5e732cbef9eb3907e9cff8eafcee0b69853c54627d244ab55bae1ed295ac06a36314f3e88ce9e623fbe147a59f3519352e8d4d3a0d552d0bc884 SHA512 91d57f58ac0e70ff4dcd69fda3cb835de7f40a9152817427e9c264773f99015badbad7bab047ce7f69001b689b1ce54af9522a9738060823de8873bee1e0c629
23 DIST strace-4.20.tar.xz 1132460 BLAKE2B 2e0e3080008ed1d5fd87572df740af8c62ebba44e0ece3c6b5ab581f246e79d8074a7fc2d0857abe158a055042fccbd880e11c9567beca1aeddc23f92d763c2d SHA512 869b3b9c48401619073a021e20e80cce37d8884f615bdb52dac9e6a2903df11507d7a0cb0ccad75bcc03d8dfafead0e68d14267e663503e94849079c9a2ebd4c
24
25 diff --git a/dev-util/strace/strace-4.19.ebuild b/dev-util/strace/strace-4.19.ebuild
26 deleted file mode 100644
27 index 24bc92be859..00000000000
28 --- a/dev-util/strace/strace-4.19.ebuild
29 +++ /dev/null
30 @@ -1,73 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=5
35 -
36 -inherit flag-o-matic eutils toolchain-funcs
37 -
38 -if [[ ${PV} == "9999" ]] ; then
39 - EGIT_REPO_URI="git://git.code.sf.net/p/strace/code"
40 - EGIT_PROJECT="${PN}"
41 - inherit git-2 autotools
42 -else
43 - SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
44 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
45 -fi
46 -
47 -DESCRIPTION="A useful diagnostic, instructional, and debugging tool"
48 -HOMEPAGE="https://sourceforge.net/projects/strace/"
49 -
50 -LICENSE="BSD"
51 -SLOT="0"
52 -IUSE="aio perl static unwind"
53 -
54 -LIB_DEPEND="unwind? ( sys-libs/libunwind[static-libs(+)] )"
55 -# strace only uses the header from libaio to decode structs
56 -DEPEND="
57 - static? ( ${LIB_DEPEND} )
58 - aio? ( >=dev-libs/libaio-0.3.106 )
59 - sys-kernel/linux-headers
60 -"
61 -RDEPEND="
62 - !static? ( ${LIB_DEPEND//\[static-libs(+)]} )
63 - perl? ( dev-lang/perl )
64 -"
65 -
66 -src_prepare() {
67 - epatch_user
68 -
69 - if [[ ! -e configure ]] ; then
70 - # git generation
71 - ./xlat/gen.sh || die
72 - ./generate_mpers_am.sh || die
73 - eautoreconf
74 - [[ ! -e CREDITS ]] && cp CREDITS{.in,}
75 - fi
76 -
77 - filter-lfs-flags # configure handles this sanely
78 - use static && append-ldflags -static
79 -
80 - export ac_cv_header_libaio_h=$(usex aio)
81 - use elibc_musl && export ac_cv_header_stdc=no
82 -
83 - # Stub out the -k test since it's known to be flaky. #545812
84 - sed -i '1iexit 77' tests*/strace-k.test || die
85 -}
86 -
87 -src_configure() {
88 - # Set up the default build settings, and then use the names strace expects.
89 - tc-export_build_env BUILD_{CC,CPP}
90 - local v bv
91 - for v in CC CPP {C,CPP,LD}FLAGS ; do
92 - bv="BUILD_${v}"
93 - export "${v}_FOR_BUILD=${!bv}"
94 - done
95 -
96 - econf $(use_with unwind libunwind)
97 -}
98 -
99 -src_install() {
100 - default
101 - use perl || rm "${ED}"/usr/bin/strace-graph
102 - dodoc CREDITS
103 -}