Gentoo Archives: gentoo-commits

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