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: Fri, 25 Sep 2020 07:50:55
Message-Id: 1601020248.e267b0cb2d06a6c2cbbe8723e4c558a7a2f6c118.polynomial-c@gentoo
1 commit: e267b0cb2d06a6c2cbbe8723e4c558a7a2f6c118
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 25 07:42:28 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 25 07:50:48 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e267b0cb
7
8 dev-util/strace: Removed old
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 dev-util/strace/Manifest | 2 -
14 dev-util/strace/strace-5.3.ebuild | 95 ----------------------------------
15 dev-util/strace/strace-5.7.ebuild | 104 --------------------------------------
16 3 files changed, 201 deletions(-)
17
18 diff --git a/dev-util/strace/Manifest b/dev-util/strace/Manifest
19 index a2928b8a19d..c107109dcc3 100644
20 --- a/dev-util/strace/Manifest
21 +++ b/dev-util/strace/Manifest
22 @@ -1,5 +1,3 @@
23 -DIST strace-5.3.tar.xz 1572708 BLAKE2B 808bc7afc6c70137c44d0f5a47706953bc7c0214348cda2ae45e10876bd6e118c103f15abffdfe0d7fdb01d8d3de163b9c7de3970d9cd07c88ceca11a99dc7f9 SHA512 02b80a8abedb14e40235709733953005210cd328daba59cb594745e7ed3851d155546ccccdb3e43835aa75eee89f023324e542e15154bbc3269e37fd23433e2a
24 DIST strace-5.4.tar.xz 1599396 BLAKE2B 0a7fd9600488f5f07042ead8123151cf0113f82329c3cc786c8f3ffb8673f73eaaa1a489f1f27c47800a20e5b6327f1bf5fb09a5b798156908f9e10374a04970 SHA512 4ddba2ec4457a2257c18b26dca851e49a275813c4eb3069379a93fcc60228f9b63a3dee9e3719ae606a7cc61d55ab21ce147327223903c302c061e381097a8d7
25 -DIST strace-5.7.tar.xz 1805044 BLAKE2B 487a1481357642be21c83cf387710bc75f17bd0af87ff07f914faa99120a619f33d2caba034d50dbdbc03aa3f758dae86d04fc6c25b3f6254ac3f0578a19884a SHA512 aef481238196204495cf9507cd48ce30af799f79904478e6be57a267311a999c868f18540cc1e025f5e486730cfe9ccb256f528f6f796d204a7347ebdf2042f1
26 DIST strace-5.8.tar.xz 1813640 BLAKE2B 315edf404fa57890dcff512f9fd76818e8e7d5ad06bc297b68561ec7073297c2e5aaf2c3d9a102382f5833bedacb2a54540068a9f9438094c9180f45b5dc4715 SHA512 633c3daa2dd3d273839cbb8ebd7f6512a38b39af0d0d89f4676c2067e199f346615406d85e3e13f9e4da8dbeb62095185895ffae986eb99b64775a4287e38f4c
27 DIST strace-5.9.tar.xz 1847036 BLAKE2B 92d6b5e1a7821086b4e0e535d5db7849158e58ac0604fb9bb667e106b72b1ce17dfadd3960efcf553d7c7dec4622db36833aa5cdd4bc924f8b54ec6168ed82dd SHA512 f28d5dcceccb44557b39ed6f295f3250662804dc3ad79959bfadffcecc9b736e532c7c90dc89ebf9d07eb3e02a5ace231605851148ca09d41c8c60dc1ff68206
28
29 diff --git a/dev-util/strace/strace-5.3.ebuild b/dev-util/strace/strace-5.3.ebuild
30 deleted file mode 100644
31 index 34f62655643..00000000000
32 --- a/dev-util/strace/strace-5.3.ebuild
33 +++ /dev/null
34 @@ -1,95 +0,0 @@
35 -# Copyright 1999-2020 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -
40 -inherit flag-o-matic toolchain-funcs
41 -
42 -if [[ ${PV} == "9999" ]] ; then
43 - EGIT_REPO_URI="https://github.com/strace/strace.git"
44 - inherit git-r3 autotools
45 -else
46 - SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
47 - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux"
48 -fi
49 -
50 -DESCRIPTION="A useful diagnostic, instructional, and debugging tool"
51 -HOMEPAGE="https://strace.io/"
52 -
53 -LICENSE="BSD"
54 -SLOT="0"
55 -IUSE="aio perl static unwind elfutils"
56 -
57 -REQUIRED_USE="?? ( unwind elfutils )"
58 -
59 -LIB_DEPEND="
60 - unwind? ( sys-libs/libunwind[static-libs(+)] )
61 - elfutils? ( dev-libs/elfutils[static-libs(+)] )
62 -"
63 -# strace only uses the header from libaio to decode structs
64 -DEPEND="
65 - static? ( ${LIB_DEPEND} )
66 - aio? ( >=dev-libs/libaio-0.3.106 )
67 - sys-kernel/linux-headers
68 -"
69 -RDEPEND="
70 - !static? ( ${LIB_DEPEND//\[static-libs(+)]} )
71 - perl? ( dev-lang/perl )
72 -"
73 -
74 -src_prepare() {
75 - default
76 -
77 - if [[ ! -e configure ]] ; then
78 - # git generation
79 - sed /autoreconf/d -i bootstrap || die
80 - ./bootstrap || die
81 - eautoreconf
82 - [[ ! -e CREDITS ]] && cp CREDITS{.in,}
83 - fi
84 -
85 - filter-lfs-flags # configure handles this sanely
86 - # Add -pthread since strace wants -lrt for timer_create, and -lrt uses -lpthread.
87 - use static && append-ldflags -static -pthread
88 -
89 - export ac_cv_header_libaio_h=$(usex aio)
90 - use elibc_musl && export ac_cv_header_stdc=no
91 -
92 - # Stub out the -k test since it's known to be flaky. #545812
93 - sed -i '1iexit 77' tests*/strace-k.test || die
94 -}
95 -
96 -src_configure() {
97 - # Set up the default build settings, and then use the names strace expects.
98 - tc-export_build_env BUILD_{CC,CPP}
99 - local v bv
100 - for v in CC CPP {C,CPP,LD}FLAGS ; do
101 - bv="BUILD_${v}"
102 - export "${v}_FOR_BUILD=${!bv}"
103 - done
104 -
105 - # Don't require mpers support on non-multilib systems. #649560
106 - local myeconfargs=(
107 - --enable-mpers=check
108 - $(use_with unwind libunwind)
109 - $(use_with elfutils libdw)
110 - )
111 - econf "${myeconfargs[@]}"
112 -}
113 -
114 -src_test() {
115 - if has usersandbox ${FEATURES} ; then
116 - ewarn "Test suite is known to fail with FEATURES=usersandbox -- skipping ..." #643044
117 - return 0
118 - fi
119 -
120 - default
121 -}
122 -
123 -src_install() {
124 - default
125 - if ! use perl ; then
126 - rm "${ED}"/usr/bin/strace-graph || die
127 - fi
128 - dodoc CREDITS
129 -}
130
131 diff --git a/dev-util/strace/strace-5.7.ebuild b/dev-util/strace/strace-5.7.ebuild
132 deleted file mode 100644
133 index 5d7d3277504..00000000000
134 --- a/dev-util/strace/strace-5.7.ebuild
135 +++ /dev/null
136 @@ -1,104 +0,0 @@
137 -# Copyright 1999-2020 Gentoo Authors
138 -# Distributed under the terms of the GNU General Public License v2
139 -
140 -EAPI=7
141 -
142 -inherit autotools flag-o-matic toolchain-funcs
143 -
144 -if [[ ${PV} == "9999" ]] ; then
145 - EGIT_REPO_URI="https://github.com/strace/strace.git"
146 - inherit git-r3 autotools
147 -else
148 - SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
149 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
150 -fi
151 -
152 -DESCRIPTION="A useful diagnostic, instructional, and debugging tool"
153 -HOMEPAGE="https://strace.io/"
154 -
155 -LICENSE="BSD"
156 -SLOT="0"
157 -IUSE="aio perl static unwind elfutils"
158 -
159 -REQUIRED_USE="?? ( unwind elfutils )"
160 -
161 -BDEPEND="
162 - virtual/pkgconfig
163 -"
164 -LIB_DEPEND="
165 - unwind? ( sys-libs/libunwind[static-libs(+)] )
166 - elfutils? ( dev-libs/elfutils[static-libs(+)] )
167 -"
168 -# strace only uses the header from libaio to decode structs
169 -DEPEND="
170 - static? ( ${LIB_DEPEND} )
171 - aio? ( >=dev-libs/libaio-0.3.106 )
172 - sys-kernel/linux-headers
173 -"
174 -RDEPEND="
175 - !static? ( ${LIB_DEPEND//\[static-libs(+)]} )
176 - perl? ( dev-lang/perl )
177 -"
178 -
179 -PATCHES=(
180 - "${FILESDIR}/strace-5.5-static.patch"
181 -)
182 -
183 -src_prepare() {
184 - default
185 -
186 - eautoreconf
187 -
188 - if [[ ! -e configure ]] ; then
189 - # git generation
190 - sed /autoreconf/d -i bootstrap || die
191 - ./bootstrap || die
192 - eautoreconf
193 - [[ ! -e CREDITS ]] && cp CREDITS{.in,}
194 - fi
195 -
196 - filter-lfs-flags # configure handles this sanely
197 -
198 - export ac_cv_header_libaio_h=$(usex aio)
199 - use elibc_musl && export ac_cv_header_stdc=no
200 -
201 - # Stub out the -k test since it's known to be flaky. #545812
202 - sed -i '1iexit 77' tests*/strace-k.test || die
203 -}
204 -
205 -src_configure() {
206 - # Set up the default build settings, and then use the names strace expects.
207 - tc-export_build_env BUILD_{CC,CPP}
208 - local v bv
209 - for v in CC CPP {C,CPP,LD}FLAGS ; do
210 - bv="BUILD_${v}"
211 - export "${v}_FOR_BUILD=${!bv}"
212 - done
213 -
214 - # Don't require mpers support on non-multilib systems. #649560
215 - local myeconfargs=(
216 - --disable-gcc-Werror
217 - --enable-mpers=check
218 - $(use_enable static)
219 - $(use_with unwind libunwind)
220 - $(use_with elfutils libdw)
221 - )
222 - econf "${myeconfargs[@]}"
223 -}
224 -
225 -src_test() {
226 - if has usersandbox ${FEATURES} ; then
227 - ewarn "Test suite is known to fail with FEATURES=usersandbox -- skipping ..." #643044
228 - return 0
229 - fi
230 -
231 - default
232 -}
233 -
234 -src_install() {
235 - default
236 - if ! use perl ; then
237 - rm "${ED}"/usr/bin/strace-graph || die
238 - fi
239 - dodoc CREDITS
240 -}