Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/strace/
Date: Sun, 10 Mar 2019 17:49:23
Message-Id: 1552240058.309cbc0cf55f59c830a166b260e0b01d1d45cd1b.polynomial-c@gentoo
1 commit: 309cbc0cf55f59c830a166b260e0b01d1d45cd1b
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 10 17:47:38 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 10 17:47:38 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=309cbc0c
7
8 dev-util/strace: Removed old.
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 dev-util/strace/Manifest | 1 -
14 dev-util/strace/strace-4.23-r1.ebuild | 91 -----------------------------------
15 2 files changed, 92 deletions(-)
16
17 diff --git a/dev-util/strace/Manifest b/dev-util/strace/Manifest
18 index 59a268602ca..7a8bd7ee59a 100644
19 --- a/dev-util/strace/Manifest
20 +++ b/dev-util/strace/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST strace-4.23.tar.xz 1379128 BLAKE2B e1b680774172ba65190acc201a00f36ff608eb5a8239f8a6665b9f0eebfb7715eb3469d45c2333e4fac9a498ad3b448b1f39716b92cab91b035bc1e4125382eb SHA512 b54df972dc86e27668784ea4619e8c55230816b249e0a7fcca99a37b7f9ec37710742aca08c9e39b508522accb654a83c98207bab9ccac1197bb8e73e51ab116
23 DIST strace-4.25.tar.xz 1425268 BLAKE2B 896685589686864316940b8493e481f5e37d1c2f536551f79193bc851d66614816abbc989dbff2b18e38f5bff535315ca732221d520f282227b74a4eab3ebb4f SHA512 1465ef5ebc77cee73ebae5e12c72ff1826f48cdb2b36bdd5116380fac3add73f3ede3ca2694358bfb0c3e3141be5b747b353749130a366c81d05709b2d7bb879
24 DIST strace-4.26.tar.xz 1444216 BLAKE2B ea8ff5f863afa29a3a40e8d89ff5c3835c64adf7c34c8957bbe3d99a02998d61714437470293d1759e87c1ceb8ed42564632ef33dd9d5303452ec7505822d1ba SHA512 cce153246802fcdb1547bc11164784066101a2e672e2a264cb742593b559e579aa4bedc749d87fdd1fc2045f4f79b54d419bb50c823074d2cca6f3c75ccf2290
25
26 diff --git a/dev-util/strace/strace-4.23-r1.ebuild b/dev-util/strace/strace-4.23-r1.ebuild
27 deleted file mode 100644
28 index 34d307fd4b9..00000000000
29 --- a/dev-util/strace/strace-4.23-r1.ebuild
30 +++ /dev/null
31 @@ -1,91 +0,0 @@
32 -# Copyright 1999-2018 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -inherit flag-o-matic toolchain-funcs
38 -
39 -if [[ ${PV} == "9999" ]] ; then
40 - EGIT_REPO_URI="https://github.com/strace/strace.git"
41 - inherit git-r3 autotools
42 -else
43 - SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
44 - KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux"
45 -fi
46 -
47 -DESCRIPTION="A useful diagnostic, instructional, and debugging tool"
48 -HOMEPAGE="https://strace.io/"
49 -
50 -LICENSE="BSD"
51 -SLOT="0"
52 -IUSE="aio perl static unwind elfutils"
53 -
54 -REQUIRED_USE="?? ( unwind elfutils )"
55 -
56 -LIB_DEPEND="
57 - unwind? ( sys-libs/libunwind[static-libs(+)] )
58 - elfutils? ( dev-libs/elfutils[static-libs(+)] )
59 -"
60 -# strace only uses the header from libaio to decode structs
61 -DEPEND="
62 - static? ( ${LIB_DEPEND} )
63 - aio? ( >=dev-libs/libaio-0.3.106 )
64 - sys-kernel/linux-headers
65 -"
66 -RDEPEND="
67 - !static? ( ${LIB_DEPEND//\[static-libs(+)]} )
68 - perl? ( dev-lang/perl )
69 -"
70 -
71 -src_prepare() {
72 - default
73 -
74 - if [[ ! -e configure ]] ; then
75 - # git generation
76 - ./xlat/gen.sh || die
77 - ./generate_mpers_am.sh || die
78 - eautoreconf
79 - [[ ! -e CREDITS ]] && cp CREDITS{.in,}
80 - fi
81 -
82 - filter-lfs-flags # configure handles this sanely
83 - # Add -pthread since strace wants -lrt for timer_create, and -lrt uses -lpthread.
84 - use static && append-ldflags -static -pthread
85 -
86 - export ac_cv_header_libaio_h=$(usex aio)
87 - use elibc_musl && export ac_cv_header_stdc=no
88 -
89 - # Stub out the -k test since it's known to be flaky. #545812
90 - sed -i '1iexit 77' tests*/strace-k.test || die
91 -}
92 -
93 -src_configure() {
94 - # Set up the default build settings, and then use the names strace expects.
95 - tc-export_build_env BUILD_{CC,CPP}
96 - local v bv
97 - for v in CC CPP {C,CPP,LD}FLAGS ; do
98 - bv="BUILD_${v}"
99 - export "${v}_FOR_BUILD=${!bv}"
100 - done
101 -
102 - # Don't require mpers support on non-multilib systems. #649560
103 - econf \
104 - --enable-mpers=check \
105 - $(use_with unwind libunwind) \
106 - $(use_with elfutils libdw)
107 -}
108 -
109 -src_test() {
110 - if has usersandbox $FEATURES ; then
111 - ewarn "Test suite is known to fail with FEATURES=usersandbox -- skipping ..." #643044
112 - return 0
113 - fi
114 -
115 - default
116 -}
117 -
118 -src_install() {
119 - default
120 - use perl || rm "${ED%/}"/usr/bin/strace-graph
121 - dodoc CREDITS
122 -}