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, 07 Aug 2020 12:22:15
Message-Id: 1596802929.1708c8a3e9acd87af05fdf20d8bcdf7526d754fe.polynomial-c@gentoo
1 commit: 1708c8a3e9acd87af05fdf20d8bcdf7526d754fe
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 7 12:21:56 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 7 12:22:09 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1708c8a3
7
8 dev-util/strace: Removed old
9
10 Package-Manager: Portage-3.0.1, Repoman-2.3.23
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 dev-util/strace/Manifest | 1 -
14 dev-util/strace/strace-5.6.ebuild | 105 --------------------------------------
15 2 files changed, 106 deletions(-)
16
17 diff --git a/dev-util/strace/Manifest b/dev-util/strace/Manifest
18 index bac6cbb0898..03c18e70ee1 100644
19 --- a/dev-util/strace/Manifest
20 +++ b/dev-util/strace/Manifest
21 @@ -1,5 +1,4 @@
22 DIST strace-5.3.tar.xz 1572708 BLAKE2B 808bc7afc6c70137c44d0f5a47706953bc7c0214348cda2ae45e10876bd6e118c103f15abffdfe0d7fdb01d8d3de163b9c7de3970d9cd07c88ceca11a99dc7f9 SHA512 02b80a8abedb14e40235709733953005210cd328daba59cb594745e7ed3851d155546ccccdb3e43835aa75eee89f023324e542e15154bbc3269e37fd23433e2a
23 DIST strace-5.4.tar.xz 1599396 BLAKE2B 0a7fd9600488f5f07042ead8123151cf0113f82329c3cc786c8f3ffb8673f73eaaa1a489f1f27c47800a20e5b6327f1bf5fb09a5b798156908f9e10374a04970 SHA512 4ddba2ec4457a2257c18b26dca851e49a275813c4eb3069379a93fcc60228f9b63a3dee9e3719ae606a7cc61d55ab21ce147327223903c302c061e381097a8d7
24 -DIST strace-5.6.tar.xz 1775292 BLAKE2B 6e674e4a1b70a3ebb28aa0097baa07efc7dce18039a3a7d535b4c8b3fc1b11c59ef1eb79e58bbf4b9e2b9621d0840958ba5785d22d0cdcb4c00fb5fa2a3288c1 SHA512 58c8a250e55a018206bee9468ea057c087d5d5bb523339ea3c01e0a19d8f84c95bd1398d66a6dca6ada45c6535aa44b776713a2bb080eebaa734ffb926ac5b38
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
28 diff --git a/dev-util/strace/strace-5.6.ebuild b/dev-util/strace/strace-5.6.ebuild
29 deleted file mode 100644
30 index f19588e9f9c..00000000000
31 --- a/dev-util/strace/strace-5.6.ebuild
32 +++ /dev/null
33 @@ -1,105 +0,0 @@
34 -# Copyright 1999-2020 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -inherit autotools flag-o-matic toolchain-funcs
40 -
41 -if [[ ${PV} == "9999" ]] ; then
42 - EGIT_REPO_URI="https://github.com/strace/strace.git"
43 - inherit git-r3 autotools
44 -else
45 - SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
46 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
47 -fi
48 -
49 -DESCRIPTION="A useful diagnostic, instructional, and debugging tool"
50 -HOMEPAGE="https://strace.io/"
51 -
52 -LICENSE="BSD"
53 -SLOT="0"
54 -IUSE="aio perl static unwind elfutils"
55 -
56 -REQUIRED_USE="?? ( unwind elfutils )"
57 -
58 -BDEPEND="
59 - virtual/pkgconfig
60 -"
61 -LIB_DEPEND="
62 - unwind? ( sys-libs/libunwind[static-libs(+)] )
63 - elfutils? ( dev-libs/elfutils[static-libs(+)] )
64 -"
65 -# strace only uses the header from libaio to decode structs
66 -DEPEND="
67 - static? ( ${LIB_DEPEND} )
68 - aio? ( >=dev-libs/libaio-0.3.106 )
69 - sys-kernel/linux-headers
70 -"
71 -RDEPEND="
72 - !static? ( ${LIB_DEPEND//\[static-libs(+)]} )
73 - perl? ( dev-lang/perl )
74 -"
75 -
76 -PATCHES=(
77 - "${FILESDIR}/strace-5.5-static.patch"
78 - "${FILESDIR}/strace-5.6-AR.patch"
79 -)
80 -
81 -src_prepare() {
82 - default
83 -
84 - eautoreconf
85 -
86 - if [[ ! -e configure ]] ; then
87 - # git generation
88 - sed /autoreconf/d -i bootstrap || die
89 - ./bootstrap || die
90 - eautoreconf
91 - [[ ! -e CREDITS ]] && cp CREDITS{.in,}
92 - fi
93 -
94 - filter-lfs-flags # configure handles this sanely
95 -
96 - export ac_cv_header_libaio_h=$(usex aio)
97 - use elibc_musl && export ac_cv_header_stdc=no
98 -
99 - # Stub out the -k test since it's known to be flaky. #545812
100 - sed -i '1iexit 77' tests*/strace-k.test || die
101 -}
102 -
103 -src_configure() {
104 - # Set up the default build settings, and then use the names strace expects.
105 - tc-export_build_env BUILD_{CC,CPP}
106 - local v bv
107 - for v in CC CPP {C,CPP,LD}FLAGS ; do
108 - bv="BUILD_${v}"
109 - export "${v}_FOR_BUILD=${!bv}"
110 - done
111 -
112 - # Don't require mpers support on non-multilib systems. #649560
113 - local myeconfargs=(
114 - --disable-gcc-Werror
115 - --enable-mpers=check
116 - $(use_enable static)
117 - $(use_with unwind libunwind)
118 - $(use_with elfutils libdw)
119 - )
120 - econf "${myeconfargs[@]}"
121 -}
122 -
123 -src_test() {
124 - if has usersandbox ${FEATURES} ; then
125 - ewarn "Test suite is known to fail with FEATURES=usersandbox -- skipping ..." #643044
126 - return 0
127 - fi
128 -
129 - default
130 -}
131 -
132 -src_install() {
133 - default
134 - if ! use perl ; then
135 - rm "${ED}"/usr/bin/strace-graph || die
136 - fi
137 - dodoc CREDITS
138 -}