Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/strace/
Date: Fri, 23 Sep 2022 02:15:03
Message-Id: 1663899287.be88c54d75aecdcca83852001c82c75415131ae3.sam@gentoo
1 commit: be88c54d75aecdcca83852001c82c75415131ae3
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 23 02:14:47 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 23 02:14:47 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be88c54d
7
8 dev-util/strace: drop 5.18
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-util/strace/Manifest | 1 -
13 dev-util/strace/strace-5.18.ebuild | 109 -------------------------------------
14 2 files changed, 110 deletions(-)
15
16 diff --git a/dev-util/strace/Manifest b/dev-util/strace/Manifest
17 index 8c888d075c97..f38d7189451c 100644
18 --- a/dev-util/strace/Manifest
19 +++ b/dev-util/strace/Manifest
20 @@ -1,3 +1,2 @@
21 DIST strace-5.17.tar.xz 2281220 BLAKE2B 27e7dc19302c58144b0a7d8de41f717760b8e3cde4ab56892045727597bbfc894bf8f137aee476548c2d16d1e9c8005f931f31a5d2f8bfc4ce5565c2aa01f1ec SHA512 1b63cf7e6e339333b9d24fa20232409192abc815f2ebe2e336ef4acc039cd06c976b3c12e9ce993491a0e6b86c26b90ceba962f580e894b1ff5ab9863bdfcc44
22 -DIST strace-5.18.tar.xz 2307412 BLAKE2B 658d17d2137344550ea3c2ece54708387c3b78020dbade45a7ef04905dc9d4703fa8d44802cca5a9448d096a7210d0178d8d78caab7e504fa998d1f9a0b59c65 SHA512 99418b84a5e2049cb6fe32eed19ddcb61bbefb25220550c67d92cd7bc3d44ae5d87ac228b3e1c207166b9bfdae55c624a0f4e603004599fb7ea3143bbccc749e
23 DIST strace-5.19.tar.xz 2353276 BLAKE2B 44b9a87f36e66481d8ac2107efbc389fa64c47b2ae7b1cc728241baa1c7d2d5d4d9410622763eb1247b415cad9afdd9f61552d2545388cadf5a33b568ed09af2 SHA512 1ea1c6e12d05bf145bc3c74f8d06b08dfc3eae3a5a21bfe8ab080053dc4c2da8a95be5956652ea62bb083462015a55f9bc1d1023919dcf2929a05211b7dde963
24
25 diff --git a/dev-util/strace/strace-5.18.ebuild b/dev-util/strace/strace-5.18.ebuild
26 deleted file mode 100644
27 index 8d532b61c6c1..000000000000
28 --- a/dev-util/strace/strace-5.18.ebuild
29 +++ /dev/null
30 @@ -1,109 +0,0 @@
31 -# Copyright 1999-2022 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=8
35 -
36 -inherit autotools flag-o-matic toolchain-funcs
37 -
38 -if [[ ${PV} == 9999 ]] ; then
39 - EGIT_REPO_URI="https://github.com/strace/strace.git"
40 - inherit git-r3
41 -else
42 - SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
43 - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
44 -fi
45 -
46 -DESCRIPTION="A useful diagnostic, instructional, and debugging tool"
47 -HOMEPAGE="https://strace.io/"
48 -
49 -LICENSE="BSD"
50 -SLOT="0"
51 -IUSE="aio perl selinux static unwind elfutils"
52 -REQUIRED_USE="?? ( unwind elfutils )"
53 -
54 -BDEPEND="virtual/pkgconfig"
55 -LIB_DEPEND="
56 - unwind? ( sys-libs/libunwind[static-libs(+)] )
57 - elfutils? ( dev-libs/elfutils[static-libs(+)] )
58 - selinux? ( sys-libs/libselinux[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 -PATCHES=(
72 - "${FILESDIR}/${PN}-5.11-static.patch"
73 -)
74 -
75 -src_prepare() {
76 - default
77 -
78 - eautoreconf
79 -
80 - if [[ ! -e configure ]] ; then
81 - # git generation
82 - sed /autoreconf/d -i bootstrap || die
83 - ./bootstrap || die
84 - eautoreconf
85 - [[ ! -e CREDITS ]] && cp CREDITS{.in,}
86 - fi
87 -
88 - # Stub out the -k test since it's known to be flaky. bug #545812
89 - sed -i '1iexit 77' tests*/strace-k.test || die
90 -}
91 -
92 -src_configure() {
93 - # Set up the default build settings, and then use the names strace expects.
94 - tc-export_build_env BUILD_{CC,CPP}
95 - local v bv
96 - for v in CC CPP {C,CPP,LD}FLAGS ; do
97 - bv="BUILD_${v}"
98 - export "${v}_FOR_BUILD=${!bv}"
99 - done
100 -
101 - filter-lfs-flags # configure handles this sanely
102 -
103 - export ac_cv_header_libaio_h=$(usex aio)
104 - use elibc_musl && export ac_cv_header_stdc=no
105 -
106 - local myeconfargs=(
107 - --disable-gcc-Werror
108 -
109 - # Don't require mpers support on non-multilib systems. #649560
110 - --enable-mpers=check
111 -
112 - $(use_enable static)
113 - $(use_with unwind libunwind)
114 - $(use_with elfutils libdw)
115 - $(use_with selinux libselinux)
116 - )
117 - econf "${myeconfargs[@]}"
118 -}
119 -
120 -src_test() {
121 - if has usersandbox ${FEATURES} ; then
122 - # bug #643044
123 - ewarn "Test suite is known to fail with FEATURES=usersandbox -- skipping ..."
124 - return 0
125 - fi
126 -
127 - default
128 -}
129 -
130 -src_install() {
131 - default
132 -
133 - if use perl ; then
134 - exeinto /usr/bin
135 - doexe src/strace-graph
136 - fi
137 -
138 - dodoc CREDITS
139 -}