strace: update to 5.10.
Co-authored-by: Érico Nogueira Rolim <34201958+ericonr@users.noreply.github.com>
This commit is contained in:
parent
f773cd4282
commit
1d90d0e541
|
@ -1,19 +1,31 @@
|
||||||
# Template file for 'strace'
|
# Template file for 'strace'
|
||||||
pkgname=strace
|
pkgname=strace
|
||||||
version=5.9
|
version=5.10
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-libunwind"
|
configure_args="--enable-silent-rules --with-libunwind"
|
||||||
makedepends="libunwind-devel"
|
makedepends="libunwind-devel"
|
||||||
short_desc="System Call Tracer"
|
short_desc="System Call Tracer"
|
||||||
maintainer="Anthony Iliopoulos <ailiop@altatus.com>"
|
maintainer="Anthony Iliopoulos <ailiop@altatus.com>"
|
||||||
license="LGPL-2.1-or-later"
|
license="LGPL-2.1-or-later"
|
||||||
homepage="https://strace.io/"
|
homepage="https://strace.io/"
|
||||||
|
changelog="https://raw.githubusercontent.com/strace/strace/master/NEWS"
|
||||||
distfiles="https://github.com/strace/strace/releases/download/v${version}/strace-${version}.tar.xz"
|
distfiles="https://github.com/strace/strace/releases/download/v${version}/strace-${version}.tar.xz"
|
||||||
checksum=39473eb8465546c3e940fb663cb381eba5613160c7302794699d194a4d5d66d9
|
checksum=fe3982ea4cd9aeb3b4ba35f6279f0b577a37175d3282be24b9a5537b56b8f01c
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
aarch64*|ppc64*) configure_args+=" --enable-mpers=no" ;;
|
aarch64*|ppc64*) configure_args+=" --enable-mpers=no" ;;
|
||||||
# work around https://github.com/strace/strace/issues/133
|
# work around https://github.com/strace/strace/issues/133
|
||||||
x86_64-musl) configure_args+=" --enable-mpers=no" ;;
|
x86_64-musl) configure_args+=" --enable-mpers=no" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
if [ "$XBPS_CHECK_PKGS" = full ]; then
|
||||||
|
# XXX: Some tests may fail inside of containers or if they are missing
|
||||||
|
# sufficient capabilities
|
||||||
|
make check
|
||||||
|
else
|
||||||
|
make check \
|
||||||
|
TESTS="bpf.gen epoll_pwait.gen getcpu.gen open.gen read-write.gen readlink.gen seccomp-filter.gen mmap ioctl caps readv"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue