diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-27 13:35:02 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-27 13:35:02 +0100 |
commit | ef593d1ec529be89d755077eee3869006d8c18ae (patch) | |
tree | e17a9fcd71c371059f0168cbdfe109c563536c27 /dev-util/strace | |
parent | 61faa1ea0e8302df305bc281038fc00dc7eb1dd4 (diff) |
gentoo auto-resync : 27:06:2023 - 13:35:02
Diffstat (limited to 'dev-util/strace')
-rw-r--r-- | dev-util/strace/Manifest | 4 | ||||
-rw-r--r-- | dev-util/strace/strace-6.4.ebuild | 108 | ||||
-rw-r--r-- | dev-util/strace/strace-9999.ebuild | 8 |
3 files changed, 115 insertions, 5 deletions
diff --git a/dev-util/strace/Manifest b/dev-util/strace/Manifest index 8f59890230b4..8efaf0ffdf0f 100644 --- a/dev-util/strace/Manifest +++ b/dev-util/strace/Manifest @@ -1,7 +1,9 @@ AUX strace-5.11-static.patch 5306 BLAKE2B 24150fcdf0ff75c4698542914bcd0fd39df9794f39ce0d16dac6dc3b689365e124d8d77a75a8fe81caff9432679563d84ffd31add74edb4c8f83aec28ff2f078 SHA512 bbeecbfd73109d21732acdaa28d5b4c82b23b7165f09e78e62cad68f9ac63dfb4c7a1c2eb8bdc642dda9f07d62e286ab46a2be236b5f03e1e6f9920f3093ede8 DIST strace-6.2.tar.xz 2364280 BLAKE2B 8e51cb3e426e9b99d598b4fcece21ba7873e81468cddae04c2f0b1a48dc40643c626acadd226389c33dbef5350b502817d3459d445fc17cce149f7e501c15ae2 SHA512 56708faa3f73c0673c98a5b8b8fe35289ecf2870f4f775bcb7a6be59451ef84685564c0129aca15b576d851f8efa1ff760e27658b914d1f31adf4de3b1ad721f DIST strace-6.3.tar.xz 2382284 BLAKE2B 7373ebddd6f23713b752ed91598e536d61e08865907c7825dd3492574c7feb0ad6d56bea0e144e1082ac1882d68bb5f160f25e70bfc6e2fd47571ef2c40403fb SHA512 2b0a57e3ee8a23eb3882123149cd732c568322614bf8fde69fabcea64d0d4e3c46c71d63183e0e8d9f8744a7b1cebc823cc67023660c37547f5b854fcc1ca9df +DIST strace-6.4.tar.xz 2391828 BLAKE2B a9d359679bc5cc61061eb9f19a6156637f12509cb1045462b1547cba8a1218a9b2a4d3b87cf4a33856500515cc0bd457c1374b0ed349293821d80e3cc0de0452 SHA512 29f47195b2766dc0d2907aba2d561e87ec87939251d07fd82d22ffdd3c864944ab0c47eabd7b13272345dfc5dfae7ca435c94fd5ccc297dd46e0747c6d463e01 EBUILD strace-6.2.ebuild 2435 BLAKE2B 13ea1f6c76e83a56bc6d0f9478fa1ea1f5848b41a6fbfdb0ab0bd6a43e822225649464a3f6a823f895bb27525296bbb2ad8f4d09f7f4801ff4850affd628e9d4 SHA512 a82116b2b57bd901c0701f024040b2634b4ddc0eb89546a6cf11489d4672b24ccfe91ec50a6e20089dff7e9a61e5583f35888fd8d96be626a11491702b374f01 EBUILD strace-6.3.ebuild 2434 BLAKE2B fccc5a75dda51852abdbcc18d010f14bb1e52e3f0f92f78db4791e8af014c6c9816caea6bb5a2792390865abca8c217a414c24e78ac7ed743aa004f23d588d26 SHA512 c0efdfb974253fccfcfa1d68aebdeff45ad8b15f206d1140c26e44e98331d69350d8cb844d73b048ffb5bf6415e41f264826af6a73bebf2d61d5de151540245e -EBUILD strace-9999.ebuild 2442 BLAKE2B 6cb1e240ee130494e165598f3ab853c0f2541365533ec5ee2b2e17bdc4e7b235ab32e2095699a69f461c2818c653975085604304d875134f1b9958ad11b44e49 SHA512 9a94e1bdeb02a857cba180f2ee23bd0b7c8031f5a533ce496396ed7011e85ae7ac6c96dd6919dab4e8ae70a8cf6c37ec5e07ad142e6f60d86899db7c6fe4a0a3 +EBUILD strace-6.4.ebuild 2440 BLAKE2B 237da77412c91dad660102ecfe4a3a6a0256aac1068713e134e6cbf98d4de969f0ef0a469a4ac6b41e4fb384fb58a622817524ad7a76cbad9d059c9eb26157b2 SHA512 2fe172701962d14c2d70b496f882065d245aa50440b97d55214e9b966fa12b381fe2e222815bb9da4bcf81368e8c6d0b29d22bba5c73208a431a955adc4df14d +EBUILD strace-9999.ebuild 2440 BLAKE2B 237da77412c91dad660102ecfe4a3a6a0256aac1068713e134e6cbf98d4de969f0ef0a469a4ac6b41e4fb384fb58a622817524ad7a76cbad9d059c9eb26157b2 SHA512 2fe172701962d14c2d70b496f882065d245aa50440b97d55214e9b966fa12b381fe2e222815bb9da4bcf81368e8c6d0b29d22bba5c73208a431a955adc4df14d MISC metadata.xml 779 BLAKE2B 89b4360e876fbb34a7a766a57ba9ca088a5e03e9ef66fdbe0a2b15df4cfb625daba11dc76920dec405b97cb87df49fd3c9edc0e184e73262b14b616af36fa4dd SHA512 88b2d94fd6efebaa617c8344bff3997f31c6262b9376cbce014bf7f6225f02bd8ee7bcaf98df4477435319bbb92addcdb6756e5d37a137a863f0bef1ecc5fced diff --git a/dev-util/strace/strace-6.4.ebuild b/dev-util/strace/strace-6.4.ebuild new file mode 100644 index 000000000000..7abd31007686 --- /dev/null +++ b/dev-util/strace/strace-6.4.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools edo flag-o-matic toolchain-funcs + +DESCRIPTION="Useful diagnostic, instructional, and debugging tool" +HOMEPAGE="https://strace.io/" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/strace/strace.git" + inherit git-r3 +else + SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="aio perl selinux static unwind elfutils" +REQUIRED_USE="?? ( unwind elfutils )" + +BDEPEND="virtual/pkgconfig" +LIB_DEPEND=" + unwind? ( sys-libs/libunwind[static-libs(+)] ) + elfutils? ( dev-libs/elfutils[static-libs(+)] ) + selinux? ( sys-libs/libselinux[static-libs(+)] ) +" +# strace only uses the header from libaio to decode structs +DEPEND=" + static? ( ${LIB_DEPEND} ) + aio? ( >=dev-libs/libaio-0.3.106 ) + sys-kernel/linux-headers +" +RDEPEND=" + !static? ( ${LIB_DEPEND//\[static-libs(+)]} ) + perl? ( dev-lang/perl ) +" + +PATCHES=( + "${FILESDIR}/${PN}-5.11-static.patch" +) + +src_prepare() { + default + + if [[ ! -e configure ]] ; then + # git generation + sed /autoreconf/d -i bootstrap || die + edo ./bootstrap + [[ ! -e CREDITS ]] && cp CREDITS{.in,} + fi + + eautoreconf + + # Stub out the -k test since it's known to be flaky. bug #545812 + sed -i '1iexit 77' tests*/strace-k.test || die +} + +src_configure() { + # Set up the default build settings, and then use the names strace expects. + tc-export_build_env BUILD_{CC,CPP} + local v bv + for v in CC CPP {C,CPP,LD}FLAGS ; do + bv="BUILD_${v}" + export "${v}_FOR_BUILD=${!bv}" + done + + filter-lfs-flags # configure handles this sanely + + export ac_cv_header_libaio_h=$(usex aio) + use elibc_musl && export ac_cv_header_stdc=no + + local myeconfargs=( + --disable-gcc-Werror + + # Don't require mpers support on non-multilib systems. #649560 + --enable-mpers=check + + $(use_enable static) + $(use_with unwind libunwind) + $(use_with elfutils libdw) + $(use_with selinux libselinux) + ) + econf "${myeconfargs[@]}" +} + +src_test() { + if has usersandbox ${FEATURES} ; then + # bug #643044 + ewarn "Test suite is known to fail with FEATURES=usersandbox -- skipping ..." + return 0 + fi + + default +} + +src_install() { + default + + if use perl ; then + exeinto /usr/bin + doexe src/strace-graph + fi + + dodoc CREDITS +} diff --git a/dev-util/strace/strace-9999.ebuild b/dev-util/strace/strace-9999.ebuild index 49ada010927a..7abd31007686 100644 --- a/dev-util/strace/strace-9999.ebuild +++ b/dev-util/strace/strace-9999.ebuild @@ -1,10 +1,13 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit autotools edo flag-o-matic toolchain-funcs +DESCRIPTION="Useful diagnostic, instructional, and debugging tool" +HOMEPAGE="https://strace.io/" + if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/strace/strace.git" inherit git-r3 @@ -13,9 +16,6 @@ else KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" fi -DESCRIPTION="A useful diagnostic, instructional, and debugging tool" -HOMEPAGE="https://strace.io/" - LICENSE="BSD" SLOT="0" IUSE="aio perl selinux static unwind elfutils" |